ADV8005 Hardware Reference Manual
UG-707
The characteristic equations for the secondary input CSC are provided in
and
Equation 7: Secondary Input CSC Channel A Output
Equation 8: Secondary Input CSC Channel B Output
Equation 9: Secondary Input CSC Channel C Output
The CSC on the secondary input channel is illustrated in
Figure 44: Secondary Input Channel CSC
The video inputs In_A, In_B and In_C are connected by default to R, G and B. Refer to
for more information. The default routing can
be changed by adjusting the value of
Table 12: Default Secondary Input Channel CSC Signal Routing
Input Channel
Default RGB Routing
Default YCbCr Routing
In_A
R
Cr
In_B
G
Y
In_C
B
Cb
The A1 to A3, B1 to B3, and C1 to C3 coefficients are used to scale the primary inputs. A4, B4 and C4 are added as offsets. Floating point
coefficients must be converted into 120-bit fixed decimal format then converted into binary format using twos complement for negative values
and can only be programmed in the range [-1….+1] or [-4096….+4095].
The dynamic range of the CSC is [0…..1] for unipolar signals (Y, R, G, B) or [-0.5…….+0.5] for bipolar signals. Bipolar signals (Pr/Pb) must
be offset to mid range. Equations with a dynamic range larger than 1 need to be scaled appropriately using the
control.
To achieve a coefficient value of 1.0 for any given coefficient,
should be set high and the coefficient should be
programmed to a value of 0.5. Otherwise, the largest value would be 4095/4096 = 0.9997. While this value could be interpreted as 1, it is
recommended to use the value of 0.5 and set the
bits for maximum accuracy.
scale
CSC
A
A
C
In
A
B
In
A
A
In
A
Out
_
2
]
0
:
12
[
4
4096
]
0
:
12
[
3
_
4096
]
0
:
12
[
2
_
4096
]
0
:
12
[
1
_
_
∗
+
∗
+
∗
+
∗
=
scale
CSC
B
B
C
In
B
B
In
B
A
In
B
Out
_
2
]
0
:
12
[
4
4096
]
0
:
12
[
3
_
4096
]
0
:
12
[
2
_
4096
]
0
:
12
[
1
_
_
∗
+
∗
+
∗
+
∗
=
scale
CSC
C
C
C
In
C
B
In
C
A
In
C
Out
_
2
]
0
:
12
[
4
4096
]
0
:
12
[
3
_
4096
]
0
:
12
[
2
_
4096
]
0
:
12
[
1
_
_
∗
+
∗
+
∗
+
∗
=
4x
2x
+
÷
+
+
x
x
x
exosd_a1
exosd_a2
exosd_a3
exosd_a4
4096
exosd_csc_mode
0
1
2
Out_A
In_A
In_B
In_C
Rev. A | Page 87 of 317