
NXP Semiconductors
PNX15xx/952x Series
Volume 1 of 1
Chapter 11: QVCP
PNX15XX_PNX952X_SER_N_4
NXP B.V. 2007. All rights reserved.
Product data sheet
Rev. 4.0 — 03 December 2007
11-364
The second function of the VCBM unit is to take YUV (for video) or RGB (for graphics)
inputs and produce RGB or YUV outputs. The color space conversion is effected by
multiplying a 3x1column vector (with 3 components: Y, U, V or R, G, B) in the source
color space with a 3x3 matrix (of coefcients) in order to obtain a 3x1 column vector
in the destination color space. The programmable coefcients of the 3x3 matrix can
be altered to modify contrast, saturation, and hue.
(10)
where
UP, MI, and LO = R,G,B or Y,U,V
Cij= the standard matrix coefcients multiplied by the desired contrast ratio
b = the brightness value divided by the desired contrast ratio
For YUV input b’ = 0 and for RGB input b’=b
For RGB -> RGB, there is no support for brightness control.
Thus, the main functions performed by the VCBM unit are: contrast and brightness
control and color-space conversion with white-point control; this is achieved by using
one or more operations from the following sequence:
contrast control by multiplying the 9 matrix coefcients by the same desired
contrast ratio (where a ratio of 1 means a gain of unity).
brightness control on YUV (add offset "b", as shown above, to values at the input
of matrix, where b signies the desired brightness offset scaled by the contrast
gain)
YUV-to-RGB matrix, also usable for YUV-to-YUV
optional saturation control via the YUV-to-RGB (etc.) matrix (by adjusting the
contribution of U and V by the same ratio, while keeping the contribution of Y as
constant, done by modifying the six matrix coefcients for U and V.
optional white-D control via the YUV-to-RGB (etc.) matrix
offset addition for making unsigned U&V
guaranteed hard-clipping to 10-bit unsigned formats
2.3.7
Layer and Fetch Control
The layer fetch control receives the global screen coordinates from the STG and
takes care of extracting the pixels from a layer when needed (i.e., when the
programmed position for the layer has reached). Another task (of the layer fetch
control unit) is to clip layers exceeding the screen coordinates.
UP
out
MI
out
LO
out
C
00 C01 C02
C
10 C11 C12
C
20 C21 C22
UP
in
b
+
MI
in
b
′
+
LO
in
b
′
+
×
=