Sophie

Sophie

distrib > Fedora > 18 > x86_64 > media > updates > by-pkgid > 1a595394b241504ff370a8d12ebfcea7 > files > 3808

kernel-doc-3.11.10-100.fc18.noarch.rpm

<?xml version="1.0" encoding="ANSI_X3.4-1968" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968" /><title>ioctl VIDIOC_DV_TIMINGS_CAP</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1" /><link rel="home" href="index.html" title="LINUX MEDIA INFRASTRUCTURE API" /><link rel="up" href="user-func.html" title="Appendix&#160;A.&#160;Function Reference" /><link rel="prev" href="vidioc-dqevent.html" title="ioctl VIDIOC_DQEVENT" /><link rel="next" href="vidioc-encoder-cmd.html" title="ioctl VIDIOC_ENCODER_CMD, VIDIOC_TRY_ENCODER_CMD" /></head><body><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">ioctl VIDIOC_DV_TIMINGS_CAP</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="vidioc-dqevent.html">Prev</a>&#160;</td><th width="60%" align="center">Appendix&#160;A.&#160;Function Reference</th><td width="20%" align="right">&#160;<a accesskey="n" href="vidioc-encoder-cmd.html">Next</a></td></tr></table><hr /></div><div class="refentry"><a id="vidioc-dv-timings-cap"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>VIDIOC_DV_TIMINGS_CAP &#8212; The capabilities of the Digital Video receiver/transmitter</p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><div class="funcsynopsis"><table border="0" class="funcprototype-table" summary="Function synopsis" style="cellspacing: 0; cellpadding: 0;"><tr><td><code class="funcdef">int <strong class="fsfunc">ioctl</strong>(</code></td><td>int <var class="pdparam">fd</var>, </td></tr><tr><td>&#160;</td><td>int <var class="pdparam">request</var>, </td></tr><tr><td>&#160;</td><td>struct v4l2_dv_timings_cap *<var class="pdparam">argp</var><code>)</code>;</td></tr></table><div class="funcprototype-spacer">&#160;</div></div></div><div class="refsect1"><a id="idm140470011539936"></a><h2>Arguments</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term"><em class="parameter"><code>fd</code></em></span></dt><dd><p>File descriptor returned by <a class="link" href="func-open.html" title="V4L2 open()"><code class="function">open()</code></a>.</p></dd><dt><span class="term"><em class="parameter"><code>request</code></em></span></dt><dd><p>VIDIOC_DV_TIMINGS_CAP</p></dd><dt><span class="term"><em class="parameter"><code>argp</code></em></span></dt><dd><p></p></dd></dl></div></div><div class="refsect1"><a id="idm140470011531808"></a><h2>Description</h2><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Experimental</h3><p>This is an <a class="link" href="hist-v4l2.html#experimental" title="Experimental API Elements"> experimental </a>
      interface and may change in the future.</p></div><p>To query the capabilities of the DV receiver/transmitter applications can call
this ioctl and the driver will fill in the structure. Note that drivers may return
different values after switching the video input or output.</p><div class="table"><a id="v4l2-bt-timings-cap"></a><p class="title"><strong>Table&#160;A.17.&#160;struct <span class="structname">v4l2_bt_timings_cap</span></strong></p><div class="table-contents"><table summary="struct v4l2_bt_timings_cap" width="100%" border="0"><colgroup><col class="c1" /><col class="c2" /><col class="c3" /></colgroup><tbody valign="top"><tr><td valign="top">__u32</td><td valign="top"><em class="structfield"><code>min_width</code></em></td><td valign="top">Minimum width of the active video in pixels.</td></tr><tr><td valign="top">__u32</td><td valign="top"><em class="structfield"><code>max_width</code></em></td><td valign="top">Maximum width of the active video in pixels.</td></tr><tr><td valign="top">__u32</td><td valign="top"><em class="structfield"><code>min_height</code></em></td><td valign="top">Minimum height of the active video in lines.</td></tr><tr><td valign="top">__u32</td><td valign="top"><em class="structfield"><code>max_height</code></em></td><td valign="top">Maximum height of the active video in lines.</td></tr><tr><td valign="top">__u64</td><td valign="top"><em class="structfield"><code>min_pixelclock</code></em></td><td valign="top">Minimum pixelclock frequency in Hz.</td></tr><tr><td valign="top">__u64</td><td valign="top"><em class="structfield"><code>max_pixelclock</code></em></td><td valign="top">Maximum pixelclock frequency in Hz.</td></tr><tr><td valign="top">__u32</td><td valign="top"><em class="structfield"><code>standards</code></em></td><td valign="top">The video standard(s) supported by the hardware.
	    See <a class="xref" href="vidioc-g-dv-timings.html#dv-bt-standards" title="Table&#160;A.56.&#160;DV BT Timing standards">Table&#160;A.56, &#8220;DV BT Timing standards&#8221;</a> for a list of standards.</td></tr><tr><td valign="top">__u32</td><td valign="top"><em class="structfield"><code>capabilities</code></em></td><td valign="top">Several flags giving more information about the capabilities.
	    See <a class="xref" href="vidioc-dv-timings-cap.html#dv-bt-cap-capabilities" title="Table&#160;A.19.&#160;DV BT Timing capabilities">Table&#160;A.19, &#8220;DV BT Timing capabilities&#8221;</a> for a description of the flags.
	    </td></tr><tr><td valign="top">__u32</td><td valign="top"><em class="structfield"><code>reserved</code></em>[16]</td><td valign="top">Reserved for future extensions. Drivers must set the array to zero.</td></tr></tbody></table></div></div><br class="table-break" /><div class="table"><a id="v4l2-dv-timings-cap"></a><p class="title"><strong>Table&#160;A.18.&#160;struct <span class="structname">v4l2_dv_timings_cap</span></strong></p><div class="table-contents"><table summary="struct v4l2_dv_timings_cap" width="100%" border="0"><colgroup><col class="c1" /><col class="c2" /><col class="c3" /><col /></colgroup><tbody valign="top"><tr><td valign="top">__u32</td><td valign="top"><em class="structfield"><code>type</code></em></td><td valign="top">Type of DV timings as listed in <a class="xref" href="vidioc-g-dv-timings.html#dv-timing-types" title="Table&#160;A.55.&#160;DV Timing types">Table&#160;A.55, &#8220;DV Timing types&#8221;</a>.</td><td class="auto-generated">&#160;</td></tr><tr><td valign="top">__u32</td><td valign="top"><em class="structfield"><code>reserved</code></em>[3]</td><td valign="top">Reserved for future extensions. Drivers must set the array to zero.</td><td class="auto-generated">&#160;</td></tr><tr><td valign="top">union</td><td valign="top"><em class="structfield"><code></code></em></td><td valign="top">&#160;</td><td class="auto-generated">&#160;</td></tr><tr><td valign="top">&#160;</td><td valign="top">struct&#160;<a class="link" href="vidioc-dv-timings-cap.html#v4l2-bt-timings-cap" title="Table&#160;A.17.&#160;struct v4l2_bt_timings_cap">v4l2_bt_timings_cap</a></td><td valign="top"><em class="structfield"><code>bt</code></em></td><td valign="top">BT.656/1120 timings capabilities of the hardware.</td></tr><tr><td valign="top">&#160;</td><td valign="top">__u32</td><td valign="top"><em class="structfield"><code>raw_data</code></em>[32]</td><td valign="top">&#160;</td></tr></tbody></table></div></div><br class="table-break" /><div class="table"><a id="dv-bt-cap-capabilities"></a><p class="title"><strong>Table&#160;A.19.&#160;DV BT Timing capabilities</strong></p><div class="table-contents"><table summary="DV BT Timing capabilities" width="100%" border="0"><colgroup><col class="c1" /><col class="c2" /></colgroup><tbody valign="top"><tr><td valign="top">Flag</td><td valign="top">Description</td></tr><tr><td valign="top">&#160;</td><td valign="top">&#160;</td></tr><tr><td valign="top">V4L2_DV_BT_CAP_INTERLACED</td><td valign="top">Interlaced formats are supported.
	    </td></tr><tr><td valign="top">V4L2_DV_BT_CAP_PROGRESSIVE</td><td valign="top">Progressive formats are supported.
	    </td></tr><tr><td valign="top">V4L2_DV_BT_CAP_REDUCED_BLANKING</td><td valign="top">CVT/GTF specific: the timings can make use of reduced blanking (CVT)
or the 'Secondary GTF' curve (GTF).
	    </td></tr><tr><td valign="top">V4L2_DV_BT_CAP_CUSTOM</td><td valign="top">Can support non-standard timings, i.e. timings not belonging to the
standards set in the <em class="structfield"><code>standards</code></em> field.
	    </td></tr></tbody></table></div></div><br class="table-break" /></div><div class="refsect1"><a id="idm140470011472128"></a><h2>Return Value</h2><p>On success <span class="returnvalue">0</span> is returned, on error <span class="returnvalue">-1</span> and the <code class="varname">errno</code> variable is set appropriately. The generic error codes are described at the <a class="link" href="gen_errors.html#gen-errors" title="Table&#160;19.1.&#160;Generic error codes">Generic Error Codes</a> chapter.</p></div></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="vidioc-dqevent.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="user-func.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="vidioc-encoder-cmd.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">ioctl VIDIOC_DQEVENT&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;ioctl VIDIOC_ENCODER_CMD, VIDIOC_TRY_ENCODER_CMD</td></tr></table></div></body></html>