Start configuration of
VRFB context 1
Definition of the
page size
(32 rows*32 byte page)
Start
End
Page width (bytes):
SMS_ROT_CONTROL1[6:4] PW = 5
Page height (bytes):
SMS_ROT_CONTROL1[10:8] PH = 5
Definition of the
image parameters
before rotation
(240*240 image size)
Start
Image width (pixels):
SMS_ROT_SIZE1[10:0] IMAGEWIDTH = 240
Image height (pixels):
SMS_ROT_SIZE1[26:16] IMAGEHEIGHT = 256
Pixel format (bytes):
SMS_ROT_CONTROL [1:0] PS = 1
End
YUV standard usage:
The pixel format must be set to 4 bytes
(2^ps bytes), because the YUV pixel
data is spread onto a 32-bit word
representing 2 pixels.
Is the programmed
image size (256) bigger
than the actual image
size (240) ?
Initiator programs its DMA engine:
an additional offset to the base
address may be required.
Yes
Indicate the physical base address of the
picture in SDRAM
Set the SMS_ROT_PHYSICAL_BA1[30:0]
PHYSICALBA field.
No
End configuration of
VRFB context 1
Once the VRFB context1 is configured, all data accesses
to a virtual address space is automatically translated.
VRFB virtual address-spaces for context 1:
- 0-degree view: 0x7400 0000 – 0x74FF FFFF
- 90-degree view: 0x7500 0000 – 0x75FF FFFF
- 180-degree view: 0x7600 0000 – 0x76FF FFFF
- 270-degree view: 0x7700 0000 – 0x77FF FFFF
Standard
used?
Image width (pixels):
SMS_ROT_SIZE1[10:0] IMAGEWIDTH = 120
Image height (pixels):
SMS_ROT_SIZE1[26:16] IMAGEHEIGHT = 256
Pixel format (bytes):
SMS_ROT_CONTROL1[1:0] PS = 2
YUV
Refer to Note 1:
How to calculate the image size
Refer to Note 2:
Programmed image exceeds the
actual one.
YUV standard usage:
The image width must be set to one-
half the number of pixels per row (240),
because the YUV pixel data is spread
onto a 32-bit word representing 2 pixels.
RGB16
sdrc-022
Public Version
www.ti.com
SDRAM Controller (SDRC) Subsystem
Figure 10-65. Example of VRFB Context 1 Configuration
lists guidelines for calculating image size.
2281
SWPU177N – December 2009 – Revised November 2010
Memory Subsystem
Copyright © 2009–2010, Texas Instruments Incorporated