Csc Manual Programming - Analog Devices ADV7850 Hardware Manual

Fast switching 4:1 hdmi 1.4 receiver with 3d-comb decoder and digitizer
Table of Contents

Advertisement

Function
rb_c2[12:0]
xxxxxxxxxxxxx
rb_c3[12:0], Addr 44 (CP), Address 0x1B[6:0]; Address 0x1C[7:2] (Read Only)
This readback displays the CSC coefficient C3 modified by the video adjustment block.
Function
rb_c3[12:0]
xxxxxxxxxxxxx
rb_c4[12:0], Addr 44 (CP), Address 0x19[4:0]; Address 0x1A[7:0] (Read Only)
This readback displays the CSC coefficient C4 modified by the video adjustment block.
Function
rb_c4[12:0]
xxxxxxxxxxxxx

8.3.4.1 CSC Manual Programming

The equations performed by the CP CSC are as follows:
A
[ 1
12
=
Out
_
A
In
_
A
4096
B
[ 1
12
=
Out
_
B
In
_
A
4096
C
[ 1
12
=
Out
_
C
In
_
A
 
4096
As can be seen from
Equation 6, Equation 7
primary inputs. The values of A4, B4, and C4 are added as offsets.
which the 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].
Rev. A May 2012
Description
Readback value
Description
Readback value
Description
Readback value
:
] 0
A
[ 2
12
:
] 0
+
+
In
_
B
4096
:
] 0
B
[ 2
12
:
] 0
+
+
In
_
B
4096
:
] 0
C
[ 2
12
:
] 0
+
+
In
_
B
4096
and
Equation
A
[ 3
12
:
] 0
+
In
_
C
A
[ 4
12
4096
Equation 6: CSC Channel A
B
[ 3
12
:
] 0
+
In
_
C
B
[ 4
12
4096
Equation 7: CSC Channel B
C
[ 3
12
:
] 0
+
In
_
C
C
[ 4
12
4096
Equation 8: CSC Channel C
8, the A1, A2, A3; B1, B2, B3; and C1, C2, C3 coefficients are used to scale the
csc_scale[1:0]
236
CSC
_
scale
:
] 0
2
CSC
_
scale
:
] 0
2
∗ 
CSC
_
scale
:
] 0
2
allows the user to implement conversion formulae in
ADV7850

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ADV7850 and is the answer not in the manual?

Table of Contents