ADV8005 Hardware Reference Manual
UG-707
Table 10: Default Primary 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
The CSC configurations for common modes are provided in
Table 11: Primary Input Channel CSC Common Configuration Coefficients
Color Space
Conversion
cs
c_
m
od
e[
1:
0]
A1
A2
A3
A4
B1
B2
B3
B4
C1
C2
C3
C4
HDTV YCbCr
(limited) to
RGB (limited)
0x1 0x0C53 0x0800 0x0000 0x19D6 0x1C56 0x0800 0x1E88 0x0291 0x1FFF 0x0800 0x0E85 0x18BE
HDTV YCbCr
(limited) to
RGB (full)
0x2 0x0734 0x04AD 0x0000 0x1C1B 0x1DDC 0x04AD 0x1F24 0x0135 0x0000 0x04AD 0x087C 0x1B77
HDTV YCbCr
(limited) to
SDTV YCbCr
(limited)
0x1 0x07DD 0x0000 0x1F6C 0x005B 0x0188 0x0800 0x00CB 0x1ED6 0x1F1D 0x0000 0x07EB 0x007B
HDTV YCbCr
(limited) to
SDTV YCbCr
(full)
0x1 0x08EB 0x0000 0x1F58 0x1FDE 0x01C9 0x0950 0x00EC 0x1F25 0x1EFF 0x0000 0x08FA 0x031F
HDTV YCbCr
(full) to SDTV
YCbCr
(limited)
0x0 0x0E0D 0x0000 0x0000 0x0100 0x0000 0x0DBC 0x0000 0x0100 0x0000 0x0000 0x0E0D 0x0100
SDTV YCbCr
(limited) to
RGB (limited)
0x1 0x0AF8 0x0800 0x0000 0x1A84 0x1A6A 0x0800 0x1D50 0x0423 0x1FFC 0x0800 0x0DDE 0x1913
SDTV YCbCr
(limited) to
RGB (full)
0x2 0x0669 0x04AC 0x0000 0x1C81 0x1CBC 0x04AD 0x1E6E 0x0220 0x1FFE 0x04AD 0x081A 0x1BA9
SDTV YCbCr
(limited) to
HDTV YCbCr
(limited)
0x1 0x0833 0x0000 0x0099 0x1F99 0x1E56 0x0800 0x1F13 0x014B 0x00EA 0x0000 0x0826 0x1F78
SDTV YCbCr
(limited) to
SDTV YCbCr
(full)
0x1 0x091B 0x0000 0x0000 0x1F6E 0x0000 0x0950 0x0000 0x1F6B 0x0000 0x0000 0x091B 0x1F6E
SDTV YCbCr
(full) to HDTV
YCbCr
(limited)
0x2 0x039D 0x0000 0x0043 0x0F26 0x1F44 0x036F 0x1F97 0x00D2 0x0067 0x0000 0x0397 0x004D
Rev. A | Page 85 of 317