VID1
GFX
VID1
GFX
Y
VID1
GFX
Y
BPP defines the number of bytes per pixel for graphics buffer.
DISPC_GFX_WINDOW_SKIP[31:0]
= Y * [X* (DISPC_GFX_PIXEL_INC[15:0]
GFCPI BPP) +
DISPC_GFX_ROW_INC[31:0] GFXROWINC – 1 + BPP]
Y = DISPC_VID1_POSITION[26:16] V DISPC_VID1_SIZE[26:16] VIDSIZEY
– DISPC_GFX_POSITION[26:16] G 1
X = DISPC_GFX_SIZE[10:0] GF 1
X = DISPC_GFX_SIZE[10:0] GF 1
X = DISPC_GFX_SIZE[10:0] GF 1
Y = DISPC_VID1_SIZE[26:16] VI 1
Y = DISPC_GFX_POSITION[26:16] G DISPC_GFX_SIZE[26:16] GFXSIZEY
- DISPC_VID1_POSITION[26:16] V 1
dss-090
Public Version
www.ti.com
Display Subsystem Basic Programming Model
•
Graphics window skip enable (DSS.
[12] OVERLAYOPTIMIZATION bit): By
setting/resetting the bit, the overlay optimization is enabled or disabled. Before enabling the overlay
optimization, the DSS.
[31:0] GFXWINDOWSKIP bit field must be set
according to the video1 and graphics windows overlap. The default value at reset time is 0x0 (Disable).
When video1 is not present, the DSS.
[31:0] GFXWINDOWSKIP bit field
should be reset. When the color key is used, the DSS.
GFXWINDOWSKIP bit field should be reset.
•
Graphics window skip (DSS.
[31:0] GFXWINDOWSKIP bit field): The bit
field represents the number of bytes to skip while fetching the graphics-encoded pixels when reaching
the beginning of the video window. The optimization allows fetching only the visible graphics pixels.
The color key cannot be selected because the graphics pixels under the video window are not present.
The default value at reset time is 0x0 (0 byte).
through
give examples of how to program the GFXWINDOWSKIP field for
overlay optimization:
Figure 7-116. Overlay Optimization: Case 1
1711
SWPU177N – December 2009 – Revised November 2010
Display Subsystem
Copyright © 2009–2010, Texas Instruments Incorporated