grabber-bsd.h
来自「mgcp协议源代码。支持多种编码:g711」· C头文件 代码 · 共 37 行
H
37 行
/* ========================================================================= grabber-bsd.h Grabber code for the Matrox Meteor API and BSD bktr Bt848/878 driver. Copyright (c) 2000 Roger Hardiman <roger@freebsd.org> =========================================================================*/#include <ptlib.h>#ifndef GRABBER_BSD_H#define GRABBER_BSD_H#include "grabber.h"#include "videoframe.h"class VideoGrabber : public Grabber {public: VideoGrabber(int videoInput, BOOL videoIsPal); virtual ~VideoGrabber(); virtual void Start(); virtual void Stop(); virtual void Grab(VideoFrame *vf); virtual void SetSize(int _width,int _height);protected: void Format(); int fd_; //file descriptor for video device. int port_; //input ports for grabbers with more than one //capture port. Port 0 - RCA Compsite Input. BOOL pal_; //TRUE is use PAL video. FALSE is use NTSC video;};#endif //ifndef GRABBER_BSD_H
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?