STPC Video Pipeline Driver Writer s Guide

Similar documents
Explorer Edition FUZZY LOGIC DEVELOPMENT TOOL FOR ST6

STEVAL-ISA001V1. 6W Dual Output Supply using VIPer12A. Features. Blue angel. Applications

Obsolete Product(s) - Obsolete Product(s)

GM69010H DisplayPort, HDMI, and component input receiver Features Applications

GM68020H. DisplayPort receiver. Features. Applications

GM60028H. DisplayPort transmitter. Features. Applications

AN555 APPLICATION NOTE AUTOMOTIVE PROTECTION WITH THE RBOxx SERIES

HCF4054B 4 SEGMENT LIQUID CRYSTAL DISPLAY DRIVER WITH STROBED LATCH FUNCTION

STEVAL-CCH002V2. HDMI and video switches demonstration board. Features. Description

STi5105 High-performance advanced SD decoder for set-top box Features

HCF4027B DUAL J-K MASTER SLAVE FLIP-FLOP

TA0311 TECHNICAL ARTICLE High Temperature Electronics 1 Introduction 2 Why the need for high-temperature semiconductors?

HD1530FX. High Voltage NPN Power Transistor for High Definition and New Super-Slim CRT Display. Features. Applications. Internal Schematic Diagram

L CHANNEL LOW POWER PREAMPLIFIER

AN442 APPLICATION NOTE

L7208. Portable consumer electronics spindle and VCM motor controller. General features. Spindle driver. Description. VCM driver.

AN2056 APPLICATION NOTE

STA2051E VESPUCCI 32-BIT SINGLE CHIP BASEBAND CONTROLLER FOR GPS AND TELEMATIC APPLICATIONS 1 FEATURES. Figure 1. Packages

Obsolete Product(s) - Obsolete Product(s)

Obsolete Product(s) - Obsolete Product(s)

STEVAL-ILL015V1. High brightness RGB LED array with LED error detection based on the STP24DP05 and STM32. Features. Description

SPC564A80CAL176 SPC564A70CAL176

STEVAL-IHM008V1. BLDC & AC motor control Power board SEMITOP 2 1kW. Features. Applications

STEVAL-SPBT2ATV2. USB Dongle for the Bluetooth class 2 SPBT2532C2.AT module. Features. Description

STEVAL-ILL029V1. Front panel demonstration board based on the STLED325 and STM8S. Features. Description

HCF40193B PRESETTABLE UP/DOWN COUNTERS (DUAL CLOCK WITH RESET) BINARY TYPE

ROBOT-M24LR16E-A. Evaluation board for the M24LR16E-R dual interface EEPROM. Features. Description

STEVAL-ICB004V1. Advanced resistive touchscreen controller demonstration board based on the STMPE811. Features. Description

STEVAL-IHM043V1. 6-step BLDC sensorless driver board based on the STM32F051 and L6234. Features. Description

PRODUCT TERMINATION NOTIFICATION

AN1185 APPLICATION NOTE Designing for Compatibility between ST and AMD NOR Flash Memories

TDA2320 PREAMPLIFIER FOR INFRARED REMOTE CONTROL SYSTEMS

STEVAL-ILL037V1. Demonstration board for the HVLED805 IC for LED power supply. Features. Description

STEVAL-ISB008V1. Standalone USB Li-Ion battery charger demonstration board based on the STw4102 and STM32F103C6. Features.

Obsolete Product(s) - Obsolete Product(s)

TEA6425 VIDEO CELLULAR MATRIX

March 2012 Doc ID Rev 1 1/4

STEVAL-CCM003V1. Graphic panel with ZigBee features based on the STM32 and SPZBE260 module. Features. Description

STEVAL-IHM024V W 3-phase inverter using the L6390 and STGDL6NC60DI for vector control. Features. Applications. Description

Multi-channel LED driver with integrated boost controller for medium, large LCD panel backlight based on LED7708 and STM32F103C6T6A

STEVAL-ILH004V1. 70 W electronic ballast for metal halide lamp (HID) based on the L6382D5 and ST7FLITE49K2. Features. Description

EVALPM8803-FWD. EVALPM8803-FWD: IEEE802.3at compliant demonstration kit with synchronous active clamp forward PoE converter. Features.

STTH8003CY HIGH FREQUENCY SECONDARY RECTIFIERS MAJOR PRODUCTS CHARACTERISTICS. 2x40 A 300 V. V F (max) FEATURES AND BENEFITS

STEVAL-IFN003V1. PMSM FOC motor driver based on the L6230 and STM32F103. Features. Description

BUL1203EFP HIGH VOLTAGE FAST-SWITCHING NPN POWER TRANSISTOR

Obsolete Product(s) - Obsolete Product(s)

STEVAL-IME002V1. Multi-lead electrocardiogram (ECG) and body impedance demonstration board. Features. Description

STEVAL-ILL043V1. High end, 75 W high power factor flyback LED driver based on the L6562A with two dimmable strings. Features.

Obsolete Product(s) - Obsolete Product(s)

BYT230PIV-1000 BYT231PIV-1000

Order code Package Connection. SPDC400FC12M0.60 Open frame Comb. October 2007 Rev 1 1/9

STDP4020. DisplayPort receiver. Features. Applications

STV6110A. 8PSK/QPSK low-power 3.3 V satellite tuner IC. Description. Features

STEVAL-MKI126V2. MEMS microphone system evaluation board based on the STA321MPL and MP34DB01. Description. Features

STEVAL-MKI126V3. STSmartVoice demonstration board based on MP34DT01. Description. Features

STEVAL-ILH005V W electronic ballast for HID lamps based on the L6562A and ST7LITE39F2. Features. Description

Symbol Parameter Value Unit V CES Collector-Emitter Voltage (V BE = 0) 700 V V CEO Collector-Emitter Voltage (I B = 0) 400 V Emitter-Base Voltage

EMIF QCF 4 LINE LOW CAPACITANCE EMI FILTER AND ESD PROTECTION IPAD

EVAL-RHF1009A. EVAL-RHF1009A product evaluation board. Description. Features

PRODUCT INFORMATION LETTER

Obsolete Product(s) - Obsolete Product(s)

STDP2650 Advanced DisplayPort to HDMI converter Features Applications

STEVAL-IHM021V W, 3-phase inverter based on the L6390 and UltraFASTmesh MOSFET for speed FOC of 3-phase PMSM motor drives. Features.

Obsolete Product(s) - Obsolete Product(s)

MEMS Module STMEMSDQ-EVAL1

UHF, EPCglobal Class-1 Generation-2, Contactless Memory Chip 432 bit with Multi-session Protocol, Anti-collision and Kill functions

Obsolete Product(s) - Obsolete Product(s)

STEVAL-IHM025V1. 1 kw 3-phase motor control demonstration board featuring the IGBT SLLIMM STGIPL14K60. Features. Description

BUL128 HIGH VOLTAGE FAST-SWITCHING NPN POWER TRANSISTOR

STM32-PRIMER/LAB. Raisonance EvoPrimer-LAB to monitor STM32 applications and standalone STM32 Flash programming. Features

AN2421 Application note

2 x 58 W high frequency ballast for T8 fluorescent tubes based on L6562A, L6569, and STL11NM60N in PowerFlat HV package

STEVAL-IKR001V7D. Sub Ghz transceiver daughterboard with power amplifier based on the SPIRIT1. Features. Description

STANC0. Stereo HD-PA digitally programmable active noise cancelling audio engine. Features. System. Input and output.

Obsolete Product(s) - Obsolete Product(s)

DB W. 60W / 26V / MHz PA using 1x PD57070S The LdmoST FAMILY. General Features. Description. Order Code

PRODUCT/PROCESS CHANGE NOTIFICATION

Obsolete Product(s) - Obsolete Product(s)

Obsolete Product(s) - Obsolete Product(s)

TN0885 Technical note

Obsolete Product(s) - Obsolete Product(s)

8-BIT MCU WITH SINGLE VOLTAGE FLASH MEMORY, DATA EEPROM, ADC, TIMERS, SPI

STEVAL-TDR007V1. 3 stage RF power amplifier demonstration board using: PD57002-E, PD57018-E, 2 x PD57060-E. Features. Description

Main components Proximity and ambient light sensing (ALS) module

UM0534 User manual. STEVAL-MKI014V1 demonstration kit for the LIS344ALH. Introduction

Troubleshooting Analog to Digital Converter Offset using a Mixed Signal Oscilloscope APPLICATION NOTE

Obsolete Product(s) - Obsolete Product(s)

FLI30x02 Single-chip analog TV processor Features Application

DESCRIPTION High voltage Schottky rectifier suited for SLIC protection during the card insertion operation. SOT-23 (Plastic)

STEVAL-CCA043V1. 25 Watt mono BTL class-d audio amplifier demonstration board based on the TDA7491MV. Features. Description

STTH302 HIGH EFFICIENCY ULTRAFAST DIODE MAIN PRODUCT CHARACTERISTICS I F(AV) 3A 200 V Tj (max) 175 C

M24SR-DISCOVERY. Discovery kit for the M24SR series Dynamic NFC/RFID tag. Features

Technical Article. TD350 IGBT driver IC including advanced control and protection functions. Introduction. Device description

IEC compliant smart meter system for AMI applications based on STM32, ST7570 PLM, and STPMC1/STPMS1 chipset

Obsolete Product(s) - Obsolete Product(s)

STV6417 R/C/Pr, G/C, B/Pb Switches + Filter. C, Y, CVBS/Y Switches + Filter. Audio Switches Volume Control AUDIO R SLOW BLANK

EVLHVLED815W8CV. 8 W - high power factor - constant voltage regulation based on HVLED815PF. Features. Description

Obsolete Product(s) - Obsolete Product(s) UM0223 User manual STEVAL-IFS001V1 evaluation kit with MEMS Introduction

AN3075 Application note

M24LR04E-R, M24LR16E-R, M24LR64E-R Errata sheet

Transcription:

STPC Video Pipeline Driver Writer s Guide September 1999 Information provided is believed to be accurate and reliable. However, ST Microelectronics assumes no responsibility for the consequences of use of such information nor for any infringements of patents or other rights of third parties which may result from its use. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics Technoparc du Pays de Gex - B.P. 112 165, rue Edouard Branly 01630 Saint Genis Pouilly (France) 1/9

2/9

Introduction...5 Setting up of source parameters...5 Video Pipeline window location...5 Set up scale register...6 Set up the displaying parameters...6 5.1. INPUT FORMAT..................................................... 6 5.2. VERTICAL FLIP OF THE IMAGE....................................... 6 5.3. MIX MODE......................................................... 6 Scaler Interpolator...7 Enable and Disable Video Pipeline...7 Use Video Pipeline in Combination with other Hardware...7 Glossary...8 3/9

4/9

1. INTRODUCTION STPC Video Pipeline Driver Writer s Guide The STPC Video Pipeline is a video overlay which takes one 2D surface from the Frame Buffer area of the Unified Memory Architecture to mix it in real time with the VGA screen. Video Pipeline is usually used to display video on screen but can be use to display any type of static or dynamic image in one of the following supported formats. The Video Pipeline supports both 16 bits per pixel RGB format used for graphics and YUV422 format used for video. The Video Pipeline can mix the input image with the graphic screen using the Colorkey method (a specific color in graphic screen is replaced by video) or the Chroma Key method (a specific range of colors in the video is replaced by the graphic screen). The Video Pipeline can scale the input image before mixing it with the graphic screen. The current version of the Video Pipeline only supports up scaling. To preserve the input image quality, special interpolations can be used to replace the missing pixels by pixel replication. 2. SETTING UP OF SOURCE PARAMETERS The Video Pipeline gets data from memory using 4 registers: The Source Base Address Register The Source Pitch Register The Source Width Register The Source Height Register The Base Address corresponds to the offset in the Frame Buffer of the first pixel of the display. The Pitch corresponds to the number of Bytes to go from the first pixel of one line to the first pixel of the next line. The Width and Height Regiters correspond to the number of pixels to display. When modifying the source or the destination size, the Scale Register has to be adjusted as described in Section 4. 3. VIDEO PIPELINE WINDOW LOCATION Four registers describe the location of the Video Pipeline window on screen: Destination X, Y Register and Destination Width and Height Registers. After modifying Destination Width and Height Registers, the Scale Register has to be refreshed as described in Section 4. 5/9

4. SET UP SCALE REGISTER After modifying Source or Destination size, the Scale Register has to be updated using this formula: Horizontal scale value = (Source Width * 4096) / Destination Width Vertical scale value = (Source Height * 4096) / Destination Height 5. SET UP THE DISPLAYING PARAMETERS 5.1. INPUT FORMAT Video Pipeline can display 3 formats of input pixels using 16 bits per 1 pixels: RGB555: the 5 first pixels describe the red value, 5 next pixel the green value, 5 next pixels the blue value and the last pixel is unused RGB565: the 5 first pixels describe the red value, 6 next pixel the green value, 5 last pixels the blue value YUV422: this format uses 2 consecutive 16 bit values to describe 2 pixels, in the following this way: First 8 bits = Y1 value Next 8 bits = U value Next 8 bits = Y2 value Next 8 bits = V value The first pixel uses this setting: Y1UV The second pixel uses this setting: Y2UV This means that two consecutive pixels use the same U and V component (chrominance) and only the Y value (luminance) changes. The input pixel format is set up in Source Pitch Register bit 12 and 13 and the color space converter has to be enabled in Color Space Converter Register in the case of YUV format. 5.2. VERTICAL FLIP OF THE IMAGE Bit 11 of the Source Pitch Register can be put to 1 to flip image in vertical direction. In this case, the Source Base Address has to be put at the bottom of the source image instead of the top. 5.3. MIX MODE The Mix Mode Register defines the way the Video Pipeline image is mixed with the VGA screen. In video only mode, all the surface of the Video Pipeline image is displayed and replaces the VGA screen pixels. In Color Key mode, only a specific color of the VGA screen (set in the Color Key 6/9

Register) is replaced by Video Pipeline pixels. In Chroma Key mode, only Video Pipeline pixels included in a range of RGB or YUV value are displayed and VGA screen pixels are keeped for the non matching values. 6. SCALER INTERPOLATOR The Video Pipeline provides filters to smooth the displayed image after zooming. This filter can be enabled or disabled with bit 19 and 20 of Horizontal and Vertical Scale Register. 7. ENABLE AND DISABLE VIDEO PIPELINE The Video Pipeline can be enabled or disabled using the bit 31 of the Status Register. 8. USE VIDEO PIPELINE IN COMBINATION WITH OTHER HARDWARE The Video Pipeline can display graphics data stored in the Frame Buffer. This graphic data can come directly from the Video Input Port and display the video, from the CPU or from the Graphic Engine (2D accelerator) to display an image. To use all the functionalities of the Graphic Engine like transparency feature, the image needs to be in RGB656 format, similar to the graphics data. 7/9

9. GLOSSARY Frame Buffer : The Frame Buffer is an area of memory reserved for graphics and video. This area can be set between 128Kb to 4Mb of memory and the Graphics Engine can work only in this area. Frame Buffer memory is equivalent to a video memory in a none UMA architecture. Host memory : Host memory correspond to the system memory, visible by the operationg system. Data Port : The Data Port FIFO is used to send data to the Graphics Engine when this data is not directly accessible. The Data Port FIFO is mapped in memory and is accessible using a physical memory address in the Graphics Engine area. Pixel depth : The pixel depth is the number of Bytes for one pixel of a graphics area. The pixel depth defines the number of colors managed in this area. Unified Memory architecture : Unified Memory Architecture (UMA) is a memory architecture where system memory, graphics memory and video memory is physically grouped inside same memory chip, using the same memory bus. CRTC : The Cathodic Ray Tube Controller get data from the Frame Buffer to display them on a monitor or a TV. Video Pipeline : Video overlay used to display video on screen. Video Input Port : Video input used to capture a video stream inside the Frame Buffer. Bitblit : Operation of image (rectangle area) copied inside memory. 8/9

Information furnished is believed to be accurate and reliable. However, STMicroelectronics assumes no responsibility for the consequences of use of such information nor for any infringement of patents or other rights of third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of STMicroelectronics. Specifications mentioned in this publication are subject to change without notice. This publication supersedes and replaces all information previously supplied. STMicroelectronics products are not authorized for use as critical components in life support devices or systems without express written approval of STMicroelectronics. 1999 STMicroelectronics - All Rights Reserved The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. STMicroelectronics GROUP OF COMPANIES Australia - Brazil - China - France - Germany - Italy - Japan - Korea - Malaysia - Malta - Mexico - Morocco - The Netherlands - Singapore - Spain - Sweden - Switzerland - Taiwan - Thailand - United Kingdom - U.S.A. 9