08.01.2013 Views

DigitalVideoAndHDTVAlgorithmsAndInterfaces.pdf

DigitalVideoAndHDTVAlgorithmsAndInterfaces.pdf

DigitalVideoAndHDTVAlgorithmsAndInterfaces.pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

CMs in a segment are<br />

denoted a through e.<br />

contains the DC term, and several AC terms, of each<br />

block’s DCT. However, that’s not the whole story.<br />

DV overflow scheme<br />

When a portion of an image is devoid of detail, a few<br />

low-frequency AC coefficients of its DCT may have<br />

significant magnitude, but nearly all high-frequency AC<br />

terms will have very small magnitude. When a portion<br />

of an image has a lot of fine detail, many highfrequency<br />

AC terms will have large magnitude. To<br />

reproduce the image accurately requires that these<br />

terms be recorded. Generally, increasing amounts of<br />

detail require increased data capacity.<br />

It is unusual for an image to contain detail everywhere;<br />

typically, complexity is spatially concentrated in an<br />

image. A compression algorithm should adapt to the<br />

spatial distribution of image detail, by allocating bits<br />

where they are needed. If fine detail is distributed<br />

throughout an image – in a full-frame image of the<br />

leaves of a tree, perhaps – then even quite large reconstruction<br />

errors are likely to be imperceptible.<br />

The requirement for picture-in-shuttle seems to<br />

preclude allocation of data capacity to the regions<br />

where more bits are required. However, DV implements<br />

an overflow scheme whereby the bits resulting<br />

from compression of a handful of macroblocks are<br />

shared among a handful of CMs. Should the VLE-coded<br />

AC coefficients for a complex block (augmented by<br />

a 4-bit EOB) require more bits than the fixed capacity<br />

assigned to that block in the CM, the overflow bits<br />

“spill” into other blocks whose capacity was not filled.<br />

Overflow data first spills into space that might remain<br />

in other blocks of the same CM; any remaining bits spill<br />

into available space in any of four other CMs associated<br />

with diverse regions of the image. The set of five<br />

coded macroblocks that share overflow space is called<br />

a segment; a segment has a fixed capacity of 385 bytes.<br />

The macroblocks of a segment are spatially distributed<br />

throughout the frame: No two macroblocks are taken<br />

from the same row or the same column of superblocks.<br />

This distribution exploits the statistical likelihood that<br />

only one or two of the macroblocks will be complex.<br />

CHAPTER 39 DV COMPRESSION 465

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!