
ADV7188
Table 88. PAL CCAP Data, Half-Byte Mode
Byte
D[9]
D[8]
0
0
0
1
1
1
2
1
1
3
0
1
4
EP
EP
5
EP
EP
6
EP
EP
7
EP
EP
8
EP
EP
9
EP
EP
10
CS[8]
CS[8]
Table 89. PAL CCAP Data, Full-Byte Mode
Byte
D[9]
D[8]
0
0
0
1
1
1
2
1
1
3
0
1
4
EP
EP
5
EP
EP
6
7
8
1
0
9
1
0
10
CS[8]
CS[8]
NTSC CCAP Data
Half-byte output mode is selected by setting CDECAD = 0, the
full-byte mode is enabled by CDECAD = 1. See the GDECAD
Gemstar Decode Ancillary Data Format, Address 0x4C [0]
section. The data packet formats are shown in Table 86 and
Table 87. Only closed caption data can be embedded in the
output data stream.
Rev. 0 | Page 67 of 112
D[7]
0
1
1
0
EF
0
0
0
0
0
CS[7]
D[6]
0
1
1
1
0
0
0
0
0
0
CS[6]
D[5]
0
1
1
0
1
0
D[4]
0
1
1
0
0
0
CCAP word1[7:4]
CCAP word1[3:0]
CCAP word2[7:4]
CCAP word2[3:0]
CS[4]
D[3]
0
1
1
0
1
0
D[2]
0
1
1
0
0
1
D[1]
0
1
1
0
0
0
0
0
0
0
CS[1]
D[0]
0
1
1
0
0
0
0
0
0
0
CS[0]
Description
Fixed preamble
Fixed preamble
Fixed preamble
DID
SDID
Data count
User data-words
User data-words
User data-words
User data-words
Checksum
CS[5]
CS[3]
CS[2]
D[7]
0
1
1
0
EF
0
D[6]
0
1
1
1
0
0
CCAP word1[7:0]
CCAP word2[7:0]
0
0
CS[6]
D[5]
0
1
1
0
1
0
D[4]
0
1
1
0
0
0
D[3]
0
1
1
0
1
0
D[2]
0
1
1
0
0
1
D[1]
0
1
1
0
0
0
0
0
0
0
CS[1]
D[0]
0
1
1
0
0
0
0
0
0
0
CS[0]
Description
Fixed preamble
Fixed preamble
Fixed preamble
DID
SDID
Data Count
User data-words
User data-words
UDW padding 200h
UDW padding 200h
Checksum
0
0
CS[7]
0
0
CS[5]
0
0
CS[4]
0
0
CS[3]
0
0
CS[2]
NTSC closed caption data is sliced on Line 21d on even and
odd fields. The corresponding enable bit has to be set high. See
the GDECEL[15:0] Gemstar Decoding Even Lines,
Address 0x48 [7:0]; Address 0x49 [7:0] and the GDECOL[15:0]
Gemstar Decoding Odd Lines, Address 0x4A [7:0]; Address
0x4B [7:0] sections.
PAL CCAP Data
Half-byte output mode is selected by setting CDECAD = 0,
full-byte output mode is selected by setting CDECAD = 1. See
the GDECAD Gemstar Decode Ancillary Data Format,
Address 0x4C [0] section. Table 88 and Table 89 list the bytes of
the data packet.
PAL closed caption data is sliced from Line 22 and Line 335.
The corresponding enable bits have to be set.
Only closed caption data can be embedded in the output data
stream. See the GDECEL[15:0] Gemstar Decoding Even Lines,
Address 0x48 [7:0]; Address 0x49 [7:0] and the GDECOL[15:0]
Gemstar Decoding Odd Lines, Address 0x4A [7:0]; Address
0x4B [7:0] sections.
GDECEL[15:0] Gemstar Decoding Even Lines,
Address 0x48 [7:0]; Address 0x49 [7:0]
The 16 bits of the GDECEL[15:0] are interpreted as a collection
of 16 individual line decode enable signals. Each bit refers to a
line of video in an even field. Setting the bit enables the decoder
block trying to find Gemstar or closed caption-compatible data
on that particular line. Setting the bit to 0 prevents the decoder
from trying to retrieve data. See Table 90 and Table 91.
To retrieve closed caption data services on NTSC (Line 284),
GDECEL[11] must be set.
To retrieve closed caption data services on PAL (Line 335),
GDECEL[14] must be set.
The default value of GDECEL[15:0] is 0x0000. This setting
instructs the decoder not to attempt to decode Gemstar or
CCAP data from any line in the even field. The User should
only enable Gemstar slicing on lines where VBI data is expected.