Soyo STH-DCAM User Manual

Page of 17
STH-DCAM U
SER
M
ANUAL
 
 
 
 
 
 
 
 
 
 
 
 
 
2001 V
IDERE 
D
ESIGN
 
 
7  Installing the 1394 Host Card and Capture 
Software 
The STH-DCAM connects to a host computer via a digital 1394 interface. 
The host PC must have a 1394 port, and software to interface to the video 
stream from the camera.  This interface software presents the video stream 
from the 1394 hardware as a set of stereo frames to the user program (see 
Figure 7-1).  The STH-DCAM comes with interface software for either MS 
Windows 98/2000 or Linux.   
7.1  1394 Hardware and Drivers 
Before installing the software interface, the PC must be equipped with a 
1394 port.  If there is one already present, on the motherboard, then you can 
skip this section.  Otherwise you have to install a PCI or PCMCIA card.  
The card must be OHCI compliant, which all current cards are. 
Please see the Videre Design website (www.videredesign.com/support.htm) 
for the latest information about installing hardware and software drivers. 
After installing the card, install the STH-DCAM driver software. 
7.2 STH-DCAM 
Software 
The STH-DCAM comes with interface software and several sample 
applications, including the capture application described in this manual. 
7.2.1  MS Windows Installation 
To install the software under MS Windows, execute the file 
svscap22X.exe.  The installation process will add the relevant interface 
and application software. 
The directory structure for the software is: 
bin\ 
     smallvcap.exe 
     stcap.exe 
     svsgrab.dll, .lib 
     dcamcap.dll, .lib 
   src\ 
     svs.h 
     svsclass.h  
   samples\ 
     *.cpp 
     *.dsp, samples.dsw 
There are two applications.  smallvcap.exe is a GUI-based application 
that allows the user to exercise the capture functions of the STH-DCAM.  It 
is described in earlier sections of this document. 
stcap.exe is a simple application that connects to the stereo head and 
displays stereo images.  It can serve as a template for user programs that 
integrate stereo capture from the STH-DCAM. 
libcap.dll is the capture library for Linux.  These libraries must be set 
to the correct ones for the STH-DCAM.  Copy the following files in the 
bin\ directory: 
 
svsdcam.dll -> svsgrab.dll     
 
svsdcam.lib -> svsgrab.lib     
 
1394 
PC 
Hardware 
Low-level 
1394 
driver 
STH-MD1
interface 
software 
1394  
video 
stream 
To 
user 
program
 
Figure 7-1  Host PC low-level software structure. 
You can check that the correct interface library is installed, by looking at 
the information text when the capture application is started.  It should say 
“Dual DCAM digital stereo interface”.  If not, the wrong interface library is 
installed in svsgrab.dll. 
 
12