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

📄 classpvideodevice.html

📁 pwlib开发文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
          <td class="md" nowrap valign="top"> virtual <a class="el" href="classPVideoDevice.html#s15">VideoFormat</a> PVideoDevice::GetVideoFormat </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>Get the video format being used.<p>Default behaviour returns the value of the videoFormat variable.     </td>  </tr></table><a name="a30" doxytag="PVideoDevice::GetWhiteness"></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 int PVideoDevice::GetWhiteness </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>Get the whiteness of the image. 0xffff-Very white. -1 is unknown. <p>Reimplemented in <a class="el" href="classPVideoInput1394DcDevice.html#a13">PVideoInput1394DcDevice</a>.    </td>  </tr></table><a name="a3" doxytag="PVideoDevice::IsOpen"></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 PVideoDevice::IsOpen </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> [pure virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Determine if the device is currently open. <p>Implemented in <a class="el" href="classPVideoInput1394DcDevice.html#a3">PVideoInput1394DcDevice</a>.    </td>  </tr></table><a name="a2" doxytag="PVideoDevice::Open"></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 PVideoDevice::Open </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>BOOL&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>startImmediate</em> = TRUE</td>        </tr>        <tr>          <td></td>          <td class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [pure virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Open the device given the device name. <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>startImmediate</em>&nbsp;</td><td>Device name to open Immediately start device </td></tr></table></dl><p>Implemented in <a class="el" href="classPVideoInputDevice.html#a2">PVideoInputDevice</a>, and <a class="el" href="classPVideoInput1394DcDevice.html#a2">PVideoInput1394DcDevice</a>.    </td>  </tr></table><a name="a1" doxytag="PVideoDevice::OpenFull"></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 PVideoDevice::OpenFull </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">const <a class="el" href="structPVideoDevice_1_1OpenArgs.html">OpenArgs</a> &amp;&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>args</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 class="md">)&nbsp;</td>          <td class="md" colspan="2"><code> [virtual]</code></td>        </tr>      </table>    </td>  </tr></table><table cellspacing=5 cellpadding=0 border=0>  <tr>    <td>      &nbsp;    </td>    <td><p>Open the device given the device name. <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>startImmediate</em>&nbsp;</td><td>Parameters to set on opened device Immediately start device </td></tr></table></dl>    </td>  </tr></table><a name="a29" doxytag="PVideoDevice::SetBrightness"></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 PVideoDevice::SetBrightness </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">unsigned&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>newBrightness</em>          </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>Set brightness of the image. 0xffff-Very bright. <p>Reimplemented in <a class="el" href="classPVideoInput1394DcDevice.html#a12">PVideoInput1394DcDevice</a>.    </td>  </tr></table><a name="a12" doxytag="PVideoDevice::SetChannel"></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 PVideoDevice::SetChannel </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">int&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>channelNumber</em>          </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>Set the video channel to be used on the device. The channel number is an integer from 0 to <a class="el" href="classPVideoDevice.html#a11">GetNumChannels()</a>-1. The special value of -1 will find the first working channel number.<p>Default behaviour sets the value of the channelNumber variable and then returns TRUE. <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>channelNumber</em>&nbsp;</td><td>New channel number for device. </td></tr></table></dl><p>Reimplemented in <a class="el" href="classPVideoInput1394DcDevice.html#a25">PVideoInput1394DcDevice</a>.    </td>  </tr></table><a name="a33" doxytag="PVideoDevice::SetColour"></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 PVideoDevice::SetColour </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">unsigned&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>newColour</em>          </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>Set colour of the image. 0xffff-lots of colour. <p>Reimplemented in <a class="el" href="classPVideoInput1394DcDevice.html#a16">PVideoInput1394DcDevice</a>.    </td>  </tr></table><a name="a15" doxytag="PVideoDevice::SetColourFormat"></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 PVideoDevice::SetColourFormat </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="mdname1" valign="top" nowrap>&nbsp; <em>colourFormat</em>          </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>Set the colour format to be used. Note that this function does not do any conversion. If it returns TRUE then the video device does the colour format in native mode.<p>To utilise an internal converter use the <a class="el" href="classPVideoDevice.html#a14">SetColourFormatConverter()</a> function.<p>Default behaviour sets the value of the colourFormat variable and then returns TRUE. <p>Reimplemented in <a class="el" href="classPVideoInput1394DcDevice.html#a29">PVideoInput1394DcDevice</a>.    </td>  </tr></table><a name="a14" doxytag="PVideoDevice::SetColourFormatConverter"></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 PVideoDevice::SetColourFormatConverter </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="mdname1" valign="top" nowrap>&nbsp; <em>colourFormat</em>          </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>Set the colour format to be used, trying converters if available.<p>This function will set the colour format on the device to one that is compatible with a registered converter, and install that converter so that the correct format is used. 

⌨️ 快捷键说明

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