About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Documentation / DocBook / media / v4l / v4l2.xml




Custom Search

Based on kernel version 4.1. Page generated on 2015-06-28 12:12 EST.

1	 <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
24	documentation.</contrib>
25	      </author>
26	
27	      <author>
28		<firstname>Hans</firstname>
29		<surname>Verkuil</surname>
30		<contrib>Designed and documented the VIDIOC_LOG_STATUS ioctl,
31	the extended control ioctls, major parts of the sliced VBI API, the
32	MPEG encoder and decoder APIs and the DV Timings API.</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
50	and 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
57	MPEG stream embedded, sliced VBI data format in this specification.
58	</contrib>
59		<affiliation>
60		  <address>
61		    <email>awalls@md.metrocast.net</email>
62		  </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,
70	Remote Controller chapter.</contrib>
71		<affiliation>
72		  <address>
73		    <email>m.chehab@samsung.com</email>
74		  </address>
75		</affiliation>
76	      </author>
77	
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>
88	
89	      <author>
90		<firstname>Pawel</firstname>
91		<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>
99	
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>
110	      <author>
111		<firstname>Antti</firstname>
112		<surname>Palosaari</surname>
113		<contrib>SDR API.</contrib>
114		<affiliation>
115		  <address>
116		    <email>crope@iki.fi</email>
117		  </address>
118		</affiliation>
119	      </author>
120	    </authorgroup>
121	
122	    <copyright>
123	      <year>1999</year>
124	      <year>2000</year>
125	      <year>2001</year>
126	      <year>2002</year>
127	      <year>2003</year>
128	      <year>2004</year>
129	      <year>2005</year>
130	      <year>2006</year>
131	      <year>2007</year>
132	      <year>2008</year>
133	      <year>2009</year>
134	      <year>2010</year>
135	      <year>2011</year>
136	      <year>2012</year>
137	      <year>2013</year>
138	      <year>2014</year>
139	      <year>2015</year>
140	      <holder>Bill Dirks, Michael H. Schimek, Hans Verkuil, Martin
141	Rubli, Andy Walls, Muralidharan Karicheri, Mauro Carvalho Chehab,
142		Pawel Osciak</holder>
143	    </copyright>
144	    <legalnotice>
145	    <para>Except when explicitly stated as GPL, programming examples within
146		    this part can be used and distributed without restrictions.</para>
147	    </legalnotice>
148	    <revhistory>
149	      <!-- Put document revisions here, newest first. -->
150	      <!-- API revisions (changes and additions of defines, enums,
151	structs, ioctls) must be noted in more detail in the history chapter
152	(compat.xml), along with the possible impact on existing drivers and
153	applications. -->
154	
155	      <revision>
156		<revnumber>3.21</revnumber>
157		<date>2015-02-13</date>
158		<authorinitials>mcc</authorinitials>
159		<revremark>Fix documentation for media controller device nodes and add support for DVB device nodes.
160	Add support for Tuner sub-device.
161		</revremark>
162	      </revision>
163	      <revision>
164		<revnumber>3.19</revnumber>
165		<date>2014-12-05</date>
166		<authorinitials>hv</authorinitials>
167		<revremark>Rewrote Colorspace chapter, added new &v4l2-ycbcr-encoding; and &v4l2-quantization; fields
168	to &v4l2-pix-format;, &v4l2-pix-format-mplane; and &v4l2-mbus-framefmt;.
169		</revremark>
170	      </revision>
171	
172	      <revision>
173		<revnumber>3.17</revnumber>
174		<date>2014-08-04</date>
175		<authorinitials>lp, hv</authorinitials>
176		<revremark>Extended &v4l2-pix-format;. Added format flags. Added compound control types
177	and VIDIOC_QUERY_EXT_CTRL.
178		</revremark>
179	      </revision>
180	
181	      <revision>
182		<revnumber>3.15</revnumber>
183		<date>2014-02-03</date>
184		<authorinitials>hv, ap</authorinitials>
185		<revremark>Update several sections of "Common API Elements": "Opening and Closing Devices"
186	"Querying Capabilities", "Application Priority", "Video Inputs and Outputs", "Audio Inputs and Outputs"
187	"Tuners and Modulators", "Video Standards" and "Digital Video (DV) Timings". Added SDR API.
188		</revremark>
189	      </revision>
190	
191	      <revision>
192		<revnumber>3.14</revnumber>
193		<date>2013-11-25</date>
194		<authorinitials>rr</authorinitials>
195		<revremark>Set width and height as unsigned on v4l2_rect.
196		</revremark>
197	      </revision>
198	
199	      <revision>
200		<revnumber>3.11</revnumber>
201		<date>2013-05-26</date>
202		<authorinitials>hv</authorinitials>
203		<revremark>Remove obsolete VIDIOC_DBG_G_CHIP_IDENT ioctl.
204		</revremark>
205	      </revision>
206	
207	      <revision>
208		<revnumber>3.10</revnumber>
209		<date>2013-03-25</date>
210		<authorinitials>hv</authorinitials>
211		<revremark>Remove obsolete and unused DV_PRESET ioctls:
212		VIDIOC_G_DV_PRESET, VIDIOC_S_DV_PRESET, VIDIOC_QUERY_DV_PRESET and
213		VIDIOC_ENUM_DV_PRESET. Remove the related v4l2_input/output capability
214		flags V4L2_IN_CAP_PRESETS and V4L2_OUT_CAP_PRESETS. Added VIDIOC_DBG_G_CHIP_INFO.
215		</revremark>
216	      </revision>
217	
218	      <revision>
219		<revnumber>3.9</revnumber>
220		<date>2012-12-03</date>
221		<authorinitials>sa, sn</authorinitials>
222		<revremark>Added timestamp types to v4l2_buffer.
223		Added V4L2_EVENT_CTRL_CH_RANGE control event changes flag.
224		</revremark>
225	      </revision>
226	
227	      <revision>
228		<revnumber>3.6</revnumber>
229		<date>2012-07-02</date>
230		<authorinitials>hv</authorinitials>
231		<revremark>Added VIDIOC_ENUM_FREQ_BANDS.
232		</revremark>
233	      </revision>
234	
235	      <revision>
236		<revnumber>3.5</revnumber>
237		<date>2012-05-07</date>
238		<authorinitials>sa, sn, hv</authorinitials>
239		<revremark>Added V4L2_CTRL_TYPE_INTEGER_MENU and V4L2 subdev
240		    selections API. Improved the description of V4L2_CID_COLORFX
241		    control, added V4L2_CID_COLORFX_CBCR control.
242		    Added camera controls V4L2_CID_AUTO_EXPOSURE_BIAS,
243		    V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE, V4L2_CID_IMAGE_STABILIZATION,
244		    V4L2_CID_ISO_SENSITIVITY, V4L2_CID_ISO_SENSITIVITY_AUTO,
245		    V4L2_CID_EXPOSURE_METERING, V4L2_CID_SCENE_MODE,
246		    V4L2_CID_3A_LOCK, V4L2_CID_AUTO_FOCUS_START,
247		    V4L2_CID_AUTO_FOCUS_STOP, V4L2_CID_AUTO_FOCUS_STATUS
248		    and V4L2_CID_AUTO_FOCUS_RANGE.
249		    Added VIDIOC_ENUM_DV_TIMINGS, VIDIOC_QUERY_DV_TIMINGS and
250		    VIDIOC_DV_TIMINGS_CAP.
251		</revremark>
252	      </revision>
253	
254	      <revision>
255		<revnumber>3.4</revnumber>
256		<date>2012-01-25</date>
257		<authorinitials>sn</authorinitials>
258		<revremark>Added <link linkend="jpeg-controls">JPEG compression
259		    control class.</link>
260		</revremark>
261	      </revision>
262	
263	      <revision>
264		<revnumber>3.3</revnumber>
265		<date>2012-01-11</date>
266		<authorinitials>hv</authorinitials>
267		<revremark>Added device_caps field to struct v4l2_capabilities.</revremark>
268	      </revision>
269	
270	      <revision>
271		<revnumber>3.2</revnumber>
272		<date>2011-08-26</date>
273		<authorinitials>hv</authorinitials>
274		<revremark>Added V4L2_CTRL_FLAG_VOLATILE.</revremark>
275	      </revision>
276	
277	      <revision>
278		<revnumber>3.1</revnumber>
279		<date>2011-06-27</date>
280		<authorinitials>mcc, po, hv</authorinitials>
281		<revremark>Documented that VIDIOC_QUERYCAP now returns a per-subsystem version instead of a per-driver one.
282			   Standardize an error code for invalid ioctl.
283			   Added V4L2_CTRL_TYPE_BITMASK.</revremark>
284	      </revision>
285	
286	      <revision>
287		<revnumber>2.6.39</revnumber>
288		<date>2011-03-01</date>
289		<authorinitials>mcc, po</authorinitials>
290		<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>
291	      </revision>
292	
293	      <revision>
294		<revnumber>2.6.37</revnumber>
295		<date>2010-08-06</date>
296		<authorinitials>hv</authorinitials>
297		<revremark>Removed obsolete vtx (videotext) API.</revremark>
298	      </revision>
299	
300	      <revision>
301		<revnumber>2.6.33</revnumber>
302		<date>2009-12-03</date>
303		<authorinitials>mk</authorinitials>
304		<revremark>Added documentation for the Digital Video timings API.</revremark>
305	      </revision>
306	
307	      <revision>
308		<revnumber>2.6.32</revnumber>
309		<date>2009-08-31</date>
310		<authorinitials>mcc</authorinitials>
311		<revremark>Now, revisions will match the kernel version where
312	the V4L2 API changes will be used by the Linux Kernel.
313	Also added Remote Controller chapter.</revremark>
314	      </revision>
315	
316	      <revision>
317		<revnumber>0.29</revnumber>
318		<date>2009-08-26</date>
319		<authorinitials>ev</authorinitials>
320		<revremark>Added documentation for string controls and for FM Transmitter controls.</revremark>
321	      </revision>
322	
323	      <revision>
324		<revnumber>0.28</revnumber>
325		<date>2009-08-26</date>
326		<authorinitials>gl</authorinitials>
327		<revremark>Added V4L2_CID_BAND_STOP_FILTER documentation.</revremark>
328	      </revision>
329	
330	      <revision>
331		<revnumber>0.27</revnumber>
332		<date>2009-08-15</date>
333		<authorinitials>mcc</authorinitials>
334		<revremark>Added libv4l and Remote Controller documentation;
335	added v4l2grab and keytable application examples.</revremark>
336	      </revision>
337	
338	      <revision>
339		<revnumber>0.26</revnumber>
340		<date>2009-07-23</date>
341		<authorinitials>hv</authorinitials>
342		<revremark>Finalized the RDS capture API. Added modulator and RDS encoder
343	capabilities. Added support for string controls.</revremark>
344	      </revision>
345	
346	      <revision>
347		<revnumber>0.25</revnumber>
348		<date>2009-01-18</date>
349		<authorinitials>hv</authorinitials>
350		<revremark>Added pixel formats VYUY, NV16 and NV61, and changed
351	the debug ioctls VIDIOC_DBG_G/S_REGISTER and VIDIOC_DBG_G_CHIP_IDENT.
352	Added camera controls V4L2_CID_ZOOM_ABSOLUTE, V4L2_CID_ZOOM_RELATIVE,
353	V4L2_CID_ZOOM_CONTINUOUS and V4L2_CID_PRIVACY.</revremark>
354	      </revision>
355	
356	      <revision>
357		<revnumber>0.24</revnumber>
358		<date>2008-03-04</date>
359		<authorinitials>mhs</authorinitials>
360		<revremark>Added pixel formats Y16 and SBGGR16, new controls
361	and a camera controls class. Removed VIDIOC_G/S_MPEGCOMP.</revremark>
362	      </revision>
363	
364	      <revision>
365		<revnumber>0.23</revnumber>
366		<date>2007-08-30</date>
367		<authorinitials>mhs</authorinitials>
368		<revremark>Fixed a typo in VIDIOC_DBG_G/S_REGISTER.
369	Clarified the byte order of packed pixel formats.</revremark>
370	      </revision>
371	
372	      <revision>
373		<revnumber>0.22</revnumber>
374		<date>2007-08-29</date>
375		<authorinitials>mhs</authorinitials>
376		<revremark>Added the Video Output Overlay interface, new MPEG
377	controls, V4L2_FIELD_INTERLACED_TB and V4L2_FIELD_INTERLACED_BT,
378	VIDIOC_DBG_G/S_REGISTER, VIDIOC_(TRY_)ENCODER_CMD,
379	VIDIOC_G_CHIP_IDENT, VIDIOC_G_ENC_INDEX, new pixel formats.
380	Clarifications in the cropping chapter, about RGB pixel formats, the
381	mmap(), poll(), select(), read() and write() functions. Typographical
382	fixes.</revremark>
383	      </revision>
384	
385	      <revision>
386		<revnumber>0.21</revnumber>
387		<date>2006-12-19</date>
388		<authorinitials>mhs</authorinitials>
389		<revremark>Fixed a link in the VIDIOC_G_EXT_CTRLS section.</revremark>
390	      </revision>
391	
392	      <revision>
393		<revnumber>0.20</revnumber>
394		<date>2006-11-24</date>
395		<authorinitials>mhs</authorinitials>
396		<revremark>Clarified the purpose of the audioset field in
397	struct v4l2_input and v4l2_output.</revremark>
398	      </revision>
399	
400	      <revision>
401		<revnumber>0.19</revnumber>
402		<date>2006-10-19</date>
403		<authorinitials>mhs</authorinitials>
404		<revremark>Documented V4L2_PIX_FMT_RGB444.</revremark>
405	      </revision>
406	
407	      <revision>
408		<revnumber>0.18</revnumber>
409		<date>2006-10-18</date>
410		<authorinitials>mhs</authorinitials>
411		<revremark>Added the description of extended controls by Hans
412	Verkuil. Linked V4L2_PIX_FMT_MPEG to V4L2_CID_MPEG_STREAM_TYPE.</revremark>
413	      </revision>
414	
415	      <revision>
416		<revnumber>0.17</revnumber>
417		<date>2006-10-12</date>
418		<authorinitials>mhs</authorinitials>
419		<revremark>Corrected V4L2_PIX_FMT_HM12 description.</revremark>
420	      </revision>
421	
422	      <revision>
423		<revnumber>0.16</revnumber>
424		<date>2006-10-08</date>
425		<authorinitials>mhs</authorinitials>
426		<revremark>VIDIOC_ENUM_FRAMESIZES and
427	VIDIOC_ENUM_FRAMEINTERVALS are now part of the API.</revremark>
428	      </revision>
429	
430	      <revision>
431		<revnumber>0.15</revnumber>
432		<date>2006-09-23</date>
433		<authorinitials>mhs</authorinitials>
434		<revremark>Cleaned up the bibliography, added BT.653 and
435	BT.1119. capture.c/start_capturing() for user pointer I/O did not
436	initialize the buffer index. Documented the V4L MPEG and MJPEG
437	VID_TYPEs and V4L2_PIX_FMT_SBGGR8. Updated the list of reserved pixel
438	formats. See the history chapter for API changes.</revremark>
439	      </revision>
440	
441	      <revision>
442		<revnumber>0.14</revnumber>
443		<date>2006-09-14</date>
444		<authorinitials>mr</authorinitials>
445		<revremark>Added VIDIOC_ENUM_FRAMESIZES and
446	VIDIOC_ENUM_FRAMEINTERVALS proposal for frame format enumeration of
447	digital devices.</revremark>
448	      </revision>
449	
450	      <revision>
451		<revnumber>0.13</revnumber>
452		<date>2006-04-07</date>
453		<authorinitials>mhs</authorinitials>
454		<revremark>Corrected the description of struct v4l2_window
455	clips. New V4L2_STD_ and V4L2_TUNER_MODE_LANG1_LANG2
456	defines.</revremark>
457	      </revision>
458	
459	      <revision>
460		<revnumber>0.12</revnumber>
461		<date>2006-02-03</date>
462		<authorinitials>mhs</authorinitials>
463		<revremark>Corrected the description of struct
464	v4l2_captureparm and v4l2_outputparm.</revremark>
465	      </revision>
466	
467	      <revision>
468		<revnumber>0.11</revnumber>
469		<date>2006-01-27</date>
470		<authorinitials>mhs</authorinitials>
471		<revremark>Improved the description of struct
472	v4l2_tuner.</revremark>
473	      </revision>
474	
475	      <revision>
476		<revnumber>0.10</revnumber>
477		<date>2006-01-10</date>
478		<authorinitials>mhs</authorinitials>
479		<revremark>VIDIOC_G_INPUT and VIDIOC_S_PARM
480	clarifications.</revremark>
481	      </revision>
482	
483	      <revision>
484		<revnumber>0.9</revnumber>
485		<date>2005-11-27</date>
486		<authorinitials>mhs</authorinitials>
487		<revremark>Improved the 525 line numbering diagram. Hans
488	Verkuil and I rewrote the sliced VBI section. He also contributed a
489	VIDIOC_LOG_STATUS page. Fixed VIDIOC_S_STD call in the video standard
490	selection example. Various updates.</revremark>
491	      </revision>
492	
493	      <revision>
494		<revnumber>0.8</revnumber>
495		<date>2004-10-04</date>
496		<authorinitials>mhs</authorinitials>
497		<revremark>Somehow a piece of junk slipped into the capture
498	example, removed.</revremark>
499	      </revision>
500	
501	      <revision>
502		<revnumber>0.7</revnumber>
503		<date>2004-09-19</date>
504		<authorinitials>mhs</authorinitials>
505		<revremark>Fixed video standard selection, control
506	enumeration, downscaling and aspect example. Added read and user
507	pointer i/o to video capture example.</revremark>
508	      </revision>
509	
510	      <revision>
511		<revnumber>0.6</revnumber>
512		<date>2004-08-01</date>
513		<authorinitials>mhs</authorinitials>
514		<revremark>v4l2_buffer changes, added video capture example,
515	various corrections.</revremark>
516	      </revision>
517	
518	      <revision>
519		<revnumber>0.5</revnumber>
520		<date>2003-11-05</date>
521		<authorinitials>mhs</authorinitials>
522		<revremark>Pixel format erratum.</revremark>
523	      </revision>
524	
525	      <revision>
526		<revnumber>0.4</revnumber>
527		<date>2003-09-17</date>
528		<authorinitials>mhs</authorinitials>
529		<revremark>Corrected source and Makefile to generate a PDF.
530	SGML fixes. Added latest API changes. Closed gaps in the history
531	chapter.</revremark>
532	      </revision>
533	
534	      <revision>
535		<revnumber>0.3</revnumber>
536		<date>2003-02-05</date>
537		<authorinitials>mhs</authorinitials>
538		<revremark>Another draft, more corrections.</revremark>
539	      </revision>
540	
541	      <revision>
542		<revnumber>0.2</revnumber>
543		<date>2003-01-15</date>
544		<authorinitials>mhs</authorinitials>
545		<revremark>Second draft, with corrections pointed out by Gerd
546	Knorr.</revremark>
547	      </revision>
548	
549	      <revision>
550		<revnumber>0.1</revnumber>
551		<date>2002-12-01</date>
552		<authorinitials>mhs</authorinitials>
553		<revremark>First draft, based on documentation by Bill Dirks
554	and discussions on the V4L mailing list.</revremark>
555	      </revision>
556	    </revhistory>
557	</partinfo>
558	
559	<title>Video for Linux Two API Specification</title>
560	 <subtitle>Revision 3.19</subtitle>
561	
562	  <chapter id="common">
563	    &sub-common;
564	  </chapter>
565	
566	  <chapter id="pixfmt">
567	    &sub-pixfmt;
568	  </chapter>
569	
570	  <chapter id="io">
571	    &sub-io;
572	  </chapter>
573	
574	  <chapter id="devices">
575	    <title>Interfaces</title>
576	
577	    <section id="capture"> &sub-dev-capture; </section>
578	    <section id="overlay"> &sub-dev-overlay; </section>
579	    <section id="output"> &sub-dev-output; </section>
580	    <section id="osd"> &sub-dev-osd; </section>
581	    <section id="codec"> &sub-dev-codec; </section>
582	    <section id="effect"> &sub-dev-effect; </section>
583	    <section id="raw-vbi"> &sub-dev-raw-vbi; </section>
584	    <section id="sliced"> &sub-dev-sliced-vbi; </section>
585	    <section id="ttx"> &sub-dev-teletext; </section>
586	    <section id="radio"> &sub-dev-radio; </section>
587	    <section id="rds"> &sub-dev-rds; </section>
588	    <section id="sdr"> &sub-dev-sdr; </section>
589	    <section id="event"> &sub-dev-event; </section>
590	    <section id="subdev"> &sub-dev-subdev; </section>
591	  </chapter>
592	
593	  <chapter id="driver">
594		  &sub-driver;
595	  </chapter>
596	
597	  <chapter id="libv4l">
598		  &sub-libv4l;
599	  </chapter>
600	
601	  <chapter id="compat">
602		  &sub-compat;
603	  </chapter>
604	
605	  <appendix id="user-func">
606	  <title>Function Reference</title>
607	
608	    <!-- Keep this alphabetically sorted. -->
609	
610	    &sub-close;
611	    &sub-ioctl;
612	    <!-- All ioctls go here. -->
613	    &sub-create-bufs;
614	    &sub-cropcap;
615	    &sub-dbg-g-chip-info;
616	    &sub-dbg-g-register;
617	    &sub-decoder-cmd;
618	    &sub-dqevent;
619	    &sub-dv-timings-cap;
620	    &sub-encoder-cmd;
621	    &sub-enumaudio;
622	    &sub-enumaudioout;
623	    &sub-enum-dv-timings;
624	    &sub-enum-fmt;
625	    &sub-enum-framesizes;
626	    &sub-enum-frameintervals;
627	    &sub-enum-freq-bands;
628	    &sub-enuminput;
629	    &sub-enumoutput;
630	    &sub-enumstd;
631	    &sub-expbuf;
632	    &sub-g-audio;
633	    &sub-g-audioout;
634	    &sub-g-crop;
635	    &sub-g-ctrl;
636	    &sub-g-dv-timings;
637	    &sub-g-edid;
638	    &sub-g-enc-index;
639	    &sub-g-ext-ctrls;
640	    &sub-g-fbuf;
641	    &sub-g-fmt;
642	    &sub-g-frequency;
643	    &sub-g-input;
644	    &sub-g-jpegcomp;
645	    &sub-g-modulator;
646	    &sub-g-output;
647	    &sub-g-parm;
648	    &sub-g-priority;
649	    &sub-g-selection;
650	    &sub-g-sliced-vbi-cap;
651	    &sub-g-std;
652	    &sub-g-tuner;
653	    &sub-log-status;
654	    &sub-overlay;
655	    &sub-prepare-buf;
656	    &sub-qbuf;
657	    &sub-querybuf;
658	    &sub-querycap;
659	    &sub-queryctrl;
660	    &sub-query-dv-timings;
661	    &sub-querystd;
662	    &sub-reqbufs;
663	    &sub-s-hw-freq-seek;
664	    &sub-streamon;
665	    &sub-subdev-enum-frame-interval;
666	    &sub-subdev-enum-frame-size;
667	    &sub-subdev-enum-mbus-code;
668	    &sub-subdev-g-crop;
669	    &sub-subdev-g-fmt;
670	    &sub-subdev-g-frame-interval;
671	    &sub-subdev-g-selection;
672	    &sub-subscribe-event;
673	    <!-- End of ioctls. -->
674	    &sub-mmap;
675	    &sub-munmap;
676	    &sub-open;
677	    &sub-poll;
678	    &sub-read;
679	    &sub-select;
680	    &sub-write;
681	  </appendix>
682	
683	  <appendix>
684	    <title>Common definitions for V4L2 and V4L2 subdev interfaces</title>
685	      &sub-selections-common;
686	  </appendix>
687	
688	  <appendix id="videodev">
689	    <title>Video For Linux Two Header File</title>
690	    &sub-videodev2-h;
691	  </appendix>
692	
693	  <appendix id="capture-example">
694	    <title>Video Capture Example</title>
695	    &sub-capture-c;
696	  </appendix>
697	
698	  <appendix id="v4l2grab-example">
699	    <title>Video Grabber example using libv4l</title>
700	    <para>This program demonstrates how to grab V4L2 images in ppm format by
701	using libv4l handlers. The advantage is that this grabber can potentially work
702	with any V4L2 driver.</para>
703	    &sub-v4l2grab-c;
704	  </appendix>
705	
706	  &sub-media-indices;
707	
708	  &sub-biblio;
Hide Line Numbers
About Kernel Documentation Linux Kernel Contact Linux Resources Linux Blog

Information is copyright its respective author. All material is available from the Linux Kernel Source distributed under a GPL License. This page is provided as a free service by mjmwired.net.