videocapobj.h 428 B

1234567891011121314151617181920212223
  1. #pragma once
  2. #include "../../Other/libvideocapture/ivideocaptureinterface.h"
  3. class VideoCapObj : public ICaptureCallback
  4. {
  5. public:
  6. VideoCapObj();
  7. virtual ~VideoCapObj();
  8. void Debug(const char* fmt, ...);
  9. void OnCaptureFailed();
  10. void OnVideoCaptureExcption();
  11. int Init();
  12. int SetVideoCaptureParam(videocap_param_t* param);
  13. int StartVideoCapture();
  14. int StopVideoCapture();
  15. private:
  16. IVideoCapture* m_pVideoCap;
  17. };