Buffer 1
HD Luma
Buffer 9
HD Luma
Buffer 17
HD Luma
Buffer 25
HD Luma
Buffer 33
HD Luma
Buffer 41
HD Luma
Buffer 49
HD Luma
Buffer 8
HD Luma
Buffer 16
HD Luma
Buffer 24
HD Luma
Buffer 32
HD Luma
Buffer 40
HD Luma
Buffer 48
HD Luma
Buffer 56
HD Luma
256 pages or 16KB or 16K pixels
Simple Use Case: Buffer arrangement in a 128-MB
contiguous memory dedicated for 8-bit mode buffers
128 pages or 8K or pixels
8-bit container
16-bit container
Empty space
Preliminary
www.ti.com
Use Case
2.3.2 Simple LUT Bypass Use Case: Arrangement of Video Buffers
This section describes one possible arrangement of H.264 video buffers which are in YUV 420 format.
Setup is as follows:
1. The buffers size if 1920 × 1080
2. The Luma buffers are allocated in the 8-bit mode container
3. The Chroma buffers are allocated in the 16-bit mode container
4. The H.264 algorithm needs 32 bytes of padding on each side for Luma buffer and 16 bytes padding in
each side for a chroma buffer
5. All buffers are allocated on a 4K aligned address
2.3.2.1
Luma Buffers
In 8-bit tiled mode (
), each 4K page is arranged as 64 pixels wide and 64 pixels high, where
each pixel is of size 8-bits. In YUV 420 format, the Luma buffer of the image is 1920 × 1080 and each
pixel is 8-bits. Thus each buffer is 1920 bytes wide. With a pad of 32 bytes on each side, the buffer (1920
+ 64 = ) 1984 bytes wide. So one video buffer needs (1984/64 = ) 31 pages, along the width of the tiler
container. So the tiler container can fit (256/31 ~) 8 buffers, along it's width.
Similarly, with pad of 32 bytes on top and bottom , the buffer (1080 + 64 = ) 1144. Rounding it to (1144 +
8= ) 1152, so that buffer is allocated on page boundary. So one video buffer needs (1152/64 = ) 18 pages,
along the height of the tiler container. So the tiler container can fit (128/18 ~) 7 buffers, along it's height.
Figure 2-47. Buffer Arrangement for HD Luma Buffers in 128MB 8-bit Mode Container
371
SPRUGX9 – 15 April 2011
DMM/TILER
© 2011, Texas Instruments Incorporated
Содержание TMS320C6A816 Series
Страница 2: ...Preliminary 2 SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 92: ...92 Read This First SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1122: ...1122 Multichannel Audio Serial Port McASP SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1562: ...1562 Real Time Clock RTC SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1658: ...1658 Timers SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1750: ...1750 UART IrDA CIR Module SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...
Страница 1984: ...1984 Universal Serial Bus USB SPRUGX9 15 April 2011 Submit Documentation Feedback 2011 Texas Instruments Incorporated...