Architecture
Orientation
S
Y
0
x
1
x
As a result, the coordinate (x0, y0) of a pixel in an oriented view is translated in a virtual address as
shown in
Figure 2-29
Figure 2-29. Tiled Mode Addressing in 0° or 180° Orientations, (S = 0)
Bit
26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
8-bit tiled mode
16-bit tiled mode
32-bit tiled mode
Figure 2-30. Tiled Mode Addressing in 90° or 270° Orientations, (S = 1)
Bit
26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10
8-bit tiled mode
16-bit tiled mode
32-bit tiled mode
Having understood the characteristic of the tiled container and the how the data is stored in bi-dimensional
manner, it is easy to understand how stride is calculated. Stride is calculated as the number bytes
between pixel (m,n) and pixel (m,(n+1)), where m = x co-ordinate of the image buffer, n = y co-ordinate of
the image buffer.
For S = 0, that is, all views with 0º and 180º:
•
8-bit mode: stride_8bitmode = 4 bytes per sub-tile × 1 byte height of a sub-tile line × 8 sub-tiles per tile
× 2 tiles per page × 256 pages = 4 × 1 × 8 × 2 × 256 = 16KB
•
16-bit mode: stride_16bitmode = 4 bytes per sub-tile × 2 bytes height of a sub-tile line × 8 sub-tiles per
tile × 2 tiles per page × 256 pages = 4 × 2 × 8 × 2 × 256 = 32KB
•
32-bit mode: stride_32bitmode = 4 bytes per sub-tile × 2 bytes height of a sub-tile line × 8 sub-tiles per
tile × 2 tiles per page × 256 pages = 4 × 2 × 8 × 2 × 256 = 32KB
For S = 1, that is, all views with 90º and 270º:
•
8-bit mode: stride_8bitmode = 4 bytes per sub-tile × 1 byte height of a sub-tile line × 8 sub-tiles per tile
× 2 tiles per page × 128 pages = 4 × 1 × 8 × 2 × 128 = 8KB
•
16-bit mode: stride_16bitmode = 4 bytes per sub-tile × 1 byte height of a sub-tile line × 8 sub-tiles per
tile × 2 tiles per page × 128 pages = 4 × 1 × 8 × 2 × 128 = 16KB
•
32-bit mode: stride_32bitmode = 4 bytes per sub-tile × 2 bytes height of a sub-tile line × 8 sub-tiles per
tile × 2 tiles per page × 128 pages = 4 × 2 × 8 × 2 × 128 = 16KB
360
DMM/TILER
Preliminary
Table 2-3. Tiled Mode Container Characteristics
Element Size
(bits)
X
8
x
16
32
8
x
16
32
and
Figure
2-30, for all the four orientations.
y
0
y
0
y
0
y
0
y
x
0
0
y
0
© 2011, Texas Instruments Incorporated
Width
Height
(eleme
(elements)
Progressive
nts)
16384
8192
16384
4096
8192
4096
8192
16384
4096
16384
4096
8192
9
8
7
x
0
x
0
9
8
7
x
0
Submit Documentation Feedback
www.ti.com
Stride (bytes)
Interlaced
16384
32768
32768
65536
32768
65536
8192
16384
8192
16384
16384
32768
6
5
4
3
2
1
0
x
0
6
5
4
3
2
1
0
x
0
x
0
SPRUGX9 – 15 April 2011
Need help?
Do you have a question about the TMS320C6A816 Series and is the answer not in the manual?