9LIMITING VALUES
10CHARACTERISTICS
11PROCESSING DELAYS
12APPLICATION INFORMATION
12.1Programming example
13PACKAGE OUTLINE
14SOLDERING
14.1Introduction
14.2Reflow soldering
14.3Wave soldering
14.4Repairing soldered joints
15DEFINITIONS
16LIFE SUPPORT APPLICATIONS
17PURCHASE OF PHILIPS I2C COMPONENTS
1996 Nov 042
Philips SemiconductorsProduct specification
Digital video decoder, Scaler and Clock
generator circuit (DESCPro)
1FEATURES
• Digital 8-bit luminance input [video (Y) or CVBS]
• Digital 8-bit chrominance input [CVBS or C from CVBS,
Y/C, S-Video (S-VHS or Hi8)]
• Luminance and chrominance signal processing for main
standards PAL, NTSC and SECAM
• Horizontal and vertical sync detection for all standards
• User programmable luminance peaking for aperture
correction
• Compatible with memory-based features (line-locked
clock, square pixel)
• Cross colour reduction by chrominance comb-filtering
for NTSC or special cross-colour cancellation for
SECAM
• UV signal delay lines for PAL to correct chrominance
phase errors
• Square-pixel format with 768/640 active samples per
line
• The bidirectional expansion port (YUV-bus) supports
data rates of 780 × f
SECAM) in 4 :2:2 format
• Brightness, contrast, hue and saturation controls for
scaled outputs
• Down-scaling of video windows with 1023 active
samples per line and 1023 active lines per frame to
randomly sized windows
• 2D data processing for improved signal quality of scaled
luminance data, especially for compression applications
• Chroma key (α-generation)
• YUV to RGB conversation including anti-gamma
ROM tables for RGB
• 16-word output FIFO (32-bit words)
• Output configurable for 32-, 24- and 16-bit
video data bus
• Scaled 16-bit 4 :2:2 YUV output
• Scaled 15-bit RGB (5-5-5+α) and 24-bit (8-8-8+α)
output
• Scaled 8-bit monochrome output
• Line increment, field sequence (odd/even,
interlace/non-interlaced) and vertical reset control for
easy memory interfacing
• Output of discontinuous data bursts of scaled video data
or continuous data output with corresponding qualifier
signals
• Real-time status information
(NTSC) and 944 × fH (PAL,
H
SAA7196
2
C-bus control
• I
• Only one crystal of 26.8 MHz required
• Clock generator on chip.
2GENERAL DESCRIPTION
The CMOS circuit SAA7196, digital video decoder, scaler
and clock generator (DESCPro), is a highly integrated
circuit for DeskTop Video applications. It combines the
functions of a digital multistandard decoder (SAA7191B),
a digital video scaler (SAA7186) and a clock generator
(SAA7197).
The decoder is based on the principle of line-locked clock
decoding. It runs at square-pixel frequencies to achieve
correct aspect ratio. Monitor controls are provided to
ensure best display.
Four data ports are supported:
• Port CVBS7 to CVBS0 of input interface; used in Y/C
mode (see Fig.1) to decode digitized luminance and
chrominance signals (digitized in two external ADCs).
In normal mode, only this input port is used and only one
ADC is necessary (see Fig.4)
• Port CHR7 to CHR0 of input interface; used in Y/C
mode (see Fig.1) to decode digitized luminance and
chrominance signals (digitized in two external ADCs)
• 32-bit VRAM output port; interface to the video memory.
It outputs the down-scaled video data; different formats
and operation modes are supported by this circuit
• 16-bit expansion port; this is a bidirectional port.
In general, it establishes the digital YUV as known from
the SAA71x1 family of digital decoders. In addition, the
expansion port is configurable to send data from the
decoder unit or to accept external data for input into the
scaler. In input mode the clock rate and/or the sync
signals may be delivered by the external data source.
Decoder and scaler units can run at different clock rates.
The decoder processing always operates with a Line
Locked Clock (LLC). This clock is derived from the CVBS
signal and is suited best for memory based video
processing; the LLC clock is always present. The scaler
clock may be driven by the LLC clock or by an external
clock depending on the configuration of the expansion
port.
1996 Nov 043
Philips SemiconductorsProduct specification
Digital video decoder, Scaler and Clock
SAA7196
generator circuit (DESCPro)
The circuit is I2C-bus controlled. The I2C-bus interface is
clocked by LLC to ensure proper control.
The I2C-bus control is identical to that of the SAA7194.
It is divided into two sections:
• Subaddress 00H to 1FH for the decoder part
(Tables 16 and 17)
• Subaddress 20H to 3FH for the scaler part
(Tables 29 and 30).
3QUICK REFERENCE DATA
Measured over full voltage and temperature ranges.
SYMBOLPARAMETERMIN.TYP.MAX.UNIT
V
DD
I
DD(tot)
V
I
V
O
f
BCK
T
amb
supply voltage4.555.5V
total supply current−180280mA
data input levelTTL-compatible
data output levelTTL-compatible
input clock frequency−−32MHz
operating ambient temperature0−70°C
The programming of the subaddresses for the scaler part
becomes effective at the first Vertical Sync (VS) pulse after
a transmission.
Digital video decoder, Scaler and Clock
generator circuit (DESCPro)
5BLOCK DIAGRAM
B
A
C
VDDV
Y7 to Y0
8
+5 V
CTST
CGCE
15
3776, 105
HREF
UV7 to UV0
8
CGC
SAA7196
to
part
scaler
D
SS
HS, VS
2
clock A
G
CREF
H
LLC
CLOCK A
GENERATOR
F
E
MHA381
CREF
LLCXTALHCL
XT ALIRTS0RTS1LFCOHSY
124038
+5 V
DDA
V
SSA
V
internally
connected
+5 V
44
RTCO
SSD7
to V
SSD1
16, 30, 47, 60,
V
DDD7
to V
DDD1
14, 31, 45, 61,
V
75, 104, 120
77, 91, 106
36
RES
SAA7196
DECODER PART
8
CHR7
CHROMINANCE PROCESSOR
13 to 6
to
CHR0
INPUT
INTERFACE
LUMINANCE
PROCESSOR
8
24 to 17
to
CVBS7
CVBS0
SYNC PLIN
clock
33
status
STATUS
PORT AND
32
GPSW1
REGISTER
GPSW2
SYNCHRONIZATION
C-BUS
2
I
CONTROL
3
4
SCL
SDA
2628343529 27
25
control and
status to and
from scaler part
5
CSA
2
I
handbook, full pagewidth
Fig.1 Block diagram of decoder part (continued in Fig.2).
1996 Nov 045
Philips SemiconductorsProduct specification
Digital video decoder, Scaler and Clock
generator circuit (DESCPro)
port output
RGB or YUV
VOEN
VCLKBTST
565343
57 to 59
62 to 74
8
RGB
MATRIX
32-bit VRAM
VRO31 to VRO0
78 to 90
92 to 94
OUTPUT
FORMATTER
8
FOLLOWED
Y
U
BY
55
OUTPUT
8
ROMs
ANTI-GAMMA
V
U
INCADR
HFL
54
FIFO
REGISTER
15
KEYER
CHROMA
V
VMUX
SODD
SVS
SHREF
4648495051
PXQ
52
LNQ
SAA7196 SCALER PART
clock B
brightness,
to scaler and
SAA7196
MHA382
119
SP
AP
controls
contrast
saturation
VERTICAL FILTER
ARITHMETIC
LINE
(8 x 384)
MEMORY
FILTER
LUMINANCE
DECIMATION
Y
AND
CONTRAST
BRIGHTNESS
SATURATION
CHROMA
UV
CONTROLS
INTERPOLATOR
DECIMATION
(BCS)
FILTER
SCALE CONTROL
to
YUV15
VS
YUV0
HREF
VDDV
42118
1163911741
95115
YUV15 to YUV0
LLC2
CREFB
HREFHSLLCB
DIRVS
96 to 103
107 to 114
handbook, full pagewidth
expansion port
input/output
Fig.2 Block diagram of brightness, contrast, saturation controls and scaler part (continued from Fig.1).
CLOCK B
GENERATOR
LLCINB
CREFINB
BUS INTERFACE
8
8
SS
HREF
UV7 to UV0
Y7 to Y0
HS, VS
CREF
LLC
D
1996 Nov 046
F
B
E
A
from
C
part
decoder
H
G
Philips SemiconductorsProduct specification
Digital video decoder, Scaler and Clock
SAA7196
generator circuit (DESCPro)
6PINNING
SYMBOLPINSTATUSDESCRIPTION
XTAL1O26.8 MHz crystal oscillator output, not used if TTL clock signal is used
XT ALI2I26.8 MHz crystal oscillator input or external clock input (TTL, square wave)
2
SDA3I/OI
SCL4II
2
CSA5II2C-bus set address
I
CHR06Idigital chrominance input signal (bit 0)
CHR17Idigital chrominance input signal (bit 1)
CHR28Idigital chrominance input signal (bit 2)
CHR39Idigital chrominance input signal (bit 3)
CHR410Idigital chrominance input signal (bit 4)
CHR511Idigital chrominance input signal (bit 5)
CHR612Idigital chrominance input signal (bit 6)
CHR713Idigital chrominance input signal (bit 7)
V
DDD1
14−+5 V digital supply voltage 1
CTST15−connected to ground (clock test pin)
V
SSD1
16−digital ground 1 (0 V)
CVBS017Idigital CVBS input signal (bit 0)
CVBS118Idigital CVBS input signal (bit 1)
CVBS219Idigital CVBS input signal (bit 2)
CVBS320Idigital CVBS input signal (bit 3)
CVBS421Idigital CVBS input signal (bit 4)
CVBS522Idigital CVBS input signal (bit 5)
CVBS623Idigital CVBS input signal (bit 6)
CVBS724Idigital CVBS input signal (bit 7)
HSY25Ohorizontal sync indicator output (programmable)
HCL26Ohorizontal clamping pulse output (programmable)
V
DDA
27−+5 V analog supply voltage
LFCO28Oline frequency control output signal to CGC
V
V
V
SSA
SSD2
DDD2
29−analog ground (0 V)
30−digital ground 2 (0 V)
31−+5 V digital supply voltage 2
GPSW232Ogeneral purpose output 2 (controllable via I
GPSW133Ogeneral purpose output 1 (controllable via I
RTS134Oreal time status output1; controlled by bit RTSE
RTS035Oreal time status output0; controlled by bit RTSE
RES36Oreset output, active LOW
CGCE37Ienable input for internal CGC (connected to +5 V)
CREF38Oclock qualifier output (test only)
C-bus data line
2
C-bus clock line
(multiple of present line frequency)
2
C-bus)
2
C-bus)
1996 Nov 047
Philips SemiconductorsProduct specification
Digital video decoder, Scaler and Clock
SAA7196
generator circuit (DESCPro)
SYMBOLPINSTATUSDESCRIPTION
CREFB39I/Oclock reference qualifier input/output (HIGH indicates valid data on
expansion port)
LLC40Oline-locked video system clock output, for front-end (ADCs) only;
frequency: 1888 × f
for 60 Hz/525 lines per field systems
LLCB41I/Oline-locked clock signal input/output, maximum 32 MHz (twice of pixel rate
in 4 : 2 : 2); frequency: 1888 × f
1560 × fH for 60 Hz/525 lines per field systems; or variable input clock up
to 32 MHz in input mode
LLC242Oline-locked clock signal output (pixel clock)
BTST43Iconnected to ground; BTST = HIGH sets all outputs (except
pins 1, 28, 38, 40 and 42) to high-impedance state (testing)
RTCO44Oreal time control output
V
DDD3
45−+5 V digital supply voltage 3
VMUX46IVRAM output multiplexing, control input for the 32- to 16-bit multiplexer
(see Table 7)
V
SSD3
47−digital ground 3 (0 V)
SODD48Oodd/even field sequence reference output related to the scaler output
(test only)
SVS49Overtical sync signal related to the scaler output (test only)
SHREF50Odelayed HREF signal related to the scaler output (test only)
PXQ51Opixel qualifier output signal to mark active pixels of a qualified line
(polarity: bit QPP; test only)
LNQ52Oline qualifier output signal to mark active video phase
(polarity: bit QPP; test only)
VOE53Ienable input of VRAM output
HFL54OFIFO half-full flag output signal
INCADR55Oline increment/vertical reset control output
VCLK56Iclock input signal of FIFO output
VRO3157O32-bit digital VRAM output port (bit 31)
VRO3058O32-bit digital VRAM output port (bit 30)
VRO2959O32-bit digital VRAM output port (bit 29)
V
V
SSD4
DDD4
60−digital ground 4 (0 V)
61−+5 V digital supply voltage 4
VRO2862O32-bit VRAM output port (bit 28)
VRO2763O32-bit VRAM output port (bit 27)
VRO2664O32-bit VRAM output port (bit 26)
VRO2565O32-bit VRAM output port (bit 25)
VRO2466O32-bit VRAM output port (bit 24)
VRO2367O32-bit VRAM output port (bit 23)
VRO2268O32-bit VRAM output port (bit 22)
VRO2169O32-bit VRAM output port (bit 21)
VRO2070O32-bit VRAM output port (bit 20)
for 50 Hz/625 lines per field systems and 1560 × f
H
for 50 Hz/625 lines per field systems and
H
H
1996 Nov 048
Philips SemiconductorsProduct specification
Digital video decoder, Scaler and Clock
SAA7196
generator circuit (DESCPro)
SYMBOLPINSTATUSDESCRIPTION
VRO1971O32-bit VRAM output port (bit 19)
VRO1872O32-bit VRAM output port (bit 18)
VRO1773O32-bit VRAM output port (bit 17)
VRO1674O32-bit VRAM output port (bit 16)
V
SSD5
i.c.76−internally connected
V
DDD5
VRO1578O32-bit VRAM output port (bit 15)
VRO1479O32-bit VRAM output port (bit 14)
VRO1380O32-bit VRAM output port (bit 13)
VRO1281O32-bit VRAM output port (bit 12)
VRO1182O32-bit VRAM output port (bit 11)
VRO1083O32-bit VRAM output port (bit 10)
VRO984O32-bit VRAM output port (bit 9)
VRO885O32-bit VRAM output port (bit 8)
VRO786O32-bit VRAM output port (bit 7)
VRO687O32-bit VRAM output port (bit 6)
VRO588O32-bit VRAM output port (bit 5)
VRO489O32-bit VRAM output port (bit 4)
VRO390O32-bit VRAM output port (bit 3)
V
DDD6
VRO292O32-bit VRAM output port (bit 2)
VRO193O32-bit VRAM output port (bit 1)
VRO094O32-bit VRAM output port (bit 0)
DIR95Idirection control of expansion bus
YUV1596I/Odigital 16-bit video input/output signal (bit 15); luminance (Y)
YUV1497I/Odigital 16-bit video input/output signal (bit 14); luminance (Y)
YUV1398I/Odigital 16-bit video input/output signal (bit 13); luminance (Y)
YUV1299I/Odigital 16-bit video input/output signal (bit 12); luminance (Y)
YUV11100I/Odigital 16-bit video input/output signal (bit 11); luminance (Y)
YUV10101I/Odigital 16-bit video input/output signal (bit 10); luminance (Y)
YUV9102I/Odigital 16-bit video input/output signal (bit 9); luminance (Y)
YUV8103I/Odigital 16-bit video input/output signal (bit 8); luminance (Y)
V
SSD6
i.c.105−internally connected
V
DDD7
YUV7107I/Odigital 16-bit video input/output signal (bit 7); colour difference signals (UV)
YUV6108I/Odigital 16-bit video input/output signal (bit 6); colour difference signals (UV)
YUV5109I/Odigital 16-bit video input/output signal (bit 5); colour difference signals (UV)
YUV4110I/Odigital 16-bit video input/output signal (bit 4); colour difference signals (UV)
YUV3111I/Odigital 16-bit video input/output signal (bit 3); colour difference signals (UV)
75−digital ground 5 (0 V)
77−+5 V digital supply voltage 5
91−+5 V digital supply voltage 6
104−digital ground 6 (0 V)
106−+5 V digital supply voltage 7
1996 Nov 049
Philips SemiconductorsProduct specification
Digital video decoder, Scaler and Clock
SAA7196
generator circuit (DESCPro)
SYMBOLPINSTATUSDESCRIPTION
YUV2112I/Odigital 16-bit video input/output signal (bit 2); colour difference signals (UV)
YUV1113I/Odigital 16-bit video input/output signal (bit 1); colour difference signals (UV)
YUV0114I/Odigital 16-bit video input/output signal (bit 0); colour difference signals (UV)
HREF115I/Ohorizontal reference signal
VS116I/Overtical sync input/output signal with respect to the YUV input signal
HS117Ohorizontal sync signal, programmable
AP118Iconnected to ground (action pin for testing)
SP119Iconnected to ground (shift pin for testing)
V
SSD7
120−digital ground 7 (0 V)
1996 Nov 0410
Philips SemiconductorsProduct specification
Digital video decoder, Scaler and Clock
generator circuit (DESCPro)
Digital video decoder, Scaler and Clock
generator circuit (DESCPro)
7FUNCTIONAL DESCRIPTION
7.1Decoder part
PAL, NTSC and SECAM standard colour signals based on
line-locked clock are decoded (see Fig.27). In Y/C mode,
digitized luminance CVBS7 to CVBS0 and chrominance
CHR7 to CHR0 signals (digitized in two external ADCs)
are input. In normal mode only CVBS7 to CVBS0 is used.
The data rate is 29.5 MHz (50 MHz systems) or
24.54 MHz (60 MHz systems).
7.1.1C
The input signal passes the input interface and the
chrominance band-pass filter to eliminate DC components
and is finally fed to the multiplicative inputs of a quadrature
demodulator, where two subcarrier signals (0 and 90°
phase-shifted) from a local digital oscillator (DTO1) are
applied.
The frequency is dependent on the present colour
standard. The signals are low-pass filtered and amplified
in a gain-controlled amplifier. A final low-pass stage
provides a correct bandwidth performance.
PAL signals are comb-filtered to eliminate crosstalk
between the chrominance channels according to PAL
standard requirements.
NTSC signals are comb-filtered to eliminate crosstalk from
luminance to chrominance for vertical structures.
SECAM signals are fed through a cloche filter, a phase
demodulator and a differentiator to achieve proportionality
to the instantaneous frequency. The signals are
de-multiplexed in the SECAM recombination stage after
passing a de-emphasis stage to provide the two serially
transmitted colour difference signals.
The PLL for quadrature demodulation is closed via the
cloche filter (to improve noise performance), a phase
demodulator, a burst gate accumulator, a loop filter PI1
and a discrete time oscillator DTO1. The gain control loop
is closed via the cloche filter, amplitude detector, a burst
gate accumulator and a loop filter PI2.
The sequence processor switches signals according to
standards.
7.1.2L
The data rate of the input signal is reduced to LLC2
frequency by a sample rate converter in the input interface.
The high frequency components are emphasized in a
prefilter to compensate for losses in the succeeding
chrominance trap. The chrominance trap is adjusted to a
HROMINANCE PROCESSOR
UMINANCE PROCESSOR
SAA7196
centre frequency of 3.58 MHz (NTSC) or 4.4 MHz (PAL,
SECAM) to eliminate most of the colour carrier
components. The chrominance trap is bypassed for
S-VHS signals.
The high frequency components in the luminance signal
are ‘peaked’ using a band-pass filter and a coring stage.
The ‘peaked’ (high frequent) component is added to the
‘unpeaked’ signal part for sharpness improvement and
output via variable delay to the expansion bus.
7.1.3S
The sync input signal is reduced in bandwidth to 1 MHz
before it is sliced and separated from the luminance signal.
The sync pulses are compared in a detector with the
divided clock signal of a counter. The resulting output
signal is fed to a loop filter that accumulates all the phase
deviations. Thereby, a discrete time oscillator DTO2 is
driven generating the line frequency control signal LFCO.
An external PLL generates the line-locked clock LLC from
the signal LFCO. A noise-limited vertical deflection pulse is
generated for vertical processing that also inserts artificial
pulses if vertical input pulses are missing. 50/60 Hz as well
as odd/even field is automatically detected by the
identification stage.
7.2Expansion port
The expansion port is a bidirectional interface for digital
video signals YUV15 to YUV0 in 4:2:2 format (see
Table 5). External video signals can be inserted to the
scaler or decoded video signals of the decoder part can be
output.
The data direction is controlled by pin 95 (DIR = HIGH:
data from external; see Table 4).
YUV15 to YUV0, HREF, VS, LLCB and CREFB pins are
inputs when bits OECL, OEHV, OEYC of subaddress 0E
are set to ‘0’. Different modes are provided (for timing see
Figs 6 to 8):
• Mode 0: all bidirectional terminals are outputs.
The signal of the decoder part (internal YUV15 to YUV0)
is switched to be scaled.
• Mode 1: external YUV15 to YUV0 is input to the scaler.
LLCB/CREFB clock system and HREF/VS from the
SAA7196 are used to control the external source. It is
possible to switch between mode 0 and mode 1 by
means of DIR input (see Fig.5).
• Mode 2: External YUV15 to YUV0 is input to the scaler.
LLCB/ CREFB clock system and HREF/VS from
external are used.
YNCHRONIZATION
1996 Nov 0412
Philips SemiconductorsProduct specification
Digital video decoder, Scaler and Clock
generator circuit (DESCPro)
• Mode 3: YUV15 to YUV0 and HREF/VS terminals are
inputs. External YUV15 to YUV0 is input to the scaler
with HREF/VS reference from external. LLCB/CREFB
clock system of the SAA7196 is used.
handbook, full pagewidth
+127
reserved
+106
+95
digital
signal
value
luminance
60 Hz mode
luminance
50 Hz mode
0
SAA7196
pixel wise switching of the scaler source is possible
because the internal clock and sync sources are used.
100% white (60 Hz mode)
100% white (50 Hz mode)
chrominance
60 Hz mode
chrominance
50 Hz mode
−52
−64
−91
−103
−128
−132
All levels are related to EBU colour bar. Values in
decimal at 100% luminance and 75%chrominance
amplitude.
Fig.4 CVBS7 to CVBS0 input signal ranges.
black (60 Hz mode)
= black (50 Hz mode)
blanking level
sync
clipped
MHA380
1996 Nov 0413
Philips SemiconductorsProduct specification
Digital video decoder, Scaler and Clock
generator circuit (DESCPro)
7.3Monitor controls BCS
7.3.1B
The luminance signal can be controlled via I2C-bus
(see Table 16) by the bits BRIG7 to BRIG0 and
CONT6 to CONT0.
Table 1 Brightness control
00Hminimum offset
80HCCIR level
FFHmaximum offset
Table 2 Contrast control
00Hluminance off
40HCCIR level
7FH1.9999 amplitude
RIGHTNESS AND CONTRAST CONTROLS
BRIGHTNESS
CONTROL
CONTRAST
CONTROL
VALUE
VALUE
SAA7196
7.3.2SATURATION CONTROL
The chrominance signal can be controlled via I2C-bus (see
Table 16) by the bits SAT6 to SAT0 and HUE7 to HUE0.
Table 3 Saturation control
SATURATION
CONTROL
00Hcolour off
40HCCIR level
7FH1.9999 amplitude
Clipping: all resulting output values are clipped to
minimum (equals 1) and maximum (equals 254).
Digital video decoder, Scaler and Clock
generator circuit (DESCPro)
handbook, full pagewidth
LLCB
CREFB
HREF
DIR
UV
dec
(from decoder)
UV
ext
(from external
port)
UV to scaler
U
0(dec)
U
0(dec)
t
to 3-state
t
SU
t
OH
V
V
0(dec)
0(dec)
t
PZ
t
U
U
HD
2(ext)
2(ext)
t
from 3-state
V
2(ext)
V
2(ext)
U
4(dec)
U
4(dec)
SAA7196
V
4(dec)
V
4(dec)
MHA383
t
from 3-state(min)
t
from 3-state>tto 3-state
t
to 3-state(max)
= 1.5LLC + t
= 1.5LLC + t
Fig.5 Real-time switching between mode 0 and mode 1 (internal/external YUV15 to YUV0).
PZ(min)
PZ(max)
1996 Nov 0416
Philips SemiconductorsProduct specification
Digital video decoder, Scaler and Clock
generator circuit (DESCPro)
handbook, full pagewidth
input CVBS
HREF
VS
ODD (RTSO)
1625 23456
SAA7196
789
540 × 2/LLC
1 × 2/LLC
MHA384
handbook, full pagewidth
input CVBS
HREF
VS
ODD (RTSO)
a. 1st field.
314313315316317318319
b. 2nd field
320321
68 × 2/LLC
1 × 2/LLC
MHA385
Fig.6 VS and ODD timing on expansion port (50 Hz).
1996 Nov 0417
Philips SemiconductorsProduct specification
Digital video decoder, Scaler and Clock
generator circuit (DESCPro)
handbook, full pagewidth
input CVBS
HREF
VS
ODD (RTSO)
152523456
a. 1st field.
SAA7196
78
448 × 2/LLC
1 × 2/LLC
9
MHA386
handbook, full pagewidth
input CVBS
HREF
VS
ODD (RTSO)
263264265266267268
b. 2nd field.
269270271
58 × 2/LLC
1 × 2/LLC
MHA387
Fig.7 VS and ODD timing on expansion port (60 Hz).
1996 Nov 0418
Philips SemiconductorsProduct specification
Digital video decoder, Scaler and Clock
generator circuit (DESCPro)
handbook, full pagewidth
programming range
(step size: 2/LLC)
programming range
(step size: 2/LLC)
CVBS
HSY
HSY
HCL
HCL
62 × 2/LLC
(1)
+191
(1)
+127
216 LLC
processing delay CVBS - YUV
at YDEL = 000b
0
0
0
SAA7196
burst
−64
−128
10 × 2/LLC
Y−output
HREF (50 Hz)
PLIN (RTS1)
(50 Hz only)
HS (50 Hz)
HS (50 Hz)
programming range
(step size: 8/LLC)
HREF (60 Hz)
HS (60 Hz)
HS (60 Hz)
programming range
(step size: 8/LLC)
(2)
(2)
+117
+97
768 × 2/LLC
36 × 2/LLC
640 × 2/LLC
176 × 2/LLC
104 × 2/LLC
64 × 2/LLC
0
36 × 2/LLC
140 × 2/LLC
64 × 2/LLC
0
2 × 2/LLC
−118
−97
MHA388
Fig.8 Horizontal sync timing at HRMV = 0 and HRFS = 0 (signals HSY, HCL, HREF, PLIN and HS; 50 and 60 Hz).
1996 Nov 0419
Philips SemiconductorsProduct specification
Digital video decoder, Scaler and Clock
generator circuit (DESCPro)
ndbook, full pagewidth
LLCB
CREFB
HREF
Byte numbers for pixels:
Y signal
50 Hz
U and V signal
Y signal
60 Hz
U and V signal
start of
active line
0
U0
0
U0
V0
V0
1
1
2
U2
2
U2
V2
V2
SAA7196
U4
U4
4
4
5
V4
5
V4
U6
U6
6
6
7
V6
7
V6
3
3
LLCB
CREFB
HREF
Byte numbers for pixels:
Y signal
50 Hz
U and V signal
Y signal
60 Hz
U and V signal
762
U762
634
U634
763
V762
635
V634
764
U764
636
U636
765
V764
637
V636
end of
active line
766
U766
638
U638
767
V766
639
V638
MHA389
Fig.9 Horizontal and data multiplex timing on expansion port.
1996 Nov 0420
Philips SemiconductorsProduct specification
Digital video decoder, Scaler and Clock
generator circuit (DESCPro)
handbook, full pagewidth
digital
signal
value
+254
+235
+128
white 100%
luminance
levels
digital
signal
value
+254
+240
+212
+128
+44
U-component
levels
blue 100%
blue 75%
yellow 75%
digital
signal
value
+254
+240
+212
+128
+44
SAA7196
red 100%
red 75%
V-component
levels
cyan 75%
+16
1
blackyellow 100%
+16
1
b. U signal range (B − Y).c. V signal range (R − Y).a. Y signal range.
Fig.10 Input and output signal levels on expansion port.
7.3.3RTCO OUTPUT PIN 44
This real-time control and status output signal contains
serial information about actual system clock, subcarrier
frequency and PAL/SECAM sequence (see Fig.11).
The signal can be used for various applications in external
circuits, e.g. in a digital encoder to achieve ‘clean’
encoding.
+16
1
cyan 100%
MHA390
7.3.4RTS1 AND RTS0 OUTPUTS (PINS 34 AND 35)
These outputs can be configured in two modes dependent
on bit RTSE (subaddress 0D):
• RTSE = 0: the output RTS0 contains the odd/even field
identification bit (HIGH equals odd); output RTS1
contains the inverted PAL/SECAM sequence bit [HIGH
equals non-inverted (R − Y)-line/DB-line]
• RTSE = 1: the output RTS0 contains the horizontal lock
bit (HIGH equals PLL locked); output RTS1 contains the
vertical detection bit (HIGH equals vertical sync
detected).
1996 Nov 0421
Philips SemiconductorsProduct specification
Digital video decoder, Scaler and Clock
generator circuit (DESCPro)
handbook, full pagewidth
RTCO
H/L transition
(counter start)
128
clock cycles
4 bits
HPLL
increment
bits 13 to 0
13
048 14196367
reserve
022201510 51
time slot
(LLC/4)
FSCPLL increment
bits 22 to 0
valid
not valid
3 bits
reserve
sequence
bit (1)
0
SAA7196
reserved (2)
MHA391
(1) Sequence bit:
SECAM: 0 equals DB-line; 1 equals DR-line.
PAL: 0 equals (R − Y) line normal; 1 equals (R − Y) line inverted.
NTSC: 0 (no change).
(2) Reserve bits: 276 for 50 Hz systems; 188 for 60 Hz systems.
Fig.11 RTCO timing.
7.4Scaler part
The scaler part receives YUV15 to YUV0 input data in
4:2:2 format.
The video data from the BCS control are processed in
horizontal direction in two separate decimation filters.
The luminance component is also processed in vertical
direction (VPU_Y).
Chrominance data are interpolated to a 4 : 4 : 4 format;
a chroma keying bit is generated. The 4 :4:4 YUV data
are then converted from the YUV to the RGB domain in a
digital matrix. ROM tables in the RGB data path can be
used for anti-gamma correction of gamma-corrected input
signals. Uncorrected RGB and YUV signals can be
bypassed.
A scale control unit generates reference and gate signals
for scaling of the processed video data. After data
formatting to the various VRAM port formats, the scaled
video data are buffered in the 16 word 32-bit output FIFO
register. The scaling is performed by pixel and line
dropping at the FIFO input. The FIFO output is directly
connected to the VRAM output bus VRO31 to VRO0.
Specific reference signals support an easy memory
interfacing.
1996 Nov 0422
Philips SemiconductorsProduct specification
Digital video decoder, Scaler and Clock
generator circuit (DESCPro)
7.4.1DECIMATION FILTERS
The decimation filters perform accurate horizontal filtering
of the input data stream.
The signal bandwidth is matched in front of the pixel
decimation stage, thus disturbing artifacts, caused by the
pixel dropping, are reduced.
The signal bandwidth can be reduced in steps of
(see Figs 29 and 30):
2-tap filter = −6 dB at 0.325 pixel rate
3-tap filter = −6 dB at 0.25 pixel rate
4-tap filter = −6 dB at 0.21 pixel rate
5-tap filter = −6 dB at 0.125 pixel rate
9-tap filter = −6 dB at 0.075 pixel rate.
The different characteristics are chosen independently by
2
C-bus control bits HF2 to HF0 when AFS = 0
I
(subaddress 28). In the adaptive mode with AFS = 1,
the filter characteristics are chosen dependent on the
defined sizing parameters (see Table 6).
SAA7196
7.4.3RGB MATRIX
Y data and UV data are converted after interpolation into
RGB data according to CCIR601 recommendation. Data is
bypassed in 16-bit YUV formats or monochrome modes.
The matrix equations are these considering the digital
quantization:
R = Y + 1.375 V
G=Y−0.703125 V − 0.34375 U
B = Y + 1.734375 U.
7.4.3.1Anti-gamma ROM tables
ROM tables are implemented at the matrix output to
provide anti-gamma correction of the RGB data. A curve
for a gamma of 1.4 is implemented. The tables can be
used (bit RTB = 0, subaddress 20) to compensate gamma
correction for linear data representation of RGB output
data.
7.4.4C
HROMINANCE SIGNAL KEYER
7.4.2V
Luminance data is fed to a vertical filter consisting of a
384 × 8-bit RAM and an arithmetic block (see Fig.2).
Subsampled and interpolation operations are applied.
The luminance data is processed in vertical direction to
preserve the video information for small scaling factors
and to reduce artifacts caused by the dropping.
The available modes respectively transfer functions are
selectable by bits VP1 and VP0 (subaddress 28).
Adaptive modes, controlled by AFS and AFG bits
(subaddresses 28 and 30) are also available (see
Table 6).
The keyer generates an alpha signal to achieve a 5-5-5+α
RGB alpha output signal. Therefore, the processed UV
data amplitudes are compared with thresholds set via
I2C-bus (subaddresses ‘2C to 2F’). A logic ‘1’ signal is
generated if the amplitude is inside the specified amplitude
range, otherwise a logic ‘0’ is generated.
Keying can be switched off by setting the lower limit higher
than the upper limit (‘2C or 2E’ and ‘2D or 2F’).
7.4.5S
The scale control block SC includes address/sequence
counters to define the current position in the input field and
to address the internal VPU memories. To perform scaling,
XD of XS pixel selection in horizontal direction and YD of
YS line selection in vertical direction are applied. The pixel
and line dropping are controlled at the input of the FIFO
register.
The scaling ratio in horizontal and vertical direction is
estimated to control the decimation filter function and the
vertical data processing in the adaptive mode (AFS and
AFG bits). The input field can be divided into two vertical
regions - the bypass region and the scaling region, which
are defined via I2C-bus by the parameters VS, VC, YO and
YS.
CALE CONTROL AND VERTICAL REGIONS
Note
1. See Chapter 8.
1996 Nov 0423
Loading...
+ 53 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.