SPRUIE9D May 2017 – May 2024 DRA74P , DRA75P , DRA76P , DRA77P
This section quantizes all the coefficients of color space conversion based on a 10-bit system for HDTV application. These coefficients can be input to the registers of programmable color space converter. Refer to register section for the corresponding register setting.
Conversion from RGB to YCbCr | Conversion from YCbCr to RGB | ||||||
---|---|---|---|---|---|---|---|
Coefficient Names | Registers | Real Number Format | Quantized Format | Hex Format | Real Number Format | Quantized Format | Hex Format |
A0(13-bit) | VPE_CSC00[12:0] A0 | 0.2126 | 218 | 0x00DA | 1 | 1024 | 0x0400 |
B0(13-bit) | VPE_CSC00[28:16] B0 | 0.7152 | 732 | 0x02DC | 0 | 0 | 0x0000 |
C0(13-bit) | VPE_CSC01[28:16] C0 | 0.0722 | 74 | 0x004A | 1.5396 | 1577 | 0x0629 |
A1(13-bit) | VPE_CSC01[28:16] A1 | -0.1172 | -120 | 0x1F88 | 1 | 1024 | 0x0400 |
B1(13-bit) | VPE_CSC02[12:0] B1 | -0.3942 | -404 | 0x1E6C | -0.1831 | -187 | 0x1F45 |
C1(13-bit) | VPE_CSC02[27:16] C1 | 0.5114 | 524 | 0x020C | -0.4577 | -469 | 0x1E2B |
A2(13-bit) | VPE_CSC03[12:0] A2 | 0.5114 | 524 | 0x020C | 1 | 1024 | 0x0400 |
B2(13-bit) | VPE_CSC03[27:16] B2 | -0.4646 | -476 | 0x1E24 | 1.8142 | 1858 | 0x0742 |
C2(13-bit) | VPE_CSC04[12:0] C2 | -0.0468 | -48 | 0x1FD0 | 0 | 0 | 0x0000 |
D0(12-bit) | VPE_CSC04[27:16] D0 | 0 | 0 | 0x000 | -197 | -788 | 0xCEC |
D1(12-bit) | VPE_CSC05[11:0] D1 | 128 | 512 | 0x200 | 82 | 328 | 0x148 |
D2(12-bit) | VPE_CSC05[27:16] D2 | 128 | 512 | 0x200 | -232 | -928 | 0xC60 |
Conversion from RGB to YCbCr | Conversion from YCbCr to RGB | ||||||
---|---|---|---|---|---|---|---|
Coefficient Names | Registers | Real Number Format | Quantized Format | Hex Format | Real Number Format | Quantized Format | Hex Format |
A0(13-bit) | VPE_CSC00[12:0] A0 | 0.1826 | 187 | 0x00BB | 1.1644 | 1192 | 0x04A8 |
B0(13-bit) | VPE_CSC00[28:16] B0 | 0.6142 | 629 | 0x0275 | -0.0003 | 0 | 0x0000 |
C0(13-bit) | VPE_CSC01[28:16] C0 | 0.062 | 63 | 0x003F | 1.7927 | 1836 | 0x072C |
A1(13-bit) | VPE_CSC01[28:16] A1 | -0.1006 | -103 | 0x1F99 | 1.1644 | 1192 | 0x04A8 |
B1(13-bit) | VPE_CSC02[12:0] B1 | -0.3385 | -347 | 0x1EA5 | -0.2132 | -218 | 0x1F26 |
C1(13-bit) | VPE_CSC02[27:16] C1 | 0.4392 | 450 | 0x01C2 | -0.5329 | -546 | 0x1DDE |
A2(13-bit) | VPE_CSC03[12:0] A2 | 0.4392 | 450 | 0x01C2 | 1.1642 | 1192 | 0x04A8 |
B2(13-bit) | VPE_CSC03[27:16] B2 | -0.399 | -409 | 0x1E67 | 2.1125 | 2163 | 0x0873 |
C2(13-bit) | VPE_CSC04[12:0] C2 | -0.0402 | -41 | 0x1FD7 | -0.0001 | 0 | 0x0000 |
D0(12-bit) | VPE_CSC04[27:16] D0 | 16 | 64 | 0x040 | -248 | -992 | 0xC20 |
D1(12-bit) | VPE_CSC05[11:0] D1 | 128 | 512 | 0x200 | 77 | 308 | 0x134 |
D2(12-bit) | VPE_CSC05[27:16] D2 | 128 | 512 | 0x200 | -289 | -1156 | 0xB7C |