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