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.

You can consider the entire stopband<br />

of an ideal sinc filter to contain<br />

an infinity of nulls. Mathematically,<br />

the sinc function represents the limit<br />

of Lagrange interpolation as the<br />

order of the polynomial approaches<br />

infinity. See Appendix A of Smith’s<br />

Digital Audio Resampling Home Page,<br />

cited in the margin of page 177.<br />

The 720p60 and 1080i30 standards<br />

have an identical sampling<br />

rate (74.25 MHz). In the logic<br />

design of this example, there is<br />

a single clock domain.<br />

behavior of signals, which are constrained to lie within<br />

a limited range of values forever (say the abstract range<br />

0 to 1 in video, or ±0.5 in audio).<br />

• In signal processing, there is always some uncertainty in<br />

the sample values caused by noise accompanying the<br />

signal, quantization noise, and noise due to roundoff<br />

error in the calculations in the digital domain. When<br />

the source data is imperfect, it seems unreasonable to<br />

demand perfection of an interpolation function.<br />

These four issues are addressed in signal processing by<br />

using interpolation functions that are not polynomials<br />

and that do not come from classical mathematics.<br />

Instead, we usually use interpolation functions based<br />

upon the the sinc weighting function that I introduced<br />

on page 148. In signal processing, we usually design<br />

interpolators that do not “interpolate” the original<br />

sample values.<br />

The ideal sinc weighting function has no distinct nulls in<br />

its frequency spectrum. When sinc is truncated and<br />

optimized to obtain a physically realizable filter, the<br />

stopband has a finite number of nulls. Unlike<br />

a Lagrange interpolator, these nulls do not have to be<br />

regularly spaced. It is the filter designer’s ability to<br />

choose the frequencies for the zeros that allows him or<br />

her to tailor the filter’s response.<br />

Polyphase interpolators<br />

Some video signal processing applications require<br />

upsampling at simple ratios. For example, conversion<br />

from 1280 SAL to 1920 SAL in an HDTV format<br />

converter requires 2:3 upsampling. An output sample is<br />

computed at one of three phases: either at the site of<br />

an input sample, or 1 ⁄3 or 2 ⁄3 of the way between input<br />

samples. The upsampler can be implemented as an FIR<br />

filter with just three sets of coefficients; the coefficients<br />

can be accessed from a lookup table addressed by �.<br />

Many interpolators involve ratios more complex than<br />

the 2:3 ratio of this example. For example, in conversion<br />

from 4f SC NTSC to Rec. 601 (4:2:2), 910 input<br />

samples must be converted to 858 results. This involves<br />

CHAPTER 17 RESAMPLING, INTERPOLATION, AND DECIMATION 181

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

Saved successfully!

Ooh no, something went wrong!