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

📄 classpvideoinputdevice.html

📁 pwlib开发文档
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>PVideoInputDevice class Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.2.18 --><center><a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="namespaces.html">Namespace List</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; </center><hr><h1>PVideoInputDevice Class Reference</h1><code>#include &lt;<a class="el" href="videoio_8h-source.html">videoio.h</a>&gt;</code><p><p>Inheritance diagram for PVideoInputDevice:<p><center><img src="classPVideoInputDevice.png" usemap="#PVideoInputDevice_map" border="0" alt=""></center><map name="PVideoInputDevice_map"><area href="classPVideoDevice.html" alt="PVideoDevice" shape="rect" coords="0,56,164,80"><area href="classPObject.html" alt="PObject" shape="rect" coords="0,0,164,24"><area href="classPVideoInput1394DcDevice.html" alt="PVideoInput1394DcDevice" shape="rect" coords="0,168,164,192"></map><a href="classPVideoInputDevice-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0><tr><td></td></tr><tr><td colspan=2><br><h2>Public Methods</h2></td></tr><tr><td nowrap align=right valign=top>&nbsp;</td><td valign=bottom><a class="el" href="classPVideoInputDevice.html#a0">~PVideoInputDevice</a> ()</td></tr><tr><td nowrap align=right valign=top>virtual BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPVideoInputDevice.html#a1">CanCaptureVideo</a> () const</td></tr><tr><td nowrap align=right valign=top>virtual BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPVideoInputDevice.html#a2">Open</a> (const <a class="el" href="classPString.html">PString</a> &amp;<a class="el" href="classPVideoDevice.html#n0">deviceName</a>, BOOL startImmediate=TRUE)=0</td></tr><tr><td nowrap align=right valign=top>virtual BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPVideoInputDevice.html#a3">Close</a> ()</td></tr><tr><td nowrap align=right valign=top>virtual BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPVideoInputDevice.html#a4">IsCapturing</a> ()=0</td></tr><tr><td nowrap align=right valign=top>virtual PINDEX&nbsp;</td><td valign=bottom><a class="el" href="classPVideoInputDevice.html#a5">GetMaxFrameBytes</a> ()=0</td></tr><tr><td nowrap align=right valign=top>virtual BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPVideoInputDevice.html#a6">GetFrame</a> (<a class="el" href="classPBYTEArray.html">PBYTEArray</a> &amp;frame)=0</td></tr><tr><td nowrap align=right valign=top>virtual BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPVideoInputDevice.html#a7">GetFrameData</a> (BYTE *buffer, PINDEX *bytesReturned=NULL)=0</td></tr><tr><td nowrap align=right valign=top>virtual BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPVideoInputDevice.html#a8">GetFrameDataNoDelay</a> (BYTE *buffer, PINDEX *bytesReturned=NULL)=0</td></tr><tr><td nowrap align=right valign=top>virtual BOOL&nbsp;</td><td valign=bottom><a class="el" href="classPVideoInputDevice.html#a9">TestAllFormats</a> ()=0</td></tr><tr><td colspan=2><br><h2>Static Public Methods</h2></td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPStringList.html">PStringList</a>&nbsp;</td><td valign=bottom><a class="el" href="classPVideoInputDevice.html#d0">GetDriverNames</a> (<a class="el" href="classPPluginManager.html">PPluginManager</a> *pluginMgr=NULL)</td></tr><tr><td nowrap align=right valign=top><a class="el" href="classPStringList.html">PStringList</a>&nbsp;</td><td valign=bottom><a class="el" href="classPVideoInputDevice.html#d1">GetDriversDeviceNames</a> (const <a class="el" href="classPString.html">PString</a> &amp;driverName, <a class="el" href="classPPluginManager.html">PPluginManager</a> *pluginMgr=NULL)</td></tr><tr><td nowrap align=right valign=top>PVideoInputDevice *&nbsp;</td><td valign=bottom><a class="el" href="classPVideoInputDevice.html#d2">CreateDevice</a> (const <a class="el" href="classPString.html">PString</a> &amp;driverName, <a class="el" href="classPPluginManager.html">PPluginManager</a> *pluginMgr=NULL)</td></tr><tr><td nowrap align=right valign=top>PVideoInputDevice *&nbsp;</td><td valign=bottom><a class="el" href="classPVideoInputDevice.html#d3">CreateDeviceByName</a> (const <a class="el" href="classPString.html">PString</a> &amp;<a class="el" href="classPVideoDevice.html#n0">deviceName</a>, <a class="el" href="classPPluginManager.html">PPluginManager</a> *pluginMgr=NULL)</td></tr><tr><td nowrap align=right valign=top>PVideoInputDevice *&nbsp;</td><td valign=bottom><a class="el" href="classPVideoInputDevice.html#d4">CreateOpenedDevice</a> (const <a class="el" href="classPString.html">PString</a> &amp;driverName, const <a class="el" href="classPString.html">PString</a> &amp;<a class="el" href="classPVideoDevice.html#n0">deviceName</a>, BOOL startImmediate=TRUE, <a class="el" href="classPPluginManager.html">PPluginManager</a> *pluginMgr=NULL)</td></tr></table><hr><a name="_details"></a><h2>Detailed Description</h2>This class defines a video input device. <p><hr><h2>Constructor &amp; Destructor Documentation</h2><a name="a0" doxytag="PVideoInputDevice::~PVideoInputDevice"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> PVideoInputDevice::~PVideoInputDevice </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [inline]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Close the video input device on destruction.     </td>  </tr></table><hr><h2>Member Function Documentation</h2><a name="a1" doxytag="PVideoInputDevice::CanCaptureVideo"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> virtual BOOL PVideoInputDevice::CanCaptureVideo </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Is the device a camera, and obtain video <p>Implements <a class="el" href="classPVideoDevice.html#a27">PVideoDevice</a>.    </td>  </tr></table><a name="a3" doxytag="PVideoInputDevice::Close"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> virtual BOOL PVideoInputDevice::Close </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp;          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [inline, virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Close the device. <p>Implements <a class="el" href="classPVideoDevice.html#a4">PVideoDevice</a>.<p>Reimplemented in <a class="el" href="classPVideoInput1394DcDevice.html#a4">PVideoInput1394DcDevice</a>.    </td>  </tr></table><a name="d2" doxytag="PVideoInputDevice::CreateDevice"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> PVideoInputDevice* PVideoInputDevice::CreateDevice </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>driverName</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="classPPluginManager.html">PPluginManager</a> *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>pluginMgr</em> = NULL</td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [static]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Return the video input device that corresponds to the specified name.     </td>  </tr></table><a name="d3" doxytag="PVideoInputDevice::CreateDeviceByName"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> PVideoInputDevice* PVideoInputDevice::CreateDeviceByName </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>deviceName</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="classPPluginManager.html">PPluginManager</a> *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>pluginMgr</em> = NULL</td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [static]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>    </td>  </tr></table><a name="d4" doxytag="PVideoInputDevice::CreateOpenedDevice"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> PVideoInputDevice* PVideoInputDevice::CreateOpenedDevice </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>driverName</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>deviceName</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>BOOL&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>startImmediate</em> = TRUE, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap><a class="el" href="classPPluginManager.html">PPluginManager</a> *&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>pluginMgr</em> = NULL</td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [static]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Return opened video input device that corresponds to the specified name     </td>  </tr></table><a name="d0" doxytag="PVideoInputDevice::GetDriverNames"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classPStringList.html">PStringList</a> PVideoInputDevice::GetDriverNames </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPPluginManager.html">PPluginManager</a> *&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>pluginMgr</em> = NULL          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [static]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Return the list of available video input drivers     </td>  </tr></table><a name="d1" doxytag="PVideoInputDevice::GetDriversDeviceNames"></a><p><table width="100%" cellpadding="2" cellspacing="0" border="0">  <tr>    <td class="md">      <table cellpadding="0" cellspacing="0" border="0">        <tr>          <td class="md" nowrap valign="top"> <a class="el" href="classPStringList.html">PStringList</a> PVideoInputDevice::GetDriversDeviceNames </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="classPString.html">PString</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>driverName</em>, </td>

⌨️ 快捷键说明

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