Figure 7-9. Linear Interpolation Calculation - AMD Geode SC3200 Data Book

Processor
Table of Contents

Advertisement

Video Processor Module
7.2.2.3
Line Buffers
After the data has been optionally horizontally downscaled
the video data is stored in a 3-line buffer. Each line is 360
DWORDs, which means a line width of up to 720 pixels can
be stored. This buffer supports two functions. First, the
clock domain of the video data changes from the GX1
module's video clock to the GX1 module's graphics clock.
This clock domain change is required because the video
data and graphics data can only be mixed/blended in the
same clock domain. The second function the line buffer
performs is to provide the necessary look ahead and look
behind data in the vertical direction for the vertical
upscaler. There is no direct program control of the line
buffer.
7.2.2.4
Formatter
Video data in YUV 4:2:2 or YUV 4:2:0 format is converted
to YUV 4:4:4 format. RGB data is not translated. There is
no direct program control of the Formatter.
A
i,j
y
AMD Geode™ SC3200 Processor Data Book
A
i,j+1
x
b
z
b
1
2
A
A
i+1,j
i+1,j+1

Figure 7-9. Linear Interpolation Calculation

7.2.2.5
2-Tap Vertical and Horizontal Upscalers
After the video data has been buffered, the upscaling algo-
rithm can be applied. The Video Processor employs a Digi-
tal Differential Analyzer-style (DDA) algorithm for both
horizontal and vertical upscaling. The scaling parameters
are
programmed
via
the
(F4BAR0+Memory Offset 10h). The scalers support up to
8x factors for both horizontal and vertical scaling. The
scaled video pixel stream is then passed through bi-linear
interpolating filters (2-tap, 8-phase) to smooth the output
video, significantly enhancing the quality of the displayed
image.
The X and Y Upscaler uses the DDA and linear interpolat-
ing filter to calculate (via interpolation) the values of the pix-
els to be generated. The interpolation formula uses A
A
, A
, and A
values to calculate the value of
i,j+1
i+1,j
i+1,j+1
intermediate points. The actual location of calculated
points is determined by the DDA algorithm.
The location of each intermediate point is one of eight
phases between the original pixels (see Figure 7-9).
Notes:
x and y are 0 - 7
8 y
(
)
(
b 1
=
A i j ,
----------- -
+
A i
+
8
8 y
(
)
(
b 2
=
A i j ,
----------- -
+
+
1
8
8 x
x
(
)
(
)
z
=
b
----------- -
+
b 2
-- -
1
8
8
32581C
Video
Upscale
register
y
)
-- -
1 j ,
8
y
)
A i
-- -
+
1 j
,
+
1
8
,
i,j
319

Advertisement

Table of Contents
loading

Table of Contents