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