Δiw
Δih
2048 Pixels
0° Rotation
90° Rotation
180° Rotation
270° Rotation
VBA 0°
VBA 180°
VBA 90°
VBA 270°
2048 Pixels
Δiw
Δih
Offset
= Δih Pixels
= Δih*ps Bytes
2048 Pixels
2048 Pixels
Offset
= 2048*Δih+Δiw Pixels
= (2048*Δih+Δiw)*ps Bytes
Offset
= 2048*Δiw Pixels
= 2048*Δiw*ps Bytes
Δih
Δih
Δiw
Δiw
screen
screen
screen
screen
dss-101
Public Version
www.ti.com
Display Subsystem Basic Programming Model
Figure 7-124. Offset for VRFB Rotation With Mirroring
7.5.3.4.4 Additional Configuration When Using YUV Format
The rotation flag (DSS.
[13] VIDROTATION bit , with n = 1 or 2) and the
repeat flag (DSS.
[18] VIDROWREPEATENABLE) indicate the rotation to
apply to the video-encoded pixels from the SDRAM and SRAM. The 2D addressing mode is used, but
even when accessing the SDRAM buffer, some post-processing must be performed on the YUV 4:2:2
data depending on the rotation. These bits are set only when the video format is not RGB; otherwise, the
bit field is reset to 0.
and
describe the configuration of these registers.
Table 7-56. Video Rotation Register Settings (YUV Only)
Rotation
Registers (with n = 1 or 2)
SDRAM + Rotation
engine
0 degree
[13] VIDROTATION
0x0
[18] VIDROWREPEATENABLE
0x0
90 degrees
[13] VIDROTATION
0x1
[18] VIDROWREPEATENABLE
0x1
180 degrees
[13] VIDROTATION
0x2
[18] VIDROWREPEATENABLE
0x0
1727
SWPU177N – December 2009 – Revised November 2010
Display Subsystem
Copyright © 2009–2010, Texas Instruments Incorporated