TMC22191 CADEKA [Cadeka Microcircuits LLC.], TMC22191 Datasheet - Page 23

no-image

TMC22191

Manufacturer Part Number
TMC22191
Description
Digital Video Encoders/Layering Engine
Manufacturer
CADEKA [Cadeka Microcircuits LLC.]
Datasheet
PRODUCT SPECIFICATION
Color Lookup Table
The CLUT can be used in a variety of ways, depending on
the data format and source presented to the PD port.
The CLUT is loaded like a RAMDAC, sequentially writing
one byte to each of the three locations associated with the
selected CLUT address. These three locations are referred to
as Tables D, E, and F as shown in table 16 (not R,G, and B
because they may or may not contain RGB information). and
are loaded in that sequence. The address will increment auto-
matically after the three values at one address are written or
read.
Color-index Modes
In color-index (CI) mode, the CLUT is used to store the
color look-up data, translating the 8-bit source pixel data into
24-bit RGB colors. Table D holds red data, Table E is green
data, and Table F holds blue Data. The incoming data are
presented to the three tables in parallel, and a 24-bit output is
produced.
When the encoder is connected in parallel with a RAMDAC
in a VGA system, the CLUT can be loaded simultaneously
with the CLUT in the output RAMDAC. If a 6-bit RAMDAC
is employed, 6 bits can be loaded via data pins D
justified). The two LSBs should be set to 00 for optimal
black level representation, but the largest error introduced by
extraneous data in the LSBs is 3/4 LSB (at 6 bits). The
encoder will produce the closest possible translation of the
VGA colors in the encoded video environment.
GBR/RGB Modes
The nominal configuration for GBR/RGB modes is unity
gain (CLUT data = CLUT address) for PAL and NTSC.
Other transfer functions, such as gain adjustment, offset, and
Table 4. CLUT Transfer Functions for NTSC and PAL
Component
Input Format (CLUT Address)
B-Y
R-Y
C
C
R
G
B
Y
Y
B
R
Data Range
16 to 235
0 to 255
0 to 255
0 to 255
0 to 255
112
112
127
127
7-2
Y
(R-Y)
(B-Y)
(R-Y)
(B-Y)
O
Transfer Equations
(MSB
= Y * 1.1644 – 18.63
O
O
O
O
= (R-Y) * 0.7065
= (B-Y) * 0.893
= C
= C
G
R
B
Y
0
0
0
0
=R
=G
=B
=Y
B
R
* 1.0126
* 0.8011
gamma correction, are easily loaded. The color data is
loaded into the tables in G-B-R sequence in GBR mode, and
R-G-B sequence in RGB mode.
Luminance/Color Difference Modes
The TMC22x91 expects Y, B-Y, and R-Y signals at the input
to its modulator section. When presenting CCIR-601 YC
or digitized Y, B-Y, R-Y data to the CLUT, gain and offset fac-
tors are needed. Table 4 specifies the recommended transfer
functions. The CLUT is loaded in Y-C
Overlay Operation
For the TMC22091 and TMC22191 (when Format Control
Register Bit 6 = LOW), the OL
CCIR-601 operation, the nominal data range for Y is from 16
to 235 and for C
CLUT locations 0 to 15 and 241 to 255 are available for
overlay colors. When the overlay locations are addressed (by
forcing CLUT addresses outside the normal CCIR-601 data
range), the addressed CLUT data is encoded resulting in the
specific color found in that CLUT location. Overlay colors
information stored in the unused CLUT locations must be Y,
B-Y, R-Y values. Y, B-Y, and R-Y values are found from
RGB values by:
For the TMC22191, when the Format Control Register
Bit 6 = HIGH, Overlay is controlled by the OL
which directly access CLUT locations, 01 thru 0F and F1
thru FF, as shown in Table 5. The values stored in these
CLUT locations must be in RGB format.
B-Y = -0.299 R – 0.587 G + 0.886 B
R-Y = 0.701 R – 0.587 G – 0.114 B
Y = 0.299 R + 0.587 G + 0.114 B
B
and C
Component
Output Format (CLUT Data)
(R-Y)
(B-Y)
(R-Y)
(B-Y)
R
G
R
B
Y
Y
is from 16 to 240. This means that
O
O
O
O
O
O
O
O
O
4-0
inputs are inactive. In
B
-C
TMC22091/TMC22191
R
Data Range
sequence.
0 to 255
0 to 255
0 to 255
0 to 255
0 to 255
4-0
113
113
90
90
inputs
B
C
23
R

Related parts for TMC22191