TVP4020
Programmers Reference Manual
Graphics Programming
119
5.13.4
Registers
One register controls the operation of this unit, DitherMode, and its
layout is:
0
8
16
24
31
Color format
Reserved
Dither enable
Unit enable
X offset
Y offset
ForceAlpha
Color format extension
DitherMethod
Reserved
Color order
Figure 5.48
Dither Mode Register
The X and Y offset fields are for window relative dithering. Color order
species RGB or BGR color order. The Color format and Color format
extension fields control color depth and options are given in table 4.1.
5.13.5
Dither Example
To set the framebuffer format to RGB 3:3:2 and enable dithering:
// 332 Dithering
ditherMode.UnitEnable = PERMEDIA_TRUE
ditherMode.DitherEnable = PERMEDIA_TRUE
ditherMode.ColorMode = PERMEDIA_COLOR_FORMAT_RGB_332
DitherMode (ditherMode)
// Load register
5.13.6
Color Format Example
To set the framebuffer format to RGB 3:3:2 and disable dithering:
// 332 No Dither
ditherMode.UnitEnable = PERMEDIA_TRUE
ditherMode.DitherEnable = PERMEDIA_FALSE
ditherMode.ColorMode = PERMEDIA_COLOR_FORMAT_RGB_332
DitherMode(ditherMode)
// Load register
5.13.7
Color Format Example
To set the framebuffer to RGBA 8:8:8:8 and not dithered:
Содержание TVP4020 PERMEDIA 2
Страница 1: ...Texas Instruments TVP4020 PERMEDIA 2 Programmer s Reference Manual Issue 4 ...
Страница 47: ...Memory I O and Organization TVP4020 Programmers Reference Manual 38 Texture address TextureBaseAddress T W S ...
Страница 284: ...TVP4020 Programmers Reference Manual A Gouraud Shaded Triangle 275 ...
Страница 292: ...TVP4020 Programmers Reference Manual Register Tables 283 ...
Страница 314: ...TVP4020 Programmers Reference Manual Index 305 ...
Страница 315: ...Index TVP4020 Programmers Reference Manual 306 Index ...
Страница 323: ...Index TVP4020 Programmers Reference Manual 314 ...