Function
csc_coeff_sel_rb[3:0]
0000
0001
0011
0101
0111
1001
1010
1111
xxxx
CSC
A1
Mode
CSC in bypass mode. In this mode the CSC effectively performs a color conversion based on the CSC coefficients set in registers csc_scale, A1,
0b0000
A2, A3, A4, B1, B2, B3, B4, C1, C2, C3, and C4.
0b0001
0b01
0x0800
0b0011
0b01
0x0800
0b0101
0b00
0x0964
0b0111
0b00
0x0B71
0b1001
0b01
0x0800
0b1010
0b01
0x0800
Manual Color Space Conversion Matrix
8.3.4
The CP CSC matrix in the ADV7850 is a 3 x 3 matrix with full programmability of all coefficients in the matrix in manual mode. Each
coefficient is 12-bits wide to ensure signal integrity is maintained in the CP CSC section. The CP CSC contains three identical processing
channels, one of which is shown in Figure 77.
The main inputs labeled In_A, In_B, and In_C can come from each ADC. Each input to the individual channels to the CP CSC is
multiplied by a separate coefficient for each channel.
In
Figure 77,
these coefficients are marked A1, A2 and A3. The variable labeled A4 is used as an offset control for channel A in the CSC.
There is also a further CP CSC control, csc_scale[1:0], which can be used to accommodate coefficients that extend the supported range.
The functional diagram for a single channel in the CP CSC, as shown in
C. The coefficients for these channels are called B1, B2, B3, B4, C1, C2, C3 and C4.
The coefficients mentioned previously are detailed in
Rev. A May 2012
Description
CSC bypassed
YPbPr 601 to RGB
YPbPr 709 to RGB
RGB to YPbPr 601
RGB to YPbPr 709
YPbPr 709 to YPbPr 601
YPbPr 601 to YPbPr 709
CSC in manual mode
Reserved
Table 49: CSC Configuration for All CSC Modes Reported by csc_coeff_sel_rb
A2
A3
A4
0x1A6A
0x1D50
0x0423
0x1C54
0x1E89
0x0291
0x04C9
0x01D3
0x0000
0x0368
0x0127
0x0000
0x0188
0x00CB
0x1ED7
0x1E56
0x1F14
0x014A
A1[12:0]
In_A [11:0]
X
+
A2[12:0]
In_B [11:0]
X
A3[12:0]
In_C [11:0]
X
Figure 77: Single CSC Channel
Table 50
B1
B2
B3
0x0800
0x0AF8
0x0000
0x0800
0x0C52
0x0000
0x1927
0x082D
0x1EAC
0x1893
0x082D
0x1F3F
0x0000
0x07DE
0x1F6C
0x0000
0x0834
0x009A
Figure
77, is repeated for the other two remaining channels B and
CSC_scale
A4[12:0]
X 2
+
+
along with the default values for these coefficients.
233
B4
C1
C2
0x1A84
0x0800
0x0000
0x19D7
0x0800
0x0000
0x0800
0x1A93
0x1D3F
0x0800
0x19B2
0x1E21
0x005B
0x0000
0x1F1D
0x1F9A
0x0000
0x00EB
1
Out_A [11:0]
0
ADV7850
C3
C4
0x0DDB
0x1912
0x0E87
0x18BC
0x082D
0x0800
0x082D
0x0800
0x07EB
0x007B
0x0826
0x1F78
Need help?
Do you have a question about the ADV7850 and is the answer not in the manual?