📄 classpvideodevice.html
字号:
<p>Reimplemented in <a class="el" href="classPVideoInput1394DcDevice.html#a32">PVideoInput1394DcDevice</a>. </td> </tr></table><a name="a35" doxytag="PVideoDevice::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"> virtual BOOL PVideoDevice::SetContrast </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">unsigned </td> <td class="mdname1" valign="top" nowrap> <em>newContrast</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Set contrast of the image. 0xffff-High contrast. <p>Reimplemented in <a class="el" href="classPVideoInput1394DcDevice.html#a18">PVideoInput1394DcDevice</a>. </td> </tr></table><a name="a17" doxytag="PVideoDevice::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"> virtual BOOL PVideoDevice::SetFrameRate </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">unsigned </td> <td class="mdname1" valign="top" nowrap> <em>rate</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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> </td><td>Frames per second </td></tr></table></dl><p>Reimplemented in <a class="el" href="classPVideoInput1394DcDevice.html#a26">PVideoInput1394DcDevice</a>. </td> </tr></table><a name="a21" doxytag="PVideoDevice::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"> virtual BOOL PVideoDevice::SetFrameSize </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">unsigned </td> <td class="mdname" nowrap> <em>width</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned </td> <td class="mdname" nowrap> <em>height</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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="classPVideoDevice.html#a20">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> </td><td>New width of frame New height of frame </td></tr></table></dl><p>Reimplemented in <a class="el" href="classPVideoInput1394DcDevice.html#a28">PVideoInput1394DcDevice</a>. </td> </tr></table><a name="a20" doxytag="PVideoDevice::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"> virtual BOOL PVideoDevice::SetFrameSizeConverter </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">unsigned </td> <td class="mdname" nowrap> <em>width</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>unsigned </td> <td class="mdname" nowrap> <em>height</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap>BOOL </td> <td class="mdname" nowrap> <em>bScaleNotCrop</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </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> </td><td>New width of frame </td></tr><tr><td valign=top><em>bScaleNotCrop</em> </td><td>New height of frame Scale or crop/pad preference </td></tr></table></dl><p>Reimplemented in <a class="el" href="classPVideoInput1394DcDevice.html#a31">PVideoInput1394DcDevice</a>. </td> </tr></table><a name="a37" doxytag="PVideoDevice::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"> virtual BOOL PVideoDevice::SetHue </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">unsigned </td> <td class="mdname1" valign="top" nowrap> <em>newHue</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Set hue of the image. 0xffff-High hue. <p>Reimplemented in <a class="el" href="classPVideoInput1394DcDevice.html#a20">PVideoInput1394DcDevice</a>. </td> </tr></table><a name="a42" doxytag="PVideoDevice::SetPreferredColourFormat"></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"> void PVideoDevice::SetPreferredColourFormat </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">const <a class="el" href="classPString.html">PString</a> & </td> <td class="mdname1" valign="top" nowrap> <em>colourFmt</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [inline]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Set preferred native colour format from video capture device. Note empty == no preference. </td> </tr></table><a name="a41" doxytag="PVideoDevice::SetVFlipState"></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::SetVFlipState </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">BOOL </td> <td class="mdname1" valign="top" nowrap> <em>newVFlipState</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Set the video conversion vertical flip state. Default action is to return FALSE. <dl compact><dt><b>Parameters: </b></dt><dd><table border=0 cellspacing=2 cellpadding=0><tr><td valign=top><em>newVFlipState</em> </td><td>New vertical flip state </td></tr></table></dl> </td> </tr></table><a name="a39" doxytag="PVideoDevice::SetVideoChannelFormat"></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::SetVideoChannelFormat </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top">int </td> <td class="mdname" nowrap> <em>channelNumber</em>, </td> </tr> <tr> <td></td> <td></td> <td class="md" nowrap><a class="el" href="classPVideoDevice.html#s15">VideoFormat</a> </td> <td class="mdname" nowrap> <em>videoFormat</em></td> </tr> <tr> <td></td> <td class="md">) </td> <td class="md" colspan="2"><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td> <td><p>Set VideoFormat and VideoChannel in one ioctl </td> </tr></table><a name="a9" doxytag="PVideoDevice::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"> virtual BOOL PVideoDevice::SetVideoFormat </td> <td class="md" valign="top">( </td> <td class="md" nowrap valign="top"><a class="el" href="classPVideoDevice.html#s15">VideoFormat</a> </td> <td class="mdname1" valign="top" nowrap> <em>videoFormat</em> </td> <td class="md" valign="top">) </td> <td class="md" nowrap><code> [virtual]</code></td> </tr> </table> </td> </tr></table><table cellspacing=5 cellpadding=0 border=0> <tr> <td> </td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -