
NXP Semiconductors
PNX15xx/952x Series
Volume 1 of 1
Chapter 19: Memory Based Scaler
PNX15XX_PNX952X_SER_N_4
NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 4.0 — 03 December 2007
19-588
Decimation Filter
After horizontal processing, chrominance may be down sampled to reduce memory
bandwidth or allow for higher quality vertical processing that is not available
otherwise. Mirroring of samples at the eld boundaries compensate for run in and run
out conditions of the lter.
Normal Polyphase Filter Mode
The normal polyphase lter can be used to zoom out or downscale a video image.
Depending on the number of components, the lter uses 6 taps (three-component
mode) or 3 taps (four-component mode). For the normal polyphase lter, run-in and
run-out behavior are compensated by appropriate mirroring of samples at the eld
boundaries. In order to align the rst output pixel with the geometric location of the
rst input pixel, the start phase has to be chosen as:
(17)
Transposed Polyphase Filter Mode
The transposed polyphase lter can only be used to downscale. By reversing the ow
through the normal polyphase lter, the transposed lter takes the output pixels as
reference and accumulates input pixels. The advantage of the transposed polyphase
lter is the longer effective lter length which allows for ltering out high frequencies
that interfere with downscaling. A drawback of this approach is that the lter
coefcients have to get optimized for the scaling ratio in order to avoid visible DC
ripples. Compensation for run-in and run-out behavior of the lter is not available. Use
of the transposed lter is limited to three components only.
The scaling ratio for the transposed polyphase
HSP_ZOOM_0 = 0x1 0000h *
zoom_x, with zoom_x = pixel_out / pixel_in
Linear Phase Interpolation Mode (LPI)
In the linear phase interpolation mode, samples between two pixels are interpolated
by using the linear equation px = (1-phase) * xleft + phase * xright. Linear phase
interpolation creates adequate results especially when used with computer
generated graphics which, unlike motion video, is usually not bandwidth limited.
The LPI mode is enabled by setting HSP_PHASE_MODE = 7. Horizontal processing
mode has to be set to normal polyphase (HSP_MODE = 2) and four-component
mode has to be enabled (HSP_FIR_COMP = 1)
Color Space Matrix Mode
In addition to the normal and transposed polyphase ltering (scaling), the FIR lter
structure can instead be programed to perform color-space-conversion functions. A
dedicated set of registers holds the coefcients for the color space matrix.
dto_offset
0x200 filter_length
=