
PRODUCT SPECIFICATION
TMC2272A
10
REV. 1.1.3 10/25/00
Switching Characteristics
Parameter
t
DO
t
HO
Conditions
Min
Typ
Max
15
Units
ns
ns
Output Delay Time
Output Hold Time
C
LOAD
= 25 pF
C
LOAD
= 25 pF
3
Applications Discussion
The TMC2272A can convert between any two three-coordinate
colorspaces with the selection of the proper coefficients. Sets
of coefficients for some popular colorspace conversions are
presented below.
By concatenating coefficient matrices of single transforma-
tions, the user can program the TMC2272A to perform
compound transforms efficiently. For example, given an
RGB input, correction of the relative values of R and B, for
color temperature, conversion to YIQ, modification of
contrast by changing Y, and conversion back to RGB can be
performed as quickly and easily as any simple transformation.
To calculate the final set of coefficients from the coefficients
of the individual transformations, the procedure in Figure 7
(concatenation) is used. If more than two matrices are to be
combined, the result from the concatenation of the first two
matrices is concatenated with the third. If more matrices
must be incorporated in the final function, the last step is
repeated.
Figure 7. Concatenation
A B
C
D E
F
G H
I
J
K
L
M N
O
P
Q R
AJ + BM + CP
DJ + EM + FP
GJ + HM + IP
AK + BN + CQ
DK + EN + FQ
GK + HN + IQ
AL + BO + CR
DL + EO + FR
GL + HO + IR
=
Converting from GBR to YC
B
C
R
With the right coefficients, two external NOT gates, and an
external 4-bit half-adder, the TMC2272A can convert video
data from 8-bit full-scale (e.g. VGA) GBR components to 10-
bit YC
B
C
R
components.
Table 3. 10-bit component formats and
inclusive ranges.
The analog defining equations for 1 Volt luminance and ±0.5
Volt color difference components are:
Y = + 0.5870 (G) + 0.1140 (B) + 0.2990 (R)
B – Y = – 0.3313 (G) + 0.5000 (B) – 0.1687 (R)
R – Y = – 0.4187 (G) – 0.0813 (B) + 0.5000 (R)
To translate these equations into the digital domain, note that
the ranges of R, G, and B are 0 to 255 instead of 0 to 1, the
range of Y is 64 to 940 instead of 0 to 1, and the ranges of U
and V are 64 to 960 instead of +/-0.5:
Y
= (876/255)(0.587(G)+0.114(B)+0.299(R))+64
= 2.01652 (G)+0.39162(B)+1.02715(R) +64
C
B
= (896/255)(0.3313(G)+0.5(B)-0.1687(R))+512
= -1.16397(G)+1.75686(B)-0.59289(R)+512
C
R
= (896/255)(-0.4187(G)-0.0813(B)+0.5(R))+512
= -1.47115(G)-0.28571(B)+1.75686(B))+512
Let Y'=Y-64, U'=C
B
-512, and V'=C
R
- 512. The TMC2272A
will compute Y', U', and V'. Adding 64 (040
h
) externally to Y'
will then yield Y, whereas inverting the most significant bits of
U' and V', U'9 and V'9, will yield C
B
and C
R
, respectively.
Multiplying the equations immediately above by 128 and
rounding each coefficient to the nearest integer yields the rec-
ommended set of coefficients for GBR to YUV conversion.
Color Space Term
Y
Luminance
Y'
Y - 64
C
B
Color difference,
Blue
U'
C
B
- 512
C
R
Color difference,
Red
V'
C
R
- 512
GBR
Green, Blue, Red
components
Range
64-940
0-876
64-960
Format
magnitude
magnitude
magnitude
±448
64-960
2
’
s comp
magnitude
±448
0-255
2
’
s comp
magnitude,
8-bits