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