NTSC/PAL/SECAM/Component 2x10-Bit Digital Video
Decoder
Data Manual
PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of the Texas
Instruments standard warranty. Production processing does not
necessarily include testing of all parameters.
NTSC/PAL/SECAM/Component 2x10-Bit Digital Video Decoder
Check for Samples: TVP5160
1Introduction
1.1Features
1
• Two 11-Bit 60-MSPS Analog-to-Digital (A/D)• Fast Switch 4x Oversampled Input for Digital
Converters With Analog PreprocessorsRGB Overlay Switching Between Any CVBS,
(Clamp/AGC)S-Video, or Component Video Input
• Fixed RGB-to-YUV Color Space Conversion• SCART 4x Oversampled Fast Switching
• Robust Sync Detection for Weak and Noisy
Signals as well as VCR
• Supports NTSC (J, M, 4.43), PAL (B, D, G, H, I,
M, N, Nc, 60) and SECAM (B, D, G, K, K1, L)• Chrominance Processor
CVBS, S-Video
• Supports Component Standards 480i, 576i,
480p, and 576p
• Output Formatter Supports Both ITU-R BT.656
(Embedded Syncs) and ITU-R BT.601 (4:2:2
• I2C Host Port Interface
• VBI Data Processor
• "Blue" Screen (Programmable Color) Output
• Macrovision™ Copy Protection Detection
Circuit (Types 1, 2, and 3) on Both Interlaced
and Progressive Signals
1.2Applications
•Digital TV
•LCD TV/monitors
•DVD-R
•PVR
•PC video cards
•Video capture/video editing
•Video conferencing
1.3Description
The TVP5160 device is a high quality, digital video decoder that digitizes and decodes all popular
baseband analog video formats into digital component video. The TVP5160 decoder supports the A/D
conversion of component YPbPr and RGB (SCART) signals, as well as the A/D conversion and decoding
of NTSC, PAL, and SECAM composite and S-Video into component YCbCr. Additionally, component
progressive signals can be digitized. The chip includes two 11-bit, 60-MSPS, A/D converters (ADCs). Prior
to each ADC, each analog channel contains an analog circuit, which clamps the input to a reference
voltage and applies a programmable gain and offset. A total of 12 video input terminals can be configured
to a combination of YPbPr, RGB, CVBS, and S-Video video inputs.
Progressive component signals are sampled at 2× clock frequency (54 MHz) and are then decimated to
the 1× rate. In SCART mode the component inputs and the CVBS inputs are sampled at 54 MHz
1
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of Texas
Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.
PRODUCTION DATA information is current as of publication date.
Products conform to specifications per the terms of the Texas
Instruments standard warranty. Production processing does not
necessarily include testing of all parameters.
alternately, then decimated to the 1× rate. Composite or S-Video signals are sampled at 4× the ITU-R
BT.601 clock frequency (54 MHz), line-locked for correct pixel alignment, and are then decimated to the
1× rate. CVBS decoding utilizes advanced 3D Y/C filtering and 2-dimensional complementary 5-line
adaptive comb filtering for both the luma and chroma data paths to reduce both cross-luma and
cross-chroma artifacts. 3D Y/C color separation may be used on both PAL and NTSC video signals. A
chroma trap filter is also available. On CVBS and Y/C inputs, the user can control video characteristics
such as hue, contrast, brightness, and saturation via an I2C host port interface. Furthermore, luma peaking
with programmable gain is included, as well as a patented color transient improvement (CTI) circuit.
Attenuation at higher frequencies or asymmetrical color subcarrier sidebands are compensated using the
IF compensation block. Frame adaptive noise reduction may be applied to reduce temporal noise on
CVBS, S-Video, or component inputs.
3D noise reduction and 3D Y/C separation may be used at the same time or independently.
The TVP5160 decoder uses Texas Instruments' patented technology for locking to weak, noisy, or
unstable signals and can auto-detect between broadcast quality and VCR-style (nonstandard) video
sources.
The TVP5160 decoder generates synchronization, blanking, field, active video window, horizontal and
vertical syncs, clock, genlock (for downstream video encoder synchronization), host CPU interrupt and
programmable logic I/O signals, in addition to digital video outputs.
The TVP5160 decoder includes methods for advanced vertical blanking interval (VBI) data retrieval. The
VBI data processor (VDP) slices and performs error checking on teletext, closed caption, and other VBI
data. A built-in FIFO stores up to 11 lines of teletext data, and, with proper host port synchronization,
full-screen teletext retrieval is possible. The TVP5160 decoder can pass through the output formatter 2×
sampled raw Luma data for host-based VBI processing.
www.ti.com
Digital RGB overlay can be synchronously switched with any video input, with all signals being
oversampled at 4× the pixel rate.
The TVP5160 detailed functionality includes:
•Two high-speed, 60-MSPS, 11-bit, A/D channels with programmable clamp and gain control
The two ADCs can sample CVBS or S-Video at 54 MHz. YPbPr/RGB is multiplexed between the two
ADCs which sample at 54 MHz giving a channel sampling frequency of 27 MHz.
•Supports ITU-R BT.601 pixel sampling frequencies.
Supports ITU-R BT.601 sampling for both interlaced and progressive signals.
•RGB-to-YUV color space conversion for SCART signals
•3D Y/C separation or 2D 5-line (5H) adaptive comb and chroma trap filter
3-frame NTSC and PAL color separation
•Temporal frame recursive noise reduction (3DNR)
Frame recursive noise reduction can be applied to interlaced CVBS, S-Video, or component inputs for
interlaced signals. Noise reduction can be used at the same time as 3D Y/C separation. Noise
reduction cannot be applied to progressive video signals.
•Line-based time base correction (TBC)
Line based time correction corrects for horizontal phase errors encountered during video decoding up
to ±80 pixels of error. This improves the output video quality from jittery sources such as VCRs. It also
reduces line tearing during video trick modes such as fast forward and rewind.
•IF compensation
Attenuation at higher frequencies or asymmetrical color subcarrier sidebands are compensated using
the IF compensation block
•Fast switch 4× oversampling for digital RGB overlay signals for switching between any CVBS, S-Video,
or component video inputs
The fast switch overlay signals (FSO, DR, DG, DB) are oversampled at 4× the pixel clock frequency.
•SCART 4x oversampled fast switching between component RGB input and CBVS input
•Analog video output
•Supports NTSC (J, M, 4.43), PAL (B, D, G, H, I, M, N, Nc, 60), SECAM (B, D, G, K, K1, L), CVBS, and
•Twelve analog video input terminals for multi-source connection
•User-programmable video output formats
•HS/VS outputs with programmable position, polarity, and width and FID (Field ID) output
•Composite and S-Video processing
•Vertical blank interval data processor
•I2C host port interface
•"Blue" screen output
•Macrovision copy protection detection circuit (types 1, 2, and 3) on both interlaced and progressive
SLES135C–FEBRUARY 2005–REVISED MAY 2010
The phase of these signals is used to mix the selected video input format and a digital RGB input to
generate an output video stream. This improves the overlay picture quality when the external FSO and
digital RGB signals are generated by an asynchronous source.
The SCART overlay control signal (FSS) is oversampled at 4x the pixel clock frequency. The phase of
this signal is used to mix between the CVBS input and the analog RGB inputs. This improves the
analog overlay picture quality when the external FSS and analog video signals are generated by an
asynchronous source.
Buffered analog output with automatic PGA
S-Video
– 10-bit ITU-R BT.656 4:2:2 YCbCr with embedded syncs
– 20-bit 4:2:2 YCbCr with discrete syncs
– 10-bit 4:2:2 YCbCr with discrete syncs
– 2× sampled raw VBI data in active video during a vertical blanking period
– Sliced VBI data during a horizontal blanking period
– Adaptive 3D/2D Y/C separation using 5-line adaptive comb filter for composite video inputs;
chroma-trap available
– Automatic video standard detection and switching (NTSC/PAL/SECAM/progressive)
– Luma-peaking with programmable gain
– Output data rates either 1× or 2× pixel rate
– Patented architecture for locking to weak, noisy, or unstable signals
– Single 14.31818-MHz reference crystal for all standards (ITU-R.BT601 sampling, interlaced or
progressive)
– Line-locked internal pixel sampling clock generation with horizontal and vertical lock signal outputs
– Certified Macrovision copy protection detection on composite and S-Video inputs (NTSC, PAL)
– Genlock output (RTC) for downstream video encoder synchronization
– Teletext (NABTS, WST)
– Closed caption (CC) and extended data service (XDS)
– Wide screen signaling (WSS)
– Copy generation management system (CGMS)
– Video program system (VPS/PDC)
– Vertical interval time code (VITC)
– EPG video guide 1×/2× (Gemstar)
– V-Chip decoding
– Custom mode
– Register readback of CC, CGMS, WSS, VPS, VITC, V-Chip, EPG 1× and 2× sliced data, CGMS-A
Macrovision detection on standard definition signals of types 1, 2, and 3, and to Revision 1.2 for
progressive signals
•Reduced power consumption: 1.8-V digital core, 3.3-V and 1.8-V analog core with power-save and
power-down modes
•128-TQFP PowerPAD™ package
1.4Related Products
•TVP5146M2
•TVP5147M1
•TVP5150AM1
•TVP5151
•TVP5154A
•TVP5158
1.5Trademarks
•TI and PowerPAD are trademarks of Texas Instruments.
•Macrovision is a trademark of Macrovision Corporation.
•Gemstar is a trademark of Gemstar-TV Guide International.
•Other trademarks are the property of their respective owners
www.ti.com
1.6Document Conventions
Throughout this data manual, several conventions are used to convey information. These conventions are
listed below:
1. To identify a binary number or field, a lower case b follows the numbers. For example: 000b is a 3-bit
binary field.
2. To identify a hexadecimal number or field, a lower case h follows the numbers. For example: 8AFh is a
12-bit hexadecimal field.
3. All other numbers that appear in this document that do not have either a b or h following the number
are assumed to be decimal format.
4. If the signal or terminal name has a bar above the name (for example, RESETB), then this indicates
the logical NOT function. When asserted, this signal is a logic low, 0, or 0b.
5. RSVD indicates that the referenced item is reserved.
The TVP5160 video decoder is packaged in a 128-terminal PNP PowerPAD package. Figure 1-1 is the
PNP-package terminal diagram. Table 1-1 gives a description of the terminals.
VI_13IVI_x: analog video inputs
VI_24Up to 12 composite, 6 S-Video, or 3 component video inputs (or combinations thereof) can
VI_35be
VI_47supported. Also, 4-channel SCART is supported.
VI_58The inputs must be ac-coupled. The recommended coupling capacitor is 0.1 µF.
VI_69The possible input configurations are listed in the input select register 00h.
VI_717Unused inputs must be connected to ground through 0.1-µF capacitors.
VI_818
VI_919
VI_1021
VI_1122
VI_1223
Analog_out127OUnbuffered analog video output
Clock Signals
XIN121IExternal clock reference input. It may connected to external oscillator with 1.8-V compatible
XOUT122OExternal clock reference output. Not connected if XTAL1 is driven by an external
SCLK84OLine-locked data output clock
Digital Video
Y[9:0]87–91,ODigital video output of Y/YCbCr, Y_9 is MSB and Y_0 is LSB. For 8-bit operation, the upper
94–988 bits must be connected.
C[9:0] / GPIO101–104,I/ODigital video output of CbCr, C_9 is MSB and C_0 is LSB. These terminals can be
107–110,programmable general purpose I/O, or as digital overlay controls. For 8-bit operation, the
113, 114upper 8 bits must be connected.
FSO101IFast-switch overlay between digital RGB and any video input
DB102IDigital BLUE input from overlay device
DG103IDigital GREEN input from overlay device
DR104IDigital RED input from overlay device
Miscellaneous Signals
RESETB36IReset input, active low
PWDN35IPower down input
GLCO /83I/O
GPIO / I2CA0
GPIO / I2CA182I/O
INTREQ32OInterrupt request output (open drain when programmed to be active low)
FSS119ISCART fast switch input
NC6, 10, 20, 24N/ANo internal connection. Connect to AGND through 0.1-µF capacitors for future compatibility.
Host Interface
SDA31I/OI2C data bus
SCL30I/OI2C clock input
I/ODESCRIPTION
clock signal or 14.31818-MHz crystal oscillator.
single-ended oscillator.
Unused GPIO pins must be either configured as outputs, or tied to either IOVDD or DGND
1 = Power down
0 = Normal mode
Genlock control output (GLCO). Supports the real-time control (RTC) format. This pin can
also be configured as a general-purpose I/O (GPIO).
During power on reset this pin is sampled along with pin 82 (I2CA1) as an input to determine
the I2C address the device will be configured to. A 10-kΩ resistor pulls this either high (to
IOVDD) or low to select between addresses.
Programmable general purpose I/O
During power on reset this pin is sampled along with pin 83 (I2CA0) as an input to determine
the I2C address the device will be configured to. A 10-kΩ resistor pulls this either high (to
IOVDD) or low to select between addresses.
A33GND1, 26, 27,PAnalog 3.3-V return. Connect to analog ground.
28, 126, 128
A33VDD2, 25, 125PAnalog power. Connect to analog 3.3-V supply.
A18GND12, 14, 15PAnalog 1.8-V return. Connect to analog ground.
A18VDD11, 13, 16PAnalog power. Connect to analog 1.8-V supply.
PLL18GND124PAnalog power return. Connect to analog ground.
PLL18VDD123PAnalog power. Connect to analog 1.8-V supply.
DGND29, 34, 48,66,PDigital return. Connect to digital ground.
86, 100,112,
120
DVDD33, 47, 65,85,PDigital core power. Connect to 1.8-V supply.
99, 111
IOGND38, 58, 75,93,PDigital power return. Connect to digital ground.
106
IOVDD37, 57, 74,92,PDigital I/O power. Connect to digital 3.3-V supply.
105
Sync Signals
HS / CS /117I/OHorizontal sync output or digital composite sync output
GPIOProgrammable general purpose I/O
VS / VBLK /118I/OVertical sync output. (for modes with dedicated VS) or vertical blanking output
GPIOProgrammable general purpose I/O
FID / GPIO116I/O
AVID / GPIO115I/OActive video indicator
SDRAM Interface
Address[11:0]61, 77,OSDRAM address bus
62–64,
67–69, 81–78
D[15:0]49–56, 46–39I/OSDRAM data bus
WE70OSDRAM write enable
CAS71OSDRAM CAS enable
RAS72OSDRAM RAS enable
DQM59OSDRAM input/output mask for data
BA[1:0]76, 73OSDRAM bank address
SDRAM_CLK60OSDRAM 108-MHz clock
I/ODESCRIPTION
Unused GPIO pins must be either configured as outputs, or tied to either IOVDD or DGND
Unused GPIO pins must be either configured as outputs, or tied to either IOVDD or DGND
Odd/even field indicator
Programmable general purpose I/O This pin must be pulled low through a 10-kΩ resistor for
correct device operation.
Programmable general purpose I/O
Unused GPIO pins must be either configured as outputs, or tied to either IOVDD or DGND
Figure 2-1 shows a functional diagram of the analog processors and A/D converters (ADCs). This block
provides the analog interface to all video inputs. It accepts up to 12 inputs and performs source selection,
video clamping, video amplification, A/D conversion, and gain and offset adjustments to center the
digitized video signal. The TVP5160 decoder supports one analog video output.
The TVP5160 decoder has two analog channels that accept up to 12 video inputs. The user can configure
the internal analog video switches via I2C. The 12 analog video inputs can be used for different input
configurations, some of which are:
•12 CVBS video inputs
•4 S-Video inputs and 2 CVBS inputs
•3 YPbPr video inputs and 3 CVBS input
•2 YPbPr video inputs, 2 S-Video inputs, and 2 CVBS inputs
The input selection is performed by the input select register at I2C subaddress 00h.
2.1.2480p and 576p Component YPbPr
The TVP5160 decoder supports progressive component video inputs. The YPbPr inputs of the TVP5160
decoder may accept 480p or 576p progressive inputs. The Y channel is fed into one ADC while PbPr are
sampled alternatively by the other ADC.
2.1.3Analog Input Clamping
An internal clamping circuit restores the ac-coupled video signal to a fixed dc level. The clamping circuit
provides line-by-line restoration of the video sync level to a fixed dc reference voltage. The selection
between bottom and mid clamp is performed automatically by the TVP5160 decoder.
www.ti.com
2.1.4Automatic Gain Control
The TVP5160 decoder utilizes two programmable gain amplifiers (PGAs); one per channel. The PGA can
scale a signal with a voltage input compliance of 0.5 VPPto 2.0 VPPto a full-scale, 11-bit, A/D output code
range. A 4-bit code sets the coarse gain with individual adjustment per channel. Minimum gain
corresponds to a code 0x0 (2.0-VPPfull-scale input, –6 dB gain) while maximum gain corresponds to code
0xF (0.5-VPPfull scale, +6 dB gain). The TVP5160 decoder also has 12-bit fine gain controls for each
channel and applies independently to coarse gain controls. For composite video, the input video signal
amplitude may vary significantly from the nominal level of 1 VPP. The TVP5160 decoder can adjust its
PGA setting automatically: an automatic gain control (AGC) can be enabled and can adjust the signal
amplitude such that the maximum input range of the ADC is reached without clipping. Some nonstandard
video signals contain peak white levels that saturate the ADC. In these cases, the AGC automatically cuts
back gain to avoid clipping. If the AGC is on, then the TVP5160 decoder can read the gain currently being
used.
The TVP5160 AGC comprises the front-end AGC before Y/C separation and the back-end AGC after Y/C
separation. The back-end AGC restores the optimum system gain whenever an amplitude reference, such
as the composite peak (which is only relevant before Y/C separation), forces the front-end AGC to set the
gain too low. The front-end and back-end AGC algorithms can utilize up to four amplitude references: sync
height, color burst amplitude, composite peak, and luma peak.
The specific amplitude references being used by the front-end and back-end AGC algorithms can be
independently controlled using the AGC white peak processing register located at subaddress 74h. The
TVP5160 gain increment speed and gain increment delay can be controlled using the AGC increment
speed register located at subaddress 78h and the AGC increment delay register located at subaddress
79h, respectively.
2.1.5Analog Video Output
Any one of the analog input signals is available at the analog video output pin. The signal at this pin must
be buffered by a source follower if it drives a 75-Ω resister. The nominal output voltage is 2 VPP, and the
signal can drive a 75-Ω line when buffered. The magnitude is maintained with a PGA in 16 steps
controlled by the TVP5160 decoder.
All ADCs have a resolution of 11 bits and can operate up to 60 MSPS. All A/D channels receive an
identical clock from the on-chip, phase-locked loop (PLL) at a frequency between 24 MHz and 60 MHz. All
ADC reference voltages are generated internally.
2.2Digital Video Processing
This block receives digitized video signals from the ADCs and performs composite processing for CVBS
and S-Video inputs, YCbCr signal enhancements for CVBS and S-Video inputs. It also generates
horizontal and vertical syncs, and other output control signals such as RTC for CVBS and S-Video inputs.
Additionally, it can provide field identification, horizontal and vertical lock, vertical blanking, and active
video window indication signals. The digital data output can be programmed to two formats: 20-bit 4:2:2
with external syncs or 10-bit 4:2:2 with embedded/discrete syncs. The circuit detects pseudo sync pulses,
AGC pulses and color striping in Macrovision-encoded copy protected material. Information present in the
VBI interval can be retrieved and either inserted in the ITU-R.BT656 output as ancillary data or stored in
an internal FIFO for retrieval via the I2C interface.
2.2.12x Decimation Filter
All input signals are typically oversampled by a factor of 4 (54 MHz). The A/D outputs first pass through
decimation filters that reduce the data rate to 1× pixel rate. The decimation filter is a half-band filter.
Oversampling and decimation filtering can effectively increase the overall signal-to-noise ratio by 3 dB.
SLES135C–FEBRUARY 2005–REVISED MAY 2010
2.2.2Composite Processor
The TVP5160 digital composite video processing circuit receives a digitized composite or S-Video signal
from the ADCs and performs 2D or 3D Y/C separation (bypassed for S-Video input), chroma demodulation
for PAL/NTSC and SECAM, and YUV signal enhancements.
2.2.3Color Low-Pass Filter
High filter bandwidth preserves sharp color transitions and produces crisp color boundaries. However, for
nonstandard video sources that have asymmetrical U and V side bands, it is desirable to limit the filter
bandwidth to avoid UV crosstalk. The color low-pass filter bandwidth is programmable to enable one of the
three notch filters.
Y/C separation may be done using 3D or 2D adaptive 5-line (5-H delay) comb filters or chroma trap filter
for both NTSC and PAL video standards as shown in Table 2-1. The comb filter can be selectively
bypassed in the luma or chroma path. If the comb filter is bypassed in the luma path, then chroma notch
filters are used. TI's patented adaptive comb filter algorithm reduces artifacts such as hanging dots at
color boundaries. It detects and properly handles false colors in high frequency luminance images such as
a multiburst pattern or circle pattern.
Table 2-1. Y/C Separation Support by Video Standard
Video Standard2D Y/C3D Y/C
NTSC-MYesYes
NTSC-JYesYes
PAL-B, D, G, H, IYesYes
PAL-NYesYes
PAL-MYesNo
PAL-NcYesNo
NTSC-4.43, PAL-60YesNo
SECAMNoNo
2.2.53D Frame Recursive Noise Reduction
www.ti.com
The TI proprietary frame recursive noise reduction or 3DNR reduces the level of noise in CVBS, S-Video,
or component inputs by comparing multiple frames of data and canceling out the resulting noise. The
3DNR utilizes the same frame buffer memory used by the 3DYC. The 3DNR may function concurrently
with 3DYC.
There are various modes of operation for the 3DNR and 3DYC:
The time base corrector monitors and corrects for horizontal PLL phase offsets up to ±80 pixels. This
improves video decoder output quality by removing artifacts due to jittery horizontal syncs from broadcast
stations. It also reduces line tearing during VCR trick modes such as fast forward and rewind. 3DYC,
frame recursive noise reduction (3DNR), and time base correction (TBC) can be used simultaneously or
independently. Since TBC does not require any external memory, it can be used in all configurations.
2.2.7IF Compensation
Attenuation of higher frequencies from the tuners input characteristics or due to channels that are not
correctly tuned can be corrected in the IF compensation block. This block can correct for uneven
sidebands resulting in incorrect and uneven UV demodulation.
The luma component is derived from the composite signal by subtracting the remodulated chroma
information. The luminance signal is then fed to the input of a peaking circuit. Figure 2-2 illustrates the
basic functions of the luminance data path. In the case of S-Video, the luminance signal bypasses the
comb filter or chroma trap filter and is fed to the circuit directly. A peaking filter (edge-enhancer) amplifies
high frequency components of the luminance signal. Figure 2-3 shows the characteristics of the peaking
filter at four different gain settings that are user-programmable by the I2C.
Figure 2-2. Luminance Edge-Enhancer Peaking Block
SLES135C–FEBRUARY 2005–REVISED MAY 2010
Figure 2-3. Peaking Filter Frequency Response NTSC/PAL ITU_R BT.601 Sampling
2.2.9Color Transient Improvement
Color transient improvement (CTI) enhances horizontal color transients. The color difference signal
transition points are maintained, but the edges are enhanced for signals which have bandwidth limited
color components.
An internal line-locked PLL generates the system and pixel clocks. A 14.31818-MHz clock is required to
drive the PLL. This may be input to the TVP5160 decoder at 1.8-V level on terminal 121 (XIN), or a crystal
of 14.31818-MHz fundamental resonant frequency may be connected across terminals 121 (XIN) and 122
(XOUT). If a parallel resonant circuit is used as shown in Figure 2-4, then the external capacitors must
have following relationship:
CL1= CL2= 2CL– C
where C
STRAY
specified by the crystal manufacturer. Figure 2-4 shows the reference clock configurations. The TVP5160
decoder generates the SCLK signal used for clocking data.
See crystal datasheet for correct loading specifications.
STRAY
is the pin capacitance with respect to ground, and CL is the crystal load capacitance
www.ti.com
NOTE
2.4Real-Time Control (RTC)
Note:The resistor (R) in parallel with the crystal is recommended to support a wide range of crystal types. A 100-kΩ resistor
may be used for most crystal types.
Figure 2-4. Reference Clock Configuration
Although the TVP5160 decoder is a line-locked system, the color burst information is used to accurately
determine the color subcarrier frequency and phase. This ensures proper operation with nonstandard
video signals that do not follow exactly the required frequency multiple between color subcarrier frequency
and video line frequency. The frequency control word of the internal color subcarrier PLL and the
subcarrier reset bit are transmitted via the terminal 83 (GLCO) for optional use in an end system (for
example, by a video encoder). The frequency control word is a 23-bit binary number. The instantaneous
frequency of the color subcarrier can be calculated from the following equation:
The TVP5160 input-to-output processing delay depends on the operating mode and the video standard.
When 3DYC is enabled, the processing delay is approximately 1 frame and 2-1/3 lines. When 3DYC is
disabled, the processing delay is approximately 2-1/3 lines.
www.ti.com
2.6Fast Switches for SCART and Digital Overlay
The TVP5160 decoder supports the SCART interface used mainly in European audio/video end
equipment to carry mono/stereo audio, composite video, S-Video, and RGB video on the same cable. In
the event that composite video and RGB video are present simultaneously on the video pins assigned to a
SCART interface, the TVP5160 decoder assumes they are pixel synchronous to each other. The timing for
both composite video and RGB video is obtained from the composite source and its derived clock is used
to sample RGB video as well. The fast-switch input pin allows switching between these two input video
sources on a pixel-by-pixel basis. This feature can be used to, for example, overlay RGB graphics for
on-screen display onto decoded CVBS video. The SCART overlay control signals (FSS) are oversampled
at 4× the pixel clock frequency. The phase of this signal is used to mix between the CVBS input and the
analog RGB inputs. This improves the analog overlay picture quality when the external FSS and analog
video signals are generated by an asynchronous source. The TVP5160 decoder has two programmable
delays for component video in order to compensate for composite comb filter delays and two
programmable delays for digital RGB to compensate AFE and decimation filter delays.
If the overlay output is digital supporting 8 colors of data, the TVP5160 decoder can take digital overlay
inputs using terminals C6, C7, and C8. For this mode, output must be the 10-bit ITU-R BT.656 mode.
Figure 2-6 shows the block diagram of two fast-switches.Table 2-4 shows the fast-switch 1 and 2 controls.
Figure 2-6. Fast-Switches for SCART and Digital Overlay
Table 2-4. Fast-Switch Modes
MODESDESCRIPTION
000CVBS ↔ SCART
001CVBS, S_VIDEO ↔ Digital overlay
010Component ↔ Digital overlay
011(CVBS ↔ SCART) ↔ Digital overlay
100(CVBS ↔ Digital overlay) ↔ SCART
101CVBS ↔ (SCART ↔ Digital overlay
110Composite
111No switching
Fast switching of digital RGB input: closed caption decoder output is digital RGB with blanking signal. The
TVP5160 decoder supports this digital RGB input and can do overlay with composite, S-Video, or
component video.
See TI application note SLEA016, TVP5146 SCART and OSD, for more information on SCART overlay
and digital overlay programming.
VS, HS, and VBLK are independently software programmable to a 1× pixel count. This allows any
possible alignment to the internal pixel count and line count. The default settings for a 525-line and
625-line video output are given as an example below. FID changes at the same transient time when the
trailing edge of vertical sync occurs. The polarity of FID is programmable by an I2C interface.