![](http://datasheet.mmic.net.cn/310000/ADV7340_datasheet_16243980/ADV7340_54.png)
ADV7340/ADV7341
Rev. 0 | Page 54 of 88
FREQUENCY (MHz)
0.5
–0.5
30
5
0
G
10
15
20
25
0.4
0.1
–0.2
–0.3
–0.4
0.3
0.2
0
–0.1
0
Figure 66. ED/HD Sinc Compensation Filter Enabled
FREQUENCY (MHz)
0.5
–0.5
30
5
0
G
10
15
20
25
0.4
0.1
–0.2
–0.3
–0.4
0.3
0.2
0
–0.1
0
Figure 67. ED/HD Sinc Compensation Filter Disabled
ED/HD TEST PATTERN COLOR CONTROLS
Subaddress 0x36 to Subaddress 0x38
Three 8-bit registers at Subaddress 0x36 to Subaddress 0x38
are used to program the output color of the internal ED/HD
test pattern generator (Subaddress 0x31, Bit 2 = 1), whether it
be the lines of the cross hatch pattern or the uniform field test
pattern. They are not functional as color controls for external
pixel data input.
The values for the luma (Y) and the color difference (Cr and
Cb) signals used to obtain white, black, and saturated primary
and complementary colors conform to the ITU-R BT.601-4
standard.
Table 41 shows sample color values that can be programmed
into the color registers when the output standard selection is set
to EIA 770.2/EIA770.3 (Subaddress 0x30, Bits[1:0] = 00).
Table 41. Sample Color Values for EIA 770.2/EIA770.3
ED/HD Output Standard Selection
Sample Color
Y Value
White
235
(0xEB)
Black
16
(0x10)
Red
81
(0x51)
Green
145
(0x91)
Blue
41
(0x29)
Yellow
210
(0xD2)
Cyan
170
(0xAA)
Magenta
106
(0x6A)
COLOR SPACE CONVERSION MATRIX
Subaddress 0x03 to Subaddress 0x09
The internal color space conversion (CSC) matrix automatically
performs all color space conversions based on the input mode
programmed in the mode select register (Subaddress 0x01,
Bits[6:4]). Table 42 and Table 43 show the options available in
this matrix.
An SD color space conversion from RGB-in to YPrPb-out is
possible. An ED/HD color space conversion from RGB-in to
YPrPb-out is not possible.
Cr Value
128 (0x80)
128 (0x80)
240 (0xF0)
34
110
146
16
222
Cb Value
128
128
90
54
240
16
166
202
(0x80)
(0x80)
(0x5A)
(0x36)
(0xF0)
(0x10)
(0xA6)
(0xCA)
(0x22)
(0x6E)
(0x92)
(0x10)
(0xDE)
Table 42. SD Color Space Conversion Options
YPrPb/RGB Out
(Reg. 0x02, Bit 5)
YCrCb
YPrPb
1
YCrCb
RGB
0
RGB
YPrPb
1
RGB
RGB
0
Input
Output
1
RGB In/YCrCb In
(Reg. 0x87, Bit 7)
0
0
1
1
1
CVBS/YC outputs are available for all CSC combinations.
Table 43. ED/HD Color Space Conversion Options
YPrPb/RGB Out
(Reg. 0x02, Bit 5)
YCrCb
YPrPb
1
YCrCb
RGB
0
RGB
RGB
0
ED/HD Manual CSC Matrix Adjust Feature
The ED/HD manual CSC matrix adjust feature provides custom
coefficient manipulation for color space conversions and is used
in ED and HD modes only. The ED/HD manual CSC matrix
adjust feature can be enabled using Subaddress 0x02, Bit 3.
Normally, there is no need to enable this feature because the CSC
matrix automatically performs the color space conversion based
on the input mode chosen (ED or HD) and the input and output
color spaces selected (see Table 43). For this reason, the ED/HD
manual CSC matrix adjust feature is disabled by default.
Input
Output
RGB In/YCrCb In
(Reg. 0x35, Bit 1)
0
0
1