![](http://datasheet.mmic.net.cn/390000/TVP3025-135_datasheet_16839165/TVP3025-135_61.png)
2–47
2.3.18.12
Color-Key Control Register (Index 38 hex)
Table 2–16. Color-Key Control Register
BIT NAME
VALUES
DESCRIPTION
CKC7
Reserved
CKC6
Reserved
CKC5
Reserved
CKC4
0: True function
Color-key-function select This is a complementary function bit See the
Color-key-function select. This is a complementary function bit. See the
equation in Section 2.3.10.3.
1: Complementary
(default)
CKC3
0: Disable compare
(default)
Blue-compare enable. This is used to enable or disable the direct-color blue
field comparison See the equation in Section 2 3 10 3
field comparison. See the equation in Section 2.3.10.3.
1: Enable comparison
CKC2
0: Disable compare
(default)
Green-compare enable. This is used to enable or disable the direct-color
green field comparison See the equation in Section 2 3 10 3
green field comparison. See the equation in Section 2.3.10.3.
1: Enable comparison
CKC1
0: Disable compare
(default)
Red-compare enable. This is used to enable or disable the direct-color red
field comparison See the equation in Section 2 3 10 3
field comparison. See the equation in Section 2.3.10.3.
1: Enable comparison
CKC0
0: Disable compare
(default)
Overlay/VGA-compare enable. This is used to enable or disable the
direct-color overlay/VGA field comparison. See the equation in
Section 2.3.10.3.
1: Enable comparison
2.3.18.13
Color-Key (Red, Green, Blue, Overlay/VGA) Low and High Registers
(Index 30–37 hex)
These registers are used to specify the color comparison ranges for the four direct-color data fields when
performing color-key switching. A low and a high register are provided for each of the four data fields to
facilitate the range comparison. See Section 2.3.10 for more details on their usage. All four low registers
are initialized with 01 (hex), while all four high registers are initialized with FF (hex). There are eight registers
total, two for each color. The register formats for both low and high registers are shown below.
COLOR-KEY LOW
D4
Data Bit
D7
D6
D5
D3
D2
D1
D0
Low Value
L7
L6
L5
L4
L3
L2
L1
L0
Index = 30, 32, 34, and 36 (hex)
COLOR-KEY HIGH
D4
Data Bit
D7
D6
D5
D3
D2
D1
D0
High Value
H7
H6
H5
H4
H3
H2
H1
H0
Index = 31, 33, 35, and 37 (hex)
Values 00 (hex) to FF (hex) can be written into the four color-key-low and four color-key-high registers.