SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
Table 13-119 describes the settings for the CPR unit (see Table 13-119).
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
For Color Phase Rotation Processing | ||
Set the Red coefficients. | DISPC_CPRo_COEF_R [31:22][20:11][9:0] RR, RG, RB | 0x– |
Set the Green coefficients | DISPC_CPRo_COEF_G [31:22][20:11][9:0] GR, GG, GB | 0x– |
Set the Blue coefficients. | DISPC_CPRo_COEF_B [31:22][20:11][9:0] BR, BG, BB | 0x– |
Disable the CPR unit in RGB to YUV conversion. | DISPC_CONFIGo[24] COLORCONVENABLE | 0x0 |
Enable the CPR unit. | DISPC_CONFIGo[15] CPR | 0x1 |
For Color Space Conversion Processing | ||
Set the Y coefficients. | DISPC_CPRo_COEF_R [31:22][20:11][9:0] RR, RG, RB | 0x– |
Set the Cb coefficients. | DISPC_CPRo_COEF_G [31:22][20:11][9:0] GR, GG, GB | 0x– |
Set the Cr coefficients. | DISPC_CPRo_COEF_B [31:22][20:11][9:0] BR, BG, BB | 0x– |
Set the CSC range. | DISPC_CONFIGo[25] FULLRANGE | 0x– |
Enable the CPR unit in RGB to YUV conversion. | DISPC_CONFIGo[24] COLORCONVENABLE | 0x1 |
Disable the CPR unit. | DISPC_CONFIGo[15] CPR | 0x0 |