Chapter 10 Memory Subsystem.pdf
Chapter 10 Memory Subsystem.pdf
Chapter 10 Memory Subsystem.pdf
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Public Version<br />
SDRAM Controller (SDRC) <strong>Subsystem</strong> www.ti.com<br />
(1) (2)<br />
Table <strong>10</strong>-<strong>10</strong>7. Calculating Image Size<br />
Steps RGB16 Format (16-Bit Pixel Format) YUV Format (32-Bit Pixel Format)<br />
IMAGEWIDTH IMAGEHEIGHT IMAGEWIDTH IMAGEHEIGHT<br />
1 Calculate the required 240 pixels/32 bytes * 2 240/32 rows = 7.5, 120 pixels/32 bytes 240/32 rows = 7.5,<br />
number of pages per line bytes per pixel = 15 rounded to 8 pages per * 4 bytes per pixel rounded to 8<br />
and per column. pages per line column format = 15<br />
2 Using the number of 15 * 32 bytes/2 bytes 8 * 32 rows = 256 I5 * 32 bytes/4 bytes 256<br />
pages calculated in Step per pixel = 240 per pixel format =<br />
1, calculate the image 120<br />
size in pixels.<br />
(1) Working on a page basis, the image size must be a multiple of the page size.<br />
(2) Depending on the page dimensions and the image size, the programmed image size (256) is larger than the actual image size<br />
(240).<br />
To use VRFB rotation, each initiator must configure its DMA engine correctly; an additional offset to the<br />
base address may be required. For details, see <strong>Chapter</strong> 7, Display <strong>Subsystem</strong>.<br />
<strong>10</strong>.2.6.1.3 Applicative Use Case and Tips<br />
Use Case Scenario: Display a Rotated QVGA Image<br />
Figure <strong>10</strong>-66 shows the use case for displaying a rotated QVGA image. The camera captures an image<br />
with a particular rotation and stores the pixel data in external memory. Displaying the image on the DSS<br />
requires a different orientation.<br />
2264 <strong>Memory</strong> <strong>Subsystem</strong> SPRUGN4L–May 20<strong>10</strong>–Revised June 2011<br />
Copyright © 20<strong>10</strong>–2011, Texas Instruments Incorporated