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