TABLE 4
Reconstruction of chroma residuals. The value CSign is a sign
value (+1 or ?1), which is specified in the slice header,
resJointC[ ][ ] is the transmitted residual.
tu_cbf_cb
tu_cbf_cr
reconstruction of Cb and Cr residuals
mode
1
0
resCb[ x ][ y ] = resJointC[ x ][ y ]
1
resCr[ x ][ y ] = ( CSign *
resJointC[ x ][ y ] ) >> 1
1
1
resCb[ x ][ y ] = resJointC[ x ][ y ]
2
resCr[ x ][ y ] = CSign * resJointC[ x ]
[ y ]
0
1
resCb[ x ][ y ] = ( CSign *
3
resJointC[ x ][ y ] ) >> 1
resCr[ x ][ y ] = resJointC[ x ][ y ]