TipsWareVideoCapture.h
Upload User: qianbin
Upload Date: 2009-10-23
Package Size: 617k
Code Size: 2k
Category:

Video Capture

Development Platform:

Visual C++

  1. #if !defined(AFX_TIPSWAREVIDEOCAPTURE_H__3A0D6E0E_14C4_4837_A3F4_C8A8D43FEBDF__INCLUDED_)
  2. #define AFX_TIPSWAREVIDEOCAPTURE_H__3A0D6E0E_14C4_4837_A3F4_C8A8D43FEBDF__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // TipsWareVideoCapture.h : header file
  7. //
  8. #include <vfw.h>
  9. /////////////////////////////////////////////////////////////////////////////
  10. // TipsWareVideoCapture window
  11. class TipsWareVideoCapture
  12. {
  13. private:
  14. char m_is_connected; // VFW俊 楷搬登绢乐绰瘤俊 措茄 沥焊...
  15. int m_image_x, m_image_y;   // VFW狼 扼捞宏 康惑阑 免仿且 困摹..
  16. int m_bit_count; // 母媚 康惑狼 祸惑俊 蝶弗 厚飘荐...
  17. CWnd *mp_notify_window; // 母媚等 捞固瘤甫 傈价罐阑 扩档快 器牢磐..
  18. HWND mh_capture; // VFW俊 荤侩瞪 扩档快 勤甸...
  19. // Construction
  20. public:
  21. TipsWareVideoCapture(CWnd *parm_parent_window);
  22. virtual ~TipsWareVideoCapture();
  23. void SetupVideoFormat();
  24. void SetWindowSize(int parm_x, int parm_y);
  25. void SetVideoFormat();
  26. void SetVideoSource();
  27. void GetVideoFormat();
  28. char SetVideoSize(int parm_x, int parm_y);
  29. char InitialVideoCapture(CWnd *parm_notify_window);
  30. void DisconnectCaptureDriver();
  31. int GetImageX();
  32. int GetImageY();
  33. int GetBitCount();
  34. };
  35. /////////////////////////////////////////////////////////////////////////////
  36. //{{AFX_INSERT_LOCATION}}
  37. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  38. #endif // !defined(AFX_TIPSWAREVIDEOCAPTURE_H__3A0D6E0E_14C4_4837_A3F4_C8A8D43FEBDF__INCLUDED_)