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

📄 classpvideoinput1394dcdevice.html

📁 pwlib开发文档
💻 HTML
📖 第 1 页 / 共 4 页
字号:
          <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 from <a class="el" href="classPVideoDevice.html#a29">PVideoDevice</a>.    </td>  </tr></table><a name="a25" doxytag="PVideoInput1394DcDevice::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"> BOOL PVideoInput1394DcDevice::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="classPVideoInput1394DcDevice.html#a24">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 from <a class="el" href="classPVideoDevice.html#a12">PVideoDevice</a>.    </td>  </tr></table><a name="a16" doxytag="PVideoInput1394DcDevice::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"> BOOL PVideoInput1394DcDevice::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 from <a class="el" href="classPVideoDevice.html#a33">PVideoDevice</a>.    </td>  </tr></table><a name="a29" doxytag="PVideoInput1394DcDevice::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"> BOOL PVideoInput1394DcDevice::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="classPVideoInput1394DcDevice.html#a32">SetColourFormatConverter()</a> function.<p>Default behaviour sets the value of the colourFormat variable and then returns TRUE. <p>Reimplemented from <a class="el" href="classPVideoDevice.html#a15">PVideoDevice</a>.    </td>  </tr></table><a name="a32" doxytag="PVideoInput1394DcDevice::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"> BOOL PVideoInput1394DcDevice::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. <p>Reimplemented from <a class="el" href="classPVideoDevice.html#a14">PVideoDevice</a>.    </td>  </tr></table><a name="a18" doxytag="PVideoInput1394DcDevice::SetContrast"></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"> BOOL PVideoInput1394DcDevice::SetContrast </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>newContrast</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 contrast of the image. 0xffff-High contrast. <p>Reimplemented from <a class="el" href="classPVideoDevice.html#a35">PVideoDevice</a>.    </td>  </tr></table><a name="a26" doxytag="PVideoInput1394DcDevice::SetFrameRate"></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"> BOOL PVideoInput1394DcDevice::SetFrameRate </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>rate</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 frame rate to be used on the device.<p>Default behaviour sets the value of the frameRate 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>rate</em>&nbsp;</td><td>Frames per second </td></tr></table></dl><p>Reimplemented from <a class="el" href="classPVideoDevice.html#a17">PVideoDevice</a>.    </td>  </tr></table><a name="a28" doxytag="PVideoInput1394DcDevice::SetFrameSize"></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"> BOOL PVideoInput1394DcDevice::SetFrameSize </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">unsigned&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>width</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>unsigned&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>height</em></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>Set the frame size to be used.<p>Note that devices may not be able to produce the requested size, and this function will fail. See <a class="el" href="classPVideoInput1394DcDevice.html#a31">SetFrameSizeConverter()</a>.<p>Default behaviour sets the frameWidth and frameHeight variables and returns TRUE. <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>height</em>&nbsp;</td><td>New width of frame New height of frame </td></tr></table></dl><p>Reimplemented from <a class="el" href="classPVideoDevice.html#a21">PVideoDevice</a>.    </td>  </tr></table><a name="a31" doxytag="PVideoInput1394DcDevice::SetFrameSizeConverter"></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"> BOOL PVideoInput1394DcDevice::SetFrameSizeConverter </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">unsigned&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>width</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>unsigned&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>height</em>, </td>        </tr>        <tr>          <td></td>          <td></td>          <td class="md" nowrap>BOOL&nbsp;</td>          <td class="mdname" nowrap>&nbsp; <em>bScaleNotCrop</em></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>Set the frame size to be used, trying converters if available.<p>If the device does not support the size, a set of alternate resolutions are attempted. A converter is setup if possible. <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>height</em>&nbsp;</td><td>New width of frame </td></tr><tr><td valign=top><em>bScaleNotCrop</em>&nbsp;</td><td>New height of frame Scale or crop/pad preference </td></tr></table></dl><p>Reimplemented from <a class="el" href="classPVideoDevice.html#a20">PVideoDevice</a>.    </td>  </tr></table><a name="a20" doxytag="PVideoInput1394DcDevice::SetHue"></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"> BOOL PVideoInput1394DcDevice::SetHue </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>newHue</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 hue of the image. 0xffff-High hue. <p>Reimplemented from <a class="el" href="classPVideoDevice.html#a37">PVideoDevice</a>.    </td>  </tr></table><a name="a27" doxytag="PVideoInput1394DcDevice::SetVideoFormat"></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"> BOOL PVideoInput1394DcDevice::SetVideoFormat </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top"><a class="el" href="classPVideoDevice.html#s15">VideoFormat</a>&nbsp;</td>          <td class="mdname1" valign="top" nowrap>&nbsp; <em>videoFormat</em>          </td>          <td class="md" valign="top">)&nbsp;</td>          <td class="md" nowrap><code> [virtual]</code></td>        </tr>

⌨️ 快捷键说明

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