41 #ifndef vp1394CMUGrabber_h
42 #define vp1394CMUGrabber_h
44 #include <visp3/core/vpConfig.h>
46 #ifdef VISP_HAVE_CMU1394
50 #include <1394Camera.h>
54 #include <visp3/core/vpFrameGrabber.h>
55 #include <visp3/core/vpFrameGrabberException.h>
56 #include <visp3/core/vpImage.h>
57 #include <visp3/core/vpRGBa.h>
157 typedef enum { YUV444, YUV422, YUV411, RGB8, MONO8, MONO16, UNKNOWN } vpColorCodingType;
165 unsigned long _format;
173 unsigned short _gain;
175 unsigned short _shutter;
177 vpColorCodingType _color;
195 void displayCameraDescription(
int cam_id);
199 void displayCameraModel();
205 void getGainMinMax(
unsigned short &min,
unsigned short &max);
208 int getNumberOfConnectedCameras()
const;
211 void getShutterMinMax(
unsigned short &min,
unsigned short &max);
241 }
else if (_format == 1) {
268 }
else if (_format == 2) {
310 void selectCamera(
int cam_id);
316 void setAutoShutter();
319 void setControl(
unsigned short gain,
unsigned short shutter);
322 void setFramerate(
unsigned long fps);
325 void setShutter(
unsigned short shutter);
328 void setGain(
unsigned short gain);
331 void setVideoMode(
unsigned long format,
unsigned long mode);
Firewire cameras video capture based on CMU 1394 Digital Camera SDK.
vpColorCodingType getVideoColorCoding() const
Get the video color coding format.
Base class for all video devices. It is designed to provide a front end to video sources.
virtual void open(vpImage< unsigned char > &I)=0
virtual void acquire(vpImage< unsigned char > &I)=0