The video inputs In_A, In_B and In_C are connected by default to R, G and B. Refer to
can be changed by adjusting the value of vid_swap_bus_ctrl[2:0].
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,
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
The CSC configurations for common modes are provided in
Color Space
A1
Conversion
HDTV YCbCr
0x1 0x0C53 0x0800 0x0000 0x19D6 0x1C56 0x0800 0x1E88 0x0291 0x1FFF 0x0800 0x0E85 0x18BE
(limited) to
RGB (limited)
HDTV YCbCr
0x2 0x0734
(limited) to
RGB (full)
HDTV YCbCr
0x1 0x07DD 0x0000 0x1F6C 0x005B 0x0188 0x0800 0x00CB 0x1ED6 0x1F1D 0x0000 0x07EB 0x007B
(limited) to
SDTV YCbCr
(limited)
HDTV YCbCr
0x1 0x08EB
(limited) to
SDTV YCbCr
(full)
HDTV YCbCr
0x1 0x0C53 0x0800 0x0000 0x19D6 0x1C56 0x0800 0x1E88 0x0291 0x1FFF 0x0800 0x0E85 0x18BE
(limited) to
RGB (limited)
HDTV YCbCr
0x2 0x0734
(limited) to
RGB (full)
HDTV YCbCr
0x0 0x0E0D 0x0000 0x0000 0x0100 0x0000 0x0DBC 0x0000 0x0100 0x0000 0x0000 0x0E0D 0x0100
(full) to SDTV
YCbCr
(limited)
SDTV YCbCr
0x1 0x0AF8 0x0800 0x0000 0x1A84 0x1A6A 0x0800 0x1D50 0x0423 0x1FFC 0x0800 0x0DDE 0x1913
(limited) to
RGB (limited)
SDTV YCbCr
0x2 0x0669
(limited) to
Rev. B, August 2013
Table 14: Default Primary Input Channel CSC Signal Routing
Input Channel
Default RGB Routing
In_A
R
In_B
G
In_C
B
vid_csc_mode[1:0]
Table 15: Primary Input Channel CSC Common Configuration Coefficients
A2
A3
A4
0x04AD 0x0000 0x1C1B 0x1DDC 0x04AD 0x1F24 0x0135 0x0000 0x04AD 0x087C 0x1B77
0x0000 0x1F58 0x1FDE 0x01C9 0x0950 0x00EC 0x1F25 0x1EFF 0x0000 0x08FA 0x031F
0x04AD 0x0000 0x1C1B 0x1DDC 0x04AD 0x1F24 0x0135 0x0000 0x04AD 0x087C 0x1B77
0x04AC 0x0000 0x1C81 0x1CBC 0x04AD 0x1E6E 0x0220 0x1FFE 0x04AD 0x081A 0x1BA9
Default YCbCr Routing
Cr
Y
Cb
vid_csc_mode[1:0]
bits for maximum accuracy.
Table
15.
B1
B2
B3
132
ADV8003 Hardware Manual
Table 14
for more information. The default routing
should be set high and the coefficient should be
B4
C1
C2
vid_csc_mode[1:0]
C3
C4
Need help?
Do you have a question about the ADV8003 and is the answer not in the manual?