📄 capture.h
字号:
/* $Id: capture.h,v 1.5 2005/09/25 23:35:06 thjc Exp $ * * The base class for capture classes that feed data to CMVision */#ifndef __CAPTURE_H__#define __CAPTURE_H__typedef long long stamp_t;class capture { protected: unsigned char *current; // most recently captured frame stamp_t timestamp; // frame time stamp int width,height; // dimensions of video frame bool captured_frame; public: capture() {current=0; captured_frame = false;} virtual ~capture() {}; // you must define these in the subclass virtual bool initialize(int nwidth,int nheight) = 0; virtual void close() = 0; virtual unsigned char *captureFrame() = 0;};#endif // __CAPTURE_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -