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