blob: e6fbbc6c17e119ae8f94cdd4b902d1d42a2fd2a5 [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,
31the extended control ioctls and major parts of the sliced VBI
32API.</contrib>
33 <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>
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300126 <holder>Bill Dirks, Michael H. Schimek, Hans Verkuil, Martin
Pawel Osciak53b5d572011-01-07 01:41:33 -0300127Rubli, Andy Walls, Muralidharan Karicheri, Mauro Carvalho Chehab,
128 Pawel Osciak</holder>
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300129 </copyright>
130 <legalnotice>
131 <para>Except when explicitly stated as GPL, programming examples within
132 this part can be used and distributed without restrictions.</para>
133 </legalnotice>
134 <revhistory>
135 <!-- Put document revisions here, newest first. -->
136 <!-- API revisions (changes and additions of defines, enums,
137structs, ioctls) must be noted in more detail in the history chapter
Hans Verkuilf44026d2010-08-06 12:52:43 -0300138(compat.xml), along with the possible impact on existing drivers and
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300139applications. -->
140
141 <revision>
Sakari Ailus6ec299f2011-08-06 16:13:47 -0300142 <revnumber>3.5</revnumber>
Sylwester Nawrocki2272ab62012-05-11 06:37:03 -0300143 <date>2012-05-07</date>
Sylwester Nawrocki6491d1a2012-04-02 06:40:19 -0300144 <authorinitials>sa, sn</authorinitials>
Sakari Ailus955f6452011-12-12 18:17:25 -0300145 <revremark>Added V4L2_CTRL_TYPE_INTEGER_MENU and V4L2 subdev
Sylwester Nawrocki6491d1a2012-04-02 06:40:19 -0300146 selections API. Improved the description of V4L2_CID_COLORFX
147 control, added V4L2_CID_COLORFX_CBCR control.
Sylwester Nawrocki2272ab62012-05-11 06:37:03 -0300148 Added camera controls V4L2_CID_AUTO_EXPOSURE_BIAS,
149 V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE, V4L2_CID_IMAGE_STABILIZATION,
150 V4L2_CID_ISO_SENSITIVITY, V4L2_CID_ISO_SENSITIVITY_AUTO,
151 V4L2_CID_EXPOSURE_METERING, V4L2_CID_SCENE_MODE,
152 V4L2_CID_3A_LOCK, V4L2_CID_AUTO_FOCUS_START,
153 V4L2_CID_AUTO_FOCUS_STOP, V4L2_CID_AUTO_FOCUS_STATUS
154 and V4L2_CID_AUTO_FOCUS_RANGE.
Sakari Ailus6ec299f2011-08-06 16:13:47 -0300155 </revremark>
156 </revision>
157
158 <revision>
Sylwester Nawrocki29fa0ee2012-01-20 15:38:50 -0300159 <revnumber>3.4</revnumber>
160 <date>2012-01-25</date>
161 <authorinitials>sn</authorinitials>
162 <revremark>Added <link linkend="jpeg-controls">JPEG compression
163 control class.</link>
164 </revremark>
165 </revision>
166
167 <revision>
Hans Verkuil583aa3a2012-01-11 06:45:05 -0300168 <revnumber>3.3</revnumber>
169 <date>2012-01-11</date>
170 <authorinitials>hv</authorinitials>
171 <revremark>Added device_caps field to struct v4l2_capabilities.</revremark>
172 </revision>
173
174 <revision>
Hans Verkuil74a45792011-08-26 07:31:13 -0300175 <revnumber>3.2</revnumber>
176 <date>2011-08-26</date>
177 <authorinitials>hv</authorinitials>
178 <revremark>Added V4L2_CTRL_FLAG_VOLATILE.</revremark>
179 </revision>
180
181 <revision>
Mauro Carvalho Chehabc20eb182011-06-25 14:11:52 -0300182 <revnumber>3.1</revnumber>
183 <date>2011-06-27</date>
Hans Verkuilaec67f02011-05-23 07:36:55 -0300184 <authorinitials>mcc, po, hv</authorinitials>
185 <revremark>Documented that VIDIOC_QUERYCAP now returns a per-subsystem version instead of a per-driver one.
186 Standardize an error code for invalid ioctl.
187 Added V4L2_CTRL_TYPE_BITMASK.</revremark>
Mauro Carvalho Chehabc20eb182011-06-25 14:11:52 -0300188 </revision>
Mauro Carvalho Chehab9190d192011-07-06 14:08:08 -0300189
Mauro Carvalho Chehabc20eb182011-06-25 14:11:52 -0300190 <revision>
Mauro Carvalho Chehab3822f182011-03-01 16:03:11 -0300191 <revnumber>2.6.39</revnumber>
192 <date>2011-03-01</date>
Pawel Osciakf0e3b642011-03-13 15:20:22 -0300193 <authorinitials>mcc, po</authorinitials>
194 <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 -0300195 </revision>
196
197 <revision>
Hans Verkuilf44026d2010-08-06 12:52:43 -0300198 <revnumber>2.6.37</revnumber>
199 <date>2010-08-06</date>
200 <authorinitials>hv</authorinitials>
201 <revremark>Removed obsolete vtx (videotext) API.</revremark>
202 </revision>
203
204 <revision>
Hans Verkuilb33f5f82009-12-03 01:32:12 -0300205 <revnumber>2.6.33</revnumber>
206 <date>2009-12-03</date>
207 <authorinitials>mk</authorinitials>
208 <revremark>Added documentation for the Digital Video timings API.</revremark>
209 </revision>
210
211 <revision>
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300212 <revnumber>2.6.32</revnumber>
213 <date>2009-08-31</date>
214 <authorinitials>mcc</authorinitials>
215 <revremark>Now, revisions will match the kernel version where
216the V4L2 API changes will be used by the Linux Kernel.
217Also added Remote Controller chapter.</revremark>
218 </revision>
219
220 <revision>
221 <revnumber>0.29</revnumber>
222 <date>2009-08-26</date>
223 <authorinitials>ev</authorinitials>
224 <revremark>Added documentation for string controls and for FM Transmitter controls.</revremark>
225 </revision>
226
227 <revision>
228 <revnumber>0.28</revnumber>
229 <date>2009-08-26</date>
230 <authorinitials>gl</authorinitials>
231 <revremark>Added V4L2_CID_BAND_STOP_FILTER documentation.</revremark>
232 </revision>
233
234 <revision>
235 <revnumber>0.27</revnumber>
236 <date>2009-08-15</date>
237 <authorinitials>mcc</authorinitials>
238 <revremark>Added libv4l and Remote Controller documentation;
239added v4l2grab and keytable application examples.</revremark>
240 </revision>
241
242 <revision>
243 <revnumber>0.26</revnumber>
244 <date>2009-07-23</date>
245 <authorinitials>hv</authorinitials>
246 <revremark>Finalized the RDS capture API. Added modulator and RDS encoder
247capabilities. Added support for string controls.</revremark>
248 </revision>
249
250 <revision>
251 <revnumber>0.25</revnumber>
252 <date>2009-01-18</date>
253 <authorinitials>hv</authorinitials>
254 <revremark>Added pixel formats VYUY, NV16 and NV61, and changed
255the debug ioctls VIDIOC_DBG_G/S_REGISTER and VIDIOC_DBG_G_CHIP_IDENT.
256Added camera controls V4L2_CID_ZOOM_ABSOLUTE, V4L2_CID_ZOOM_RELATIVE,
257V4L2_CID_ZOOM_CONTINUOUS and V4L2_CID_PRIVACY.</revremark>
258 </revision>
259
260 <revision>
261 <revnumber>0.24</revnumber>
262 <date>2008-03-04</date>
263 <authorinitials>mhs</authorinitials>
264 <revremark>Added pixel formats Y16 and SBGGR16, new controls
265and a camera controls class. Removed VIDIOC_G/S_MPEGCOMP.</revremark>
266 </revision>
267
268 <revision>
269 <revnumber>0.23</revnumber>
270 <date>2007-08-30</date>
271 <authorinitials>mhs</authorinitials>
272 <revremark>Fixed a typo in VIDIOC_DBG_G/S_REGISTER.
273Clarified the byte order of packed pixel formats.</revremark>
274 </revision>
275
276 <revision>
277 <revnumber>0.22</revnumber>
278 <date>2007-08-29</date>
279 <authorinitials>mhs</authorinitials>
280 <revremark>Added the Video Output Overlay interface, new MPEG
281controls, V4L2_FIELD_INTERLACED_TB and V4L2_FIELD_INTERLACED_BT,
282VIDIOC_DBG_G/S_REGISTER, VIDIOC_(TRY_)ENCODER_CMD,
283VIDIOC_G_CHIP_IDENT, VIDIOC_G_ENC_INDEX, new pixel formats.
284Clarifications in the cropping chapter, about RGB pixel formats, the
285mmap(), poll(), select(), read() and write() functions. Typographical
286fixes.</revremark>
287 </revision>
288
289 <revision>
290 <revnumber>0.21</revnumber>
291 <date>2006-12-19</date>
292 <authorinitials>mhs</authorinitials>
293 <revremark>Fixed a link in the VIDIOC_G_EXT_CTRLS section.</revremark>
294 </revision>
295
296 <revision>
297 <revnumber>0.20</revnumber>
298 <date>2006-11-24</date>
299 <authorinitials>mhs</authorinitials>
300 <revremark>Clarified the purpose of the audioset field in
301struct v4l2_input and v4l2_output.</revremark>
302 </revision>
303
304 <revision>
305 <revnumber>0.19</revnumber>
306 <date>2006-10-19</date>
307 <authorinitials>mhs</authorinitials>
308 <revremark>Documented V4L2_PIX_FMT_RGB444.</revremark>
309 </revision>
310
311 <revision>
312 <revnumber>0.18</revnumber>
313 <date>2006-10-18</date>
314 <authorinitials>mhs</authorinitials>
315 <revremark>Added the description of extended controls by Hans
316Verkuil. Linked V4L2_PIX_FMT_MPEG to V4L2_CID_MPEG_STREAM_TYPE.</revremark>
317 </revision>
318
319 <revision>
320 <revnumber>0.17</revnumber>
321 <date>2006-10-12</date>
322 <authorinitials>mhs</authorinitials>
323 <revremark>Corrected V4L2_PIX_FMT_HM12 description.</revremark>
324 </revision>
325
326 <revision>
327 <revnumber>0.16</revnumber>
328 <date>2006-10-08</date>
329 <authorinitials>mhs</authorinitials>
330 <revremark>VIDIOC_ENUM_FRAMESIZES and
331VIDIOC_ENUM_FRAMEINTERVALS are now part of the API.</revremark>
332 </revision>
333
334 <revision>
335 <revnumber>0.15</revnumber>
336 <date>2006-09-23</date>
337 <authorinitials>mhs</authorinitials>
338 <revremark>Cleaned up the bibliography, added BT.653 and
339BT.1119. capture.c/start_capturing() for user pointer I/O did not
340initialize the buffer index. Documented the V4L MPEG and MJPEG
341VID_TYPEs and V4L2_PIX_FMT_SBGGR8. Updated the list of reserved pixel
342formats. See the history chapter for API changes.</revremark>
343 </revision>
344
345 <revision>
346 <revnumber>0.14</revnumber>
347 <date>2006-09-14</date>
348 <authorinitials>mr</authorinitials>
349 <revremark>Added VIDIOC_ENUM_FRAMESIZES and
350VIDIOC_ENUM_FRAMEINTERVALS proposal for frame format enumeration of
351digital devices.</revremark>
352 </revision>
353
354 <revision>
355 <revnumber>0.13</revnumber>
356 <date>2006-04-07</date>
357 <authorinitials>mhs</authorinitials>
358 <revremark>Corrected the description of struct v4l2_window
359clips. New V4L2_STD_ and V4L2_TUNER_MODE_LANG1_LANG2
360defines.</revremark>
361 </revision>
362
363 <revision>
364 <revnumber>0.12</revnumber>
365 <date>2006-02-03</date>
366 <authorinitials>mhs</authorinitials>
367 <revremark>Corrected the description of struct
368v4l2_captureparm and v4l2_outputparm.</revremark>
369 </revision>
370
371 <revision>
372 <revnumber>0.11</revnumber>
373 <date>2006-01-27</date>
374 <authorinitials>mhs</authorinitials>
375 <revremark>Improved the description of struct
376v4l2_tuner.</revremark>
377 </revision>
378
379 <revision>
380 <revnumber>0.10</revnumber>
381 <date>2006-01-10</date>
382 <authorinitials>mhs</authorinitials>
383 <revremark>VIDIOC_G_INPUT and VIDIOC_S_PARM
384clarifications.</revremark>
385 </revision>
386
387 <revision>
388 <revnumber>0.9</revnumber>
389 <date>2005-11-27</date>
390 <authorinitials>mhs</authorinitials>
391 <revremark>Improved the 525 line numbering diagram. Hans
392Verkuil and I rewrote the sliced VBI section. He also contributed a
393VIDIOC_LOG_STATUS page. Fixed VIDIOC_S_STD call in the video standard
394selection example. Various updates.</revremark>
395 </revision>
396
397 <revision>
398 <revnumber>0.8</revnumber>
399 <date>2004-10-04</date>
400 <authorinitials>mhs</authorinitials>
401 <revremark>Somehow a piece of junk slipped into the capture
402example, removed.</revremark>
403 </revision>
404
405 <revision>
406 <revnumber>0.7</revnumber>
407 <date>2004-09-19</date>
408 <authorinitials>mhs</authorinitials>
409 <revremark>Fixed video standard selection, control
410enumeration, downscaling and aspect example. Added read and user
411pointer i/o to video capture example.</revremark>
412 </revision>
413
414 <revision>
415 <revnumber>0.6</revnumber>
416 <date>2004-08-01</date>
417 <authorinitials>mhs</authorinitials>
418 <revremark>v4l2_buffer changes, added video capture example,
419various corrections.</revremark>
420 </revision>
421
422 <revision>
423 <revnumber>0.5</revnumber>
424 <date>2003-11-05</date>
425 <authorinitials>mhs</authorinitials>
426 <revremark>Pixel format erratum.</revremark>
427 </revision>
428
429 <revision>
430 <revnumber>0.4</revnumber>
431 <date>2003-09-17</date>
432 <authorinitials>mhs</authorinitials>
433 <revremark>Corrected source and Makefile to generate a PDF.
434SGML fixes. Added latest API changes. Closed gaps in the history
435chapter.</revremark>
436 </revision>
437
438 <revision>
439 <revnumber>0.3</revnumber>
440 <date>2003-02-05</date>
441 <authorinitials>mhs</authorinitials>
442 <revremark>Another draft, more corrections.</revremark>
443 </revision>
444
445 <revision>
446 <revnumber>0.2</revnumber>
447 <date>2003-01-15</date>
448 <authorinitials>mhs</authorinitials>
449 <revremark>Second draft, with corrections pointed out by Gerd
450Knorr.</revremark>
451 </revision>
452
453 <revision>
454 <revnumber>0.1</revnumber>
455 <date>2002-12-01</date>
456 <authorinitials>mhs</authorinitials>
457 <revremark>First draft, based on documentation by Bill Dirks
458and discussions on the V4L mailing list.</revremark>
459 </revision>
460 </revhistory>
461</partinfo>
462
463<title>Video for Linux Two API Specification</title>
Hans Verkuil583aa3a2012-01-11 06:45:05 -0300464 <subtitle>Revision 3.3</subtitle>
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300465
466 <chapter id="common">
467 &sub-common;
468 </chapter>
469
470 <chapter id="pixfmt">
471 &sub-pixfmt;
472 </chapter>
473
474 <chapter id="io">
475 &sub-io;
476 </chapter>
477
478 <chapter id="devices">
479 <title>Interfaces</title>
480
481 <section id="capture"> &sub-dev-capture; </section>
482 <section id="overlay"> &sub-dev-overlay; </section>
483 <section id="output"> &sub-dev-output; </section>
484 <section id="osd"> &sub-dev-osd; </section>
485 <section id="codec"> &sub-dev-codec; </section>
486 <section id="effect"> &sub-dev-effect; </section>
487 <section id="raw-vbi"> &sub-dev-raw-vbi; </section>
488 <section id="sliced"> &sub-dev-sliced-vbi; </section>
489 <section id="ttx"> &sub-dev-teletext; </section>
490 <section id="radio"> &sub-dev-radio; </section>
491 <section id="rds"> &sub-dev-rds; </section>
Sakari Ailusdd966082010-03-27 10:58:24 -0300492 <section id="event"> &sub-dev-event; </section>
Laurent Pinchart333c8b92010-03-15 20:26:04 -0300493 <section id="subdev"> &sub-dev-subdev; </section>
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300494 </chapter>
495
496 <chapter id="driver">
497 &sub-driver;
498 </chapter>
499
500 <chapter id="libv4l">
501 &sub-libv4l;
502 </chapter>
503
504 <chapter id="compat">
505 &sub-compat;
506 </chapter>
507
Mauro Carvalho Chehabdb17ab92009-09-17 01:44:22 -0300508 <appendix id="user-func">
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300509 <title>Function Reference</title>
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300510
511 <!-- Keep this alphabetically sorted. -->
512
513 &sub-close;
514 &sub-ioctl;
515 <!-- All ioctls go here. -->
Guennadi Liakhovetski55093282011-09-28 08:10:58 -0300516 &sub-create-bufs;
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300517 &sub-cropcap;
518 &sub-dbg-g-chip-ident;
519 &sub-dbg-g-register;
Hans Verkuil6b4f1252011-11-24 09:55:53 -0300520 &sub-decoder-cmd;
Sakari Ailusdd966082010-03-27 10:58:24 -0300521 &sub-dqevent;
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300522 &sub-encoder-cmd;
523 &sub-enumaudio;
524 &sub-enumaudioout;
Muralidharan Karicheri007701e2009-12-03 01:13:17 -0300525 &sub-enum-dv-presets;
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300526 &sub-enum-fmt;
527 &sub-enum-framesizes;
528 &sub-enum-frameintervals;
529 &sub-enuminput;
530 &sub-enumoutput;
531 &sub-enumstd;
532 &sub-g-audio;
533 &sub-g-audioout;
534 &sub-g-crop;
535 &sub-g-ctrl;
Muralidharan Karicheri007701e2009-12-03 01:13:17 -0300536 &sub-g-dv-preset;
537 &sub-g-dv-timings;
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300538 &sub-g-enc-index;
539 &sub-g-ext-ctrls;
540 &sub-g-fbuf;
541 &sub-g-fmt;
542 &sub-g-frequency;
543 &sub-g-input;
544 &sub-g-jpegcomp;
545 &sub-g-modulator;
546 &sub-g-output;
547 &sub-g-parm;
548 &sub-g-priority;
Tomasz Stanislawski8af49222011-08-19 07:00:04 -0300549 &sub-g-selection;
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300550 &sub-g-sliced-vbi-cap;
551 &sub-g-std;
552 &sub-g-tuner;
553 &sub-log-status;
554 &sub-overlay;
555 &sub-qbuf;
556 &sub-querybuf;
557 &sub-querycap;
558 &sub-queryctrl;
Muralidharan Karicheri007701e2009-12-03 01:13:17 -0300559 &sub-query-dv-preset;
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300560 &sub-querystd;
Guennadi Liakhovetski55093282011-09-28 08:10:58 -0300561 &sub-prepare-buf;
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300562 &sub-reqbufs;
563 &sub-s-hw-freq-seek;
564 &sub-streamon;
Laurent Pinchart35c30172010-05-05 11:38:35 -0300565 &sub-subdev-enum-frame-interval;
Laurent Pinchart333c8b92010-03-15 20:26:04 -0300566 &sub-subdev-enum-frame-size;
567 &sub-subdev-enum-mbus-code;
Antti Koskipaaf6a5cb12010-06-23 05:03:42 -0300568 &sub-subdev-g-crop;
Laurent Pinchart333c8b92010-03-15 20:26:04 -0300569 &sub-subdev-g-fmt;
Laurent Pinchart35c30172010-05-05 11:38:35 -0300570 &sub-subdev-g-frame-interval;
Sakari Ailus955f6452011-12-12 18:17:25 -0300571 &sub-subdev-g-selection;
Sakari Ailusdd966082010-03-27 10:58:24 -0300572 &sub-subscribe-event;
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300573 <!-- End of ioctls. -->
574 &sub-mmap;
575 &sub-munmap;
576 &sub-open;
577 &sub-poll;
578 &sub-read;
579 &sub-select;
580 &sub-write;
Mauro Carvalho Chehab8e080c22009-09-13 22:16:04 -0300581 </appendix>
582
583 <appendix id="videodev">
584 <title>Video For Linux Two Header File</title>
585 &sub-videodev2-h;
586 </appendix>
587
588 <appendix id="capture-example">
589 <title>Video Capture Example</title>
590 &sub-capture-c;
591 </appendix>
592
593 <appendix id="v4l2grab-example">
594 <title>Video Grabber example using libv4l</title>
595 <para>This program demonstrates how to grab V4L2 images in ppm format by
596using libv4l handlers. The advantage is that this grabber can potentially work
597with any V4L2 driver.</para>
598 &sub-v4l2grab-c;
599 </appendix>
600
601 &sub-media-indices;
602
603 &sub-biblio;
604