Figure 6-26. Linear Interpolation Calculation - AMD Geode LX 600@0.7W Data Book

Processors
Table of Contents

Advertisement

Video Processor
6.7.3
X and Y Upscaler
After the video data has been buffered, the upscaling algo-
rithm is applied. The Video Processor module employs a
Digital Differential Analyzer-style (DDA) algorithm for both
horizontal and vertical upscaling. The scaling parameters
are programmed via the Video Scale register (VP Memory
Offset 020h). The scalers support up to 8x scale factors
both horizontally and vertically. 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 6-26).
6.7.4
Color Space Converter
After scaling and filtering have been performed, YUV video
data is passed through the color space converter to obtain
24-bit RGB video data.
A
i,j
x
y
b
z
1
A
i+1,j
AMD Geode™ LX Processors Data Book
,
i,j
Notes:
A
i,j+1
x and y are 0 - 7
(
b 1
=
A i j ,
(
b
=
A
b
2
2
(
z
=
b
1
A
i+1,j+1

Figure 6-26. Linear Interpolation Calculation

Color space conversion equations are based on the
BT.601-1 recommendation:
Standard definition color space conversion equations are
based on Microsoft's recommendations as follows:
R = 1.164383(Y-16) + 1.596027(V-128)
G = 1.164383(Y-16) - 0.812968(V-128) - 0.391762
(U-128)
B = 1.164383(Y-16) + 2.017232(U-128)
For high definition video, the color space conversion equa-
tions are based on Rec. ITU-R BT.709 as follows:
R = 1.164383(Y-16) + 1.792742(V-128)
G = 1.164383(Y-16) - 0.532909(V-128) - 0.213249
(U-128)
B = 1.164383(Y-16) + 2.112402(U-128)
The color space converter clamps inputs to prevent them
from exceeding acceptable limits.
The color space converter can be bypassed for overlaying
16-bpp graphics data.
8 y
y
)
(
)
----------- -
+
A i
-- -
+
1 j ,
8
8
8 y
)
(
)
----------- -
+
A
i j ,
+
1
i
+
1 j
,
+
1
8
8 x
x
)
(
)
----------- -
+
b
-- -
2
8
8
33234H
y
-- -
8
393

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents