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

📄 videoio.h

📁 mgcp协议源代码。支持多种编码:g711
💻 H
字号:
/* * videoio.h * * Classes to support streaming video input (grabbing) and output. * * Portable Windows Library * * Copyright (c) 1993-2000 Equivalence Pty. Ltd. * * The contents of this file are subject to the Mozilla Public License * Version 1.0 (the "License"); you may not use this file except in * compliance with the License. You may obtain a copy of the License at * http://www.mozilla.org/MPL/ * * Software distributed under the License is distributed on an "AS IS" * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See * the License for the specific language governing rights and limitations * under the License. * * The Original Code is Portable Windows Library. * * The Initial Developer of the Original Code is Equivalence Pty. Ltd. * * Contributor(s): ______________________________________. * * $Log: videoio.h,v $ * Revision 1.1  2000/07/26 02:40:29  robertj * Added video I/O devices. * */#ifndef _PVIDEOIO#include <linux/videodev.h>     /* change this to "videodev2.h" for v4l2 */#include "../../videoio.h"  public:    virtual BOOL SetVideoFormat(VideoFormat videoFormat);    virtual unsigned GetNumChannels() const;    virtual BOOL SetChannel(unsigned channelNumber);    virtual BOOL SetColourFormat(ColourFormat colourFormat);    virtual BOOL SetFrameRate(unsigned rate);    virtual BOOL GetFrameSizeLimits(unsigned & minWidth, unsigned & minHeight, unsigned & maxWidth, unsigned & maxHeight) const;    virtual BOOL SetFrameSize(unsigned width, unsigned height);  protected:    void ClearMapping();    int    videoFd;    struct video_capability videoCapability;    int    canMap;  // -1 = don't know, 0 = no, 1 = yes    int    pixelSize;    BYTE * videoBuffer;    PINDEX videoFrameSize;    int    currentFrame;    struct video_mbuf frame;    struct video_mmap frameBuffer[2];};#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -