1 #ifndef __BIASVIDEOSOURCE_DV_HH__
2 #define __BIASVIDEOSOURCE_DV_HH__
4 #include <bias_config.h>
6 # error Please recompile BIAS with DV to use VideoSource_DV
7 #endif // BUILD_VideoSource
10 #include "VideoSource_Base.hh"
12 #include <libraw1394/raw1394.h>
16 #ifndef MAX_1394_CARDS
17 #define MAX_1394_CARDS 2
20 #ifndef MAX_1394_CHANNELS
21 #define MAX_1394_CHANNELS 100
25 #define DV_PIC_SIZE 144000
82 size_t length, quadlet_t *data);
Defines a common interface to different devices.
static int Instances_[MAX_1394_CARDS]
unsigned char * GrabBuffer_
int UseChannel(int channel)
static int InstancesTotal_
static raw1394handle_t IEEE1394Handle_[MAX_1394_CARDS]
int PreGrab()
Do last preparations before grabbing (e.g. start ISO transfer)
void VideoSource_DV_Internal_Init_(int card)
int GrabSingle(BIAS::Camera< unsigned char > &image)
int OpenDevice()
selects the first available device to open (e.g.
int PostGrab()
Stop anything started in PreGrab()
friend int raw_dv_handler(raw1394handle_t handle, int channel, size_t length, quadlet_t *data)
This class extends VideoSource for the use of IEEE1394-connected DV-camcorders.