Edge Pixel Replication - Texas Instruments TMS320C64x DSP Reference Manual

Dsp video port/vcxo interpolated control (vic) port
Hide thumbs Also See for TMS320C64x DSP:
Table of Contents

Advertisement

3.5.4

Edge Pixel Replication

Because the filters make use of preceding and trailing samples, filtering arti-
facts can occur at the beginning of the BT.656 or Y/C active line because no
samples exist before the SAV code, and at the end of the BT.656 active line
because no samples exist after the EAV code. In order to minimize artifacts,
the first m samples after sample 0 (where m is the maximum number of
preceding samples used by any of the filters) are mirrored to the left of
sample 0 and the last m samples before the last sample are mirrored to the
right of the last sample.
Figure 3–15 shows edge pixel replication assuming an m value of 3. Sample a
is the first sample after the SAV code. Therefore, samples b–d are mirrored to
the left of sample a to provide values for the filter calculations on the first few
pixels in the line. Likewise, samples n – 1 to n – 3 are mirrored to the right of
the last sample n to provide values for the last few pixels on the line.
Note that edge pixel replication only comes into effect when the full BT.656
stream is being captured. If VCXSTART is greater than 0, then only some of
the leading edge replicated pixels are used by the filter. If VCXSTART is greater
than m, then none of the leading edge replicated pixels are used. Similarly, if
VCXSTOP is less than the number of samples before EAV, then none or only
some of the trailing edge replicated pixels are used by the filters.
Figure 3–15. Edge Pixel Replication
SAV
a
b
d
c
b
a
b
Leading edge replicated pixels
SPRU629
c
d
e
n – 4 n – 3 n – 2
Active line
c
d
e
n – 4 n – 3 n – 2
Luma (Y)
Chroma (Cb/Cr)
sample
samples
Video Input Filtering
n – 1
n
EAV
n – 1
n
n – 1 n – 2 n – 3
Trailing edge replicated pixels
Video Capture Port
3-29

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tms320c6000

Table of Contents