
Genesis Microchip
gm5060 / gm5060-H Data Sheet
February 2002
C5060-DAT-01G
59
4.15.1.5. Character Spacing
The characters within a character mapped OSD image may have additional spacing added
between each character definition. See the register specification for allowed spacing. When
spacing is added to a character, background color pixels are inserted around the character to
achieve the desired spacing. Character spacing is added before horizontal and vertical stretching
causing spaces to be stretched along with the character.
4.15.2 Bitmapped OSD
The OSD block supports bitmapped images stored in SDRAM.
The bitmap is loaded into the external frame buffer by the host. The OSD block fetches the
bitmap from the frame buffer and uses the data to define the displayed pixel colors on a pixel by
pixel basis. Pixels can be represented using either 8 bits per pixel (256 simultaneous colors) 4
bits per pixel (16 simultaneous colors with lower SDRAM requirement), 2 bits per pixel (4
colors) or 1 bit per pixel.
The maximum bitmapped image size is 512 horizontal x 512 pixels vertical.
4.15.3 Color Look-up Table (LUT)
Each pixel of a displayed character is resolved to an 8-bit color code. This selected color code is
then transformed to a 24-bit value using a 256 x 24-bit look up table. Color index value “00” is
reserved for transparent OSD pixels. The LUT is stored in an on-chip SRAM and is loaded via
the Host interface.
4.15.4 Multiple OSD Windows
Up to three OSDs may appear on the screen at any given time: two bitmapped OSDs and one
character-mapped OSD.
4.15.5 OSD Stretch
The OSD image can be stretched horizontally and/or vertically by a factor of two, three, or four.
Pixel and line replication is used to stretch the image.
4.15.6 Blending
16 levels of blending are supported for the character-mapped and bitmapped images. One host
register controls the blend levels for pixels with LUT values of 128 and greater, while another
host register controls the blend levels for pixels with LUT values of 127 and lower. OSD color
LUT value 0 is reserved for transparency and is unaffected by the blend attribute.
Blend levels for binary codes “1111” through “0000” are 6.25%, 12.5%, 18.75%, 25%, 31.25%,
37.5%, 43.75%, 50%, 56.25%, 62.5%, 68.75%, 75%, 81.25%, 87.5%, 93.75%, 100%. Blend
percentage level refers the percentage of the output data that is OSD. For example, 0001 yields
an output data stream whose blended pixel data is 93.75% OSD and 6.25% underlying image
data. This OSD would be only slightly translucent.