Datasheet

Table Of Contents
ADV7188
Rev. A | Page 74 of 112
Table 92. PAL CC Data, Half-Byte Mode
1
Byte D [9] D [8] D [7] D [6] D [5] D [4] D [3] D [2] D [1] D [0] Description
0 0 0 0 0 0 0 0 0 0 0 Fixed preamble
1 1 1 1 1 1 1 1 1 1 1 Fixed preamble
2 1 1 1 1 1 1 1 1 1 1 Fixed preamble
3 0 1 0 1 0 0 0 0 0 0 DID
4
EP
EP EF
0 1 0 1 0
0 0 SDID
5
EP
EP 0 0 0 0
0 1
0 0 Data count
6
EP
EP 0 0 CCAP Word1 [7:4] 0 0 User data-words
7
EP
EP 0 0 CCAP Word1 [3:0] 0 0 User data-words
8
EP
EP 0 0 CCAP Word2 [7:4] 0 0 User data-words
9
EP
EP 0 0 CCAP Word2 [3:0] 0 0 User data-words
10
CS [8]
CS [8] CS [7] CS [6] CS [5] CS [4] CS [3] CS [2] CS [1] CS [0] Checksum
1
The bold values represent Gemstar- or CC-specific values.
Table 93. PAL CC Data, Full-Byte Mode
1
Byte D [9] D [8] D [7] D [6] D [5] D [4] D [3] D [2] D [1] D [0] Description
0 0 0 0 0 0 0 0 0 0 0 Fixed preamble
1 1 1 1 1 1 1 1 1 1 1 Fixed preamble
2 1 1 1 1 1 1 1 1 1 1 Fixed preamble
3 0 1 0 1 0 0 0 0 0 0 DID
4
EP
EP EF
0 1 0 1 0
0 0 SDID
5
EP
EP 0 0 0 0
0 1
0 0 Data count
6 CCAP Word1 [7:0] 0 0 User data-words
7 CCAP Word2 [7:0] 0 0 User data-words
8 1 0 0 0 0 0 0 0 0 0 UDW padding 0x200
9 1 0 0 0 0 0 0 0 0 0 UDW padding 0x200
10
CS [8]
CS [8] CS [7] CS [6] CS [5] CS [4] CS [3] CS [2] CS [1] CS [0] Checksum
1
The bold values represent Gemstar- or CC-specific values.
NTSC CC Data
Half-byte output mode is selected by setting GDECAD to 0; full-
byte mode is enabled by setting GDECAD to 1. See the
GDECAD,
Gemstar Decode Ancillary Data Format, Address 0x4C [0]
section. The data packet formats are shown in
Table 9 0 and
Table 91. Only closed caption data can be embedded in the output
data stream.
NTSC closed caption data is sliced on Line 21 on even and odd
fields. The corresponding enable bit must 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 C C D ata
Half-byte output mode is selected by setting GDECAD to 0;
full-byte output mode is selected by setting GDECAD to 1.
See the
GDECAD, Gemstar Decode Ancillary Data Format,
Address 0x4C [0]
section. Tabl e 92 and Tabl e 93 list the bytes of
the data packet.
PAL closed caption data is sliced from Line 22 and Line 335.
The corresponding enable bits must 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 GDECEL [15:0] are interpreted as a collection of
16 individual lines of 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 94 and Table 95.
To retrieve closed caption data services on NTSC (Line 284),
GDECEL [11] must be set.