PageRenderTime 133ms CodeModel.GetById 76ms RepoModel.GetById 0ms app.codeStats 0ms

/Documentation/DocBook/v4l/vidioc-querystd.xml

https://bitbucket.org/sammyz/iscream_thunderc-2.6.35-rebase
XML | 89 lines | 72 code | 10 blank | 7 comment | 0 complexity | ee937096d064c258210c242f247eab41 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
  1. <refentry id="vidioc-querystd">
  2. <refmeta>
  3. <refentrytitle>ioctl VIDIOC_QUERYSTD</refentrytitle>
  4. &manvol;
  5. </refmeta>
  6. <refnamediv>
  7. <refname>VIDIOC_QUERYSTD</refname>
  8. <refpurpose>Sense the video standard received by the current
  9. input</refpurpose>
  10. </refnamediv>
  11. <refsynopsisdiv>
  12. <funcsynopsis>
  13. <funcprototype>
  14. <funcdef>int <function>ioctl</function></funcdef>
  15. <paramdef>int <parameter>fd</parameter></paramdef>
  16. <paramdef>int <parameter>request</parameter></paramdef>
  17. <paramdef>v4l2_std_id *<parameter>argp</parameter></paramdef>
  18. </funcprototype>
  19. </funcsynopsis>
  20. </refsynopsisdiv>
  21. <refsect1>
  22. <title>Arguments</title>
  23. <variablelist>
  24. <varlistentry>
  25. <term><parameter>fd</parameter></term>
  26. <listitem>
  27. <para>&fd;</para>
  28. </listitem>
  29. </varlistentry>
  30. <varlistentry>
  31. <term><parameter>request</parameter></term>
  32. <listitem>
  33. <para>VIDIOC_QUERYSTD</para>
  34. </listitem>
  35. </varlistentry>
  36. <varlistentry>
  37. <term><parameter>argp</parameter></term>
  38. <listitem>
  39. <para></para>
  40. </listitem>
  41. </varlistentry>
  42. </variablelist>
  43. </refsect1>
  44. <refsect1>
  45. <title>Description</title>
  46. <para>The hardware may be able to detect the current video
  47. standard automatically. To do so, applications call <constant>
  48. VIDIOC_QUERYSTD</constant> with a pointer to a &v4l2-std-id; type. The
  49. driver stores here a set of candidates, this can be a single flag or a
  50. set of supported standards if for example the hardware can only
  51. distinguish between 50 and 60 Hz systems. When detection is not
  52. possible or fails, the set must contain all standards supported by the
  53. current video input or output.</para>
  54. </refsect1>
  55. <refsect1>
  56. &return-value;
  57. <variablelist>
  58. <varlistentry>
  59. <term><errorcode>EINVAL</errorcode></term>
  60. <listitem>
  61. <para>This ioctl is not supported.</para>
  62. </listitem>
  63. </varlistentry>
  64. <varlistentry>
  65. <term><errorcode>EBUSY</errorcode></term>
  66. <listitem>
  67. <para>The device is busy and therefore can not detect the standard</para>
  68. </listitem>
  69. </varlistentry>
  70. </variablelist>
  71. </refsect1>
  72. </refentry>
  73. <!--
  74. Local Variables:
  75. mode: sgml
  76. sgml-parent-document: "v4l2.sgml"
  77. indent-tabs-mode: nil
  78. End:
  79. -->