English
Language : 

MB86296 Datasheet, PDF (82/352 Pages) Fujitsu Component Limited. – PCI Graphics Controller Specification
FUJITSU LIMITED PRELIMINARY AND CONFIDENTIAL
7.7 Programmable YCbCr/RGB conversion for L1-layer display
L1-layer can display video data in YCbCr format but RGB conversion coefficients are hard-wired and
fixed about previous products. Coral-PA can program RGB conversion coefficients by registers.
YCbCr data is converted by following expression.
R = a11*Y + a12*(Cb− 128) + a13*(Cr−128) + b1
G = a21*Y + a22*(Cb− 128) + a23*(Cr−128) + b2
B = a31*Y + a32*(Cb−128) + a33*(Cr−128) + b3
aij ---- 11bit signed real ( lower 8bit is fraction, two's complement )
bi ----- 9bit signed integer ( two's complement )
It is represended by matrix operation.
R
Y
G = A Cb-128 + b
B
Cr-128
A where
a11 a12 a13
= a21 a22 a23
a31 a32 a33
,
b=
b1
b2
b3
These parameters are set on registers shown bellow.
L1YCR0 (a11,a12), L1YCR1(a13,b1)
L1YCG0 (a21,a22), L1YCG1(a23,b2)
L1YCB0 (a31,a32), L1YCB1(a33,b3)
Same conversion with previous products is applied by initial values of these registers after reset.
The register values just after reset is as follow.
a11 = 0x12b (299/256) , a12 = 0x0, a13 = 0x198 (408/256)
a21 = 0x12b (299/256), a22 = 0x79c (-100/256), a23 = 0x72f (-206/256)
a31 = 0x12b (299/256), a32 = 0x204 (516/256), a33 = 0x0
b1= b2= b3= 0x1f0 (-16)
It is possible to control brightness, contrast, hue , color saturation by change these parameters.
Addition of a constant value into b means inclease of brightness.
Multiplication of a constant scalar value greater than one into A means increase of contrast.
Two dimentional rotation of Cb-128 and Cr-128 means change of hue.
Color saturation is intensity of color, relative to Y-component.
New coefficients including these changes can be got by following expression.
MB86296S<Coral-PA>
72
Specification Manual Rev0.1