40 #ifndef vp1394CMUGrabber_h
41 #define vp1394CMUGrabber_h
43 #include <visp3/core/vpConfig.h>
45 #ifdef VISP_HAVE_CMU1394
49 #include <1394Camera.h>
53 #include <visp3/core/vpFrameGrabber.h>
54 #include <visp3/core/vpFrameGrabberException.h>
55 #include <visp3/core/vpImage.h>
56 #include <visp3/core/vpRGBa.h>
156 typedef enum { YUV444, YUV422, YUV411, RGB8, MONO8, MONO16, UNKNOWN } vpColorCodingType;
164 unsigned long _format;
172 unsigned short _gain;
174 unsigned short _shutter;
176 vpColorCodingType _color;
194 void displayCameraDescription(
int cam_id);
198 void displayCameraModel();
204 void getGainMinMax(
unsigned short &min,
unsigned short &max);
207 int getNumberOfConnectedCameras()
const;
210 void getShutterMinMax(
unsigned short &min,
unsigned short &max);
240 }
else if (_format == 1) {
267 }
else if (_format == 2) {
309 void selectCamera(
int cam_id);
315 void setAutoShutter();
318 void setControl(
unsigned short gain,
unsigned short shutter);
321 void setFramerate(
unsigned long fps);
324 void setShutter(
unsigned short shutter);
327 void setGain(
unsigned short gain);
330 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