Imperx VCE-PRO User manual

Imperx, inc. DOC-0013-0002
6421 Congress Ave Ste. 204 Rev. RA02
Boca Raton, FL 33487 USA 02/11/04
CONFIDENTIAL & PROPRIETARY
Page 1 of 44
VCE-PROTM
User’s Manual
CONFIDENTIAL NOTICE:
Copyright ©2004, Imperx, Inc. All rights reserved.
Any unauthorized use, duplication or distribution of this document or any part thereof,
without the prior written consent of Imperx Corporation is strictly prohibited.

Revision History
RA01 Feb-04-2004 J. Egri Initial Release to PDM system
RA02 Feb-11-2004 J. Egri Changed ‘Software Suite’ section
Page 2 of 44

Table Of Contents
CHAPTER 1 - INTRODUCTION..............................................................................................................................5
VCE-PRO..................................................................................................................................................................6
WHAT YOU NEED TO GET STARTED...........................................................................................................................11
INSPECTING THE VCE-PRO PACKAGE .....................................................................................................................12
CHAPTER 2 – HARDWARE INSTALLATION...................................................................................................13
CHAPTER 3 – SOFTWARE INSTALLATION ....................................................................................................14
SOFTWARE SUITE .....................................................................................................................................................14
SOFTWARE INSTALLATION FROM CD.......................................................................................................................15
SOFTWARE UPGRADE FROM WEB SITE.....................................................................................................................17
FIRMWARE UPGRADE FROM WEB SITE.....................................................................................................................19
CHAPTER 4 – USING THE VCE-PRO..................................................................................................................20
RUNNING THE VCE-PRO APPLICATION...................................................................................................................21
MAIN WINDOW ........................................................................................................................................................22
CONTROL PANEL......................................................................................................................................................25
PLAYER CONTROL....................................................................................................................................................35
PLAYER DIALOG.......................................................................................................................................................37
CHAPTER 5 – ELECTRICAL INTERFACES......................................................................................................38
VIDEO CONNECTOR..................................................................................................................................................39
EXTERNAL TRIGGER CONNECTOR............................................................................................................................41
PCMCIA/CARDBUS CONNECTOR ............................................................................................................................43
CHAPTER 6 - SPECIFICATIONS..........................................................................................................................44
Page 3 of 44

Illustrations
Figure 1 – VCE-PRO Block Diagram ...........................................................................................................................8
Figure 2 – EEPROM Programming In System............................................................................................................10
Figure 3 – VCE-PRO video – mating plug..................................................................................................................39
Figure 4 – VCE-PRO External Trigger – mating plug ................................................................................................41
Figure 5 – External trigger schematic..........................................................................................................................42
Tables
Table 1 – Video decoder pixel data...............................................................................................................................9
Table 2 – VCE-PRO Image data mapping into memory...............................................................................................9
Table 3 – VCE-PRO-F Connector Pin-out..................................................................................................................40
Table 4 – Cardbus Connector Pin-out..........................................................................................................................43
Page 4 of 44

Introduction
This chapter outlines the key features of the Imperx VCE-PRO card.
Page 5 of 44

VCE-PRO
The VCE-ANCB frame grabber is a TYPE II PC Card with both an analog
video interface and Cardbus interface. It provides the ability to capture
analog NTSC/PAL video data from either a CVBS or S-Video source and
transfer that data to host memory via a Cardbus ( PCI ) interface.
Functionality
• Provides two composite or S-Video inputs.
• Captures video data from standard NTSC, PAL or SECAM
analog sources, formats this data and stores it into local SDRAM.
• Retrieves the formatted data from the SDRAM and transfers it into
host memory via scatter/gather DMA over the Cardbus.
• Provides a hardware based scaler function which can scale the
image size to 100%, 50% , 25% or a user defined scaling factor.
Since the scaling is performed on the card, less Cardbus bandwidth
is required to transfer the image to host memory.
• VCE-PRO is capable of saving images to disk as either BMP,
JPEG or AVI files.
• Provides an internal triggering capability that can qualify image
capture based on time as specified by the user.
• Provides an external triggering capability that can qualify image
capture based on external signals.
• Automatically overlays the captured image with a date stamp, time
stamp or user text.
• Provides adjustable image brightness, contrast, hue and saturation.
Interfaces Analog interface
The VCE-PRO provides two CVBS ( composite ) or two S-Video inputs
using either a set of stereo phono-jacks ( model VCE-PRO ) or a 15 pin
connector ( model VCE-PRO-F ).
Page 6 of 44

PCMCIA/CardBus interface
The VCE-PRO card complies with the TYPE II PC Card package
dimensions as defined in the PC Card Release 8.0 Standard. The VCE-
PRO includes a 30mm x 10mm extension area, used to house the
stereo phono-jack connectors. The VCE-PRO-F version does not include
the extension area.
The VCE-PRO provides a 33 MHz 32 bit PCI Master/Target interface
( Cardbus ) compliant with the PC Card Release 8.0 specification. This
interface provides a single ‘function’, as defined in the Cardbus
specification. The design does not support any memory mapped or I/O
mapped peripherals on card. Access to the VCE-PRO’s SDRAM devices
is achieved through DMA operations that move the data from the SDRAM
into host memory. The host cannot directly access the contents of the
SDRAM. The design supports host access into configuration registers,
DMA registers, local registers and CIS data via configuration space
accesses.
Page 7 of 44

A functional block diagram of the VCE-PRO card is illustrated in
Figure 1.
FPGA
ACEX EP1K100
BGA-256
SDRAM
4Mx32
BGA-90
SDRAM
4Mx32
BGA-90
Philips
SAA7115
Video
Decoder
CVBS0/Y0
CVBS1/Y1
C0
CardBus
Connector
68-pin Female
Y8
8
3
i2c_SCL
i2c_SDA
Cr/Cb
Strobes
Clk
Configuration
EEPROM
EPC2
ByteBlaster
Programming
Header
OSC
66Mhz
3V-to-2.5V
converter
SoftStart
32-bit PCI
Master/Slave
Trigger
Detector
15 Pin
Connector
( VCE-PRO-F
version )
C1
Stereo
Phono-Jacks
( VCE-PRO
version )
OR
Figure 1 – VCE-PRO Block Diagram
Page 8 of 44

Video Capture The video capture engine is responsible for receiving video pixel data and
qualifiers from the on-board video decoder chip, formatting the data and
transferring it into on-board memory. The data that it receives from the
video decoder is 4:2:2 YCrCb data formatted per Table 1. The video
decoder delivers 8 bits of Luminance data ( Y ) and 8 bits of Chrominance
data ( Cr/Cb ).The video capture engine translates this data into longwords
( 32 bits ) as defined in Table 2. This format reflects how the data will
appear in host memory. The module packs two pixels into each longword
in order to use the Cardbus bandwidth more efficiently and conserve
memory space.
H-Port I-Port
d15 d14
d13
d12
d11
d10
d9 d8 d7 d6 d5 d4 d3 d2 d1 d0
Cr/Cb ( chrominance ) Y ( luminance )
Table 1 – Video decoder pixel data
d31 d30 d29 d28
d27 d26 d25 d24 d23
d22 d21 d20 d19 d18 d17 d16
d15 d14
d13
d12
d11
d10
d9 d8 d7 d6 d5 d4 d3 d2 d1 d0
Cr/Cb-pixel2 Y-pixel2 Cr/Cb-pixel1 Y-pixel1
Table 2 – VCE-PRO Image data mapping into memory
Pixel Buffering The pixel data formatted by the video capture engine is stored into two
on-board 4Mx32 SDRAM devices. This memory serves as a local store for
formatted video pixel data. Each SDRAM will buffer a single frame’s
worth of data, supporting a maximum frame size of 8 million pixels/frame.
The SDRAMs are managed by an independent pair of controllers,
implemented in the FPGA, supporting concurrent operation. The two
SDRAMs are utilized in a ping-pong fashion such that while one is being
filled with new pixel data, the other is being emptied via DMA into host
memory.
DMA The DMA engine is responsible for reading formatted pixel data from the
on-board SDRAM devices and transferring them into host memory via the
Cardbus interface. An intelligent scatter-gather method is utilized,
providing for an efficient use of the Cardbus bandwidth. The use of non-
contiguous 4Kbyte buffers provides support for the Windows operating
system’s memory allocation model.
Page 9 of 44

FPGA The heart of the VCE-PRO is a dense Field Programmable Gate Array
( FPGA ). This FPGA implements all of the functions related to video
data capture, storage and DMA. The firmware contents of the FPGA can
be upgraded while in the field by following the instruction outlined in
Section 3 of this document entitled ‘Firmware Upgrade from Web Site’.
In System Programming:
The VCE-PRO design supports ISP programming during operation. This
capability is useful when the FPGA code needs to be upgraded and the
unit is at a remote customer location. The programming is accomplished
using a JamPlayer utility, which runs on the host PC. The JamPlayer
utility downloads a new FPGA image into the EEPROM via the Cardbus
interface. The FPGA provides a set of I/O pins which are connected to the
EEPROM’s JTAG interface. The JamPlayer utility toggles these I/O pins,
which are mapped into a register in configuration space, and thus can
communicate with the EEPROM’s JTAG controller and affect a
programming operation.
Configuration
EEPROM
FPGA Cardbus
Connector
I/O
I/O
I/O
I/O
TCK
TMS
TDI
TDO
ISP
TCK
TMS
TDI
TDO
Cardbus
Interface
Not
Used
PC
w/JamPlayer
VCE-PRO Card
Figure 2 – EEPROM Programming In System
Page 10 of 44

What you need to get started
To begin using the VCE-PRO card, you need the following:
• A computer with a PCMCIA slot that is Cardbus compliant.
• Microsoft Windows XP or 2000 software.
• A computer with a relatively up to date Cardbus-to-PCI chipset
( sometimes referred to as a ‘Cardbus Controller’ ). You can determine
which chipset your laptop uses by looking in:
Control Panel – System – Hardware – Device Manager – PCMCIA
Adapters
These chipsets are recommended because they generally offer better
performance in terms of DMA transfer rates:
TI PCI-1520
TI PCI-4510
These chipsets are discouraged because of their poor DMA
performance:
O2 Micro OZ6912
TI PCI-1225
• A computer with at least 256M bytes of RAM.
• A CD drive, and a hard disk on which to install the VCE-PRO
software.
Page 11 of 44

Inspecting the VCE-PRO package
When you unpack your VCE-PRO package, you should visually inspect
all of its contents. If something is missing or damaged, contact your
Imperx representative.
Package contents
You should have received the following items:
• The VCE-PRO PCMCIA card
• A phono-plug to S-Video cable ( VCE-PRO )
• A 15-pin plug to S-Video cable ( VCE-PRO-F )
• An S-Video to RCA cable
• A CD with the VCE-PRO software suite
• A ‘Quick Start’ installation guide
• A ‘User’s Manual’ ( this document )
Page 12 of 44

Hardware Installation
Installing the VCE-PRO card is as simple as plugging it into an available
PCMCIA slot on your computer.
Page 13 of 44

Software Installation
This chapter explains how to install the VCE-PRO software.
Software Suite
The VCE-PRO software suite consists of the following files:
Windows 2000 and XP application files:
VCEANCB.dll - VCE-PRO library
ijl15.dll - Intel JPEG encoding/decoding library
console.exe - console program ( for debug purposes )
VCEANCB.exe - VCE-PRO main application
vceancb.chm - VCE-PRO help file
Windows 2000 and XP driver files:
vceancb.sys - VCE-PRO Win2000/XP driver file
vceancb.inf - VCE-PRO Win2000/XP driver info file
WDM Streaming ( DirectX ) files:
Vcecbks.sys - VCE-PRO WDM Streaming driver
Vcecbks.inf - VCE-PRO WDM Streaming info file
Install_ks.txt - WDM Streaming installation instructions
instvcecbks.exe - WDM Streaming installation program
VceAncbKs.ax - WDM Streaming driver’s properties plugin
AMCap.exe - DirectX sample application
Note that our VCE-PRO application program was created using our SDK
( software developers kit ). Our SDK is a separately purchased product and
is not included in the standard VCE-PRO software suite that comes with
the card. For more information on the SDK, please visit our web site at
http://www.imperx.com/products.asp?catName=software&buy=yes.
Page 14 of 44

Software Installation from CD
Use the following steps to install the VCE-PRO software supplied on a
CD:
The first step is to install the application software:
1. Remove the VCE-PRO card from the PCMCIA slot.
2. If you have previously installed any VCE-PRO software then:
2.1 Left mouse click on “Start”
2.2 Left mouse click on “Settings”.
2.3 Left mouse click on “Control Panel”.
2.4 Double left mouse click on “Add or Remove Programs”.
2.5 Left mouse click on “VCE-PRO”.
2.6 Left mouse click on “Remove”.
2.7 Left mouse click on “Yes”.
2.8 Left mouse click on “Close”.
3. Insert the VCE-PRO CD into the appropriate drive; the setup.exe
file will run automatically. Note: If setup does not start
automatically, left mouse click on to “Start”, “Run”, enter
“(CD drive): Setup.exe” and click “OK”.
4. Wait for the “InstallShield Wizard” screen to appear.
5. Follow the on-screen instructions.
The next step is to install the Windows 2000/XP driver software:
6. Insert VCE-PRO card into a PCMCIA slot.
7. If the system prompts you with a “New Hardware Found”
dialog box then:
7.1 Left mouse click on “Next”.
7.2 Left mouse click on “Search for best driver for your
device” and then click “Next”.
7.3 Browse CD and point to the “driver” folder. Click “OK”
and then click “Next”.
8. Otherwise, if the system does NOT prompt you with a “New
Hardware Found” dialog box then:
8.1 Right mouse click on “Start”
8.2 Left mouse click on “Explore”
8.3 Browse CD and point to the “driver” folder.
8.4 Right mouse click on “vceancb.sys”.
8.5 Left mouse click on “Copy”.
8.6 Browse laptop and point to the
“C:/WINDOWS/system32/drivers” folder for WinXP or
the “C:/WINNT/system32/drivers” folder for Win2000.
Page 15 of 44

8.7 Right click on folder and then left click on “Paste”.
8.8 If the message “This folder already contains a file named
‘vceancb.sys’. Would you like to replace the existing file”
appears, then left mouse click “yes”.
9. Reboot the computer.
If you plan on using a DirectX compliant application, then install the
DirectX driver software as follows:
10. Right mouse click on “Start”
11. Left mouse click on “Explore”
12. Browse CD and point to the “DirectX_Driver” folder.
13. Run the “instvcecbks.exe” program.
14. Reboot the computer.
Page 16 of 44

Software Upgrade from Web Site
New application and/or driver software may be released periodically to
reflect improvements and/or functionality added to the VCE-PRO. You
can retrieve these updates by visiting the download page of our web
site at http://www.imperx.com/downloads.asp.
Use the following steps to install newly released application software:
1. Download and unzip the application ( .zip ) file to a folder on your
PC ( we will use c:\application as an example ).
2. Browse the “C:” drive and point to the “application” folder.
3. While holding down the ‘control’ key, right mouse click on the
“vceancb.dll” and “ijl15.dll” files.
4. Left mouse click on “Copy”.
5. Browse laptop and point to the C:/WINDOWS/system32” folder
for WinXP or the “C:/WINNT/system32” folder for Win2000.
6. Right click on folder and then left click on “Paste”. If the message
“This folder already contains a file named …. Would you like to
replace the existing file” appears, then left mouse click “yes”.
7. Reboot the computer.
Use the following steps to install newly released Windows 2000/XP driver
software:
1. Download and unzip the driver ( .zip ) file to a folder on your PC
( we will use c:\driver as an example ).
2. Browse the “C:” drive and point to the “driver” folder.
3. Right mouse click on “vceancb.sys”.
4. Left mouse click on “Copy”.
5. Browse laptop and point to the C:/WINDOWS/system32/drivers”
folder for WinXP or the “C:/WINNT/system32/drivers” folder
for Win2000.
6. Right click on folder and then left click on “Paste”. If the message
“This folder already contains a file named ‘vceancb.sys’. Would
you like to replace the existing file” appears, then left mouse click
“yes”.
7. Reboot the computer.
Page 17 of 44

Use the following steps to install newly released DirectX driver software:
1. Download and unzip the DirectX ( .zip ) file to a folder on your PC
( we will use c:\DirectX as an example ).
2. If you have previously installed a DirectX driver for the VCEPRO
then you must first uninstall it by:
2.1 Left mouse click on “Start”
2.2 Left mouse click on “Settings”.
2.3 Left mouse click on “Control Panel”.
2.4 Double left mouse click on “System”.
2.5 Left mouse click on “Hardware”.
2.6 Left mouse click on “Device Manager”.
2.7 Left mouse click on “+” symbol of “Sound, video and game
controllers”.
2.8 Right mouse click on “VCEPRO Streaming Device”.
2.9 Left mouse click on “Uninstall”.
2.10 Left mouse click on “OK”.
2.11 Close all control panel windows.
3. Run the “instvcecbks.exe” program from the c:\DirectX folder.
4. Reboot the computer.
Page 18 of 44

Firmware Upgrade from Web Site
Your newly received VCE-PRO card has been programmed in the factory
with the latest firmware prior to shipping. New firmware, however, may
be released periodically to reflect improvements and/or functionality
added to the VCE-PRO FPGA. You can retrieve these updates by visiting
the download page of our web site at http://www.imperx.com/downloads.asp.
Use the following steps to install newly released firmware:
1. Download and unzip the firmware patch ( .zip ) file to a folder on
your PC ( we will use c:\fw_patch as an example ).
2. If you haven't previously installed the JamPCI drivers then:
2.1 Left mouse click on to “Start”, “Run”, enter
“C:/fw_patch/loadsys.bat” and click ”OK”.
2.2 Wait until "Press any key to continue . . ." message appears.
2.3 Press any key to exit batch file.
3. Insert the VCE-PRO card into the laptop. Note that if your system
has two PCMCIA slots, then you must insert the card into the slot
in which it was placed during the original driver installation.
4. If the system prompts you with a “New Hardware Found” dialog
box, press “Cancel”.
5. Note: DO NOT POWER DOWN OR REMOVE CARD
WHILE PROGRAMMING IS IN PROGRESS!
6. Left mouse click on “Start”, “Run”, enter
“C:/fw_patch/VCE-PRO_patch_x_y.bat” and click ”OK”.
Note that ‘x_y’ refers to the revision number ( i.e. 1.3 ).
7. Wait until "Press any key to continue . . ." message appears.
8. If line above it reads "Exit code = 0...Success" then proceed with
9. Press any key to exit batch file.
10. You must either reboot the PC or remove and then reinsert the
VCE-PRO card in order for the changes to take effect.
Page 19 of 44

Using the VCE-PRO
This chapter contains information on how to configure and use the
VCE-PRO card.
Page 20 of 44
Table of contents