TMS320AV220
VIDEO CD MPEG DECODER
SCSS016A – JUNE 1994 – REVISED JANUARY 1996
17
POST OFFICE BOX 655303
DALLAS, TEXAS 75265
digital-video standards
There are two primary standards for analog-video transmission commonly used: National Television Systems
Committee (NTSC) standard and Phase Alternating Line (PAL) standard. The common interchange format
(CIF) specification reflects these standards by defining two digital-video formats: 352 pixels
×
240 lines
×
30 Hz
for compatibility with the NTSC standard and 352 pixels
×
288 lines
×
25 Hz for compatibility with the PAL
standard. Because the CIF frame rates are half those of the standard field rates, the ’AV220 displays each
decoded CIF picture nominally for two field periods.
video-display unit
The purpose of the video-display unit is to output the decompressed-video data in a form that can be displayed
on either a television or a video monitor. To perform these functions, the ’AV220 video-display unit horizontally
interpolates decompressed video, converts pixel data from YCbCr to the RGB color space, synchronizes it to
the video clock, and outputs it to a display device. The pixels are clocked out by the video clock (VCLK) signal
and are synchronized to external devices using the horizontal sync (HSYNC) and vertical sync (VSYNC) signals.
In accordance with the MPEG standard, video is compressed using the YCbCr format with Y values ranging from
16 to 235. The ’AV220 automatically converts the YCbCr data to RGB using a matrix that preserves the 220
discrete levels encoded by MPEG, in which 16-16-16 RGB indicates the color black, and 235-235-235 indicates
the color white. The equations used to convert to RGB maintain CCIR 601 chromaticity and are as follows:
Red = Y + 1.402
×
Cr
Blue = Y + 1.772
×
Cb
Green = Y – .334
×
Cb – .714
×
Cr
The video-display unit can also be programmed to output PD23–PD0 using the YCbCr format. The following
steps must be followed after each reset to configure the ’AV220 to output YCbCr.
1.
Poll register at address 2056h until bit 0 is 0.
2.
Once a zero is read, the following ten writes must be performed in the order shown below.
WRITE
NUMBER
ADDRESS
DATA
1
2
3
4
5
6
7
8
9
10
2088
2089
208C
208D
2088
2089
208C
208D
2056
2057
00
00
11
01
01
00
00
00
01
00
3.
The ’AV220 now outputs pixel data in the YCbCr color space.
Figure 3 shows the video-bus connections.