gory [oan Pa Ty >, 4 Winbond. Sy Electronics Corp. FEATURES QO) Integrated Video Graphics Controller 64-bit graphics engine Integrated video accelerator On-chip 24-bit true color RAMDAC with up to 135 MHz pixel clock rate On-chip clock synthesizers generating up to 135 MHz VCLK and 80 MHz MCLK ) Graphics Engine 64-bit graphics acceleration 8/16/24 bit-per-pixel true color acceleration Deep command queue to improve GE performance Bit block transfer between system memory and display memory HostBLT Pattern BLT Color/font expanding BLT Transparent BLT Color/font expansion Rectangle fill s 256 three-operand (source, pattern and destination) ROPs Bresenham line drawing Short stroke vector drawing Rectangle and line clipping 64 x 64 x 2 or 32 x 32 x 2 hardware cursor O Video Acceleration Video (YUV) and graphics (RGB) shared frame buffer architecture Two-dimensional bilinear interpolation scaling with 1-pixel resolution from 1x to 8x On-chip standard CCIR 601 YUV to RGB color space conversion Cropping window and filtering supports Hardware support for Microsoft DirectDraw feature set Double buffering and page flipping to prevent from tearing in image Transparent BitBLTs of sprites for game Preliminary -L- W9970CF Video Graphics Controller acceleration Color keying, chroma keying and window keying to overlay video and graphics streams s On-the-fly blending of video and graphics streams + Supports 2x scaling to allow 320x200 game image to be displayed at 640 x 480 full-screen resolution High-quality video playback requiring only 1 MByte DRAM in 1024 x 768 256-color mode + Dual hardware-accelerated video windows for video conference applications 1} Multimedia Video Interface Glueless MPEG-1 video decoder (W9920DPF) support for YUV 4:2:2 video input + Glueless TV decoder support for YUV 4:2:2, NTSC or PAL live-video input * Support for RGB 5:5:5, 5:6:5 or YUV 4:2:2 software CODEC video input Glueless support for 16-bit baseline VESA Advanced Feature Connector (VAFC) + Glueless support for 8-bit bidirectional pass-through VGA feature connector O Compatibility + 100% hardware compatible with IBM VGA standard + VESA BIOS extension support and VESA monitor timing compliant + Driver support for all major operating systems, such as Windows 3.1, Windows 95, Windows NT, and OS/2 Warp 3.0 QO System Bus Interface Glueless support for 32-bit PCI Local Bus Revision 2.1 specification + Zero-wait-state PCI burst mode support Linear addressing + Memory-mapped I/O QO Display Memory Interface + 64 or 32-bit DRAM interface in a 1, 2, or 4 MByte configuration + Flexible interface support for 128K x 8, 128K x 16, 256K x 4, 256K x 8, or 256K x 16 DRAMs March 1996W9970CF ATT i Winbond SE Electronics Corp. + EDO DRAM support, dual-CAS# and dual-WE# x16 * RAMDAC/clock synthesizers power management DRAMSs support Q Smart monitor contro! + Auto memory size detection and auto bank switching VESA-compatible DDC1 and DDC2 + Supports UMA (Unified Memory Architecture) to share frame buffer with system memory QO) Packaging C Green PC support + 208-pin PQFP package + VESA DPMS DRAM Display VAFC/Feature Connector Memory a foptionaty_____ fo Live-Video eH] Decoder Coptionaty MPEG-1 W9970CF LRGB Decoder popstar at <= BIOS oe 32 PCl Bus Figure 1. W9970CF System Application Diagram Preliminary -2- March 1996& Winbond EEE Electronics Corp. OVERVIEW The W9970CE Integrated Video Graphics Accelerator is a highly integrated product offered by Winbond to provide high-performance graphical user interface (GUD) acceleration and T'V-quality full-screen motion video acceleration for PCI Bus-based IBM PCs or their compatibles. An on-chip RAMDAC and dual programmable clock synthesizers with up to 135 MHz W9970CF interfacing to the Winbond W9920DF MPEG-1 video decoder and TV decoders such as the Philips pixel data rate are also integrated to simplify system MBytes of DRAM. design and reduce cost. The W9970CF is a high-performance graphics accelerator specially designed for the Microsoft Windows family, IBM OS/2, and DOS-based applications. Besides the 100% IBM VGA register- level compatibility, the W9970CF incorporates a 64- bit graphics engine (GE) to accelerate drawing functions such as bit block transfer (BitBLT), line SAA7110 and Brooktree Bt81S5A/7A/9A. The 16-bit baseline VESA Advanced Feature Connector (VAFC) and the 8-bit bidirectional IBM Feature Connector are also supported for legacy video applications. By performing scaling and color space conversion on the fly, the W9970CEF provides high-quality video playback in 1024 x 768 256-color mode with only 1 The integration of a GE, a VA, RAMDAC and dual drawing, clipping, and hardware cursor manipulation. The integrated video accelerator (VA) features high- quality video filtering, bilinear interpolation scaling along both the X and Y axes, color space conversion and overlay keying. In addition to accelerating software video playback, the W9970CF also provides clock synthesizers in one chip provides an all-in-one controller for graphics and video display subsystem. The flexible display memory interface design of the W9970CF allows system designers to select various types of DRAMs, including 128K x 8, 128K x 16, 256K x 4, 256K x 8, and 256K x 16 in either fast page or extended data out (EDO) modes. The W9970CF supports a glueless interface with the an advanced multimedia video interface for glueless 32 i PCI Bus 8 i BIOS ROM 32 64 Syst | Graphics Engine a Bus 8 DRAM 32/64 DRAM Interface| Controller Clock fe NCL Synthesizers - VCLK 32 64 a SVGA , 24 Monitor 32 RAMDAC =i ~| Video Accelerator 24 fo Multimedia Video Interface Preliminary Figure 2. W9970CF Block Diagram 32-bit PCI Local Bus. Green PC power manageinent is supported via VESA Display Power Management Signaling (DPMS) and power-down of the on-chip RAMDAC and clock synthesizers. The VESA DDC1L and DDC2 smart monitor control is also supported. -3- March 1996& Winbond EEE Electronics Corp. GRAPHICS ENGINE The 64-bit graphics engine (GE) is specially designed to improve the performance of applications such as Microsoft Windows and other graphical user interface software. Performance is enhanced by accelerating GUI functions such as BitBLTs, Bresenham line draw, and short stroke vector. The GE performs several types of BitBLTs, including HostBLT, pattern BLT, color/font expanding BLT, transparent BLT, color expansion, and rectangle fill, with 256 ROPS on source, pattern, and destination. The graphics engine operates at all pixel depths in enhanced modes, including 8/16/24 bit-per-pixel modes. A 64 x 64 x 2 or 32 x 32 x 2 hardware cursor, fully compatible with Microsoft Windows, is used to speed up cursor performance and accelerate all graphics operations by eliminating the CPU overhead associated with cursor manipulation. VIDEO ACCELERATOR The Video Accelerator is a high-quality video processor for enhancing and displaying video images. It not only accelerates software video playback but also facilitates the interface to MPEG-1 video decoders and TV decoders. The video accelerator employs back-end color space conversion and a scaling mechanisin (see Figure 3). Video and game-generated graphics frames are read from an off-screen buffer and sent to the overlay and blending control block as the secondary stream. Color space conversion and scaling are performed along the way. This on-the-fly video acceleration and overlaying ensure gaine and video playback at full speed. Color Space Conversion The built-in color space converter converts YUV format to 24-bit RGB format according to the CCIR 601-2 Recommendation. Down Scaling The down-scaling function is performed by dropping Preliminary -4- W9970CF pixels or lines. To support arbitrary scaling factors, the video accelerator uses a digital differential accuinulator (DDA) to drop pixels or lines smoothly. The scaling factor may range from 1/64 to 63/64. Scaling up by 2D Interpolation Rather than duplicating pixels or lines for enlargement, the video accelerator uses a 2-D bilinear interpolation algorithm to enhance the output for high-quality video display. The interpolation algorithm creates seven weighted, intermediate values between two original pixels or lines, which allows a maximum of 800% enlargement. For non-integer scaling, a 10-bit DDA with 1/1024 resolution is used to interpolate pixels by averaging. 2x Scaling The 2x scaling located in the RAMDAC is used to optionally scale up, both horizontally and vertically, by a factor of 2 for the overlaid data stream. This is used to scale 320 x 240 game-generated frames to full screen. Filtering The video accelerator provides horizontal RGB or YUV filtering to reduce noise and aliasing artifacts in the video data stream Cropping A rectangular cropping window is supported in the video accelerator for subsampling the incoming video data stream. Only video located in the cropping window can be stored into the off-screen buffer. Alpha Blending Alpha blending is supported for overlaying the primary streain and secondary stream. The alpha value can be | bit or 3 bits. The 1-bit alpha depth overlaying (also known as software key) is supported only for the pixel format of RGB 1:5:5:5, where the alpha bit value of 0 is transparent and value of 1 is opaque. An overlay control register specifies the 3-bit alpha value for the primary stream (Kp) and secondary stream (Ks). Note that Kp + Ks must be $ 8. The blending equation is [Pp x Kp + Ps x Ks]/8, where Pp March 1996& Winbond EEE Electronics Corp. is the primary stream pixel data and Ps is the secondary stream pixel data. Overlay Control The overlay controller provides control for overlaying of four input sources: the primary stream (normally the graphics data), secondary stream, blending stream, and FC/V AFC pass-through data stream. When the hardware cursor is active, it is overlaid on top of all streain images. The W9970CF supports a range of advanced forms of keying including window key, color W9970CF key, chroma key, software key (1-bit alpha overlaying in RGB 1:5:5:5 format), external key (FC/VAPC only), and a logic combination of these keys. Dual Video Windows Two video windows may be displayed on the monitor simultaneously. This makes W9970CF highly suitable for video conferencing applications. If the two video windows are placed at different scan lines, they can be scaled separately with different factors. 16 32 i __ICropping . 3204 CODEG Lal BD Host Data pf Geo vit pe! scaling pe! Fro [fe # HD Bus DRAM e146, YUV Bus Controller Line Butler 3264 _ 2-D Bilinear 8S Secondary witmose | | fe fesanas[ LT] ey Lt eee Video Interface RGB 6.8.8 FCMAFC - - ane Pri 7 a r ur oni o Le DAG rimary fi LUT _ ay Stream oer mm | Nsw! 24 24 MUX H/W Cursor * i Figure 3. Video Accelerator Block Diagram Preliminary -5- March 1996cits 3 Winbond a Electronics Carp. Headquarters: USA: Winbond Electronics Corp. Winbond Electronics No.4, Creation Rd. Ill North America Corp. Science Park, Hsinchu 2730 Orchard Parkway Taiwan, ROC San Jose, CA95134 T: 886 35 770066 T: 1 408 9436666 F: 886 35 792647 F: 1 408 9436668 WWW: www.winbond.com.tw Preliminary Taipei: 116/11F Ming Sheng E. Rd. Taipei, Taiwan ROC T: 886 2 7190506 F: 886 2 7197502 W9970CF Hong Kong: Winbond Electronics (H.K.] Ltd. Rm 803, World Trade Square, Tower Il Kowloon, Hong Kong T: 852 27616023 F: 852 27552064 March 1996