
TMC22091/TMC22191
PRODUCT SPECIFICATION
42
2-Layer Keying with the TMC22091
The TMC22091 facilitates the keying of PD port input data 
over the CVBS bus input data. Keying is controlled on a 
pixel-by-pixel basis by either the KEY input pin or the inter-
nal Data Key. The first two layers in the previous 4-Layer 
Example apply to the TMC22091. The result of keying is an 
effect where a MIDGROUND source image (i.e. Happy Face 
from PD data) is superimposed over a BACKGROUND 
source image (i.e. variable matte color from CVBS data).
Assigning Video Sources to Layers with the 
TMC22191
Digital video inputs to the TMC22191 (PD, CVBS, Overlay) 
are assigned to the four layers by choosing one of the 16 
modes of the Layering Control Register. OVERLAY is 
always keyed (switched on a pixel-by-pixel basis from active 
to transparent) by the OL
4-0
 inputs. OVERLAY can not be 
programmed to the BACKGROUND layer. The CVBS digi-
tal video bus can be assigned to any of the four layers and is 
keyed by the KEY input signal or internal Data Key. In 
modes 0 thru 7, the CLUTs are not bypassed and the 
BYPASS input is ignored.
Table 14. Layer Assignments, Image Sources, and Keying Controls (TMC22191)
Notes:
1. For LAYMODE = 0 to 7, Pixel Data always passes through the CLUTs. FORMAT, INMODE, and the BYPASS pin selects the
input format for PD
23-0
 according to Table 6.
2. For LAYMODE = 8 to F and BYPASS = HIGH, Data Key is disabled.
3. Asserting the signal listed under "Keying Control:" enables the corresponding "Signal Source:". Signals with "   " are asserted
by a logic LOW.
LCR 04
Background
Midground
Foreground
Downstream Key
LAYMODE
Image Source
Image Source
Keying 
Control
Image Source:
Keying 
Control
Image Source:
Keying 
Control
0
PD(YC
B
C
R
, RGB, CI)
CVBS
KEY or 
Data Key
—
—
—
—
1
PD(YC
B
C
R
, RGB, CI)
CVBS
KEY or 
Data Key
OVERLAY
OL
4-0
—
—
2
PD(YC
B
C
R
, RGB, CI)
PD(YC
B
C
R
, RGB, CI)
CVBS
CVBS
KEY
PD(YC
B
C
R
, RGB, CI)
PD(YC
B
C
R
, RGB, CI)
PD(YC
B
C
R
, RGB, CI)
Data Key
 OVERLAY
OL
4-0
OL
4-0
—
3
CVBS
KEY
Data Key
 OVERLAY
4
OVERLAY
OL
4-0
KEY or 
Data Key
—
5
CVBS
PD(YC
B
C
R
, RGB, CI)
KEY or 
Data Key
OVERLAY
OL
4-0
—
—
6
PD(YC
B
C
R
, RGB, CI)
PD(YC
B
C
R
, RGB, CI)
PD(YC
B
C
R
, CI)
CVBS
KEY
OVERLAY
OL
4-0
OL
4-0
—
PD(YC
B
C
R
, RGB, CI)  Data Key
PD(YC
B
C
R
, RGB, CI)  Data Key
—
7
CVBS
KEY
OVERLAY
8
CVBS
KEY or 
Data Key
—
9
PD(RGB)
PD(YC
B
C
R
, CI)
BYPASS
CVBS
KEY or 
Data Key
OVERLAY
OL
4-0
A
PD(RGB)
CVBS
KEY or 
Data Key
PD(YC
B
C
R
, CI)
BYPASS
OVERLAY
OL
4-0
B
PD(RGB)
CVBS
KEY or 
Data Key
OVERLAY
OL
4-0
PD(YC
B
C
R
, CI)
 BYPASS
C
PD(RGB)
PD(YC
B
C
R
, CI)
BYPASS
OVERLAY
OL
4-0
CVBS
KEY or 
Data Key
D
CVBS
PD(RGB)
KEY
PD(YC
B
C
R
, CI)
PD(RGB)
BYPASS
OVERLAY
OL
4-0
BYPASS
E
CVBS
OVERLAY
OL
4-0
OL
4-0
KEY
PD(YC
B
C
R
, CI)
PD(YC
B
C
R
, CI)
F
PD(RGB)
OVERLAY
CVBS
KEY or 
Data Key
 BYPASS