
PRODUCT SPECIFICATION
TMC2272A
12
REV. 1.1.3 10/25/00
512 (Y)
=
301 (G)
12D
+
58 (B)
03A
+
153 (R)
099
dec.
hex
512 (U)
=
–
356
+
256 (B)
100
–
86 (R)
3AA
dec.
hex
512 (V)
=
–
214 (G)
32A
–
42 (B)
3D6
+
256 (R)
100
dec.
hex
If the TMC2272A input data alignment for 8-bit GBR is:
0
0
0
0
G7
G6
G5
G4
G3
G2
G1
G0
0
0
0
0
B7
B6
B5
B4
B3
B2
B1
B0
0
0
0
0
R7
R6
R5
R4
R3
R2
R1
R0
then the output data alignment for 8-bit YUV is:
0
0
0
0
Y7
Y6
Y5
Y4
Y3
Y2
Y1
Y0
U7
U7
U7
U7
U7
U6
U5
U4
U3
U2
U1
U0
V7
V7
V7
V7
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 significant
bits, U7 and V7, of the chrominance components, to obtain
the 8-bit offset format.
Converting From YC
B
C
R
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' coefficient 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 coefficient is 511, multiply all elements of the
matrix by 512 to obtain the values to load into the
TMC2272A.
G =
149 (Y' )
095
–
50 (U')
3CE
–
04 (V')
398
dec.
hex
B =
149 (Y')
095
+
258 (U')
100
dec.
hex
R =
149 (Y')
095
+
204 (V')
0CC
dec.
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
0
Y9 Y8 Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0
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:
0
0
0
0
G7 G6 G5 G4 G3 G2 G1 G0
0
0
0
0
B7 B6 B5 B4 B3 B2 B1 B0
0
0
0
0
R7 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.