SPRUJ28E November 2021 – September 2024 AM68 , AM68A , TDA4AL-Q1 , TDA4VE-Q1 , TDA4VL-Q1
If required, a color phase rotation (CPR) processing can be applied on the "gamma" data before the spatial/temporal dithering.
The CPR can be selected to correct the non-pure white backlight of the display panel by using a programmable matrix to convert the 36-bit RGB pixel value into a new 36-bit RGB pixel value. The matrix is programmed through a set of nine 11-bit signed coefficients. The output of the calculation is clipped to [0:4095]. The CPR is enabled by setting the DSS0_VP_CONFIG[15] CPR bit to 0x1.
The CPR processing is expressed by the equation shown in Figure 12-359. Table 12-350 lists all coefficients with their respective register bitfields for configuration.
Register Field | Color Phase Rotation | Color Space Conversion RGB to YUV |
---|---|---|
DSS0_VP_CSC_COEF0[10-0] C00 | RR | YR |
DSS0_VP_CSC_COEF0[26-16] C01 | RG | YG |
DSS0_VP_CSC_COEF1[10-0] C02 | RB | YB |
DSS0_VP_CSC_COEF1[26-16] C10 | GR | CrR |
DSS0_VP_CSC_COEF2[10-0] C11 | GG | CrG |
DSS0_VP_CSC_COEF2[26-16] C12 | GB | CrB |
DSS0_VP_CSC_COEF3[10-0] C20 | BR | CbR |
DSS0_VP_CSC_COEF3[26-16] C21 | BG | CbG |
DSS0_VP_CSC_COEF4[10-0] C22 | BB | CbB |
DSS0_VP_CSC_COEF6[31-19] POSTOFFSET1 | - | R offset |
DSS0_VP_CSC_COEF7[15-3] POSTOFFSET2 | - | G offset |
DSS0_VP_CSC_COEF7[31-19] POSTOFFSET3 | - | B offset |