diff options
| author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-13 21:16:04 -0400 |
|---|---|---|
| committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-18 22:47:55 -0400 |
| commit | 8e080c2e6cadada82a6b520e0c23a1cb974822d5 (patch) | |
| tree | 991450ff1abba98e5313906478c33816a202ccab /Documentation/DocBook/v4l/vidioc-querystd.xml | |
| parent | f4e96deb4513d044653027d4921fd7592195503a (diff) | |
V4L/DVB (12761): DocBook: add media API specs
The V4L and DVB API's are there for a long time. however, up to now,
no efforts were done to merge them to kernel DocBook.
This patch adds the current versions of the specs as an unique compendium.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/DocBook/v4l/vidioc-querystd.xml')
| -rw-r--r-- | Documentation/DocBook/v4l/vidioc-querystd.xml | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/Documentation/DocBook/v4l/vidioc-querystd.xml b/Documentation/DocBook/v4l/vidioc-querystd.xml new file mode 100644 index 000000000000..b5a7ff934486 --- /dev/null +++ b/Documentation/DocBook/v4l/vidioc-querystd.xml | |||
| @@ -0,0 +1,83 @@ | |||
| 1 | <refentry id="vidioc-querystd"> | ||
| 2 | <refmeta> | ||
| 3 | <refentrytitle>ioctl VIDIOC_QUERYSTD</refentrytitle> | ||
| 4 | &manvol; | ||
| 5 | </refmeta> | ||
| 6 | |||
| 7 | <refnamediv> | ||
| 8 | <refname>VIDIOC_QUERYSTD</refname> | ||
| 9 | <refpurpose>Sense the video standard received by the current | ||
| 10 | input</refpurpose> | ||
| 11 | </refnamediv> | ||
| 12 | |||
| 13 | <refsynopsisdiv> | ||
| 14 | <funcsynopsis> | ||
| 15 | <funcprototype> | ||
| 16 | <funcdef>int <function>ioctl</function></funcdef> | ||
| 17 | <paramdef>int <parameter>fd</parameter></paramdef> | ||
| 18 | <paramdef>int <parameter>request</parameter></paramdef> | ||
| 19 | <paramdef>v4l2_std_id *<parameter>argp</parameter></paramdef> | ||
| 20 | </funcprototype> | ||
| 21 | </funcsynopsis> | ||
| 22 | </refsynopsisdiv> | ||
| 23 | |||
| 24 | <refsect1> | ||
| 25 | <title>Arguments</title> | ||
| 26 | |||
| 27 | <variablelist> | ||
| 28 | <varlistentry> | ||
| 29 | <term><parameter>fd</parameter></term> | ||
| 30 | <listitem> | ||
| 31 | <para>&fd;</para> | ||
| 32 | </listitem> | ||
| 33 | </varlistentry> | ||
| 34 | <varlistentry> | ||
| 35 | <term><parameter>request</parameter></term> | ||
| 36 | <listitem> | ||
| 37 | <para>VIDIOC_QUERYSTD</para> | ||
| 38 | </listitem> | ||
| 39 | </varlistentry> | ||
| 40 | <varlistentry> | ||
| 41 | <term><parameter>argp</parameter></term> | ||
| 42 | <listitem> | ||
| 43 | <para></para> | ||
| 44 | </listitem> | ||
| 45 | </varlistentry> | ||
| 46 | </variablelist> | ||
| 47 | </refsect1> | ||
| 48 | |||
| 49 | <refsect1> | ||
| 50 | <title>Description</title> | ||
| 51 | |||
| 52 | <para>The hardware may be able to detect the current video | ||
| 53 | standard automatically. To do so, applications call <constant> | ||
| 54 | VIDIOC_QUERYSTD</constant> with a pointer to a &v4l2-std-id; type. The | ||
| 55 | driver stores here a set of candidates, this can be a single flag or a | ||
| 56 | set of supported standards if for example the hardware can only | ||
| 57 | distinguish between 50 and 60 Hz systems. When detection is not | ||
| 58 | possible or fails, the set must contain all standards supported by the | ||
| 59 | current video input or output.</para> | ||
| 60 | |||
| 61 | </refsect1> | ||
| 62 | |||
| 63 | <refsect1> | ||
| 64 | &return-value; | ||
| 65 | |||
| 66 | <variablelist> | ||
| 67 | <varlistentry> | ||
| 68 | <term><errorcode>EINVAL</errorcode></term> | ||
| 69 | <listitem> | ||
| 70 | <para>This ioctl is not supported.</para> | ||
| 71 | </listitem> | ||
| 72 | </varlistentry> | ||
| 73 | </variablelist> | ||
| 74 | </refsect1> | ||
| 75 | </refentry> | ||
| 76 | |||
| 77 | <!-- | ||
| 78 | Local Variables: | ||
| 79 | mode: sgml | ||
| 80 | sgml-parent-document: "v4l2.sgml" | ||
| 81 | indent-tabs-mode: nil | ||
| 82 | End: | ||
| 83 | --> | ||
