47 #ifndef _LINUX_1394_CAPTURE_H_
48 #define _LINUX_1394_CAPTURE_H_
59 #include <libraw1394/raw1394.h>
60 #include <libdc1394/dc1394_control.h>
75 #define MAX_CAMERAS 4 // don't set this smaller than 2
93 CLinux1394Capture(
int nCameras,
VideoMode mode,
int nFormat7PacketSize = -1,
int nFormat7MinX = 0,
int nFormat7MinY = 0,
int nFormat7Width = 640,
int nFormat7Height = 480,
96 CLinux1394Capture(
VideoMode mode,
int nFormat7PacketSize = -1,
int nFormat7MinX = 0,
int nFormat7MinY = 0,
int nFormat7Width = 640,
int nFormat7Height = 480,
110 void SetGain(
unsigned int nValue);
130 bool InitCameraMode();
131 int GetDCFrameRateMode(
FrameRate frameRate);
135 void YUVToRGB(
int y,
int u,
int v,
unsigned char* output);
139 std::string CamUIDToString(
unsigned int nLow,
unsigned int nHigh);
171 int m_nFormat7PacketSize;
175 int m_nFormat7Height;
180 static dc1394_cameracapture m_cameras[
MAX_CAMERAS];
181 static nodeid_t *m_pCameraNodes[
MAX_PORTS];
184 static int m_nOverallCameras;
189 static int m_nInstances;
BayerPatternType
The four possible variants for Bayer pattern conversion.
void SetShutter(unsigned int nValue)
ImageType
Enum specifying the supported image types.
Interface to video capture modules.
CByteImage::ImageType GetType()
bool CaptureBayerPatternImage(CByteImage **ppImages)
bool CaptureImage(CByteImage **ppImages)
void SetExposure(unsigned int nValue)
Data structure for the representation of 8-bit grayscale images and 24-bit RGB (or HSV) color images ...
void SetGain(unsigned int nValue)
CLinux1394Capture(int nCameras, VideoMode mode, ColorMode colorMode, ImageProcessor::BayerPatternType bayerPatternType=ImageProcessor::eBayerRG, FrameRate frameRate=e30fps)