
Memory Frame Store Allocation
7-9
7.6 Memory Frame Store Allocation
The SDRAM space allocated for video frame stores is dependent upon
the operating mode of the device and the largest picture size expected
in the bitstream. The size of the frame store cannot be altered while the
video decoder is running. These values must be programmed at power-
up time or at the channel-start time when the sequence header arrives.
The pixel data in the frame store is arranged in a Luma (L) frame store
and a Chroma (C) frame store.
7.6.1 Luma Store
If the reconstructed image is 720 pixels wide, then each line of luminance
occupies 720 bytes. Since there are 8 pixels in a 64-bit word, one line of
luminance requires 90 64-bit words or 90 bursts to SDRAM. Each frame
store starts with the upper left pixel in the reconstruction space and
increments in address as the frame store progresses across the pixel
line. At the end of a reconstruction line, the next line starts immediately
at the next 64-bit word address.
Figure 7.5
Luma Frame Store Organization
7.6.2 Chroma Store
The chroma data is stored slightly differently. The L64105 interleaves
chroma pixels (Cr, Cb, Cr, Cb) within the same 64-bit word to increase
the word fetch efficiency of the SDRAM interface. Each CrCb pair is
stored in consecutive bytes in the 64-bit word. There is one CrCb pair for
every two pixels. This results in a frame store with the same number of
addresses per line in chroma as in luma. However, there are half the
0
63
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
Frame Start Address
Y8
Y9
Y10
Y11
Y12
Y13
Y14
Y15
.
Y714
Y715
Y716
Y717
Y718
Y719
Word 0
Word 1
Word 89
Y713
Y712
Y0
Y1
Y2
Y3
Y4
Y5
Y6
Y7
Word 90
.
.
.