vidioc-dv-timings-cap.xml 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. <refentry id="vidioc-dv-timings-cap">
  2. <refmeta>
  3. <refentrytitle>ioctl VIDIOC_DV_TIMINGS_CAP</refentrytitle>
  4. &manvol;
  5. </refmeta>
  6. <refnamediv>
  7. <refname>VIDIOC_DV_TIMINGS_CAP</refname>
  8. <refpurpose>The capabilities of the Digital Video receiver/transmitter</refpurpose>
  9. </refnamediv>
  10. <refsynopsisdiv>
  11. <funcsynopsis>
  12. <funcprototype>
  13. <funcdef>int <function>ioctl</function></funcdef>
  14. <paramdef>int <parameter>fd</parameter></paramdef>
  15. <paramdef>int <parameter>request</parameter></paramdef>
  16. <paramdef>struct v4l2_dv_timings_cap *<parameter>argp</parameter></paramdef>
  17. </funcprototype>
  18. </funcsynopsis>
  19. </refsynopsisdiv>
  20. <refsect1>
  21. <title>Arguments</title>
  22. <variablelist>
  23. <varlistentry>
  24. <term><parameter>fd</parameter></term>
  25. <listitem>
  26. <para>&fd;</para>
  27. </listitem>
  28. </varlistentry>
  29. <varlistentry>
  30. <term><parameter>request</parameter></term>
  31. <listitem>
  32. <para>VIDIOC_DV_TIMINGS_CAP</para>
  33. </listitem>
  34. </varlistentry>
  35. <varlistentry>
  36. <term><parameter>argp</parameter></term>
  37. <listitem>
  38. <para></para>
  39. </listitem>
  40. </varlistentry>
  41. </variablelist>
  42. </refsect1>
  43. <refsect1>
  44. <title>Description</title>
  45. <note>
  46. <title>Experimental</title>
  47. <para>This is an <link linkend="experimental"> experimental </link>
  48. interface and may change in the future.</para>
  49. </note>
  50. <para>To query the capabilities of the DV receiver/transmitter applications can call
  51. this ioctl and the driver will fill in the structure. Note that drivers may return
  52. different values after switching the video input or output.</para>
  53. <table pgwide="1" frame="none" id="v4l2-bt-timings-cap">
  54. <title>struct <structname>v4l2_bt_timings_cap</structname></title>
  55. <tgroup cols="3">
  56. &cs-str;
  57. <tbody valign="top">
  58. <row>
  59. <entry>__u32</entry>
  60. <entry><structfield>min_width</structfield></entry>
  61. <entry>Minimum width of the active video in pixels.</entry>
  62. </row>
  63. <row>
  64. <entry>__u32</entry>
  65. <entry><structfield>max_width</structfield></entry>
  66. <entry>Maximum width of the active video in pixels.</entry>
  67. </row>
  68. <row>
  69. <entry>__u32</entry>
  70. <entry><structfield>min_height</structfield></entry>
  71. <entry>Minimum height of the active video in lines.</entry>
  72. </row>
  73. <row>
  74. <entry>__u32</entry>
  75. <entry><structfield>max_height</structfield></entry>
  76. <entry>Maximum height of the active video in lines.</entry>
  77. </row>
  78. <row>
  79. <entry>__u64</entry>
  80. <entry><structfield>min_pixelclock</structfield></entry>
  81. <entry>Minimum pixelclock frequency in Hz.</entry>
  82. </row>
  83. <row>
  84. <entry>__u64</entry>
  85. <entry><structfield>max_pixelclock</structfield></entry>
  86. <entry>Maximum pixelclock frequency in Hz.</entry>
  87. </row>
  88. <row>
  89. <entry>__u32</entry>
  90. <entry><structfield>standards</structfield></entry>
  91. <entry>The video standard(s) supported by the hardware.
  92. See <xref linkend="dv-bt-standards"/> for a list of standards.</entry>
  93. </row>
  94. <row>
  95. <entry>__u32</entry>
  96. <entry><structfield>capabilities</structfield></entry>
  97. <entry>Several flags giving more information about the capabilities.
  98. See <xref linkend="dv-bt-cap-capabilities"/> for a description of the flags.
  99. </entry>
  100. </row>
  101. <row>
  102. <entry>__u32</entry>
  103. <entry><structfield>reserved</structfield>[16]</entry>
  104. <entry>Reserved for future extensions. Drivers must set the array to zero.</entry>
  105. </row>
  106. </tbody>
  107. </tgroup>
  108. </table>
  109. <table pgwide="1" frame="none" id="v4l2-dv-timings-cap">
  110. <title>struct <structname>v4l2_dv_timings_cap</structname></title>
  111. <tgroup cols="4">
  112. &cs-str;
  113. <tbody valign="top">
  114. <row>
  115. <entry>__u32</entry>
  116. <entry><structfield>type</structfield></entry>
  117. <entry>Type of DV timings as listed in <xref linkend="dv-timing-types"/>.</entry>
  118. </row>
  119. <row>
  120. <entry>__u32</entry>
  121. <entry><structfield>reserved</structfield>[3]</entry>
  122. <entry>Reserved for future extensions. Drivers must set the array to zero.</entry>
  123. </row>
  124. <row>
  125. <entry>union</entry>
  126. <entry><structfield></structfield></entry>
  127. <entry></entry>
  128. </row>
  129. <row>
  130. <entry></entry>
  131. <entry>&v4l2-bt-timings-cap;</entry>
  132. <entry><structfield>bt</structfield></entry>
  133. <entry>BT.656/1120 timings capabilities of the hardware.</entry>
  134. </row>
  135. <row>
  136. <entry></entry>
  137. <entry>__u32</entry>
  138. <entry><structfield>raw_data</structfield>[32]</entry>
  139. <entry></entry>
  140. </row>
  141. </tbody>
  142. </tgroup>
  143. </table>
  144. <table pgwide="1" frame="none" id="dv-bt-cap-capabilities">
  145. <title>DV BT Timing capabilities</title>
  146. <tgroup cols="2">
  147. &cs-str;
  148. <tbody valign="top">
  149. <row>
  150. <entry>Flag</entry>
  151. <entry>Description</entry>
  152. </row>
  153. <row>
  154. <entry></entry>
  155. <entry></entry>
  156. </row>
  157. <row>
  158. <entry>V4L2_DV_BT_CAP_INTERLACED</entry>
  159. <entry>Interlaced formats are supported.
  160. </entry>
  161. </row>
  162. <row>
  163. <entry>V4L2_DV_BT_CAP_PROGRESSIVE</entry>
  164. <entry>Progressive formats are supported.
  165. </entry>
  166. </row>
  167. <row>
  168. <entry>V4L2_DV_BT_CAP_REDUCED_BLANKING</entry>
  169. <entry>CVT/GTF specific: the timings can make use of reduced blanking (CVT)
  170. or the 'Secondary GTF' curve (GTF).
  171. </entry>
  172. </row>
  173. <row>
  174. <entry>V4L2_DV_BT_CAP_CUSTOM</entry>
  175. <entry>Can support non-standard timings, i.e. timings not belonging to the
  176. standards set in the <structfield>standards</structfield> field.
  177. </entry>
  178. </row>
  179. </tbody>
  180. </tgroup>
  181. </table>
  182. </refsect1>
  183. <refsect1>
  184. &return-value;
  185. </refsect1>
  186. </refentry>
  187. <!--
  188. Local Variables:
  189. mode: sgml
  190. sgml-parent-document: "v4l2.sgml"
  191. indent-tabs-mode: nil
  192. End:
  193. -->