2002 Apr 23
21
Philips Semiconductors
Product specification
PCI video broadcast decoder
SAA7130HL
7.3.3
S
UPPORTING
VfW
The traditional Video for Windows (VfW) interface is
supported for Windows 9x and for Windows NT4.0 (see
Fig.8). In both cases a 32-bit capture driver based on the
SAA713x user-mode API (34API.DLL) controls the video
functionality and the user-mode audio driver
implementation.
The capture driver supports direct draw surfaces for live
video and is able to capture video in packed data formats
and in planar formats. TV applications such as Intel
intercast and Philips teletext are supported by a private
VBI extension.
In the event that VfW has to be implemented as a 16-bit
interface under Windows 9x, a thunk layer is included for
connecting the 16-bit interface to the 32-bit capture driver.
Old 16-bit applications using VfW are still supported in this
way.
7.3.4
S
OFTWARE DEVELOPMENT KIT FOR CUSTOMER
RELATED APPLICATIONS
In addition to the capture driver, an Application
Programmers Interface (API) Dynamic Linked Library
(DLL) provides the whole range of functionality to control
the device (see Fig.9). This class library is built in c++ and
provides methods to:
Capture video into a fixed buffer (including clipping)
Capture video to a stream of buffers over VBI
Capture transport streams (MPEG data) from a channel
decoder chip (OFDM, VSB, QAM) for supporting digital
TV applications, or from an on-board MPEG encoder
chip that is fed by the video output port of the
SAA7130HL
Capture raw VBI sample stream to a stream of buffers
over the PCI-bus
Access to the I
2
C-bus master for controlling other
peripheral circuits.
The 34API transfers the device driver functionality through
a proxy interface to the user-mode. The proxy interface
adapts to the different kernel-mode implementations, so
that the common 34API can be used on all Windows
operating systems in the same way.
The SDK for the SAA7130HL contains the detailed
description of all software components such as API
documentation for streaming, tuner control, dialogues and
direct draw control.
The provided sample code will introduce the user into
working with this interface.
All necessary header and library files are provided.
VidCap
(WIN 9x)
34Vcap16.DLL
34Vcap32.EXE
VidCap32
(WIN NT4.0)
34W95.VxD
34API.DLL
34Vcap32.DLL
VBI extension for
intercast, CC, TXT
MHB994
Fig.8 VfW driver structure.
34WDM.SYS
34W95.VxD
34NT4.SYS
34API.DLL
34Vcap.DLL
MHB995
Fig.9 User program interface.