8.4.5.1 CSC Manual Programming
The equations performed by CSC for both DPP and CP CSC are as follows:
⎡
=
_
_
Out
A
In
A
⎢ ⎣
⎡
=
_
_
Out
B
In
A
⎢ ⎣
⎡
=
_
_
Out
C
In
A
⎢ ⎣
As can be seen from
Equation
C2, C3 coefficients are used to scale the primary inputs. The values of A4, B4, and C4 are added as
offsets. The
CSC_SCALE[1:0]
coefficients exceed the standard range of [-4095/4096 .. 4095/4096]. The overall range of the CSC
is [0..1] for unipolar signals (for example, Y, R, G, and B) and [-0.5..+0.5] for bipolar signals (for
example, Pr and Pb).
Note: The bipolar signals must be offset to mid range, for example, 2048.
To arrive at programming values from typical formulas, the following steps are performed:
1. Determine the dynamic range of the equation.
The dynamic range of the CSC is [0 ... 1] or [-0.5 ... +0.5]. Equations with a gain larger
than 1 need to be scaled back. Errors in the gain can be compensated for in the gain stages of
the follow on blocks.
Scale the equations, if necessary.
2. Check the value of each coefficient.
The coefficients can only be programmed in the range [-0.99 ... +0.99]. To support larger
coefficients, the
Determine the setting for
3. Program the coefficient values.
Convert the float point coefficients into 12-bit fixed decimal format. Convert into binary
format, using twos complement for negative values.
Program A1 .. A3, B1 .. B3, C1 .. C3.
Rev. F August 2010
[ 1
12
:
] 0
A
∗
+
∗
_
In
B
4096
Equation 7: CSC Channel A
[ 1
12
:
] 0
B
∗
+
∗
_
In
B
4096
Equation 8: CSC Channel B
[ 1
12
:
] 0
C
∗
+
∗
_
In
B
4096
Equation 9: CSC Channel C
7,
Equation
bit allows the user to implement conversion formulae in which the
CSC_SCALE[1:0]
CSC_SCALE[1:0]
[ 2
12
:
] 0
A
A
+
∗
_
In
C
4096
[ 2
12
:
] 0
B
B
+
∗
_
In
C
4096
[ 2
12
:
] 0
C
C
+
∗
_
In
C
4096
8, and
Equation
9, the A1, A2, A3; B1, B2, B3; and C1,
function should be used.
and adjust coefficients, if necessary.
213
⎤
[ 3
12
:
] 0
+
[ 4
12
:
] 0
A
⎥ ⎦
4096
⎤
[ 3
12
:
] 0
+
[ 4
12
:
] 0
B
⎥ ⎦
4096
⎤
[ 3
12
:
] 0
+
∗ ⎥
[ 4
12
:
] 0
C
4096
⎦
ADV7604
∗
_
2
CSC
scale
∗
_
2
CSC
scale
_
2
CSC
scale
Need help?
Do you have a question about the Advantiv ADV7604 and is the answer not in the manual?
Questions and answers