SAA7135 Single-chip, analog TV video/stereo decoder for worldwide PCI applications— with Dolby Pro Logic For multi-standard analog and hybrid TVs, the Philips SAA7135 integrates high-quality decoding of all analog video and stereo formats used in TVs worldwide. It gives manufacturers a low-BOM solution for new PCI products, and an efficient upgrade path for adding advanced audio features to existing SAA713x designs. Semiconductors Like other SAA713x single-chip TV decoders, the SAA7135 offers high-quality detection and decoding of all worldwide analog TV video standards. In addition, it decodes all worldwide TV stereo formats and supports advanced audio features, such as Dolby Pro Logic decoding, and more. The SAA7135’s flexible design, reusable components, and versatile external interfaces lower BOM and cost and support advanced TV decoder configurations. It gives manufacturers an ideal solution for adding robust multi-standard analog TV decoding to a wide variety of computing and consumer products. In addition, the SAA7135’s 100% pin compatibility with existing SAA713x decoders enables efficient reuse of existing SAA713x designs for more sophisticated markets or price points. Key features > Fully automatic standard detection and decoding of worldwide analog TV video formats (PAL, NTSC, and SECAM), and worldwide TV stereo formats (A2/Dual-FM, NICAM, BTSC with dbx™, SAP, EIAJ, and FM radio) > Advanced audio feature processing including Dolby® Pro Logic™ , Virtual Dolby Surround™, Philips Incredible Sound, and more > Supports simultaneous stereo decoding and adaptive 3D comb filtering (to enhance picture quality) > Certified three-level Macrovision ® detection circuitry > Captures raw VBI data (for Closed Captioning,Teletext, etc.) The SAA7135 delivers exceptional picture quality and advanced video features proven in other SAA713x devices: low-noise, highquality ADCs, an adaptive comb filter, and subpixel-accurate scaling. Certified three-level Macrovision detection circuitry ensures the video content’s original analog copy protection remains intact. Capture of transport streams from all digital TV broadcast standards supports hybrid TV designs; capture of MPEG datastreams from MPEG encoders supports time-shift applications. In PCI configurations, the SAA7135 takes full advantage of the streaming capabilities of PCs by outputting decoded video, audio,VBI, and transport streams through DMA bus-mastered writes across the PCI bus. Target applications > Superior subpixel-accurate horizontal and vertical scaling The SAA7135 is targeted for adding multi-standard analog TV > Outputs digital I2S audio and ITU-656 video decoding with robust audio features to computing and consumer > Captures transport streams from digital TV broadcasts and products such as desktop and portable PCs, hybrid TVs or set-top MPEG datastreams in time-shift applications > For PCI (Rev. 2.2, ACPI compliant) and standalone configurations boxes (cable, terrestrial, satellite), personal video recorders (with time shifting), DVD recorders, and more. SAA7135 Single-chip, analog TV video/stereo decoder for worldwide PCI applications—with Dolby Pro Logic Semiconductors Analog TV video processing Decode The SAA7135 decodes composite video into ITU-601 compatible Capture component color values. Its high-quality multi-standard adaptive Analog video is sampled through five video inputs, supporting any four-line comb filter performs best-in-class luma/chroma separa- combination of CVBS and S-Video signals.The SAA7135 auto- tion of CVBS signals from all sources, significantly reducing dot matically detects 50- and 60-Hz field frequencies and all analog crawl and enhancing image resolution and detail.The decoder standards (PAL, NTSC, and SECAM) used in TV broadcasts. integrates separate brightness-contrast-saturation circuitry for Video is digitized by sophisticated, low-noise nine-bit ADCs with CVBS, S-Video, and raw VBI samples, and hue control for CVBS built-in white and color peak control, clamping, and programmable and S-Video signals. gain control. 27-MHz oversampling, twice the ITU-601 standard, ensures an exceptional signal-to-noise ratio for maximum picture The SAA7135 supports fully automatic, three-level hardware clarity. Additional video capture features include: Macrovision detection with active-status interrupt. By ensuring > single crystal support for all video standards the content's original analog copy protection is still intact, > ultra-fast frame lock for fast input-switching in surveillance Macrovision prevents unauthorized recording of copyrighted applications and VCR fast search, shuttle, and freeze frame material transmitted through analog video outputs in applications > forced-field toggle for use with non-interlaced inputs to avoid such as time-shift or archive recording or large screen display. VCR ‘blue screen’ SAA7135 Conceptual Block Diagram SAA7135 five analog video inputs: CVBS, S-Video GPIO interrupt TS/MPEG CAPTURE (serial, parallel) ANALOG VIDEO INTERFACE PROGRAMMABLE I/O IRQ SELECTION/MAP VIDEO SCALER MATRIX & GAMMA digital audio I 2S FORMAT FORMAT DECODER COMB FILTER analog stereo to loopback cable or headphones AUDIO MUX DAC (2) PCI INTERFACE SOUND DECODER (BTSC+dbx, SAP, EIAJ, A2/Dual-FM, NICAM, FM,AM) AUDIO FEATURE PROCESSING (Dolby Pro Logic, Virtual Dolby Surround, Philips Incredible Sound, bass, treble, volume, balance,AVL) DMA 32 kHz, 44.1 kHz, 48 kHz FIFOs TS (digital TV) MPEG datastream ANALOG SIF/ AUDIO INTERFACE ADC TV sound (SIF) ANALOG AUDIO INTERFACE ADC (2) two analog audio stereo pairs ADC (2) analog audio pass-through PCI bus CLIPPING & FORMAT VIDEO PORT FORMAT CLOCK SYNC PROGRAMMING REGISTERS digital video, digital audio, control data digital video I 2C INTERFACE I2C control data, config data from EEPROM audio loop back cable audio loop back cable HYBRID TV CAPTURE/PVR PCI CARD audio I2 S CVBS S-Video SAA7135 ITU/VIP I 2C audio audio line-in audio line-in SOUND CARD SIF CVBS TV TUNER GRAPHICS CONTROLLER ITU/VIP VGA & FRAME BUFFER SAA7135 S-Video I2C EEPROM TS MPEG PS CVBS antenna or cable SOUND CARD I2C CHANNEL DECODER STANDALONE ANALOG TV GRAPHICS CARD MPEG-2 ENCODER SIF CVBS ATSC/DVB/ TV TUNER & BS-Digital INTERFACE antenna or cable AGP AGP PCI BUS NORTH BRIDGE digital video, digital audio, raw VBI, digital TS MEMORY NORTH BRIDGE CPU MEMORY PCI BUS CPU Typical SAA7135 configurations: a PCI add-in card for capture of live analog and digital TV video and audio (left), and a graphics card for analog TV capture (right). Scaling, matrix, clipping Stereo decoding and audio processing The SAA7135 incorporates an adaptive filter and circuitry to crop, scale, and reduce frame rate. It can peform horizontal or Capture and decoding vertical video down scaling or zooming to support playback win- The SAA7135 handles capture and on-chip decoding of stereo dows of any size.Two alternating settings for active video scaling formats used in analog TV including: BTSC with dbx noise reduc- support independent capture and preview definition. Adaptive tion and SAP (North America), EIAJ (Japan), and NICAM and A2/ anti-alias filters reduce board space, system costs, and external Dual-FM (Europe). After capture from the TV tuner through a components. Sound Intermediate Frequency (SIF) port, the TV sound signal is digitized and FM or AM demodulated.The audio standard is auto- Optional YUV-to-RGB and RGB-to-YUV matrices and a color matically detected, the pilot tone is investigated (mono, stereo, lookup table can be used to normalize ITU-standard color values dual), and the signal is decoded. to the full RGB range and apply gamma correction as needed to optimize screen contrast and color. A clipping unit allows defini- Two 16-bit audio ADCs support capture of audio signals from tion of overlay rectangles (for Video for Windows (VfW) legacy nonstandard sources such as video cameras,VCRs, and AM (mono) requirements) or assignment of alpha values to video pixels. or FM (stereo) radio through two stereo line-in inputs. The SAA7135’s analog audio pass-through enables an incoming audio Output signal to be rerouted without processing through an external Decoded, scaled video can be output in various YUV or RGB loop-back cable to a sound card. A field-locked audio clock sam- formats, including packed and planar, gamma-compensated or ples a constant number of audio clocks per video field, black-stretched.The video stream is transmitted through DMA guaranteeing synchronization between audio and video streams. writes across the PCI bus or through a digital video output port in standalone configurations. Advanced audio feature processing The SAA7135’s advanced, on-chip audio-feature processing improves user control and perceived audio quality. A Dolby Pro Logic decoder ‘unfolds’ four-channel Dolby Surround audio when it is present in VHS movies and TV broadcasts. A Virtual Dolby SAA7135 Single-chip, analog TV video/stereo decoder for worldwide PCI applications—with Dolby Pro Logic Semiconductors Surround algorithm emulates true surround sound formats and Time-shifting and digital video recording support effects when only two speakers are available. Philips Incredible In time-shift recording or personal video recording applications, Mono™ the SAA7135 supports capture of MPEG datastreams through a adds stereo-like sound impression to monaural audio signals. Philips Incredible Stereo™ glueless interface to a hardware MPEG encoder. Captured MPEG widens the stereo image, streams are written to system memory or a storage device. immersing the listener in the screen action. Additional on-chip audio features include volume, balance, bass/treble controls, and Versatile external interface automatic volume leveling (AVL). The SAA7135's flexible design, reusable components, and versatile Output external interfaces lower BOM and support advanced decoder Decoded digital audio is streamed across the PCI bus or output configurations. Such flexibility is made possible, in part, through a through the I2S port. Alternatively, it can be reconverted to analog set of 28 general purpose I/O (GPIO) pins, initially dedicated to (by on-chip stereo DACs) and rerouted through the loop-back interface with key onboard components to provide: cable to a sound card. > a digital video port > transport stream capture from a digital TV channel decoder VBI capture > MPEG datastream capture from an MPEG encoder The SAA7135 captures raw VBI samples to memory, making them > an I2S digital audio output port available for decoding by software components.The VBI sampling > peripheral interrupt input. rate can be adjusted as needed by the data slicing software. Supported VBI formats include Closed Captioning,Teletext,WST, GPIO pins can be reassigned if dedicated functions are not needed NABST, CGMS, and WSS. in a specific product configuration. In addition, unassigned pins can be utilized for GPIO under direct software control. Digital TV transport stream capture For hybrid TV applications, the SAA7135 supports capture of DMA and configurable FIFOs transport streams from digital TV broadcasts (ATSC, DVB or BS- In PCI configurations, the SAA7135 uses DMA bus-mastered Digital). After capture, transport streams are written to memory writes to output captured video, audio,VBI, and digital TV trans- across the PCI bus for demux and program stream decoding, port streams. Seven DMA channels share a common one-kB typically by software running on the system CPU. FIFO. The ability to define optimal burst length and FIFO capacity audio audio bus loop-back mastering SAA7130 SAA7133 SAA7134 SAA7135 ! ! ! ! ! ! ! mono FM-radio ! ! ! ! SAA713x Family Audio Feature Comparison ! A2/ Dual-FM NICAM ! ! ! ! BTSC (+ dbx) SAP EIAJ Incredible Mono Incredible Stereo ! ! ! ! ! ! ! ! Dolby Virtual Dolby Pro Logic Surround ! ! per DMA channel allows system designers to tailor and balance the latency behavior for each channel in a given application, adapting to actual conditions. Comprehensive software support and reference design The SAA7135 software development kit (SDK) supports a common code base for VfW and Windows Driver Model (WDM) architectures, reducing software maintenance and protecting software investments. The SDK is based on a Component Object Model (COM) interface; it includes sample code in Visual Basic Technical specifications and C++ and a description of the interface. PHYSICAL SAA7135 WDM driver support is provided for all DirectShow®- Package Power based applications. A WDM device driver kit (DDK) includes a plug-and-play driver, capture-driver installations, and documenta- Temperature Rectangular LQFP128; 128 pins supply 3.3 V consumption 1.35 W (typical application) 0 to 70 oC tion.The SAA7135 WDM driver is WHQL validated and is supported for Windows® 98/ME/2000/XP. The SAA7135 VfW STANDARD COMPLIANCE/CERTIFICATION PC driver is available for Windows 95/NT4. A BDA-compliant driver is included for digital TV applications. The SAA7135 also provides Meets Microsoft/Intel requirements for PC Design Guides 98/99 and 2001 PCI 2.2 and ACPI compliance (all 4 states) a custom API enabling development of specialized applications when published Windows APIs (WDM or VfW) are insufficient. ANALOG VIDEO SUBSYSTEM Input A comprehensive SAA713x Reference Design Kit enables system designers and hardware manufacturers to quickly evaluate SAA7135 features and develop single, half-size PCI designs for hybrid TV receivers.The Kit includes: > a reference PCI card with SAA7135 decoder, analog TV tuner, 32.11-MHz quartz crystal, I2C EEPROM > a board connector plate with TV connector, CVBS and S-Video inputs, audio input (line-in) and output (line-out) > an optional voltage regulator for improved video performance > the SAA7135 SDK and DDK > installation and user guides > board design, schematics, and Gerber files > video cables Five (5) analog input ports supporting any combination of CVBS (NTSC, PAL, SECAM), S-Video ADCs Two (2) 9-bit CMOS ADCs, 27-MHz oversampling Output via PCI YCbCr or RGB including packet and planar, gamma-compensated, or black stretched via digital video port (GPIO) ITU-656, YUV-VMI (8-bit), VIP 1.1 or VIP 2.0 (8- or 16-bit), ZV (16-bit), ITU-601 (16-bit) Sample rate 720 pixels/line (ITU 601) XTAL reference 32.11 or 24.576 MHz, supports all video standards Comb filter NTSC/PAL adaptive 4-line Y-C separation for all sources including broadcast and VCR Scaling Downscaling: horizontal, vertical, and by field rate Scalable from 10 taps H (for ratios close to 1:1) to 74 taps (icon-sized video) VBI formats Closed Captioning, Teletext, NABST, CGMS, WST, and WSS PCI output DMA writes to memory; dedicated channel with independent sample rate, adjustable by slicing algorithm Macrovision 3-level with active status interrupt; complies with Macrovision’s Copy Protection Detect Specification, Revision 1.00 SAA7135 Single-chip, analog TV video/stereo decoder for worldwide PCI applications—with Dolby Pro Logic www.semiconductors.philips.com Technical specifications (continued) AUDIO SUBSYSTEM I 2 C INTERFACE Input Modes One (1) analog SIF port Two pairs (2) analog stereo baseband inputs Output analog One (1) analog stereo port (for loop-back to sound card or local headphones) digital PCI bus or 2 I2S ports (GPIO) (up to 4 channels) Decode formats NICAM, A2/Dual-FM, BTSC (with dbx), SAP, EIAJ Sample rates 32 kHz, 44.1 kHz, 48 kHz Clocks Selectable: 768*fs, 512*fs, 384*fs or 256*fs 24.576 MHz to external audio reference clock Locked to video frame rate ADCs Two (2) 16-bit baseband audio One (1) 8-bit SIF, 24.576 MHz Audio features Dolby Pro Logic decoding, Virtual Dolby Surround, Philips Incredible Stereo, Philips Incredible Mono, volume, balance, bass, treble, and AVL Power Rates Bus-master interface, multi-master capable Slave interface 3.3 V and 5 V signal-level compatible Includes peripheral reset and power-down control 100 kHz and 400 kHz PCI BUS INTERFACE Compliance DMA channels Data types PCI specification, Rev. 2.2, 3.3-V signaling, 5-V tolerant Power Management Interface Specification, Rev. 1 including full Windows ACPI power down specification Six (6) master-write DMA channels sharing 1-kB configurable FIFO digital video, audio, raw VBI, TS (ATSC/DVB/ BS-Digital), and MPEG datastream GENERAL PURPOSE I/O Total pins Dedicated 28 Digital video output Serial or parallel TS from a channel decoder Peripheral interrupts Two (2) I2S ports DIGITAL TV SUPPORT TS input MPEG input (GPIO) serial or parallel TS (from a channel decoder) for all digital TV broadcast standards (GPIO) parallel MPEG datastream (from MPEG encoder) Philips Semiconductors Philips Semiconductors is a worldwide company with over 100 sales offices in more than 50 countries. For a complete up-to-date list of our sales offices please e-mail [email protected]. A complete list will be sent to you automatically.You can also visit our website http://www.semiconductors.philips.com/sales. © Koninklijke Philips Electronics N.V. 2002 SCL 76 All rights reserved. Reproduction in whole or in part is prohibited without the prior written consent of the copyright owner.The information presented in this document does not form part of any quotation or contract, is believed to be accurate and reliable and may be changed without notice. No liability will be accepted by the publisher for any consequence of its use. Publication thereof does not convey nor imply any license under patent- or other industrial or intellectual property rights. Date of release: December 2002 document order number: 9397 750 10349 Published in USA