LinuxDC1394CameraController.h
上传用户:lijia5631
上传日期:2008-11-10
资源大小:1214k
文件大小:1k
源码类别:
视频捕捉/采集
开发平台:
MultiPlatform
- #include <dc1394_control.h>
- #include "Common.h"
- #include "HandVu.h"
- #if 0
- class LinuxDC1394CameraController : public CameraController {
- public:
- LinuxDC1394CameraController();
- public:
- virtual double GetCurrentExposure(); // [0..1]
- // true if change has an effect, false if step is too small
- virtual bool SetExposure(double exposure); // [0..1]
- virtual bool SetCameraAutoExposure(bool enable=true);
- virtual bool CanAdjustExposure();
- private:
- raw1394handle_t m_handle;
- nodeid_t m_node;
- bool m_can_control_exposure;
- bool m_can_control_gain;
- int m_min_exposure;
- int m_max_exposure;
- int m_min_gain;
- int m_max_gain;
- unsigned int m_last_exposure;
- bool m_initialized;
- };
- #endif