• Detection of copy-protected signals according to the
macrovision standard, indicating level of protection
SAA7118
• Independent gain and offset adjustment for raw data
path.
1.3Component video processing
• RGB component inputs
• Y-PB-PR component inputs
• Fast blanking between CVBS and synchronous
component inputs
• Digital RGB to Y-CB-CR matrix.
1.4Video scaler
• Horizontal and vertical downscaling and upscaling to
randomly sized windows
• Horizontal and vertical scaling range: variable zoom to
1
⁄64(icon) (note: H and V zoom are restricted by the
transfer data rates)
• Anti-alias and accumulating filter for horizontal scaling
• Vertical scaling with linear phase interpolation and
accumulating filter for anti-aliasing (6-bit phase
accuracy)
• Horizontal phase correct up and downscaling for
improved signal quality of scaled data, especially for
compression and video phone applications, with 6-bit
phase accuracy (1.2 ns step width)
• Two independent programming sets for scaler part, to
define two ‘ranges’ per field or sequences over frames
• Fieldwise switching between decoder part and
expansion port (X-port) input
• Brightness, contrast and saturation controls for scaled
outputs.
1.5Vertical Blanking Interval (VBI) data decoder
and slicer
• Versatile VBI-data decoder, slicer, clock regeneration
and byte synchronization e.g. for World Standard
Teletext (WST), North-American Broadcast Text
System(NABTS),closecaption,WideScreen Signalling
(WSS) etc.
2001 May 303
Philips SemiconductorsPreliminary specification
Multistandard video decoder with adaptive
comb filter and component video input
1.6Audio clock generation
• Generation of a field-locked audio master clock to
support a constant number of audio clocks per video
field
• Generation of an audio serial and left/right (channel)
clock signal.
1.7Digital I/O interfaces
• Real-time signal port (R port), inclusive continuous
line-locked reference clock and real-time status
information supporting RTC level 3.1 (refer to document
“RTC Functional Specification”
• Bidirectional expansion port (X-port) with half duplex
functionality (D1), 8-bit Y-CB-C
– Output from decoder part, real-time and unscaled
– Input to scaler part, e.g. video from MPEG decoder
(extension to 16-bit possible)
• Video image port (I-port) configurable for 8-bit data
(extension to 16-bit possible) in master mode (own
clock), or slave mode (external clock), with auxiliary
timing and handshake signals
• Discontinuous data streams supported
• 32-word × 4-byte FIFO register for video output data
• 28-word × 4-byte FIFO register for decoded VBI-data
output
• Scaled 4:2:2, 4:1:1, 4:2:0, 4:1:0 Y-CB-C
output
• Scaled 8-bit luminance only and raw CVBS data output
• Sliced, decoded VBI-data output.
1.8Miscellaneous
• Power-on control
• 5 V tolerant digital inputs and I/O ports
• Software controlled power saving standby modes
supported
• Programming via serial I2C-bus, full read back ability by
an external controller, bit rate up to 400 kbits/s
• Boundary scan test circuit complies with the
1149.b1 - 1994”
.
for details)
R
R
“IEEE Std.
SAA7118
2APPLICATIONS
• PC-video capture and editing
• Personal video recorders (time shifting)
• Cable, terrestrial, and satellite set-top boxes
• Internet terminals
• Flat-panel monitors
• DVD-recordable players
• AV-ready hard-disk drivers
• Digital televisions/scan conversion
• Video surveillance/security
• Video editing/post production
• Video phones
• Video projectors
• Digital VCRs.
3GENERAL DESCRIPTION
The SAA7118 is a video capture device for applications at
the image port of VGA controllers.
Philips X-VIP is a new multistandard comb filter video
decoder chip with additional component processing,
providing high quality, optionally scaled, video.
The SAA7118 is a combination of a four-channel analog
preprocessing circuit including source selection,
anti-aliasing filter and ADC with succeeding decimation
filters from 27 to 13.5 MHz data rate. Each preprocessing
channel comes with an automatic clamp and gain control.
The SAA7118 combines a Clock Generation Circuit
(CGC), a digital multistandard decoder containing
two-dimensionalchrominance/luminance separationbyan
adaptive comb filter and a high performance scaler,
including variable horizontal and vertical up and
downscaling and a brightness, contrast and saturation
control circuit.
2001 May 304
Philips SemiconductorsPreliminary specification
Multistandard video decoder with adaptive
comb filter and component video input
It is a highly integrated circuit for desktop video and similar
applications. The decoder is based on the principle of
line-lockedclock decoding and is abletodecode the colour
of PAL, SECAM and NTSC signals into ITU 601
compatible colour component values. The SAA7118
accepts CVBS or S-video (Y/C) as analog inputs from TV
or VCR sources, including weak and distorted signals as
well as baseband component signals Y-PB-PRor RGB. An
expansion port (X-port) for digital video (bidirectional half
duplex, D1 compatible) is also supported to connect to
MPEG or video phone codec. At the so called image port
(I-port) the SAA7118 supports 8 or 16-bit wide output data
with auxiliary reference data for interfacing to VGA
controllers.
The target application for the SAA7118 is to capture and
scale video images, to be provided as digital video stream
through the image port of a VGA controller, for capture to
system memory, or just to provide digital baseband video
to any picture improvement processing.
SAA7118
The SAA7118 also provides a means for capturing the
serially coded data in the vertical blanking interval
(VBI-data). Two principal functions are available:
1. To capture raw video samples, after interpolation to
the required output data rate, via the scaler
2. A versatile data slicer (data recovery) unit.
The SAA7118 also incorporates field-locked audio clock
generation. This function ensures that there is always the
same number of audio samples associated with a field, or
a set of fields. This prevents the loss of synchronization
between video and audio during capture or playback.
All of the ADCs may be used to digitize a VSB signal for
subsequent decoding; a dedicated output port and a
selectable VSB clock input is provided.
The circuit is I2C-bus controlled (full write/read capability
for all programming registers, bit rate up to 400 kbits/s).
4QUICK REFERENCE DATA
SYMBOLPARAMETERCONDITIONSMIN.TYP.MAX.UNIT
V
DDD
V
DDDC
V
DDA
T
amb
P
A+D
Note
1. Power dissipation is measured in component mode (four ADCs active) and 8-bit image port output mode, expansion
port is 3-stated.
digital supply voltage3.03.33.6V
digital core supply voltage3.03.33.6V
analog supply voltage3.13.33.5V
ambient temperature0−70°C
analog and digital power dissipationnote 1−1.11.35W
PACKAGE
NAMEDESCRIPTIONVERSION
SOT322-2
body 28 × 28 × 3.4 mm; high stand-off height
2001 May 305
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
n
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2001 May 306
]
ADP[8:0
CLKEXT
RES
DNC0 to DNC5
dbook, full pagewidth
INT_ASCLSDACE
6BLOCK DIAGRAM
Philips SemiconductorsPreliminary specification
Multistandard video decoder with adaptive
comb filter and component video input
FSW
AI11
AI12
AI13
AI14
AI1D
AI21
AI22
AI23
AI24
AI2D
AI31
AI32
AI33
AI34
AI3D
AI41
AI42
AI43
AI44
AI4D
AOUT
AGND
AGNDA
AD PORT
ANALOG1
ADC1
DF
ANALOG2
ADC2
DF
ANALOG3
ADC3
DF
ANALOG4
ADC4
DF
POWER-ON CONTROL
POWER SUPPLY
CONTROL
I2C-BUS REGISTER MAP
FAST SWITCH DELAY
R
G
COMPONENTS
PROCESSING
B
RAW
C
CROMINANCE
PROCESSING
COMB FILTER
ANALOG INPUT CONTROL
Y
LUMININANCE
S
PROCESSING
S
SYNCHRONIZATIONVIDEO/TEXT ARBITER
VIDEO
CLOCK
GPOCRYSTALX PORT
Y
C
B
C
R
C
B
C
R
Y
SS
S
Y-CB-C
R
DECODER OUTPUT CONTROL
RAW
Y-CB-C
R
Y-CB-CRS
FIRST TASK I2C-BUS REGISTER MAP SCALER
SECOND TASK I2C-BUS REGISTER MAP SCALER
SCALER EVENT CONTROLLER
PRESCALER
BCS-SCALER
FIR-PREFILTER
LINE FIFO BUFFER
HORIZONTAL
VERTICAL SCALING
FINE (PHASE) SCALING
SAA7118
VBI-DATA SLICER
CB-C
R
H PORT
CB-C
R
AUDIO
CLOCK
VIDEO FIFO
TEXT
FIFO
BOUNDARY
SCAN
IGP1
IGP0
IGPV
IGPH
]
IPD[7:0
ICLK
IDQ
OUTPUT FORMATTER I PORT
ITRDY
ITRI
V
SSA
V
DDA
V
SSD
V
DDD
V
SS(xtal)
V
DD(xtal)
LLC
LLC2
RTS0
RTS1
RTCO
XTALO
XTALI
XRDY
XTOUT
XCLK
XPD[7:0
Fig.1 Block diagram.
HPD[7:0
AMXCLK
]
XTRIXRH
]
XDQ
XRV
ALRCLK
AMCLK
ASCLK
TDO
TDITCK
TRST
TMS
SAA7118
Philips SemiconductorsPreliminary specification
Multistandard video decoder with adaptive
comb filter and component video input
7PINNING
SYMBOL
PIN
QFP160 BGA156
DNC61B2Odo not connect, reserved for future extensions and for testing
AI412B1Ianalog input 41
AGND3C2Panalog ground
V
SSA4
4C1Pground for analog inputs AI4x
AI425D2Ianalog input 42
AI4D6D3Idifferential input for ADC channel 4 (pins AI41 to AI44)
AI437D1Ianalog input 43
V
DDA4
V
DDA4A
8D4Panalog supply voltage for analog inputs AI4x (3.3 V)
9E2Panalog supply voltage for analog inputs AI4x (3.3 V)
AI4410E1Ianalog input 44
AI3111E3Ianalog input 31
V
SSA3
12E4Pground for analog inputs AI3x
AI3213F2Ianalog input 32
AI3D14F1I/Odifferential input for ADC channel 3 (pins AI31 to AI34)
AI3315F3Ianalog input 33
V
DDA3
V
DDA3A
16F4Panalog supply voltage for analog inputs AI3x (3.3 V)
17G2Panalog supply voltage for analog inputs AI3x (3.3 V)
AI3418G1Ianalog input 34
AI2119G4Ianalog input 21
V
SSA2
20H3Pground for analog inputs AI2x
AI2221G3Ianalog input 22
AI2D22H1Idifferential input for ADC channel 2 (pins AI24 to AI21)
AI2323H2Ianalog input 23
V
DDA2
V
DDA2A
24H4Panalog supply voltage for analog inputs AI2x
25J1Panalog supply voltage for analog inputs AI2x
AI2426J3Ianalog input 24
AI1127J2Ianalog input 11
V
SSA1
28J4Pground for analog inputs AI1x
AI1229K1Ianalog input 12
AI1D30K3Idifferential input for ADC channel 1 (pins AI14 to AI11)
AI1331K2Ianalog input 13
V
DDA1
V
DDA1A
32K4Panalog supply voltage for analog inputs AI1x (3.3 V)
33L1Panalog supply voltage for analog inputs AI1x (3.3 V)
AI1434L3Ianalog input 14
AGNDA35L2Panalog signal ground
AOUT36M1Oanalog test output (do not connect)
V
V
DDA0
SSA0
37M3Panalog supply voltage (3.3 V) for internal clock generation circuit
38M2Pground for internal Clock Generation Circuit (CGC)
TYPE
(1)
DESCRIPTION
SAA7118
2001 May 307
Philips SemiconductorsPreliminary specification
Multistandard video decoder with adaptive
SAA7118
comb filter and component video input
SYMBOL
PIN
QFP160 BGA156
DNC1339N1NCdo not connect, reserved for future extensions and for testing
DNC1440N2I/pudo not connect, reserved for future extensions and for testing
DNC1841P2I/Odo not connect, reserved for future extensions and for testing
DNC1542N3I/pddo not connect, reserved for future extensions and for testing
EXMCLR43P3I/pdexternal mode clear (with internal pull-down)
CE44N4I/puchip enable or reset input (with internal pull-up)
V
DDD1
45C5Pdigital supply voltage 1 (peripheral cells)
LLC46P4Oline-locked system clock output (27 MHz nominal)
V
SSD1
47D5Pdigital ground 1 (peripheral cells)
LLC248N5Oline-locked1⁄2clock output (13.5 MHz nominal)
RES49P5Oreset output (active LOW)
V
V
DDD2
SSD2
50C8Pdigital supply voltage 2 (core)
51D7Pdigital ground 2 (core; substrate connection)
CLKEXT52N6Iexternal clock input intended for analog-to-digital conversion of VSB
ADP853P6OMSB of direct analog-to-digital converted output data (VSB)
ADP754M6OMSB − 1 of direct analog-to-digital converted output data (VSB)
ADP655L6OMSB − 2 of direct analog-to-digital converted output data (VSB)
ADP556N7OMSB − 3 of direct analog-to-digital converted output data (VSB)
ADP457P7OMSB − 4 of direct analog-to-digital converted output data (VSB)
ADP358L7OMSB − 5 of direct analog-to-digital converted output data (VSB)
V
DDD3
59C9Pdigital supply voltage 3 (peripheral cells)
ADP260M7OMSB − 6 of direct analog-to-digital converted output data (VSB)
ADP161P8OMSB − 7 of direct analog-to-digital converted output data (VSB)
ADP062N8OLSB of direct analog-to-digital converted output data (VSB)
V
SSD3
63D9Pdigital ground 3 (peripheral cells)
INT_A64P9O/odI2C-bus interrupt flag (LOW if any enabled status bit has changed)
V
DDD4
65C10Pdigital supply voltage 4 (core)
SCL66N9Iserial clock input (I2C-bus)
V
SSD4
67D10Pdigital ground 4 (core)
SDA68P10I/O/odserial data input/output (I2C-bus)
RTS069M10Oreal-time status or sync information, controlled by subaddresses
RTS170N10Oreal-time status or sync information, controlled by subaddresses
RTCO71L10O/st/pd real-time control output; contains information about actual system clock
AMCLK72P11Oaudio master clock output, up to 50% of crystal clock
TYPE
(1)
DESCRIPTION
signals (36 MHz)
11H and 12H
11H and 12H
frequency, field rate, odd/even sequence, decoder status, subcarrier
frequency and phase and PAL sequence (see document
Description”
, available on request); the RTCO pin is enabled via I2C-bus
“RTC Functional
bit RTCE; see notes 5, 6 and Table 35
2001 May 308
Philips SemiconductorsPreliminary specification
Multistandard video decoder with adaptive
SAA7118
comb filter and component video input
SYMBOL
PIN
QFP160 BGA156
V
DDD5
73D12Pdigital supply voltage 5 (peripheral cells)
ASCLK74N11Oaudio serial clock output
ALRCLK75P12O/st/pd audio left/right clock output; can be strapped to supply via a 3.3 kΩ resistor
AMXCLK76M12Iaudio master external clock input
ITRDY77N12Itarget ready input for image port data
DNC078P13I/pudo not connect, reserved for future extensions and for testing: scan input
DNC1679N13NCdo not connect, reserved for future extensions and for testing
DNC1780N14NCdo not connect, reserved for future extensions and for testing
DNC1981−NCdo not connect, reserved for future extensions and for testing
DNC2082−NCdo not connect, reserved for future extensions and for testing
FSW83M13I/pdfast switch (blanking) with internal pull-down inserts component inputs into
ICLK84M14I/Oclock output signal for image port, or optional asynchronous back-end
IDQ85L13Ooutput data qualifier for image port (optional: gated clock output)
ITRI86L12I/(O)image port output control signal, affects all input port pins inclusive ICLK,
IGP087L14Ogeneral purpose output signal 0; image port (controlled by subaddresses
V
SSD5
88D11Pdigital ground 5 (peripheral cells)
IGP189K13Ogeneral purpose output signal 1; image port (controlled by subaddresses
IGPV90K14Omulti purpose vertical reference output signal; image port (controlled by
IGPH91K12Omulti purpose horizontal reference output signal; image port (controlled by
IPD792K11OMSB of image port data output
IPD693J13OMSB − 1 of image port data output
IPD594J14OMSB − 2 of image port data output
V
V
DDD6
SSD6
95F12Pdigital supply voltage 6 (core)
96F11Pdigital ground 6 (core)
IPD497H13OMSB − 3 of image port data output
IPD398H14OMSB − 4 of image port data output
IPD299H11OMSB − 5 of image port data output
IPD1100G12OMSB − 6 of image port data output
V
DDD7
101H12Pdigital supply voltage 7 (peripheral cells)
IPD0102G14OLSB of image port data output
TYPE
(1)
DESCRIPTION
to indicate that the default 24.576 MHz crystal (ALRCLK = 0; internal
pull-down) has been replaced by a 32.110 MHz crystal (ALRCLK = 1);
notes 5 and 7
CVBS signal
clock input
enable and active polarity is under software control (bits IPE in subaddress
87H); output path used for testing: scan output
84H and 85H)
84H and 85H)
subaddresses 84H and 85H)
subaddresses 84H and 85H)
2001 May 309
Philips SemiconductorsPreliminary specification
Multistandard video decoder with adaptive
SAA7118
comb filter and component video input
SYMBOL
PIN
QFP160 BGA156
HPD7103G13I/OMSB of host port data I/O, extended CB-CR input for expansion port,
V
SSD7
104G11Pdigital ground 7 (peripheral cells)
HPD6105F14I/OMSB − 1 of host port data I/O, extended CB-CR input for expansion port,
V
DDD8
106J12Pdigital supply voltage 8 (core)
HPD5107F13I/OMSB − 2 of host port data I/O, extended CB-CR input for expansion port,
V
SSD8
108J11Pdigital ground 8 (core)
HPD4109E14I/OMSB − 3 of host port data I/O, extended CB-CR input for expansion port,
HPD3110E12I/OMSB − 4 of host port data I/O, extended CB-CR input for expansion port,
HPD2111E13I/OMSB − 5 of host port data I/O, extended CB-CR input for expansion port,
HPD1112E11I/OMSB − 6 of host port data I/O, extended CB-CR input for expansion port,
HPD0113D14I/OLSB of host port data I/O, extended CB-CR input for expansion port,
V
DDD9
114M4Pdigital supply voltage 9 (peripheral cells)
DNC1115D13I/pudo not connect, reserved for future extensions and for testing: scan input
DNC2116C14I/pudo not connect, reserved for future extensions and for testing: scan input
DNC7117B13NCdo not connect, reserved for future extensions and for testing
DNC8118B14NCdo not connect, reserved for future extensions and for testing
DNC11119C12NCdo not connect, reserved for future extensions and for testing
DNC12120C13NCdo not connect, reserved for future extensions and for testing
DNC21121−NCdo not connect, reserved for future extensions and for testing
DNC22122−NCdo not connect, reserved for future extensions and for testing
DNC3123A13I/pudo not connect, reserved for future extensions and for testing: scan input
DNC4124B12Odo not connect, reserved for future extensions and for testing: scan output
DNC5125A12I/pudo not connect, reserved for future extensions and for testing: scan input
XTRI126B11IX-port output control signal, affects all X-port pins (XPD7 to XPD0, XRH,
XPD7127C11I/OMSB of expansion port data
XPD6128A11I/OMSB − 1 of expansion port data
V
SSD9
129L4Pdigital ground 9 (peripheral cells)
XPD5130B10I/OMSB − 2 of expansion port data
XPD4131A10I/OMSB − 3 of expansion port data
V
DDD10
V
SSD10
132M5Pdigital supply voltage 10 (core)
133L5Pdigital ground 10 (core)
TYPE
(1)
DESCRIPTION
extended CB-CR output for image port
extended CB-CR output for image port
extended CB-CR output for image port
extended CB-CR output for image port
extended CB-CR output for image port
extended CB-CR output for image port
extended CB-CR output for image port
extended CB-CR output for image port
XRV, XDQ and XCLK), enable and active polarity is under software control
(bits XPE in subaddress 83H)
2001 May 3010
Philips SemiconductorsPreliminary specification
Multistandard video decoder with adaptive
SAA7118
comb filter and component video input
SYMBOL
PIN
QFP160 BGA156
XPD3134B9I/OMSB − 4 of expansion port data
XPD2135A9I/OMSB − 5 of expansion port data
V
DDD11
V
SSD11
136M8Pdigital supply voltage 11 (peripheral cells)
137L8Pdigital ground 11 (peripheral cells)
XPD1138B8I/OMSB − 6 of expansion port data
XPD0139A8I/OLSB of expansion port data
XRV140D8I/Overtical reference I/O expansion port
XRH141C7I/Ohorizontal reference I/O expansion port
V
DDD12
142M9Pdigital supply voltage 12 (core)
XCLK143A7I/Oclock I/O expansion port
XDQ144B7I/Odata qualifier for expansion port
V
SSD12
145L9Pdigital ground 12 (core)
XRDY146A6Otask flag or ready signal from scaler, controlled by XRQT
TRST147C6I/putest reset input (active LOW), for boundary scan test (with internal pull-up);
TCK148B6I/putest clock for boundary scan test; note 2
TMS149D6I/putest mode select input for boundary scan test or scan test; note 2
TDO150A5Otest data output for boundary scan test; note 2
V
DDD13
151M11Pdigital supply voltage 13 (peripheral cells)
TDI152B5I/putest data input for boundary scan test; note 2
V
SSD13
V
SS(xtal)
153L11Pdigital ground 13 (peripheral cells)
154A4Pground for crystal oscillator
XTALI155B4Iinput terminal for 24.576 MHz (32.11 MHz) crystal oscillator or connection
XTALO156A3O24.576 MHz (32.11 MHz) crystal oscillator output; not connected if TTL
V
DD(xtal)
157B3Psupply voltage for crystal oscillator
XTOUT158A2Ocrystal oscillator output signal; auxiliary signal
DNC9159C3NCdo not connect, reserved for future extensions and for testing
DNC10160C4NCdo not connect, reserved for future extensions and for testing
TYPE
(1)
DESCRIPTION
notes 2, 3 and 4
of external oscillator with TTL compatible square wave clock signal
clock input of XTALI is used
Notes
1. I = input, O = output, P = power, NC = not connected, st = strapping, pu = pull-up, pd = pull-down, od = open-drain.
2. In accordance with the
“IEEE1149.1”
standard the pads TDI, TMS, TCK and TRST are input pads with an internal
pull-up transistor and TDO is a 3-state output pad.
3. For board design without boundary scan implementation connect the TRST pin to ground.
4. This pin provides easy initialization of the Boundary Scan Test (BST) circuit. TRST can be used to force the Test
Access Port (TAP) controller to the TEST_LOGIC_RESET state (normal operation) at once.
5. Pin strapping is done by connecting the pin to the supply via a 3.3 kΩ resistor. During the power-up reset sequence
the corresponding pins are switched to input mode to read the strapping level. For the default setting no strapping
resistor is necessary (internal pull-down).
8.1.1ANALOG INPUT PROCESSING
The SAA7118 offers sixteen analog signal inputs, four analog main channels with source switch, clamp circuit, analog
amplifier, anti-alias filter and video 9-bit CMOS ADC with a Decimation Filter (DF); see Figs 5 and 8.
The anti-alias filters are adapted to the line-locked clock frequency via a filter control circuit. The characteristic is shown
in Fig.4. During the vertical blanking period gain and clamping control are frozen.
MGD138
V
(dB)
6
0
−6
−12
−18
−24
−30
−36
−42
024 68101214
f (MHz)
Fig.4 Anti-alias filter.
2001 May 3018
Philips SemiconductorsPreliminary specification
Multistandard video decoder with adaptive
comb filter and component video input
Multistandard video decoder with adaptive
comb filter and component video input
8.1.1.1Clamping
The clamp control circuit controls the correct clamping of
the analog input signals. The coupling capacitor is also
used to store and filter the clamping voltage. An internal
digital clamp comparator generates the information with
respect to clamp-up or clamp-down. The clamping levels
for the four ADC channels are fixed for luminance (120),
chrominance (256) and for component inputs as
component Y (32), components PB and PR (256) or
components RGB (32). Clamping time in normaluse is set
with the HCL pulse on the back porch of the video signal.
8.1.1.2Gain control
The gain control circuit receives (via theI2C-bus) the static
gain levels for the four analog amplifiers or controls one of
theseamplifiersautomaticallyviaabuilt-inAutomaticGain
Control (AGC) as part of the Analog Input Control (AICO).
SAA7118
The AGC (automatic gain control for luminance) is used to
amplify a CVBS or Y signal to the required signal
amplitude, matched to the ADCs input voltage range.
Component inputs are gain adjusted manually at a fixed
gain. The AGC active time is the sync bottom of the video
signal.
Signal (white) peak control limits the gain at signal
overshoots. The flow charts (see Figs 9 and 10) show
more details of the AGC. The influence of supply voltage
variation within the specified range is automatically
eliminated by clamp and automatic gain control.
handbook, halfpage
analog line blanking
511
GAINCLAMP
120
1
TV line
HCL
HSY
Fig.6Analog line with clamp (HCL) and gain
range (HSY).Fig.7 Automatic gain range.
MHB726
analog input level
+3 dB
0 dB
(1 V (p-p) 18/56 Ω)
−6 dB
maximum
range 9 dB
minimum
controlled
ADC input level
0 dB
MHB325
2001 May 3020
Philips SemiconductorsPreliminary specification
Multistandard video decoder with adaptive
comb filter and component video input
Fig.8 Analog input processing using the SAA7118 as differential front-end with 9-bit ADC.
2001 May 3021
Philips SemiconductorsPreliminary specification
Multistandard video decoder with adaptive
comb filter and component video input
handbook, full pagewidth
NO ACTION
ANALOG INPUT
AMPLIFIER
ANTI-ALIAS FILTER
ADC
1
VBLK
1
0
HOLDG
SAA7118
gain
9
0
1
X
1
DAC
LUMA/CHROMA DECODER
0
0
HSY
9
STOP
X = system variable.
YAGV FGV–GUDL>=
GUDL = gain update level (adjustable).
VBLK = vertical blanking pulse.
HSY = horizontal sync pulse.
AGV = actual gain value.
FGV = frozen gain value.
.
1
+1/F
0
10
<
4
>
496
+1/L
1
>
510
10
<
1
X = 0
0
−1/LLC2
GAIN ACCUMULATOR (18 BITS)
ACTUAL GAIN VALUE 9-BIT (AGV) [−3/+6 dB
AGV
+1/LLC2 −1/LLC2
1
X
1
GAIN VALUE 9-BIT
0
HSY
UPDATE
10
>
510
X = 1
+/− 0
0
1
0
Y
FGV
MHB728
]
Fig.9 Gain flow chart.
2001 May 3022
Philips SemiconductorsPreliminary specification
Multistandard video decoder with adaptive
comb filter and component video input
ANALOG INPUT
ADC
NO BLANKING ACTIVE
1010
10
CLL
+ CLAMP− CLAMP
10
VBLK
HCLHSY
01 10
NO CLAMP
+ GAIN− GAIN
GAIN -><- CLAMP
SBOT
fast − GAIN
SAA7118
WIPE
slow + GAIN
MGC647
WIPE = white peak level (510).
SBOT = sync bottom level (1).
CLL = clamp level [120 for CVBS, Y(C), S; 256 for C(Y), PB-PR; 32 for RGB, Y].
HSY = horizontal sync pulse.
HCL = horizontal clamp pulse.
Fig.10 Clamp and gain flow chart.
2001 May 3023
This text is here in white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here in
a
_white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader.This text is here inThis text is here in
white to force landscape pages to be rotated correctly when browsing through the pdf in the Acrobat reader. white to force landscape pages to be ...
2001 May 3024
ndbook, full pagewidth
8.1.2CHROMINANCE AND LUMINANCE PROCESSING
Philips SemiconductorsPreliminary specification
Multistandard video decoder with adaptive
comb filter and component video input
CVBS-IN
or CHR-IN
CVBS-IN
or Y-IN
QUADRATURE
DEMODULATOR
SUBCARRIER
GENERATION 1
HUEC
LDEL
YCOMB
SUBCARRIER
GENERATION 2
CHROMINANCE
INCREMENT
DELAY
DELAY
COMPENSATION
QUADRATURE
MODULATOR
LOW-PASS 1
DOWNSAMPLING
LCBW[2:0
LDEL
YCOMB
CHROMINANCE
INCREMENT
DTO RESET
SUBCARRIER
INCREMENT
GENERATION
AND
DIVIDER
]
CHR
CB-C
SUBTRACTOR
R
INTERPOLATION
LOW-PASS 3
LUBW
ADAPTIVE
COMB FILTER
SET_RAW
SET_VBI
DEMODULATOR
AMPLITUDE
DETECTOR
BURST GATE
ACCUMULATOR
LOOP FILTER
CB-C
CCOMB
YCOMB
LDEL
BYPS
PHASE
Y
LUMINANCE-PEAKING
Y-DELAY ADJUSTMENT
LUFI[3:0
CSTD[2:0
CB-C
YDEL[2:0
R
R
OR
LOW-PASS,
]
SET_RAW
]
SET_VBI
]
LOW-PASS 2
CHBW
SECAM
PROCESSING
CHROMA
GAIN
CONTROL
CB-C
ADJUSTMENT
R
Y/CVBS
]
DBRI[7:0
DCON[7:0
DSAT[7:0
RAWG[7:0
RAWO[7:0
CB-C
PAL DELAY LINE
RECOMBINATION
]
]
]
]
COLO
BRIGHTNESS
CONTRAST
SATURATION
CONTROL
RAW DATA
GAIN AND
OFFSET
CONTROL
SET_RAW
R
SET_VBI
SECAM
Y-OUT/
CVBS OUT
CB-CR-OUT
HREF-OUT
CDTO
RTCO
CSTD[2:0
INCS
]
FCTC
ACGC
CGAIN[6:0
IDEL[3:0
CODE
]
]
Fig.11 Chrominance and luminance processing.
SECS
SET_RAW
SET_VBI
fH/2 switch signal
DCVF
MHB729
SAA7118
Philips SemiconductorsPreliminary specification
Multistandard video decoder with adaptive
comb filter and component video input
8.1.2.1Chrominance path
The 9-bit CVBS or chrominance input signal is fed to the
inputofa quadrature demodulator, where it is multiplied by
twotime-multiplexed subcarrier signalsfromthe subcarrier
generation block 1 (0° and 90° phase relationship to the
demodulator axis). The frequency is dependent on the
chosen colour standard.
The time-multiplexed output signals of the multipliers are
low-pass filtered (low-pass 1). Eight characteristics are
programmable via LCWB3 to LCWB0 to achieve the
desired bandwidth for the colour difference signals (PAL,
NTSC) or the 0° and 90° FM signals (SECAM).
Thechrominance low-pass 1characteristicalso influences
the grade of cross-luminance reduction during horizontal
colour transients (large chrominance bandwidth means
strong suppression of cross-luminance). If the Y-comb
filterisdisabledbyYCOMB = 0 the filter influences directly
the width of the chrominance notch within the luminance
path (a large chrominance bandwidth means wide
chrominance notch resulting in a lower luminance
bandwidth).
The low-pass filtered signals are fed to the adaptive comb
filter block. The chrominance components are separated
from the luminance via a two line vertical stage (four lines
for PAL standards) and a decision logic between the
filtered and the non-filtered output signals. This block is
bypassed for SECAM signals. The comb filter logic can be
enabled independently for the succeeding luminance and
chrominance processing by YCOMB (subaddress 09H,
bit 6) and/or CCOMB (subaddress 0EH, bit 0). It is always
bypassed during VBI or raw data lines programmable by
the LCRn registers (subaddresses 41H to 57H); see
Section 8.3.
The separated CB-CR components are further processed
by a second filter stage (low-pass 2) to modify the
chrominance bandwidth without influencing the luminance
path. It’s characteristic is controlled by CHBW
(subaddress 10H, bit 3). For the complete transfer
characteristic of low-passes 1 and 2 see Figs 12 and 13.
SAA7118
The succeeding chrominance gain control block amplifies
or attenuates the CB-CR signal according to the required
ITU 601/656 levels. It is controlled by the output signal
from the amplitude detection circuit within the burst
processing block.
The burst processing block provides the feedback loop of
the chrominance PLL and contains the following:
The increment generation circuit produces the Discrete
Time Oscillator (DTO) increment for both subcarrier
generation blocks. It contains a division by the increment
of the line-locked clock generator to create a stable
phase-locked sine signal under all conditions (e.g. for
non-standard signals).
The PAL delay line block eliminates crosstalk between the
chrominance channels in accordance with the PAL
standard requirements. For NTSC colour standards the
delay line can be used as an additional vertical filter.
If desired, it can be switched off by DCVF = 1. It is always
disabledduringVBIorrawdata lines programmable by the
LCRn registers (subaddresses 41H to 57H); see
Section 8.3. The embedded line delay is also used for
SECAM recombination (cross-over switches).
The SECAM processing (bypassed for QAM standards)
contains the following blocks:
• Baseband ‘bell’ filters to reconstruct the amplitude and
phase equalized 0° and 90° FM signals
• Phase demodulator and differentiator
(FM-demodulation)
• De-emphasis filter to compensate the pre-emphasized
input signal, including frequency offset compensation
(DB or DR white carrier values are subtracted from the
signal, controlled by the SECAM switch signal).
2001 May 3025
Philips SemiconductorsPreliminary specification
Multistandard video decoder with adaptive
comb filter and component video input
Fig.13 Transfer characteristics of the chrominance low-pass at CHBW = 1.
2001 May 3027
Philips SemiconductorsPreliminary specification
Multistandard video decoder with adaptive
comb filter and component video input
8.1.2.2Luminance path
The rejection of the chrominance components within the
9-bit CVBS or Y input signal isachieved by subtracting the
remodulated chrominance signal from the CVBS input.
The comb filtered CB-CR components are interpolated
(upsampled) by the low-pass 3 block. It’s characteristic is
controlled by LUBW (subaddress 09H, bit 4) to modify the
width of the chrominance ‘notch’ without influencing the
chrominance path. The programmable frequency
characteristics available, in conjunction with the LCBW2
to LCBW0 settings, can be seen in Figs 14 to 17. It should
be noted that these frequency curves are only valid for
Y-comb disabled filter mode (YCOMB = 0). In comb filter
modethe frequency response is flat. The centre frequency
of the notch is automatically adapted to the chosen colour
standard.
The interpolated CB-CR samples are multiplied by two
time-multiplexed subcarrier signals from the subcarrier
generation block 2. This second DTO is locked to the first
subcarrier generator by an increment delay circuit
matchedtotheprocessingdelay,which is different for PAL
and NTSC standards according to the chosen comb filter
algorithm. The two modulated signals are finally added to
build the remodulated chrominance signal.
SAA7118
The frequency characteristic of the separated luminance
signal can be further modified by the succeeding
luminance filter block. It can be configured as peaking
(resolution enhancement) or low-pass block by LUFI3 to
LUFI0 (subaddress 09H, bits 3 to 0). The 16 resulting
frequency characteristics can be seen in Fig.18. The
LUFI3 to LUFI0 settings can be used as a user
programmable sharpness control.
The luminance filter block also contains the adjustable
Y-delay part; programmable by YDEL2 to YDEL0
(subaddress 11H, bits 2 to 0).
2001 May 3028
Philips SemiconductorsPreliminary specification
Multistandard video decoder with adaptive
comb filter and component video input