
PRODUCT SPECIFICATION
TMC2272A
12
REV. 1.1.3 10/25/00
512 (Y)
=
301 (G)
+
58 (B)
+
153 (R)
dec.
12D
03A
099
hex
512 (U)
=
–
170 (G)
+
256 (B)
–
86 (R)
dec.
356
100
3AA
hex
512 (V)
=
–
214 (G)
–
42 (B)
+
256 (R)
dec.
32A
3D6
100
hex
If the TMC2272A input data alignment for 8-bit GBR is:
0
G7
G6
G5
G4
G3
G2
G1
G0
0
B7
B6
B5
B4
B3
B2
B1
B0
0
R7
R6
R5
R4
R3
R2
R1
R0
then the output data alignment for 8-bit YUV is:
0
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
U7
U6
U5
U4
U3
U2
U1
U0
V7
V6
V5
V4
V3
V2
V1
V0
where the quintupled U9 and V9 sign bits denote two’s com-
plement sign extensions. The factor of 512 in the equations
above is absorbed by the internal 9-bit right shift of each
emerging result.
At the output of the TMC2272A, invert the most signicant
bits, U7 and V7, of the chrominance components, to obtain
the 8-bit offset format.
Converting From YCBCR to GBR
Following the notation employed earlier, the TMC2272A will
be used to convert data in Y'U'V' format into GBR format.
Since Y' = 876, U' = V' = 0, and G = B = R = 255 for saturated
white output, every Y' coefcient will be 225/876 = 0.29110.
The full analog matrix for Y'U'V' to GBR conversion is:
G =
0.29110 (Y')
– 0.09794 (U')
– 0.20324 (V')
B =
0.29110 (Y')
+ 0.50431 (U')
R =
0.29110 (Y')
+ 0.39901 (V')
Since the largest element is just over 0.5 and the largest per-
missible coefcient is 511, multiply all elements of the
matrix by 512 to obtain the values to load into the
TMC2272A.
G =
149 (Y' )
–
50 (U')
–
04 (V')
dec.
095
3CE
398
hex
B =
149 (Y')
+
258 (U')
dec.
095
100
hex
R =
149 (Y')
+
204 (V')
dec.
095
0CC
hex
Decrease the incoming luminance at the input to the
TMC2272A by 64 by adding 1’s at positions Y9, Y8, Y7, and
Y6. Invert U9 and V9 and their sign extensions, to accom-
modate CCIR Rec. 601 data. Instead of reducing Y by 64, an
alternate is to reduce each of the G, B, and R outputs by
(255) (64 / 876) = 19.
For the Y'U'V' to RGB conversion, the TMC2272A input
data alignment for 10-bit Y'U'V' is:
0
Y9Y8Y7Y6Y5Y4Y3Y2Y1Y0
U9 U9 U9 U8 U7 U6 U5 U4 U3 U2 U1 U0
V9 V9 V9 V8 V7 V6 V5 V4 V3 V2 V1 V0
where the tripled U9 and V9 sign bits denote two’s comple-
ment sign extensions. The TMC2272A output data align-
ment for 8-bit GBR is then:
0000G7 G6 G5 G4 G3 G2 G1 G0
0000B7 B6 B5 B4 B3 B2 B1 B0
0000R7 R6 R5 R4 R3 R2 R1 R0
Converting From 8-bit Full Scale YUV to GBR
Following the notation employed earlier, the TMC2272A
will be used to convert data in 8-bit YUV format into 8-bit
GBR format.