56 #ifndef _LINUX_1394_CAPTURE_2_H_
57 #define _LINUX_1394_CAPTURE_2_H_
69 #include <libraw1394/raw1394.h>
70 #include <dc1394/dc1394.h>
87 #define MAX_S400_BANDWIDTH 4915
125 void SetFeature(dc1394feature_t feature, std::string sName,
int nValue);
151 void YUVToRGB(
int y,
int u,
int v,
unsigned char* output);
void SetFeature(dc1394feature_t feature, std::string sName, int nValue)
BayerPatternType
The four possible variants for Bayer pattern conversion.
ImageType
Enum specifying the supported image types.
void SetShutter(int nValue)
void SetExposure(int nValue)
Interface to video capture modules.
CByteImage::ImageType GetType()
CLinux1394Capture2(int nCameras, VideoMode mode, ColorMode colorMode, ImageProcessor::BayerPatternType bayerPatternType=ImageProcessor::eBayerRG, FrameRate frameRate=e30fps)
float m_fFormat7FrameRate
static dc1394_t * m_pDC1394
void ConvertYUV411(CByteImage *pInput, CByteImage *pOutput)
static int m_nRemainingBandwidth
const ImageProcessor::BayerPatternType m_bayerPatternType
void SetCameraUids(std::vector< std::string > uids)
bool CaptureBayerPatternImage(CByteImage **ppImages)
bool CaptureImage(CByteImage **ppImages)
int m_nOpenedCameras[MAX_CAMERAS]
void YUVToRGB(int y, int u, int v, unsigned char *output)
std::string m_sCameraUID[MAX_CAMERAS]
dc1394video_mode_t m_video_mode
FrameRate GetFrameRate() const
std::string CamUIDToString(uint64_t uid)
void SetWhiteBalance(int nU, int nV, int nCamera=-1)
void SetTemperature(int nTemperature)
VideoMode GetVideoMode() const
dc1394framerate_t GetDCFrameRateMode(FrameRate frameRate)
static int m_nOverallCameras
CByteImage * m_pTempImageHeader
static dc1394camera_t * m_cameras[MAX_CAMERAS]
const ColorMode m_colorMode
Data structure for the representation of 8-bit grayscale images and 24-bit RGB (or HSV) color images ...
static int m_nCameraBandwidth[MAX_CAMERAS]
dc1394camera_t * GetCameraHandle(int Index)
static CLinux1394Capture2 * m_pCameraOpener[MAX_CAMERAS]