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);
135 void YUVToRGB(
int y,
int u,
int v,
unsigned char* output);
int m_nOpenedCameras[MAX_CAMERAS]
void ConvertYUV411(CByteImage *pInput, CByteImage *pOutput)
int GetDCFrameRateMode(FrameRate frameRate)
BayerPatternType
The four possible variants for Bayer pattern conversion.
CByteImage * m_pTempImageHeader
static TCameraInfo m_CameraInfo[MAX_CAMERAS]
static nodeid_t * m_pCameraNodes[MAX_PORTS]
const ImageProcessor::BayerPatternType m_bayerPatternType
Data structure for the representation of 8-bit grayscale images and 24-bit RGB (or HSV) color images ...
CLinux1394Capture(int nCameras, VideoMode mode, ColorMode colorMode, ImageProcessor::BayerPatternType bayerPatternType=ImageProcessor::eBayerRG, FrameRate frameRate=e30fps)
const ColorMode m_colorMode
static dc1394_cameracapture m_cameras[MAX_CAMERAS]
static raw1394handle_t m_handles[MAX_CAMERAS]
void SetExposure(unsigned int nValue)
static int m_nOverallCameras
CByteImage::ImageType GetType()
bool CaptureImage(CByteImage **ppImages)
void SetShutter(unsigned int nValue)
GLsizei const GLchar ** string
std::string m_sCameraUID[MAX_CAMERAS]
std::string CamUIDToString(unsigned int nLow, unsigned int nHigh)
ImageType
Enum specifying the supported image types.
Interface to video capture modules.
static CLinux1394Capture * m_pCameraOpener[MAX_CAMERAS]
void SetGain(unsigned int nValue)
void YUVToRGB(int y, int u, int v, unsigned char *output)
bool CaptureBayerPatternImage(CByteImage **ppImages)
CByteImage * m_pTempImage