
www.techwellinc.com
Preliminary
TW2804/TW2802 Multiple Video Decoder
Techwell, Inc.
Datasheet Rev. 2.4
09/09/2003
23
Output Format
The TW280X supports three 8bit output formats, ITU-R BT.656, 8bit ITU-R BT.601 and Dual
ITU-R BT.656 with 54MHz data format. The output data is synchronous with rising or falling
edge of CLK27O for ITU-R BT.656 and 8bit ITU-R BT.601 format and with rising edge of
CLK54I for Dual ITU-R BT.656 with 54MHz format. The polarity of CLK27O is controlled by the
CK27O_POL register (0x3B). For Dual ITU-R BT.656 with 54MHz format, two kinds of scaled
image are time-multiplexed with 54MHz. The output formats are selected by the OUT_FMT
register (0x22, 0x62, 0xA2, 0xE2).
ITU-R BT.656 Format
In ITU-R BT.656 format, SAV and EAV sequences are inserted into the data stream to indicate
the active video time. During the blanking time, the YCbCr outputs have a value 0x00 for Y, Cr
and Cb. It is noted that the number of active pixels per line is constant in this mode regardless
of the actual incoming line length. If scaling is used, the number of active pixels per line is
constant with invalid pixel indicated by the blanking code 0x00. The output timing is illustrated in
Fig. 12. The SAV and EAV sequences are shown in Table 4. An optional set of 656 SAV/EAV
code sequence can be enabled to identify no-video status using the NOVID_656 bit (0x22,
0x62, 0xA2, 0xE2).
CLK27O
VD[7:0]
Cb0
Y0
Cr0
00h
00h
00h
00h
FFh
00h
00h
00h
00h
XY
FFh
XY
Y1
HACIVE
EAV code
SAV code
VALID
00h
00h
00h
00h
Fig. 12 Timing Diagram of ITU-R BT.656 format on HSCALE = 16’h7FFF
Table 4 ITU-R 656 SAV and EAV Code Sequence
656 FVH Value
Condition
SAV/EAV Code Sequence
Fourth
Field
Vertical Horizontal
F
V
H
First
Second
Third
Normal
0xF1
0xEC
0xDA
0xC7
0xB6
0xAB
0x9D
0x80
Option
(Novideo)
0x71
0x6C
0x5A
0x47
0x36
0x2B
0x1D
0x00
EVEN
EVEN
EVEN
EVEN
ODD
ODD
ODD
ODD
Blank
Blank
Active
Active
Blank
Blank
Active
Active
EAV
SAV
EAV
SAV
EAV
SAV
EAV
SAV
1
1
1
1
0
0
0
0
1
1
0
0
1
1
0
0
1
0
1
0
1
0
1
0
0xFF
0xFF
0xFF
0xFF
0xFF
0xFF
0xFF
0xFF
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00
0x00