On-Screen Display
10-31
In Linked List OSD Mode, the OSD areas do not need to reside
consecutively in memory. The rst OSD area for each eld is addressed
using the programmed OSD pointers. Subsequent OSD areas are
addressed using the OSD address bits, OSDA[18:0], of the current OSD
header. To terminate the Linked List OSD, the OSD address in the
header for the last area should point to a termination header that has a
start row (STARTR) below the last line of the display.
10.10.2.5 Bits/Pixel Modes
The OSD Controller reads the OSD data from the SDRAM frame stores
and displays it at a rate of one pixel every two L64021 clocks. Using
6 bits for Y, and 4 bits each for Cb and Cr, the OSD color palette can
contain any of 16,384 colors including black and transparent. The Cb and
Cr values are decimated from 4:4:4 to 4:2:2 prior to mixing with the
decoded video data. As indicated, the pixels can be coded using 2, 4,
or 8 bits to produce 4, 16, or 256 YCbCr color values.
The color palette may be updated once per OSD area. The OSD
controller automatically performs this process prior to displaying the next
OSD area. This color expansion feature allows many more colors to be
displayed on the overlay screen at one time.
Since the palette contains 256 colors in 8 bits/pixel mode, the palette
should be loaded only once per eld with the rst OSD area of the frame.
The data for subsequent OSD areas should include only the header
control information and the area bitmap.
10.10.2.6 OSD Controller Operation
At the beginning of each eld, the OSD Controller scans the display list
stored in SDRAM and loads the rst 64 bits (header control information)
for the rst OSD area into the internal OSD control registers. The OSD
Controller then buffers the color palette information and bitmap data, and
waits until the Display Controller output reaches the rst pixel location of
the OSD area (dened in the STARTR and STARTC elds of the header).
It mixes the OSD data with the reconstructed video data according to the
mix weight in the header and the mix enable in the color palette. When
the OSD Controller outputs the last line of the OSD area, it immediately
loads the next 64 bits of header information from the display list and the
process repeats itself. Only one OSD area is active at a time and multiple
areas cannot lie on the same horizontal line.