⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 grabber-bsd.h

📁 mgcp协议源代码。支持多种编码:g711
💻 H
字号:
/* =========================================================================   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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -