1 <refentry id="vidioc-enum-dv-timings">
3 <refentrytitle>ioctl VIDIOC_ENUM_DV_TIMINGS</refentrytitle>
8 <refname>VIDIOC_ENUM_DV_TIMINGS</refname>
9 <refpurpose>Enumerate supported Digital Video timings</refpurpose>
15 <funcdef>int <function>ioctl</function></funcdef>
16 <paramdef>int <parameter>fd</parameter></paramdef>
17 <paramdef>int <parameter>request</parameter></paramdef>
18 <paramdef>struct v4l2_enum_dv_timings *<parameter>argp</parameter></paramdef>
24 <title>Arguments</title>
28 <term><parameter>fd</parameter></term>
34 <term><parameter>request</parameter></term>
36 <para>VIDIOC_ENUM_DV_TIMINGS</para>
40 <term><parameter>argp</parameter></term>
49 <title>Description</title>
52 <title>Experimental</title>
53 <para>This is an <link linkend="experimental"> experimental </link>
54 interface and may change in the future.</para>
57 <para>While some DV receivers or transmitters support a wide range of timings, others
58 support only a limited number of timings. With this ioctl applications can enumerate a list
59 of known supported timings. Call &VIDIOC-DV-TIMINGS-CAP; to check if it also supports other
60 standards or even custom timings that are not in this list.</para>
62 <para>To query the available timings, applications initialize the
63 <structfield>index</structfield> field and zero the reserved array of &v4l2-enum-dv-timings;
64 and call the <constant>VIDIOC_ENUM_DV_TIMINGS</constant> ioctl with a pointer to this
65 structure. Drivers fill the rest of the structure or return an
66 &EINVAL; when the index is out of bounds. To enumerate all supported DV timings,
67 applications shall begin at index zero, incrementing by one until the
68 driver returns <errorcode>EINVAL</errorcode>. Note that drivers may enumerate a
69 different set of DV timings after switching the video input or
72 <table pgwide="1" frame="none" id="v4l2-enum-dv-timings">
73 <title>struct <structname>v4l2_enum_dv_timings</structname></title>
79 <entry><structfield>index</structfield></entry>
80 <entry>Number of the DV timings, set by the
85 <entry><structfield>reserved</structfield>[3]</entry>
86 <entry>Reserved for future extensions. Drivers must set the array to zero.</entry>
89 <entry>&v4l2-dv-timings;</entry>
90 <entry><structfield>timings</structfield></entry>
91 <entry>The timings.</entry>
103 <term><errorcode>EINVAL</errorcode></term>
105 <para>The &v4l2-enum-dv-timings; <structfield>index</structfield>
106 is out of bounds.</para>
110 <term><errorcode>ENODATA</errorcode></term>
112 <para>Digital video presets are not supported for this input or output.</para>
122 sgml-parent-document: "v4l2.sgml"
123 indent-tabs-mode: nil