background image

 

Bt848 Software Specification

 

 7

 

UG848_3A

 

Bt848

 

DDI Interface

 

Software Specification

  

Brooktree

®

 

DDI Interface

 

Direct Draw Interface (DDI) is an extension to Microsoft Windows which allows direct access to
video and graphics hardware in order to accelerate such tasks as displaying decompressed video
under Video for Windows. It is ideally suited to provide direct access to the graphics frame buffer.

The central concept of the DDI interface is the “surface.” In general, a surface is an image plane

or buffer containing part of the display which is shown to the user. Each surface may have different
image or color-space formats; for example, one surface may contain 8 bpp RGB pixels while
another contains YUV 4:1:1 information. The Bt848 manages the necessary conversions before dis-
play. Several surfaces are combined into the final monitor image using either direct writing to the
frame buffer (primary surface) or by off-screen surface methods.

The Bt848 capture driver uses DDI to perform the task of displaying live video in a window.

The Bt848 driver has the option of moving the video image to the graphics frame buffer, or to the
host memory for later display.

 

Windows95 Plug and Play

 

As a PCI device, the Bt848’s configuration information is dynamically created at system start-up by
Windows95. The operating system can make dynamic changes to the installed hardware. This is all
accomplished through the Plug and Play Configuration Manager.

Bt848 driver is able to respond to the Windows95 Plug and Play Configuration Manager’s mes-

sages and to dynamically reconfigure the installed hardware as necessary. Under Windows95, a set
of API exist in the VxD that provide the interface for interacting with the Configuration Manager.

 

RISC Program

 

The Bt848 driver software generates a RISC program to fill requests from Video for Windows. All
RISC operations are internal to the driver and are triggered indirectly by VfW messages. The RISC
program software can generate all necessary command sequences to support video capture in all
formats, and preview in the RGB modes. The software also performs the necessary linear to physi-
cal address translations.

Bt848 driver supports complex clipping of graphics data. Based on a clip list from the DDI, the

driver generates the RISC program in such a way to block the video information in areas where
graphics are to be displayed instead. The PCI bus is not utilized when the video data is being
occluded.

The RISC program instructions reside in system memory. The VxD allocates a portion of con-

tiguous memory during initialization and uses it for the RISC commands. The amount of memory
required by the RISC instructions ranges from 3 to 12 K bytes.

Содержание Brooktree Bt848EVK

Страница 1: ...tly simplify our customers efforts to bring Bt848 based products to market The tools include software drivers and design documentation as well as a starting point for enhanced designs that incorporate...

Страница 2: ...Brooktree User s Guide Bt848EVK U G 8 4 8 _ 1 B...

Страница 3: ...products are not designed or intended for use in life support appliances devices or systems where malfunction of a Brooktree product can reasonably be expected to result in personal injury or death Br...

Страница 4: ...em Requirements 2 Compatible Graphics Boards 2 Installing the Bt848EVK Board 3 Video Source Installation 3 Bt848EVK Board Input and Output Connections 4 Installation of Application and Driver Software...

Страница 5: ...of Figures Figure 1 Bt848EVK Block Diagram 2 Figure 2 Cable Hookups 3 Figure 3 Bt848EVK Board Features 4 Figure 4 Software Hardware Relationships 5 Figure 5 Video Source Dialog Box 7 Figure 6 Video F...

Страница 6: ...crosoft Windows95 and Video for Windows Version 1 1e are required to operate the Bt848EVK software Refer to the Microsoft reference manuals if you are unfamiliar with either of these applications To i...

Страница 7: ...board used with the Bt848EVK board should include 1 MB of linear frame buffer and a hardware cursor The graphics driver software must be based on Windows95 and must include a Direct Draw Interface DDI...

Страница 8: ...Installation The Bt848EVK board is designed to interface directly to any video input device NTSC PAL SECAM composite and S Video ports are furnished for live video input A camcorder VCR or laserdisc m...

Страница 9: ...tware Refer to Installation Instructions provided in the kit Table 1 Functional Interface Descriptions Interface Function Description J5 PCI Local Bus Edge Card Connector J1 NTSC PAL SECAM Composite V...

Страница 10: ...relationships are illustrated in Figure 4 The items depicted in gray are supplied with your Bt848EVK kit Figure 4 Software Hardware Relationships VidCap VidEdit Media Player Microsoft Video for Windo...

Страница 11: ...ed individually In the case of real time capture it is possible that the time required to process a single frame may exceed the time for the source to reach the next frame making clear the advantage o...

Страница 12: ...hown in Figure 5 allows the user to specify NTSC PAL or SECAM as the video format The video source connector should be selected depending on whether the input is a TV signal Video Input 1 camera VCR l...

Страница 13: ...s the user to adjust the size of the source video display A basic screen size is selected after which the user can adjust the scaling by 1 8 1 4 1 2 or full size If for instance the playback in VidEdi...

Страница 14: ...Brooktree Hardware Reference Guide Bt848EVK U G 8 4 8 _ 2 A...

Страница 15: ...products are not designed or intended for use in life support appliances devices or systems where malfunction of a Brooktree product can reasonably be expected to result in personal injury or death Br...

Страница 16: ...sical Description 2 PCI Connection 3 Front Panel Connectors 4 Internal Connectors 5 GPIO 5 Internal Audio Out 6 Electrical Description 6 Front End Tuner Block 6 Physical Connections 6 Electrical Conne...

Страница 17: ...ption 8 Power Consumption 8 List of Figures Figure 1 Bt848EVK Board Block Diagram 2 Figure 2 Composite Video RCA jack 4 Figure 3 S Video 4 pin Mini DIN 4 Figure 4 NTSC PAL RF F connector part of the T...

Страница 18: ...composite NTSC PAL or SECAM video input is provided RCA connector One S Video Y C video input is provided 4 pin micro DIN connector One TV tuner input is provided The Bt848EVK board provides options f...

Страница 19: ...Bt848EVK The front panel of the board is connected to chassis ground The front panel connector contains four connectors that are described in the Front Panel Connector section There are two internal c...

Страница 20: ...A26 AD 7 J5 B53 AD 31 J5 B20 AD 6 J5 A54 AD 30 J5 A20 AD 5 J5 B55 AD 29 J5 B21 AD 4 J5 A55 AD 28 J5 A22 AD 3 J5 B56 AD 27 J5 B23 AD 2 J5 A57 AD 26 J5 A23 AD 1 J5 B58 AD 25 J5 B24 AD 0 J5 A58 AD 24 J5...

Страница 21: ...omposite Video RCA jack Figure 3 S Video 4 pin Mini DIN Figure 4 NTSC PAL RF F connector part of the TV tuner Figure 5 Audio Out Mini Stereo Phone Jack 1 2 3 1 Ground 2 Signal 3 Ground 1 Ground 2 Grou...

Страница 22: ...6 7 Connector Pin GPIO 23 HRESET J7 20 GPIO 22 VRESET J7 18 GPIO 21 HACTIVE J7 22 GPIO 20 DVALID J7 28 GPIO 19 CBFLAG J7 26 GPIO 18 FIELD J7 24 GPIO 17 VACTIVE J7 30 GPIO 16 VBISEL J6 22 GPIO 15 Y 7...

Страница 23: ...protrudes enough through the front panel to accomodate connection to mating connectors Electrical Connections There are five logical connections to the TV tuner and two or three power connections depe...

Страница 24: ...ected to MUX1 and the S Video input is connected to the MUX2 Video Output The video data is output by the Bt848 DMA controller over the PCI bus Clock The Bt848EVK accommodates NTSC or PAL SECAM video...

Страница 25: ...er TV Tuner Power The 12 VDC from the PCI bus is connected to the DC to DC converter that creates 30 VDC to 33 VDC at 2 0 mA maximum This output must not exceed 10 mV peak to peak ripple up to 500 KHz...

Страница 26: ...Brooktree Software Specification Bt848 U G 8 4 8 _ 3 A...

Страница 27: ...products are not designed or intended for use in life support appliances devices or systems where malfunction of a Brooktree product can reasonably be expected to result in personal injury or death Br...

Страница 28: ...1 Overview 1 Intended Audience 1 Driver Software Specification 1 Target Platform 1 Driver Software Suite 2 Video Capture Preview Driver 2 Previewing a Live Video Window 4 Hardware Interfaces 6 DDI Int...

Страница 29: ...iagram 3 Figure 2 Live Video in a Window Block Diagram 4 Figure 3 Bt848 Capture Driver Interfaces 6 Figure 4 Bypassing VfW to Access the I2 C and GPIO Ports 8 List of Tables Table 1 Bt848 Driver Softw...

Страница 30: ...port and uses the Microsoft Direct Draw Interface DDI to write video data directly to the graphics frame buffer The Bt848 driver software features Windows 95 compatibility High level control of Bt848...

Страница 31: ...dows standard Microsoft s Video for Windows interface completely defines the protocols and interface for video capture and video in a window support The performance of video in a window will depend on...

Страница 32: ...320 x 240 15 RGB15 555 320 x 240 15 Y8 Gray Scale 320 x 240 30 8 bit Dithered RGB 320 x 240 30 YUY2 YCrCb 4 2 2 320 x 240 24 UYVY by byte swapping BtYUV YCrCb 4 1 1 320 x 240 30 3 words pack 8 pixels...

Страница 33: ...rame rates up to 30 frames per second for preview applications however the actual frame rate will depend on the graphics card s DDI pro vider This is illustrated in Figure 2 Table 3 is a list of suppo...

Страница 34: ...the frame buffer DVM_FRAME Yes Allocate and free capture buffers on the cap ture device DVM_STREAM_ALLOCBUFFER Yes DVM_STREAM_FREEBUFFER Yes Prepare and unprepare buffers for streaming video capture...

Страница 35: ...mat bright ness hue etc The video scaler on the other hand will be programmed quite frequently to support video in a window functionality The scaler parameters will be changed every time the user has...

Страница 36: ...ynamically created at system start up by Windows95 The operating system can make dynamic changes to the installed hardware This is all accomplished through the Plug and Play Configuration Manager Bt84...

Страница 37: ...nd GPIO memory pointers After the Bt848 capture driver has been opened the application uses the VfW messaging system to send the specific messages The Bt848 capture then recognizes the messages and re...

Страница 38: ...Bt848 Software Specification 9 UG848_3A Bt848 Modifiable Dialog Boxes Software Specification Brooktree...

Страница 39: ...e Division Rockwell Semiconductor Systems Inc 9868 Scranton Road San Diego CA 92121 3707 619 452 7580 1 800 2 BT APPS FAX 619 452 1249 Internet apps brooktree com UG848_3A Brooktree printed on recycle...

Отзывы: