blob: dae009aa2440d366dcae53ff59429a4aaea486b4 [file] [log] [blame]
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -03001 <partinfo>
2 <authorgroup>
3 <author>
4 <firstname>Michael</firstname>
5 <surname>Schimek</surname>
6 <othername role="mi">H</othername>
7 <affiliation>
8 <address>
9 <email>mschimek@gmx.at</email>
10 </address>
11 </affiliation>
12 </author>
13
14 <author>
15 <firstname>Bill</firstname>
16 <surname>Dirks</surname>
17 <!-- Commented until Bill opts in to be spammed.
18 <affiliation>
19 <address>
20 <email>bill@thedirks.org</email>
21 </address>
22 </affiliation> -->
23 <contrib>Original author of the V4L2 API and
24documentation.</contrib>
25 </author>
26
27 <author>
28 <firstname>Hans</firstname>
29 <surname>Verkuil</surname>
30 <contrib>Designed and documented the VIDIOC_LOG_STATUS ioctl,
Hans Verkuil7dcc6062012-05-15 08:04:28 -030031the extended control ioctls, major parts of the sliced VBI API, the
32MPEG encoder and decoder APIs and the DV Timings API.</contrib>
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -030033 <affiliation>
34 <address>
35 <email>hverkuil@xs4all.nl</email>
36 </address>
37 </affiliation>
38 </author>
39
40 <author>
41 <firstname>Martin</firstname>
42 <surname>Rubli</surname>
43 <!--
44 <affiliation>
45 <address>
46 <email>martin_rubli@logitech.com</email>
47 </address>
48 </affiliation> -->
49 <contrib>Designed and documented the VIDIOC_ENUM_FRAMESIZES
50and VIDIOC_ENUM_FRAMEINTERVALS ioctls.</contrib>
51 </author>
52
53 <author>
54 <firstname>Andy</firstname>
55 <surname>Walls</surname>
56 <contrib>Documented the fielded V4L2_MPEG_STREAM_VBI_FMT_IVTV
57MPEG stream embedded, sliced VBI data format in this specification.
58</contrib>
59 <affiliation>
60 <address>
Andy Walls6afdeaf2010-05-23 18:53:35 -030061 <email>awalls@md.metrocast.net</email>
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -030062 </address>
63 </affiliation>
64 </author>
65
66 <author>
67 <firstname>Mauro</firstname>
68 <surname>Carvalho Chehab</surname>
69 <contrib>Documented libv4l, designed and added v4l2grab example,
70Remote Controller chapter.</contrib>
71 <affiliation>
72 <address>
73 <email>mchehab@redhat.com</email>
74 </address>
75 </affiliation>
76 </author>
Hans Verkuilb33f5f82009-12-03 01:32:12 -030077
78 <author>
79 <firstname>Muralidharan</firstname>
80 <surname>Karicheri</surname>
81 <contrib>Documented the Digital Video timings API.</contrib>
82 <affiliation>
83 <address>
84 <email>m-karicheri2@ti.com</email>
85 </address>
86 </affiliation>
87 </author>
Pawel Osciak53b5d572011-01-07 01:41:33 -030088
89 <author>
Hans Verkuilaec67f02011-05-23 07:36:55 -030090 <firstname>Pawel</firstname>
Pawel Osciak53b5d572011-01-07 01:41:33 -030091 <surname>Osciak</surname>
92 <contrib>Designed and documented the multi-planar API.</contrib>
93 <affiliation>
94 <address>
95 <email>pawel AT osciak.com</email>
96 </address>
97 </affiliation>
98 </author>
Sakari Ailus955f6452011-12-12 18:17:25 -030099
100 <author>
101 <firstname>Sakari</firstname>
102 <surname>Ailus</surname>
103 <contrib>Subdev selections API.</contrib>
104 <affiliation>
105 <address>
106 <email>sakari.ailus@iki.fi</email>
107 </address>
108 </affiliation>
109 </author>
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300110 </authorgroup>
111
112 <copyright>
113 <year>1999</year>
114 <year>2000</year>
115 <year>2001</year>
116 <year>2002</year>
117 <year>2003</year>
118 <year>2004</year>
119 <year>2005</year>
120 <year>2006</year>
121 <year>2007</year>
122 <year>2008</year>
123 <year>2009</year>
Hans Verkuilf44026d2010-08-06 12:52:43 -0300124 <year>2010</year>
Hans Verkuilbda50bc2011-01-16 17:44:17 -0300125 <year>2011</year>
Hans Verkuil7dcc6062012-05-15 08:04:28 -0300126 <year>2012</year>
Hans Verkuil4e5f1132013-03-24 06:08:00 -0300127 <year>2013</year>
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300128 <holder>Bill Dirks, Michael H. Schimek, Hans Verkuil, Martin
Pawel Osciak53b5d572011-01-07 01:41:33 -0300129Rubli, Andy Walls, Muralidharan Karicheri, Mauro Carvalho Chehab,
130 Pawel Osciak</holder>
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300131 </copyright>
132 <legalnotice>
133 <para>Except when explicitly stated as GPL, programming examples within
134 this part can be used and distributed without restrictions.</para>
135 </legalnotice>
136 <revhistory>
137 <!-- Put document revisions here, newest first. -->
138 <!-- API revisions (changes and additions of defines, enums,
139structs, ioctls) must be noted in more detail in the history chapter
Hans Verkuilf44026d2010-08-06 12:52:43 -0300140(compat.xml), along with the possible impact on existing drivers and
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300141applications. -->
142
143 <revision>
Hans Verkuil4e5f1132013-03-24 06:08:00 -0300144 <revnumber>3.10</revnumber>
145 <date>2013-03-24</date>
146 <authorinitials>hv</authorinitials>
147 <revremark>Remove obsolete and unused DV_PRESET ioctls:
148 VIDIOC_G_DV_PRESET, VIDIOC_S_DV_PRESET, VIDIOC_QUERY_DV_PRESET and
149 VIDIOC_ENUM_DV_PRESET. Remove the related v4l2_input/output capability
150 flags V4L2_IN_CAP_PRESETS and V4L2_OUT_CAP_PRESETS.
151 </revremark>
152 </revision>
153
154 <revision>
Sakari Ailus1202ecd2012-10-21 16:02:47 -0300155 <revnumber>3.9</revnumber>
156 <date>2012-12-03</date>
Sylwester Nawrocki2ccbe772013-01-19 15:51:55 -0300157 <authorinitials>sa, sn</authorinitials>
Hans Verkuil07b64b82013-01-11 08:18:55 -0300158 <revremark>Added timestamp types to v4l2_buffer.
Sylwester Nawrocki2ccbe772013-01-19 15:51:55 -0300159 Added <constant>V4L2_EVENT_CTRL_CH_RANGE</constant> control
160 event changes flag, see <xref linkend="changes-flags"/>.
Sakari Ailus1202ecd2012-10-21 16:02:47 -0300161 </revremark>
162 </revision>
163
164 <revision>
Hans Verkuil50121312012-07-05 06:54:38 -0300165 <revnumber>3.6</revnumber>
166 <date>2012-07-02</date>
167 <authorinitials>hv</authorinitials>
168 <revremark>Added VIDIOC_ENUM_FREQ_BANDS.
169 </revremark>
Hans Verkuil571d19c2012-08-09 06:04:43 -0300170 </revision>
171
172 <revision>
Sakari Ailus6ec299f2011-08-06 16:13:47 -0300173 <revnumber>3.5</revnumber>
Sylwester Nawrocki2272ab62012-05-11 06:37:03 -0300174 <date>2012-05-07</date>
Hans Verkuil571d19c2012-08-09 06:04:43 -0300175 <authorinitials>sa, sn, hv</authorinitials>
Sakari Ailus955f6452011-12-12 18:17:25 -0300176 <revremark>Added V4L2_CTRL_TYPE_INTEGER_MENU and V4L2 subdev
Sylwester Nawrocki6491d1a2012-04-02 06:40:19 -0300177 selections API. Improved the description of V4L2_CID_COLORFX
178 control, added V4L2_CID_COLORFX_CBCR control.
Sylwester Nawrocki2272ab62012-05-11 06:37:03 -0300179 Added camera controls V4L2_CID_AUTO_EXPOSURE_BIAS,
180 V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE, V4L2_CID_IMAGE_STABILIZATION,
181 V4L2_CID_ISO_SENSITIVITY, V4L2_CID_ISO_SENSITIVITY_AUTO,
182 V4L2_CID_EXPOSURE_METERING, V4L2_CID_SCENE_MODE,
183 V4L2_CID_3A_LOCK, V4L2_CID_AUTO_FOCUS_START,
184 V4L2_CID_AUTO_FOCUS_STOP, V4L2_CID_AUTO_FOCUS_STATUS
185 and V4L2_CID_AUTO_FOCUS_RANGE.
Hans Verkuil571d19c2012-08-09 06:04:43 -0300186 Added VIDIOC_ENUM_DV_TIMINGS, VIDIOC_QUERY_DV_TIMINGS and
187 VIDIOC_DV_TIMINGS_CAP.
Hans Verkuil7dcc6062012-05-15 08:04:28 -0300188 </revremark>
Sakari Ailus6ec299f2011-08-06 16:13:47 -0300189 </revision>
190
191 <revision>
Sylwester Nawrocki29fa0ee2012-01-20 15:38:50 -0300192 <revnumber>3.4</revnumber>
193 <date>2012-01-25</date>
194 <authorinitials>sn</authorinitials>
195 <revremark>Added <link linkend="jpeg-controls">JPEG compression
196 control class.</link>
197 </revremark>
198 </revision>
199
200 <revision>
Hans Verkuil583aa3a2012-01-11 06:45:05 -0300201 <revnumber>3.3</revnumber>
202 <date>2012-01-11</date>
203 <authorinitials>hv</authorinitials>
204 <revremark>Added device_caps field to struct v4l2_capabilities.</revremark>
205 </revision>
206
207 <revision>
Hans Verkuil74a45792011-08-26 07:31:13 -0300208 <revnumber>3.2</revnumber>
209 <date>2011-08-26</date>
210 <authorinitials>hv</authorinitials>
211 <revremark>Added V4L2_CTRL_FLAG_VOLATILE.</revremark>
212 </revision>
213
214 <revision>
Mauro Carvalho Chehabc20eb182011-06-25 14:11:52 -0300215 <revnumber>3.1</revnumber>
216 <date>2011-06-27</date>
Hans Verkuilaec67f02011-05-23 07:36:55 -0300217 <authorinitials>mcc, po, hv</authorinitials>
218 <revremark>Documented that VIDIOC_QUERYCAP now returns a per-subsystem version instead of a per-driver one.
219 Standardize an error code for invalid ioctl.
220 Added V4L2_CTRL_TYPE_BITMASK.</revremark>
Mauro Carvalho Chehabc20eb182011-06-25 14:11:52 -0300221 </revision>
Mauro Carvalho Chehab9190d192011-07-06 14:08:08 -0300222
Mauro Carvalho Chehabc20eb182011-06-25 14:11:52 -0300223 <revision>
Mauro Carvalho Chehab3822f182011-03-01 16:03:11 -0300224 <revnumber>2.6.39</revnumber>
225 <date>2011-03-01</date>
Pawel Osciakf0e3b642011-03-13 15:20:22 -0300226 <authorinitials>mcc, po</authorinitials>
227 <revremark>Removed VIDIOC_*_OLD from videodev2.h header and update it to reflect latest changes. Added the <link linkend="planar-apis">multi-planar API</link>.</revremark>
Pawel Osciak53b5d572011-01-07 01:41:33 -0300228 </revision>
229
230 <revision>
Hans Verkuilf44026d2010-08-06 12:52:43 -0300231 <revnumber>2.6.37</revnumber>
232 <date>2010-08-06</date>
233 <authorinitials>hv</authorinitials>
234 <revremark>Removed obsolete vtx (videotext) API.</revremark>
235 </revision>
236
237 <revision>
Hans Verkuilb33f5f82009-12-03 01:32:12 -0300238 <revnumber>2.6.33</revnumber>
239 <date>2009-12-03</date>
240 <authorinitials>mk</authorinitials>
241 <revremark>Added documentation for the Digital Video timings API.</revremark>
242 </revision>
243
244 <revision>
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300245 <revnumber>2.6.32</revnumber>
246 <date>2009-08-31</date>
247 <authorinitials>mcc</authorinitials>
248 <revremark>Now, revisions will match the kernel version where
249the V4L2 API changes will be used by the Linux Kernel.
250Also added Remote Controller chapter.</revremark>
251 </revision>
252
253 <revision>
254 <revnumber>0.29</revnumber>
255 <date>2009-08-26</date>
256 <authorinitials>ev</authorinitials>
257 <revremark>Added documentation for string controls and for FM Transmitter controls.</revremark>
258 </revision>
259
260 <revision>
261 <revnumber>0.28</revnumber>
262 <date>2009-08-26</date>
263 <authorinitials>gl</authorinitials>
264 <revremark>Added V4L2_CID_BAND_STOP_FILTER documentation.</revremark>
265 </revision>
266
267 <revision>
268 <revnumber>0.27</revnumber>
269 <date>2009-08-15</date>
270 <authorinitials>mcc</authorinitials>
271 <revremark>Added libv4l and Remote Controller documentation;
272added v4l2grab and keytable application examples.</revremark>
273 </revision>
274
275 <revision>
276 <revnumber>0.26</revnumber>
277 <date>2009-07-23</date>
278 <authorinitials>hv</authorinitials>
279 <revremark>Finalized the RDS capture API. Added modulator and RDS encoder
280capabilities. Added support for string controls.</revremark>
281 </revision>
282
283 <revision>
284 <revnumber>0.25</revnumber>
285 <date>2009-01-18</date>
286 <authorinitials>hv</authorinitials>
287 <revremark>Added pixel formats VYUY, NV16 and NV61, and changed
288the debug ioctls VIDIOC_DBG_G/S_REGISTER and VIDIOC_DBG_G_CHIP_IDENT.
289Added camera controls V4L2_CID_ZOOM_ABSOLUTE, V4L2_CID_ZOOM_RELATIVE,
290V4L2_CID_ZOOM_CONTINUOUS and V4L2_CID_PRIVACY.</revremark>
291 </revision>
292
293 <revision>
294 <revnumber>0.24</revnumber>
295 <date>2008-03-04</date>
296 <authorinitials>mhs</authorinitials>
297 <revremark>Added pixel formats Y16 and SBGGR16, new controls
298and a camera controls class. Removed VIDIOC_G/S_MPEGCOMP.</revremark>
299 </revision>
300
301 <revision>
302 <revnumber>0.23</revnumber>
303 <date>2007-08-30</date>
304 <authorinitials>mhs</authorinitials>
305 <revremark>Fixed a typo in VIDIOC_DBG_G/S_REGISTER.
306Clarified the byte order of packed pixel formats.</revremark>
307 </revision>
308
309 <revision>
310 <revnumber>0.22</revnumber>
311 <date>2007-08-29</date>
312 <authorinitials>mhs</authorinitials>
313 <revremark>Added the Video Output Overlay interface, new MPEG
314controls, V4L2_FIELD_INTERLACED_TB and V4L2_FIELD_INTERLACED_BT,
315VIDIOC_DBG_G/S_REGISTER, VIDIOC_(TRY_)ENCODER_CMD,
316VIDIOC_G_CHIP_IDENT, VIDIOC_G_ENC_INDEX, new pixel formats.
317Clarifications in the cropping chapter, about RGB pixel formats, the
318mmap(), poll(), select(), read() and write() functions. Typographical
319fixes.</revremark>
320 </revision>
321
322 <revision>
323 <revnumber>0.21</revnumber>
324 <date>2006-12-19</date>
325 <authorinitials>mhs</authorinitials>
326 <revremark>Fixed a link in the VIDIOC_G_EXT_CTRLS section.</revremark>
327 </revision>
328
329 <revision>
330 <revnumber>0.20</revnumber>
331 <date>2006-11-24</date>
332 <authorinitials>mhs</authorinitials>
333 <revremark>Clarified the purpose of the audioset field in
334struct v4l2_input and v4l2_output.</revremark>
335 </revision>
336
337 <revision>
338 <revnumber>0.19</revnumber>
339 <date>2006-10-19</date>
340 <authorinitials>mhs</authorinitials>
341 <revremark>Documented V4L2_PIX_FMT_RGB444.</revremark>
342 </revision>
343
344 <revision>
345 <revnumber>0.18</revnumber>
346 <date>2006-10-18</date>
347 <authorinitials>mhs</authorinitials>
348 <revremark>Added the description of extended controls by Hans
349Verkuil. Linked V4L2_PIX_FMT_MPEG to V4L2_CID_MPEG_STREAM_TYPE.</revremark>
350 </revision>
351
352 <revision>
353 <revnumber>0.17</revnumber>
354 <date>2006-10-12</date>
355 <authorinitials>mhs</authorinitials>
356 <revremark>Corrected V4L2_PIX_FMT_HM12 description.</revremark>
357 </revision>
358
359 <revision>
360 <revnumber>0.16</revnumber>
361 <date>2006-10-08</date>
362 <authorinitials>mhs</authorinitials>
363 <revremark>VIDIOC_ENUM_FRAMESIZES and
364VIDIOC_ENUM_FRAMEINTERVALS are now part of the API.</revremark>
365 </revision>
366
367 <revision>
368 <revnumber>0.15</revnumber>
369 <date>2006-09-23</date>
370 <authorinitials>mhs</authorinitials>
371 <revremark>Cleaned up the bibliography, added BT.653 and
372BT.1119. capture.c/start_capturing() for user pointer I/O did not
373initialize the buffer index. Documented the V4L MPEG and MJPEG
374VID_TYPEs and V4L2_PIX_FMT_SBGGR8. Updated the list of reserved pixel
375formats. See the history chapter for API changes.</revremark>
376 </revision>
377
378 <revision>
379 <revnumber>0.14</revnumber>
380 <date>2006-09-14</date>
381 <authorinitials>mr</authorinitials>
382 <revremark>Added VIDIOC_ENUM_FRAMESIZES and
383VIDIOC_ENUM_FRAMEINTERVALS proposal for frame format enumeration of
384digital devices.</revremark>
385 </revision>
386
387 <revision>
388 <revnumber>0.13</revnumber>
389 <date>2006-04-07</date>
390 <authorinitials>mhs</authorinitials>
391 <revremark>Corrected the description of struct v4l2_window
392clips. New V4L2_STD_ and V4L2_TUNER_MODE_LANG1_LANG2
393defines.</revremark>
394 </revision>
395
396 <revision>
397 <revnumber>0.12</revnumber>
398 <date>2006-02-03</date>
399 <authorinitials>mhs</authorinitials>
400 <revremark>Corrected the description of struct
401v4l2_captureparm and v4l2_outputparm.</revremark>
402 </revision>
403
404 <revision>
405 <revnumber>0.11</revnumber>
406 <date>2006-01-27</date>
407 <authorinitials>mhs</authorinitials>
408 <revremark>Improved the description of struct
409v4l2_tuner.</revremark>
410 </revision>
411
412 <revision>
413 <revnumber>0.10</revnumber>
414 <date>2006-01-10</date>
415 <authorinitials>mhs</authorinitials>
416 <revremark>VIDIOC_G_INPUT and VIDIOC_S_PARM
417clarifications.</revremark>
418 </revision>
419
420 <revision>
421 <revnumber>0.9</revnumber>
422 <date>2005-11-27</date>
423 <authorinitials>mhs</authorinitials>
424 <revremark>Improved the 525 line numbering diagram. Hans
425Verkuil and I rewrote the sliced VBI section. He also contributed a
426VIDIOC_LOG_STATUS page. Fixed VIDIOC_S_STD call in the video standard
427selection example. Various updates.</revremark>
428 </revision>
429
430 <revision>
431 <revnumber>0.8</revnumber>
432 <date>2004-10-04</date>
433 <authorinitials>mhs</authorinitials>
434 <revremark>Somehow a piece of junk slipped into the capture
435example, removed.</revremark>
436 </revision>
437
438 <revision>
439 <revnumber>0.7</revnumber>
440 <date>2004-09-19</date>
441 <authorinitials>mhs</authorinitials>
442 <revremark>Fixed video standard selection, control
443enumeration, downscaling and aspect example. Added read and user
444pointer i/o to video capture example.</revremark>
445 </revision>
446
447 <revision>
448 <revnumber>0.6</revnumber>
449 <date>2004-08-01</date>
450 <authorinitials>mhs</authorinitials>
451 <revremark>v4l2_buffer changes, added video capture example,
452various corrections.</revremark>
453 </revision>
454
455 <revision>
456 <revnumber>0.5</revnumber>
457 <date>2003-11-05</date>
458 <authorinitials>mhs</authorinitials>
459 <revremark>Pixel format erratum.</revremark>
460 </revision>
461
462 <revision>
463 <revnumber>0.4</revnumber>
464 <date>2003-09-17</date>
465 <authorinitials>mhs</authorinitials>
466 <revremark>Corrected source and Makefile to generate a PDF.
467SGML fixes. Added latest API changes. Closed gaps in the history
468chapter.</revremark>
469 </revision>
470
471 <revision>
472 <revnumber>0.3</revnumber>
473 <date>2003-02-05</date>
474 <authorinitials>mhs</authorinitials>
475 <revremark>Another draft, more corrections.</revremark>
476 </revision>
477
478 <revision>
479 <revnumber>0.2</revnumber>
480 <date>2003-01-15</date>
481 <authorinitials>mhs</authorinitials>
482 <revremark>Second draft, with corrections pointed out by Gerd
483Knorr.</revremark>
484 </revision>
485
486 <revision>
487 <revnumber>0.1</revnumber>
488 <date>2002-12-01</date>
489 <authorinitials>mhs</authorinitials>
490 <revremark>First draft, based on documentation by Bill Dirks
491and discussions on the V4L mailing list.</revremark>
492 </revision>
493 </revhistory>
494</partinfo>
495
496<title>Video for Linux Two API Specification</title>
Sakari Ailus1202ecd2012-10-21 16:02:47 -0300497 <subtitle>Revision 3.9</subtitle>
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300498
499 <chapter id="common">
500 &sub-common;
501 </chapter>
502
503 <chapter id="pixfmt">
504 &sub-pixfmt;
505 </chapter>
506
507 <chapter id="io">
508 &sub-io;
509 </chapter>
510
511 <chapter id="devices">
512 <title>Interfaces</title>
513
514 <section id="capture"> &sub-dev-capture; </section>
515 <section id="overlay"> &sub-dev-overlay; </section>
516 <section id="output"> &sub-dev-output; </section>
517 <section id="osd"> &sub-dev-osd; </section>
518 <section id="codec"> &sub-dev-codec; </section>
519 <section id="effect"> &sub-dev-effect; </section>
520 <section id="raw-vbi"> &sub-dev-raw-vbi; </section>
521 <section id="sliced"> &sub-dev-sliced-vbi; </section>
522 <section id="ttx"> &sub-dev-teletext; </section>
523 <section id="radio"> &sub-dev-radio; </section>
524 <section id="rds"> &sub-dev-rds; </section>
Sakari Ailusdd966082010-03-27 10:58:24 -0300525 <section id="event"> &sub-dev-event; </section>
Laurent Pinchart333c8b92010-03-15 20:26:04 -0300526 <section id="subdev"> &sub-dev-subdev; </section>
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300527 </chapter>
528
529 <chapter id="driver">
530 &sub-driver;
531 </chapter>
532
533 <chapter id="libv4l">
534 &sub-libv4l;
535 </chapter>
536
537 <chapter id="compat">
538 &sub-compat;
539 </chapter>
540
Mauro Carvalho Chehabdb17ab92009-09-17 01:44:22 -0300541 <appendix id="user-func">
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300542 <title>Function Reference</title>
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300543
544 <!-- Keep this alphabetically sorted. -->
545
546 &sub-close;
547 &sub-ioctl;
548 <!-- All ioctls go here. -->
Guennadi Liakhovetski55093282011-09-28 08:10:58 -0300549 &sub-create-bufs;
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300550 &sub-cropcap;
551 &sub-dbg-g-chip-ident;
552 &sub-dbg-g-register;
Hans Verkuil6b4f1252011-11-24 09:55:53 -0300553 &sub-decoder-cmd;
Sakari Ailusdd966082010-03-27 10:58:24 -0300554 &sub-dqevent;
Hans Verkuil7dcc6062012-05-15 08:04:28 -0300555 &sub-dv-timings-cap;
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300556 &sub-encoder-cmd;
557 &sub-enumaudio;
558 &sub-enumaudioout;
Hans Verkuil7dcc6062012-05-15 08:04:28 -0300559 &sub-enum-dv-timings;
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300560 &sub-enum-fmt;
561 &sub-enum-framesizes;
562 &sub-enum-frameintervals;
Hans Verkuil50121312012-07-05 06:54:38 -0300563 &sub-enum-freq-bands;
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300564 &sub-enuminput;
565 &sub-enumoutput;
566 &sub-enumstd;
Tomasz Stanislawski19b6ef52012-06-14 11:32:22 -0300567 &sub-expbuf;
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300568 &sub-g-audio;
569 &sub-g-audioout;
570 &sub-g-crop;
571 &sub-g-ctrl;
Muralidharan Karicheri007701e2009-12-03 01:13:17 -0300572 &sub-g-dv-timings;
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300573 &sub-g-enc-index;
574 &sub-g-ext-ctrls;
575 &sub-g-fbuf;
576 &sub-g-fmt;
577 &sub-g-frequency;
578 &sub-g-input;
579 &sub-g-jpegcomp;
580 &sub-g-modulator;
581 &sub-g-output;
582 &sub-g-parm;
583 &sub-g-priority;
Tomasz Stanislawski8af49222011-08-19 07:00:04 -0300584 &sub-g-selection;
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300585 &sub-g-sliced-vbi-cap;
586 &sub-g-std;
587 &sub-g-tuner;
588 &sub-log-status;
589 &sub-overlay;
Hans Verkuil87736df2012-06-06 17:48:46 -0300590 &sub-prepare-buf;
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300591 &sub-qbuf;
592 &sub-querybuf;
593 &sub-querycap;
594 &sub-queryctrl;
Hans Verkuil7dcc6062012-05-15 08:04:28 -0300595 &sub-query-dv-timings;
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300596 &sub-querystd;
597 &sub-reqbufs;
598 &sub-s-hw-freq-seek;
599 &sub-streamon;
Laurent Pinchart35c30172010-05-05 11:38:35 -0300600 &sub-subdev-enum-frame-interval;
Laurent Pinchart333c8b92010-03-15 20:26:04 -0300601 &sub-subdev-enum-frame-size;
602 &sub-subdev-enum-mbus-code;
Antti Koskipaaf6a5cb12010-06-23 05:03:42 -0300603 &sub-subdev-g-crop;
Hans Verkuil7c287e92012-09-26 05:24:18 -0300604 &sub-subdev-g-edid;
Laurent Pinchart333c8b92010-03-15 20:26:04 -0300605 &sub-subdev-g-fmt;
Laurent Pinchart35c30172010-05-05 11:38:35 -0300606 &sub-subdev-g-frame-interval;
Sakari Ailus955f6452011-12-12 18:17:25 -0300607 &sub-subdev-g-selection;
Sakari Ailusdd966082010-03-27 10:58:24 -0300608 &sub-subscribe-event;
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300609 <!-- End of ioctls. -->
610 &sub-mmap;
611 &sub-munmap;
612 &sub-open;
613 &sub-poll;
614 &sub-read;
615 &sub-select;
616 &sub-write;
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300617 </appendix>
618
Sakari Ailus64b9ce82012-06-01 13:56:53 -0300619 <appendix>
620 <title>Common definitions for V4L2 and V4L2 subdev interfaces</title>
621 &sub-selections-common;
622 </appendix>
623
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300624 <appendix id="videodev">
625 <title>Video For Linux Two Header File</title>
626 &sub-videodev2-h;
627 </appendix>
628
629 <appendix id="capture-example">
630 <title>Video Capture Example</title>
631 &sub-capture-c;
632 </appendix>
633
634 <appendix id="v4l2grab-example">
635 <title>Video Grabber example using libv4l</title>
636 <para>This program demonstrates how to grab V4L2 images in ppm format by
637using libv4l handlers. The advantage is that this grabber can potentially work
638with any V4L2 driver.</para>
639 &sub-v4l2grab-c;
640 </appendix>
641
642 &sub-media-indices;
643
644 &sub-biblio;
645