SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
This module transforms the RGB data to YCbCr data format using a 3 × 3 matrix transformation in combination with an added offset. While transferring, the brightness control and contrast control can be adjusted using the IPIPE_YUV_ADJ[15:8] BRT and IPIPE_YUV_ADJ[15:8] CRT bit fields, respectively. Then, the transform is calculated using the formula shown in Figure 9-74. Each gain range is from –8 to +7.996 with step 1/256 = 0.004, configured in the IPIPE_YUV_MUL_RY to IPIPE_YUV_MUL_BCR registers. The offset is –1024 to +1023 for Y, Cb, and Cr, configured in the IPIPE_YUV_OFT_Y to IPIPE_YUV_OFT_CR registers. Figure 9-75 is the block diagram of the RGB to YCbCr blending module. The output is calculated by the equation.