v4l2.xml 20 KB

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