sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget5/translations/zh_CN/userspace-api/media/v4l/hist-v4l2modnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget5/translations/zh_TW/userspace-api/media/v4l/hist-v4l2modnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget5/translations/it_IT/userspace-api/media/v4l/hist-v4l2modnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget5/translations/ja_JP/userspace-api/media/v4l/hist-v4l2modnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget5/translations/ko_KR/userspace-api/media/v4l/hist-v4l2modnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget5/translations/sp_SP/userspace-api/media/v4l/hist-v4l2modnameN classnameN refexplicituh1hhh ubeh}(h]h ]h"]h$]h&]current_languageEnglishuh1h hh _documenthsourceNlineNubhcomment)}(h8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-laterh]h8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later}hhsbah}(h]h ]h"]h$]h&] xml:spacepreserveuh1hhhhhhO/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/hist-v4l2.rsthKubhtarget)}(h.. _hist-v4l2:h]h}(h]h ]h"]h$]h&]refid hist-v4l2uh1hhKhhhhhhubhsection)}(hhh](htitle)}(hChanges of the V4L2 APIh]hChanges of the V4L2 API}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh paragraph)}(hXSoon after the V4L API was added to the kernel it was criticised as too inflexible. In August 1998 Bill Dirks proposed a number of improvements and began to work on documentation, example drivers and applications. With the help of other volunteers this eventually became the V4L2 API, not just an extension but a replacement for the V4L API. However it took another four years and two stable kernel releases until the new API was finally accepted for inclusion into the kernel in its present form.h]hXSoon after the V4L API was added to the kernel it was criticised as too inflexible. In August 1998 Bill Dirks proposed a number of improvements and began to work on documentation, example drivers and applications. With the help of other volunteers this eventually became the V4L2 API, not just an extension but a replacement for the V4L API. However it took another four years and two stable kernel releases until the new API was finally accepted for inclusion into the kernel in its present form.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhhhubh)}(hhh](h)}(hEarly Versionsh]hEarly Versions}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(h1998-08-20: First version.h]h1998-08-20: First version.}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(h;1998-08-27: The :c:func:`select()` function was introduced.h](h1998-08-27: The }(hjhhhNhNubh)}(h:c:func:`select()`h]hliteral)}(hjh]hselect()}(hjhhhNhNubah}(h]h ](xrefcc-funceh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdoc!userspace-api/media/v4l/hist-v4l2 refdomainjreftypefunc refexplicitrefwarn c:parent_keysphinx.domains.c LookupKey)}data]j2 ASTIdentifier)} identifierV4LsbNasb reftargetselectuh1hhhhKhjubh function was introduced.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(h)1998-09-10: New video standard interface.h]h)1998-09-10: New video standard interface.}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hX1998-09-18: The ``VIDIOC_NONCAP`` ioctl was replaced by the otherwise meaningless ``O_TRUNC`` :c:func:`open()` flag, and the aliases ``O_NONCAP`` and ``O_NOIO`` were defined. Applications can set this flag if they intend to access controls only, as opposed to capture applications which need exclusive access. The ``VIDEO_STD_XXX`` identifiers are now ordinals instead of flags, and the ``video_std_construct()`` helper function takes id and transmission arguments.h](h1998-09-18: The }(hjZhhhNhNubj)}(h``VIDIOC_NONCAP``h]h VIDIOC_NONCAP}(hjbhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh1 ioctl was replaced by the otherwise meaningless }(hjZhhhNhNubj)}(h ``O_TRUNC``h]hO_TRUNC}(hjthhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh }(hjZhhhNhNubh)}(h:c:func:`open()`h]j)}(hjh]hopen()}(hjhhhNhNubah}(h]h ](jjc-funceh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj+ refdomainjreftypefunc refexplicitrefwarnj1j5j@openuh1hhhhKhjZubh flag, and the aliases }(hjZhhhNhNubj)}(h ``O_NONCAP``h]hO_NONCAP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh and }(hjZhhhNhNubj)}(h ``O_NOIO``h]hO_NOIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh were defined. Applications can set this flag if they intend to access controls only, as opposed to capture applications which need exclusive access. The }(hjZhhhNhNubj)}(h``VIDEO_STD_XXX``h]h VIDEO_STD_XXX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh8 identifiers are now ordinals instead of flags, and the }(hjZhhhNhNubj)}(h``video_std_construct()``h]hvideo_std_construct()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjZubh5 helper function takes id and transmission arguments.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhhhhubh)}(hQ1998-09-28: Revamped video standard. Made video controls individually enumerable.h]hQ1998-09-28: Revamped video standard. Made video controls individually enumerable.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK$hhhhubh)}(hX,1998-10-02: The ``id`` field was removed from struct ``video_standard`` and the color subcarrier fields were renamed. The :ref:`VIDIOC_QUERYSTD` ioctl was renamed to :ref:`VIDIOC_ENUMSTD`, :ref:`VIDIOC_G_INPUT ` to :ref:`VIDIOC_ENUMINPUT`. A first draft of the Codec API was released.h](h1998-10-02: The }(hjhhhNhNubj)}(h``id``h]hid}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field was removed from struct }(hjhhhNhNubj)}(h``video_standard``h]hvideo_standard}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh3 and the color subcarrier fields were renamed. The }(hjhhhNhNubh)}(h:ref:`VIDIOC_QUERYSTD`h]hinline)}(hj3h]hVIDIOC_QUERYSTD}(hj7hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj1ubah}(h]h ]h"]h$]h&]refdocj+ refdomainjAreftyperef refexplicitrefwarnj@vidioc_querystduh1hhhhK'hjubh ioctl was renamed to }(hjhhhNhNubh)}(h:ref:`VIDIOC_ENUMSTD`h]j6)}(hjYh]hVIDIOC_ENUMSTD}(hj[hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjWubah}(h]h ]h"]h$]h&]refdocj+ refdomainjereftyperef refexplicitrefwarnj@vidioc_enumstduh1hhhhK'hjubh, }(hjhhhNhNubh)}(h&:ref:`VIDIOC_G_INPUT `h]j6)}(hj}h]hVIDIOC_G_INPUT}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj{ubah}(h]h ]h"]h$]h&]refdocj+ refdomainjreftyperef refexplicitrefwarnj@vidioc_g_inputuh1hhhhK'hjubh to }(hjhhhNhNubh)}(h:ref:`VIDIOC_ENUMINPUT`h]j6)}(hjh]hVIDIOC_ENUMINPUT}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjubah}(h]h ]h"]h$]h&]refdocj+ refdomainjreftyperef refexplicitrefwarnj@vidioc_enuminputuh1hhhhK'hjubh.. A first draft of the Codec API was released.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK'hhhhubh)}(hp1998-11-08: Many minor changes. Most symbols have been renamed. Some material changes to struct v4l2_capability.h]hp1998-11-08: Many minor changes. Most symbols have been renamed. Some material changes to struct v4l2_capability.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK/hhhhubh)}(hC1998-11-12: The read/write direction of some ioctls was misdefined.h]hC1998-11-12: The read/write direction of some ioctls was misdefined.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK2hhhhubh)}(hX1998-11-14: ``V4L2_PIX_FMT_RGB24`` changed to ``V4L2_PIX_FMT_BGR24``, and ``V4L2_PIX_FMT_RGB32`` changed to ``V4L2_PIX_FMT_BGR32``. Audio controls are now accessible with the :ref:`VIDIOC_G_CTRL ` and :ref:`VIDIOC_S_CTRL ` ioctls under names starting with ``V4L2_CID_AUDIO``. The ``V4L2_MAJOR`` define was removed from ``videodev.h`` since it was only used once in the ``videodev`` kernel module. The ``YUV422`` and ``YUV411`` planar image formats were added.h](h 1998-11-14: }(hjhhhNhNubj)}(h``V4L2_PIX_FMT_RGB24``h]hV4L2_PIX_FMT_RGB24}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh changed to }(hjhhhNhNubj)}(h``V4L2_PIX_FMT_BGR24``h]hV4L2_PIX_FMT_BGR24}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, and }(hjhhhNhNubj)}(h``V4L2_PIX_FMT_RGB32``h]hV4L2_PIX_FMT_RGB32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh changed to }hjsbj)}(h``V4L2_PIX_FMT_BGR32``h]hV4L2_PIX_FMT_BGR32}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh-. Audio controls are now accessible with the }(hjhhhNhNubh)}(h$:ref:`VIDIOC_G_CTRL `h]j6)}(hj7h]h VIDIOC_G_CTRL}(hj9hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj5ubah}(h]h ]h"]h$]h&]refdocj+ refdomainjCreftyperef refexplicitrefwarnj@ vidioc_g_ctrluh1hhhhK4hjubh and }(hjhhhNhNubh)}(h$:ref:`VIDIOC_S_CTRL `h]j6)}(hj[h]h VIDIOC_S_CTRL}(hj]hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjYubah}(h]h ]h"]h$]h&]refdocj+ refdomainjgreftyperef refexplicitrefwarnj@ vidioc_g_ctrluh1hhhhK4hjubh" ioctls under names starting with }(hjhhhNhNubj)}(h``V4L2_CID_AUDIO``h]hV4L2_CID_AUDIO}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. The }(hjhhhNhNubj)}(h``V4L2_MAJOR``h]h V4L2_MAJOR}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh define was removed from }(hjhhhNhNubj)}(h``videodev.h``h]h videodev.h}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh$ since it was only used once in the }(hjhhhNhNubj)}(h ``videodev``h]hvideodev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh kernel module. The }(hjhhhNhNubj)}(h ``YUV422``h]hYUV422}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h ``YUV411``h]hYUV411}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh! planar image formats were added.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK4hhhhubh)}(hc1998-11-28: A few ioctl symbols changed. Interfaces for codecs and video output devices were added.h]hc1998-11-28: A few ioctl symbols changed. Interfaces for codecs and video output devices were added.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK=hhhhubh)}(h21999-01-14: A raw VBI capture interface was added.h]h21999-01-14: A raw VBI capture interface was added.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK@hhhhubh)}(h51999-01-19: The ``VIDIOC_NEXTBUF`` ioctl was removed.h](h1999-01-19: The }(hj hhhNhNubj)}(h``VIDIOC_NEXTBUF``h]hVIDIOC_NEXTBUF}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh ioctl was removed.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKBhhhhubeh}(h]early-versionsah ]h"]early versionsah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hV4L2 Version 0.16 1999-01-31h]hV4L2 Version 0.16 1999-01-31}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hhhhhKEubh)}(h1999-01-27: There is now one QBUF ioctl, VIDIOC_QWBUF and VIDIOC_QRBUF are gone. VIDIOC_QBUF takes a v4l2_buffer as a parameter. Added digital zoom (cropping) controls.h]h1999-01-27: There is now one QBUF ioctl, VIDIOC_QWBUF and VIDIOC_QRBUF are gone. VIDIOC_QBUF takes a v4l2_buffer as a parameter. Added digital zoom (cropping) controls.}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKGhj3hhubeh}(h]v4l2-version-0-16-1999-01-31ah ]h"]v4l2 version 0.16 1999-01-31ah$]h&]uh1hhhhhhhhKEubh)}(hhh](h)}(hV4L2 Version 0.18 1999-03-16h]hV4L2 Version 0.18 1999-03-16}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjZhhhhhKLubh)}(hAdded a v4l to V4L2 ioctl compatibility layer to videodev.c. Driver writers, this changes how you implement your ioctl handler. See the Driver Writer's Guide. Added some more control id codes.h]hAdded a v4l to V4L2 ioctl compatibility layer to videodev.c. Driver writers, this changes how you implement your ioctl handler. See the Driver Writer’s Guide. Added some more control id codes.}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKNhjZhhubeh}(h]v4l2-version-0-18-1999-03-16ah ]h"]v4l2 version 0.18 1999-03-16ah$]h&]uh1hhhhhhhhKLubh)}(hhh](h)}(hV4L2 Version 0.19 1999-06-05h]hV4L2 Version 0.19 1999-06-05}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKSubh)}(h1999-03-18: Fill in the category and catname fields of v4l2_queryctrl objects before passing them to the driver. Required a minor change to the VIDIOC_QUERYCTRL handlers in the sample drivers.h]h1999-03-18: Fill in the category and catname fields of v4l2_queryctrl objects before passing them to the driver. Required a minor change to the VIDIOC_QUERYCTRL handlers in the sample drivers.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKUhjhhubh)}(hX$1999-03-31: Better compatibility for v4l memory capture ioctls. Requires changes to drivers to fully support new compatibility features, see Driver Writer's Guide and v4l2cap.c. Added new control IDs: V4L2_CID_HFLIP, _VFLIP. Changed V4L2_PIX_FMT_YUV422P to _YUV422P, and _YUV411P to _YUV411P.h]hX&1999-03-31: Better compatibility for v4l memory capture ioctls. Requires changes to drivers to fully support new compatibility features, see Driver Writer’s Guide and v4l2cap.c. Added new control IDs: V4L2_CID_HFLIP, _VFLIP. Changed V4L2_PIX_FMT_YUV422P to _YUV422P, and _YUV411P to _YUV411P.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKYhjhhubh)}(h)1999-04-04: Added a few more control IDs.h]h)1999-04-04: Added a few more control IDs.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK_hjhhubh)}(h*1999-04-07: Added the button control type.h]h*1999-04-07: Added the button control type.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKahjhhubh)}(hp1999-05-02: Fixed a typo in videodev.h, and added the V4L2_CTRL_FLAG_GRAYED (later V4L2_CTRL_FLAG_GRABBED) flag.h]hp1999-05-02: Fixed a typo in videodev.h, and added the V4L2_CTRL_FLAG_GRAYED (later V4L2_CTRL_FLAG_GRABBED) flag.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKchjhhubh)}(hV1999-05-20: Definition of VIDIOC_G_CTRL was wrong causing a malfunction of this ioctl.h]hV1999-05-20: Definition of VIDIOC_G_CTRL was wrong causing a malfunction of this ioctl.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKfhjhhubh)}(h41999-06-05: Changed the value of V4L2_CID_WHITENESS.h]h41999-06-05: Changed the value of V4L2_CID_WHITENESS.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKihjhhubeh}(h]v4l2-version-0-19-1999-06-05ah ]h"]v4l2 version 0.19 1999-06-05ah$]h&]uh1hhhhhhhhKSubh)}(hhh](h)}(hV4L2 Version 0.20 (1999-09-10)h]hV4L2 Version 0.20 (1999-09-10)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKlubh)}(hVersion 0.20 introduced a number of changes which were *not backward compatible* with 0.19 and earlier versions. Purpose of these changes was to simplify the API, while making it more extensible and following common Linux driver API conventions.h](h7Version 0.20 introduced a number of changes which were }(hj hhhNhNubhemphasis)}(h*not backward compatible*h]hnot backward compatible}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh with 0.19 and earlier versions. Purpose of these changes was to simplify the API, while making it more extensible and following common Linux driver API conventions.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKnhjhhubhenumerated_list)}(hhh](h list_item)}(hzSome typos in ``V4L2_FMT_FLAG`` symbols were fixed. struct v4l2_clip was changed for compatibility with v4l. (1999-08-30) h]h)}(hySome typos in ``V4L2_FMT_FLAG`` symbols were fixed. struct v4l2_clip was changed for compatibility with v4l. (1999-08-30)h](hSome typos in }(hj:hhhNhNubj)}(h``V4L2_FMT_FLAG``h]h V4L2_FMT_FLAG}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj:ubhZ symbols were fixed. struct v4l2_clip was changed for compatibility with v4l. (1999-08-30)}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKshj6ubah}(h]h ]h"]h$]h&]uh1j4hj1hhhhhNubj5)}(h1``V4L2_TUNER_SUB_LANG1`` was added. (1999-09-05) h]h)}(h0``V4L2_TUNER_SUB_LANG1`` was added. (1999-09-05)h](j)}(h``V4L2_TUNER_SUB_LANG1``h]hV4L2_TUNER_SUB_LANG1}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjdubh was added. (1999-09-05)}(hjdhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKvhj`ubah}(h]h ]h"]h$]h&]uh1j4hj1hhhhhNubj5)}(hXAll ioctl() commands that used an integer argument now take a pointer to an integer. Where it makes sense, ioctls will return the actual new value in the integer pointed to by the argument, a common convention in the V4L2 API. The affected ioctls are: VIDIOC_PREVIEW, VIDIOC_STREAMON, VIDIOC_STREAMOFF, VIDIOC_S_FREQ, VIDIOC_S_INPUT, VIDIOC_S_OUTPUT, VIDIOC_S_EFFECT. For example .. code-block:: c err = ioctl (fd, VIDIOC_XXX, V4L2_XXX); becomes .. code-block:: c int a = V4L2_XXX; err = ioctl(fd, VIDIOC_XXX, &a); h](h)}(hX{All ioctl() commands that used an integer argument now take a pointer to an integer. Where it makes sense, ioctls will return the actual new value in the integer pointed to by the argument, a common convention in the V4L2 API. The affected ioctls are: VIDIOC_PREVIEW, VIDIOC_STREAMON, VIDIOC_STREAMOFF, VIDIOC_S_FREQ, VIDIOC_S_INPUT, VIDIOC_S_OUTPUT, VIDIOC_S_EFFECT. For exampleh]hX{All ioctl() commands that used an integer argument now take a pointer to an integer. Where it makes sense, ioctls will return the actual new value in the integer pointed to by the argument, a common convention in the V4L2 API. The affected ioctls are: VIDIOC_PREVIEW, VIDIOC_STREAMON, VIDIOC_STREAMOFF, VIDIOC_S_FREQ, VIDIOC_S_INPUT, VIDIOC_S_OUTPUT, VIDIOC_S_EFFECT. For example}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKxhjubh literal_block)}(h'err = ioctl (fd, VIDIOC_XXX, V4L2_XXX);h]h'err = ioctl (fd, VIDIOC_XXX, V4L2_XXX);}hjsbah}(h]h ]h"]h$]h&]hhforcelanguagejhighlight_args}uh1jhhhKhjubh)}(hbecomesh]hbecomes}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubj)}(h2int a = V4L2_XXX; err = ioctl(fd, VIDIOC_XXX, &a);h]h2int a = V4L2_XXX; err = ioctl(fd, VIDIOC_XXX, &a);}hjsbah}(h]h ]h"]h$]h&]hhjjjj}uh1jhhhKhjubeh}(h]h ]h"]h$]h&]uh1j4hj1hhhNhNubj5)}(hXAll the different get- and set-format commands were swept into one :ref:`VIDIOC_G_FMT ` and :ref:`VIDIOC_S_FMT ` ioctl taking a union and a type field selecting the union member as parameter. Purpose is to simplify the API by eliminating several ioctls and to allow new and driver private data streams without adding new ioctls. This change obsoletes the following ioctls: ``VIDIOC_S_INFMT``, ``VIDIOC_G_INFMT``, ``VIDIOC_S_OUTFMT``, ``VIDIOC_G_OUTFMT``, ``VIDIOC_S_VBIFMT`` and ``VIDIOC_G_VBIFMT``. The image format struct v4l2_format was renamed to struct v4l2_pix_format, while struct v4l2_format is now the enveloping structure for all format negotiations. h](h)}(hXdAll the different get- and set-format commands were swept into one :ref:`VIDIOC_G_FMT ` and :ref:`VIDIOC_S_FMT ` ioctl taking a union and a type field selecting the union member as parameter. Purpose is to simplify the API by eliminating several ioctls and to allow new and driver private data streams without adding new ioctls.h](hCAll the different get- and set-format commands were swept into one }(hjhhhNhNubh)}(h":ref:`VIDIOC_G_FMT `h]j6)}(hjh]h VIDIOC_G_FMT}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjubah}(h]h ]h"]h$]h&]refdocj+ refdomainjreftyperef refexplicitrefwarnj@ vidioc_g_fmtuh1hhhhKhjubh and }(hjhhhNhNubh)}(h":ref:`VIDIOC_S_FMT `h]j6)}(hjh]h VIDIOC_S_FMT}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjubah}(h]h ]h"]h$]h&]refdocj+ refdomainj reftyperef refexplicitrefwarnj@ vidioc_g_fmtuh1hhhhKhjubh ioctl taking a union and a type field selecting the union member as parameter. Purpose is to simplify the API by eliminating several ioctls and to allow new and driver private data streams without adding new ioctls.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hXKThis change obsoletes the following ioctls: ``VIDIOC_S_INFMT``, ``VIDIOC_G_INFMT``, ``VIDIOC_S_OUTFMT``, ``VIDIOC_G_OUTFMT``, ``VIDIOC_S_VBIFMT`` and ``VIDIOC_G_VBIFMT``. The image format struct v4l2_format was renamed to struct v4l2_pix_format, while struct v4l2_format is now the enveloping structure for all format negotiations.h](h,This change obsoletes the following ioctls: }(hj)hhhNhNubj)}(h``VIDIOC_S_INFMT``h]hVIDIOC_S_INFMT}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubh, }(hj)hhhNhNubj)}(h``VIDIOC_G_INFMT``h]hVIDIOC_G_INFMT}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubh, }(hj)hhhNhNubj)}(h``VIDIOC_S_OUTFMT``h]hVIDIOC_S_OUTFMT}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubh, }hj)sbj)}(h``VIDIOC_G_OUTFMT``h]hVIDIOC_G_OUTFMT}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubh, }hj)sbj)}(h``VIDIOC_S_VBIFMT``h]hVIDIOC_S_VBIFMT}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubh and }(hj)hhhNhNubj)}(h``VIDIOC_G_VBIFMT``h]hVIDIOC_G_VBIFMT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubh. The image format struct v4l2_format was renamed to struct v4l2_pix_format, while struct v4l2_format is now the enveloping structure for all format negotiations.}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1j4hj1hhhhhNubj5)}(hX:Similar to the changes above, the ``VIDIOC_G_PARM`` and ``VIDIOC_S_PARM`` ioctls were merged with ``VIDIOC_G_OUTPARM`` and ``VIDIOC_S_OUTPARM``. A ``type`` field in the new struct v4l2_streamparm selects the respective union member. This change obsoletes the ``VIDIOC_G_OUTPARM`` and ``VIDIOC_S_OUTPARM`` ioctls. h](h)}(hSimilar to the changes above, the ``VIDIOC_G_PARM`` and ``VIDIOC_S_PARM`` ioctls were merged with ``VIDIOC_G_OUTPARM`` and ``VIDIOC_S_OUTPARM``. A ``type`` field in the new struct v4l2_streamparm selects the respective union member.h](h"Similar to the changes above, the }(hjhhhNhNubj)}(h``VIDIOC_G_PARM``h]h VIDIOC_G_PARM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``VIDIOC_S_PARM``h]h VIDIOC_S_PARM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh ioctls were merged with }(hjhhhNhNubj)}(h``VIDIOC_G_OUTPARM``h]hVIDIOC_G_OUTPARM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }hjsbj)}(h``VIDIOC_S_OUTPARM``h]hVIDIOC_S_OUTPARM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. A }(hjhhhNhNubj)}(h``type``h]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhM field in the new struct v4l2_streamparm selects the respective union member.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubh)}(hOThis change obsoletes the ``VIDIOC_G_OUTPARM`` and ``VIDIOC_S_OUTPARM`` ioctls.h](hThis change obsoletes the }(hjhhhNhNubj)}(h``VIDIOC_G_OUTPARM``h]hVIDIOC_G_OUTPARM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``VIDIOC_S_OUTPARM``h]hVIDIOC_S_OUTPARM}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh ioctls.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1j4hj1hhhhhNubj5)}(hXsControl enumeration was simplified, and two new control flags were introduced and one dropped. The ``catname`` field was replaced by a ``group`` field. Drivers can now flag unsupported and temporarily unavailable controls with ``V4L2_CTRL_FLAG_DISABLED`` and ``V4L2_CTRL_FLAG_GRABBED`` respectively. The ``group`` name indicates a possibly narrower classification than the ``category``. In other words, there may be multiple groups within a category. Controls within a group would typically be drawn within a group box. Controls in different categories might have a greater separation, or may even appear in separate windows. h](h)}(hControl enumeration was simplified, and two new control flags were introduced and one dropped. The ``catname`` field was replaced by a ``group`` field.h](hcControl enumeration was simplified, and two new control flags were introduced and one dropped. The }(hjQhhhNhNubj)}(h ``catname``h]hcatname}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh field was replaced by a }(hjQhhhNhNubj)}(h ``group``h]hgroup}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjQubh field.}(hjQhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjMubh)}(hXDrivers can now flag unsupported and temporarily unavailable controls with ``V4L2_CTRL_FLAG_DISABLED`` and ``V4L2_CTRL_FLAG_GRABBED`` respectively. The ``group`` name indicates a possibly narrower classification than the ``category``. In other words, there may be multiple groups within a category. Controls within a group would typically be drawn within a group box. Controls in different categories might have a greater separation, or may even appear in separate windows.h](hKDrivers can now flag unsupported and temporarily unavailable controls with }(hjhhhNhNubj)}(h``V4L2_CTRL_FLAG_DISABLED``h]hV4L2_CTRL_FLAG_DISABLED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``V4L2_CTRL_FLAG_GRABBED``h]hV4L2_CTRL_FLAG_GRABBED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh respectively. The }(hjhhhNhNubj)}(h ``group``h]hgroup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh< name indicates a possibly narrower classification than the }(hjhhhNhNubj)}(h ``category``h]hcategory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. In other words, there may be multiple groups within a category. Controls within a group would typically be drawn within a group box. Controls in different categories might have a greater separation, or may even appear in separate windows.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjMubeh}(h]h ]h"]h$]h&]uh1j4hj1hhhhhNubj5)}(hXCThe struct v4l2_buffer ``timestamp`` was changed to a 64 bit integer, containing the sampling or output time of the frame in nanoseconds. Additionally timestamps will be in absolute system time, not starting from zero at the beginning of a stream. The data type name for timestamps is stamp_t, defined as a signed 64-bit integer. Output devices should not send a buffer out until the time in the timestamp field has arrived. I would like to follow SGI's lead, and adopt a multimedia timestamping system like their UST (Unadjusted System Time). See http://web.archive.org/web/\*/http://reality.sgi.com /cpirazzi_engr/lg/time/intro.html. UST uses timestamps that are 64-bit signed integers (not struct timeval's) and given in nanosecond units. The UST clock starts at zero when the system is booted and runs continuously and uniformly. It takes a little over 292 years for UST to overflow. There is no way to set the UST clock. The regular Linux time-of-day clock can be changed periodically, which would cause errors if it were being used for timestamping a multimedia stream. A real UST style clock will require some support in the kernel that is not there yet. But in anticipation, I will change the timestamp field to a 64-bit integer, and I will change the v4l2_masterclock_gettime() function (used only by drivers) to return a 64-bit integer. h]h)}(hXBThe struct v4l2_buffer ``timestamp`` was changed to a 64 bit integer, containing the sampling or output time of the frame in nanoseconds. Additionally timestamps will be in absolute system time, not starting from zero at the beginning of a stream. The data type name for timestamps is stamp_t, defined as a signed 64-bit integer. Output devices should not send a buffer out until the time in the timestamp field has arrived. I would like to follow SGI's lead, and adopt a multimedia timestamping system like their UST (Unadjusted System Time). See http://web.archive.org/web/\*/http://reality.sgi.com /cpirazzi_engr/lg/time/intro.html. UST uses timestamps that are 64-bit signed integers (not struct timeval's) and given in nanosecond units. The UST clock starts at zero when the system is booted and runs continuously and uniformly. It takes a little over 292 years for UST to overflow. There is no way to set the UST clock. The regular Linux time-of-day clock can be changed periodically, which would cause errors if it were being used for timestamping a multimedia stream. A real UST style clock will require some support in the kernel that is not there yet. But in anticipation, I will change the timestamp field to a 64-bit integer, and I will change the v4l2_masterclock_gettime() function (used only by drivers) to return a 64-bit integer.h](hThe struct v4l2_buffer }(hjhhhNhNubj)}(h ``timestamp``h]h timestamp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhX was changed to a 64 bit integer, containing the sampling or output time of the frame in nanoseconds. Additionally timestamps will be in absolute system time, not starting from zero at the beginning of a stream. The data type name for timestamps is stamp_t, defined as a signed 64-bit integer. Output devices should not send a buffer out until the time in the timestamp field has arrived. I would like to follow SGI’s lead, and adopt a multimedia timestamping system like their UST (Unadjusted System Time). See }(hjhhhNhNubh reference)}(h4http://web.archive.org/web/\*/http://reality.sgi.comh]h4http://web.archive.org/web/*/http://reality.sgi.com}(hjhhhNhNubah}(h]h ]h"]h$]h&]refuri3http://web.archive.org/web/*/http://reality.sgi.comuh1jhjubhX /cpirazzi_engr/lg/time/intro.html. UST uses timestamps that are 64-bit signed integers (not struct timeval’s) and given in nanosecond units. The UST clock starts at zero when the system is booted and runs continuously and uniformly. It takes a little over 292 years for UST to overflow. There is no way to set the UST clock. The regular Linux time-of-day clock can be changed periodically, which would cause errors if it were being used for timestamping a multimedia stream. A real UST style clock will require some support in the kernel that is not there yet. But in anticipation, I will change the timestamp field to a 64-bit integer, and I will change the v4l2_masterclock_gettime() function (used only by drivers) to return a 64-bit integer.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j4hj1hhhhhNubj5)}(hA ``sequence`` field was added to struct v4l2_buffer. The ``sequence`` field counts captured frames, it is ignored by output devices. When a capture driver drops a frame, the sequence number of that frame is skipped. h]h)}(hA ``sequence`` field was added to struct v4l2_buffer. The ``sequence`` field counts captured frames, it is ignored by output devices. When a capture driver drops a frame, the sequence number of that frame is skipped.h](hA }(hj#hhhNhNubj)}(h ``sequence``h]hsequence}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh, field was added to struct v4l2_buffer. The }(hj#hhhNhNubj)}(h ``sequence``h]hsequence}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh field counts captured frames, it is ignored by output devices. When a capture driver drops a frame, the sequence number of that frame is skipped.}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j4hj1hhhhhNubeh}(h]h ]h"]h$]h&]enumtypearabicprefixhsuffix.uh1j/hjhhhhhKsubeh}(h]v4l2-version-0-20-1999-09-10ah ]h"]v4l2 version 0.20 (1999-09-10)ah$]h&]uh1hhhhhhhhKlubh)}(hhh](h)}(h%V4L2 Version 0.20 incremental changesh]h%V4L2 Version 0.20 incremental changes}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhhhhhKubh)}(h1999-12-23: In struct v4l2_vbi_format the ``reserved1`` field became ``offset``. Previously drivers were required to clear the ``reserved1`` field.h](h*1999-12-23: In struct v4l2_vbi_format the }(hjhhhNhNubj)}(h ``reserved1``h]h reserved1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field became }(hjhhhNhNubj)}(h ``offset``h]hoffset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh0. Previously drivers were required to clear the }(hjhhhNhNubj)}(h ``reserved1``h]h reserved1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjnhhubh)}(h@2000-01-13: The ``V4L2_FMT_FLAG_NOT_INTERLACED`` flag was added.h](h2000-01-13: The }(hjhhhNhNubj)}(h ``V4L2_FMT_FLAG_NOT_INTERLACED``h]hV4L2_FMT_FLAG_NOT_INTERLACED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh flag was added.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjnhhubh)}(h2000-07-31: The ``linux/poll.h`` header is now included by ``videodev.h`` for compatibility with the original ``videodev.h`` file.h](h2000-07-31: The }(hjhhhNhNubj)}(h``linux/poll.h``h]h linux/poll.h}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh header is now included by }(hjhhhNhNubj)}(h``videodev.h``h]h videodev.h}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh% for compatibility with the original }(hjhhhNhNubj)}(h``videodev.h``h]h videodev.h}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh file.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjnhhubh)}(hJ2000-11-20: ``V4L2_TYPE_VBI_OUTPUT`` and ``V4L2_PIX_FMT_Y41P`` were added.h](h 2000-11-20: }(hj' hhhNhNubj)}(h``V4L2_TYPE_VBI_OUTPUT``h]hV4L2_TYPE_VBI_OUTPUT}(hj/ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj' ubh and }(hj' hhhNhNubj)}(h``V4L2_PIX_FMT_Y41P``h]hV4L2_PIX_FMT_Y41P}(hjA hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj' ubh were added.}(hj' hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjnhhubh)}(h.2000-11-25: ``V4L2_TYPE_VBI_INPUT`` was added.h](h 2000-11-25: }(hjY hhhNhNubj)}(h``V4L2_TYPE_VBI_INPUT``h]hV4L2_TYPE_VBI_INPUT}(hja hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjY ubh was added.}(hjY hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjnhhubh)}(h62000-12-04: A couple typos in symbol names were fixed.h]h62000-12-04: A couple typos in symbol names were fixed.}(hjy hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjnhhubh)}(h2001-01-18: To avoid namespace conflicts the ``fourcc`` macro defined in the ``videodev.h`` header file was renamed to ``v4l2_fourcc``.h](h-2001-01-18: To avoid namespace conflicts the }(hj hhhNhNubj)}(h ``fourcc``h]hfourcc}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh macro defined in the }(hj hhhNhNubj)}(h``videodev.h``h]h videodev.h}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh header file was renamed to }(hj hhhNhNubj)}(h``v4l2_fourcc``h]h v4l2_fourcc}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjnhhubh)}(hX2001-01-25: A possible driver-level compatibility problem between the ``videodev.h`` file in Linux 2.4.0 and the ``videodev.h`` file included in the ``videodevX`` patch was fixed. Users of an earlier version of ``videodevX`` on Linux 2.4.0 should recompile their V4L and V4L2 drivers.h](hF2001-01-25: A possible driver-level compatibility problem between the }(hj hhhNhNubj)}(h``videodev.h``h]h videodev.h}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh file in Linux 2.4.0 and the }(hj hhhNhNubj)}(h``videodev.h``h]h videodev.h}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh file included in the }(hj hhhNhNubj)}(h ``videodevX``h]h videodevX}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh1 patch was fixed. Users of an earlier version of }(hj hhhNhNubj)}(h ``videodevX``h]h videodevX}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh< on Linux 2.4.0 should recompile their V4L and V4L2 drivers.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjnhhubh)}(h2001-01-26: A possible kernel-level incompatibility between the ``videodev.h`` file in the ``videodevX`` patch and the ``videodev.h`` file in Linux 2.2.x with devfs patches applied was fixed.h](h@2001-01-26: A possible kernel-level incompatibility between the }(hj! hhhNhNubj)}(h``videodev.h``h]h videodev.h}(hj) hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj! ubh file in the }(hj! hhhNhNubj)}(h ``videodevX``h]h videodevX}(hj; hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj! ubh patch and the }(hj! hhhNhNubj)}(h``videodev.h``h]h videodev.h}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj! ubh: file in Linux 2.2.x with devfs patches applied was fixed.}(hj! hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjnhhubh)}(h2001-03-02: Certain V4L ioctls which pass data in both direction although they are defined with read-only parameter, did not work correctly through the backward compatibility layer. [Solution?]h]h2001-03-02: Certain V4L ioctls which pass data in both direction although they are defined with read-only parameter, did not work correctly through the backward compatibility layer. [Solution?]}(hje hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjnhhubh)}(h52001-04-13: Big endian 16-bit RGB formats were added.h]h52001-04-13: Big endian 16-bit RGB formats were added.}(hjs hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjnhhubh)}(h2001-09-17: New YUV formats and the :ref:`VIDIOC_G_FREQUENCY ` and :ref:`VIDIOC_S_FREQUENCY ` ioctls were added. (The old ``VIDIOC_G_FREQ`` and ``VIDIOC_S_FREQ`` ioctls did not take multiple tuners into account.)h](h$2001-09-17: New YUV formats and the }(hj hhhNhNubh)}(h.:ref:`VIDIOC_G_FREQUENCY `h]j6)}(hj h]hVIDIOC_G_FREQUENCY}(hj hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj reftyperef refexplicitrefwarnj@vidioc_g_frequencyuh1hhhhKhj ubh and }(hj hhhNhNubh)}(h.:ref:`VIDIOC_S_FREQUENCY `h]j6)}(hj h]hVIDIOC_S_FREQUENCY}(hj hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj reftyperef refexplicitrefwarnj@vidioc_g_frequencyuh1hhhhKhj ubh ioctls were added. (The old }(hj hhhNhNubj)}(h``VIDIOC_G_FREQ``h]h VIDIOC_G_FREQ}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh and }(hj hhhNhNubj)}(h``VIDIOC_S_FREQ``h]h VIDIOC_S_FREQ}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh3 ioctls did not take multiple tuners into account.)}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjnhhubh)}(hX2000-09-18: ``V4L2_BUF_TYPE_VBI`` was added. This may *break compatibility* as the :ref:`VIDIOC_G_FMT ` and :ref:`VIDIOC_S_FMT ` ioctls may fail now if the struct ``v4l2_fmt`` ``type`` field does not contain ``V4L2_BUF_TYPE_VBI``. In the documentation of the struct v4l2_vbi_format`, the ``offset`` field the ambiguous phrase "rising edge" was changed to "leading edge".h](h 2000-09-18: }(hj hhhNhNubj)}(h``V4L2_BUF_TYPE_VBI``h]hV4L2_BUF_TYPE_VBI}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh was added. This may }(hj hhhNhNubj)}(h*break compatibility*h]hbreak compatibility}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh as the }(hj hhhNhNubh)}(h":ref:`VIDIOC_G_FMT `h]j6)}(hj) h]h VIDIOC_G_FMT}(hj+ hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj' ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj5 reftyperef refexplicitrefwarnj@ vidioc_g_fmtuh1hhhhKhj ubh and }(hj hhhNhNubh)}(h":ref:`VIDIOC_S_FMT `h]j6)}(hjM h]h VIDIOC_S_FMT}(hjO hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjK ubah}(h]h ]h"]h$]h&]refdocj+ refdomainjY reftyperef refexplicitrefwarnj@ vidioc_g_fmtuh1hhhhKhj ubh# ioctls may fail now if the struct }(hj hhhNhNubj)}(h ``v4l2_fmt``h]hv4l2_fmt}(hjo hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh }(hj hhhNhNubj)}(h``type``h]htype}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh field does not contain }(hj hhhNhNubj)}(h``V4L2_BUF_TYPE_VBI``h]hV4L2_BUF_TYPE_VBI}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh;. In the documentation of the struct v4l2_vbi_format`, the }(hj hhhNhNubj)}(h ``offset``h]hoffset}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhP field the ambiguous phrase “rising edge” was changed to “leading edge”.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjnhhubeh}(h]%v4l2-version-0-20-incremental-changesah ]h"]%v4l2 version 0.20 incremental changesah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hV4L2 Version 0.20 2000-11-23h]hV4L2 Version 0.20 2000-11-23}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhKubh)}(h7A number of changes were made to the raw VBI interface.h]h7A number of changes were made to the raw VBI interface.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj hhubj0)}(hhh](j5)}(hXFigures clarifying the line numbering scheme were added to the V4L2 API specification. The ``start``\ [0] and ``start``\ [1] fields no longer count line numbers beginning at zero. Rationale: a) The previous definition was unclear. b) The ``start``\ [] values are ordinal numbers. c) There is no point in inventing a new line numbering scheme. We now use line number as defined by ITU-R, period. Compatibility: Add one to the start values. Applications depending on the previous semantics may not function correctly. h]h)}(hXFigures clarifying the line numbering scheme were added to the V4L2 API specification. The ``start``\ [0] and ``start``\ [1] fields no longer count line numbers beginning at zero. Rationale: a) The previous definition was unclear. b) The ``start``\ [] values are ordinal numbers. c) There is no point in inventing a new line numbering scheme. We now use line number as defined by ITU-R, period. Compatibility: Add one to the start values. Applications depending on the previous semantics may not function correctly.h](h[Figures clarifying the line numbering scheme were added to the V4L2 API specification. The }(hj hhhNhNubj)}(h ``start``h]hstart}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh [0] and }(hj hhhNhNubj)}(h ``start``h]hstart}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhw [1] fields no longer count line numbers beginning at zero. Rationale: a) The previous definition was unclear. b) The }(hj hhhNhNubj)}(h ``start``h]hstart}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhX  [] values are ordinal numbers. c) There is no point in inventing a new line numbering scheme. We now use line number as defined by ITU-R, period. Compatibility: Add one to the start values. Applications depending on the previous semantics may not function correctly.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hXThe restriction "count[0] > 0 and count[1] > 0" has been relaxed to "(count[0] + count[1]) > 0". Rationale: Drivers may allocate resources at scan line granularity and some data services are transmitted only on the first field. The comment that both ``count`` values will usually be equal is misleading and pointless and has been removed. This change *breaks compatibility* with earlier versions: Drivers may return ``EINVAL``, applications may not function correctly. h]h)}(hXThe restriction "count[0] > 0 and count[1] > 0" has been relaxed to "(count[0] + count[1]) > 0". Rationale: Drivers may allocate resources at scan line granularity and some data services are transmitted only on the first field. The comment that both ``count`` values will usually be equal is misleading and pointless and has been removed. This change *breaks compatibility* with earlier versions: Drivers may return ``EINVAL``, applications may not function correctly.h](hXThe restriction “count[0] > 0 and count[1] > 0” has been relaxed to “(count[0] + count[1]) > 0”. Rationale: Drivers may allocate resources at scan line granularity and some data services are transmitted only on the first field. The comment that both }(hj9 hhhNhNubj)}(h ``count``h]hcount}(hjA hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9 ubh\ values will usually be equal is misleading and pointless and has been removed. This change }(hj9 hhhNhNubj)}(h*breaks compatibility*h]hbreaks compatibility}(hjS hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9 ubh+ with earlier versions: Drivers may return }(hj9 hhhNhNubj)}(h ``EINVAL``h]hEINVAL}(hje hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9 ubh*, applications may not function correctly.}(hj9 hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM hj5 ubah}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hXDrivers are again permitted to return negative (unknown) start values as proposed earlier. Why this feature was dropped is unclear. This change may *break compatibility* with applications depending on the start values being positive. The use of ``EBUSY`` and ``EINVAL`` error codes with the :ref:`VIDIOC_S_FMT ` ioctl was clarified. The ``EBUSY`` error code was finally documented, and the ``reserved2`` field which was previously mentioned only in the ``videodev.h`` header file. h]h)}(hXDrivers are again permitted to return negative (unknown) start values as proposed earlier. Why this feature was dropped is unclear. This change may *break compatibility* with applications depending on the start values being positive. The use of ``EBUSY`` and ``EINVAL`` error codes with the :ref:`VIDIOC_S_FMT ` ioctl was clarified. The ``EBUSY`` error code was finally documented, and the ``reserved2`` field which was previously mentioned only in the ``videodev.h`` header file.h](hDrivers are again permitted to return negative (unknown) start values as proposed earlier. Why this feature was dropped is unclear. This change may }(hj hhhNhNubj)}(h*break compatibility*h]hbreak compatibility}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhL with applications depending on the start values being positive. The use of }(hj hhhNhNubj)}(h ``EBUSY``h]hEBUSY}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh and }(hj hhhNhNubj)}(h ``EINVAL``h]hEINVAL}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh error codes with the }(hj hhhNhNubh)}(h":ref:`VIDIOC_S_FMT `h]j6)}(hj h]h VIDIOC_S_FMT}(hj hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj reftyperef refexplicitrefwarnj@ vidioc_g_fmtuh1hhhhMhj ubh ioctl was clarified. The }(hj hhhNhNubj)}(h ``EBUSY``h]hEBUSY}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh, error code was finally documented, and the }(hj hhhNhNubj)}(h ``reserved2``h]h reserved2}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh2 field which was previously mentioned only in the }(hj hhhNhNubj)}(h``videodev.h``h]h videodev.h}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh header file.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hNew buffer types ``V4L2_TYPE_VBI_INPUT`` and ``V4L2_TYPE_VBI_OUTPUT`` were added. The former is an alias for the old ``V4L2_TYPE_VBI``, the latter was missing in the ``videodev.h`` file. h]h)}(hNew buffer types ``V4L2_TYPE_VBI_INPUT`` and ``V4L2_TYPE_VBI_OUTPUT`` were added. The former is an alias for the old ``V4L2_TYPE_VBI``, the latter was missing in the ``videodev.h`` file.h](hNew buffer types }(hj/ hhhNhNubj)}(h``V4L2_TYPE_VBI_INPUT``h]hV4L2_TYPE_VBI_INPUT}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ ubh and }(hj/ hhhNhNubj)}(h``V4L2_TYPE_VBI_OUTPUT``h]hV4L2_TYPE_VBI_OUTPUT}(hjI hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ ubh0 were added. The former is an alias for the old }(hj/ hhhNhNubj)}(h``V4L2_TYPE_VBI``h]h V4L2_TYPE_VBI}(hj[ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ ubh , the latter was missing in the }(hj/ hhhNhNubj)}(h``videodev.h``h]h videodev.h}(hjm hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ ubh file.}(hj/ hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj+ ubah}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj hhhhhMubeh}(h]v4l2-version-0-20-2000-11-23ah ]h"]v4l2 version 0.20 2000-11-23ah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hV4L2 Version 0.20 2002-07-25h]hV4L2 Version 0.20 2002-07-25}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhMubh)}(h$Added sliced VBI interface proposal.h]h$Added sliced VBI interface proposal.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM!hj hhubeh}(h]v4l2-version-0-20-2002-07-25ah ]h"]v4l2 version 0.20 2002-07-25ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 2.5.46, 2002-10h]hV4L2 in Linux 2.5.46, 2002-10}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhM$ubh)}(hAround October-November 2002, prior to an announced feature freeze of Linux 2.5, the API was revised, drawing from experience with V4L2 0.20. This unnamed version was finally merged into Linux 2.5.46.h]hAround October-November 2002, prior to an announced feature freeze of Linux 2.5, the API was revised, drawing from experience with V4L2 0.20. This unnamed version was finally merged into Linux 2.5.46.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM&hj hhubj0)}(hhh](j5)}(huAs specified in :ref:`related`, drivers must make related device functions available under all minor device numbers. h]h)}(htAs specified in :ref:`related`, drivers must make related device functions available under all minor device numbers.h](hAs specified in }(hj hhhNhNubh)}(h:ref:`related`h]j6)}(hj h]hrelated}(hj hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj reftyperef refexplicitrefwarnj@relateduh1hhhhM*hj ubhV, drivers must make related device functions available under all minor device numbers.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM*hj ubah}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hXThe :c:func:`open()` function requires access mode ``O_RDWR`` regardless of the device type. All V4L2 drivers exchanging data with applications must support the ``O_NONBLOCK`` flag. The ``O_NOIO`` flag, a V4L2 symbol which aliased the meaningless ``O_TRUNC`` to indicate accesses without data exchange (panel applications) was dropped. Drivers must stay in "panel mode" until the application attempts to initiate a data exchange, see :ref:`open`. h]h)}(hXThe :c:func:`open()` function requires access mode ``O_RDWR`` regardless of the device type. All V4L2 drivers exchanging data with applications must support the ``O_NONBLOCK`` flag. The ``O_NOIO`` flag, a V4L2 symbol which aliased the meaningless ``O_TRUNC`` to indicate accesses without data exchange (panel applications) was dropped. Drivers must stay in "panel mode" until the application attempts to initiate a data exchange, see :ref:`open`.h](hThe }(hj"hhhNhNubh)}(h:c:func:`open()`h]j)}(hj,h]hopen()}(hj.hhhNhNubah}(h]h ](jjc-funceh"]h$]h&]uh1jhj*ubah}(h]h ]h"]h$]h&]refdocj+ refdomainjreftypefunc refexplicitrefwarnj1j5j@openuh1hhhhM-hj"ubh function requires access mode }(hj"hhhNhNubj)}(h ``O_RDWR``h]hO_RDWR}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubhd regardless of the device type. All V4L2 drivers exchanging data with applications must support the }(hj"hhhNhNubj)}(h``O_NONBLOCK``h]h O_NONBLOCK}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh flag. The }(hj"hhhNhNubj)}(h ``O_NOIO``h]hO_NOIO}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh3 flag, a V4L2 symbol which aliased the meaningless }(hj"hhhNhNubj)}(h ``O_TRUNC``h]hO_TRUNC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh to indicate accesses without data exchange (panel applications) was dropped. Drivers must stay in “panel mode” until the application attempts to initiate a data exchange, see }(hj"hhhNhNubh)}(h :ref:`open`h]j6)}(hjh]hopen}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjubah}(h]h ]h"]h$]h&]refdocj+ refdomainjreftyperef refexplicitrefwarnj@openuh1hhhhM-hj"ubh.}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM-hjubah}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hXThe struct v4l2_capability changed dramatically. Note that also the size of the structure changed, which is encoded in the ioctl request code, thus older V4L2 devices will respond with an ``EINVAL`` error code to the new :ref:`VIDIOC_QUERYCAP` ioctl. There are new fields to identify the driver, a new RDS device function ``V4L2_CAP_RDS_CAPTURE``, the ``V4L2_CAP_AUDIO`` flag indicates if the device has any audio connectors, another I/O capability V4L2_CAP_ASYNCIO can be flagged. In response to these changes the ``type`` field became a bit set and was merged into the ``flags`` field. ``V4L2_FLAG_TUNER`` was renamed to ``V4L2_CAP_TUNER``, ``V4L2_CAP_VIDEO_OVERLAY`` replaced ``V4L2_FLAG_PREVIEW`` and ``V4L2_CAP_VBI_CAPTURE`` and ``V4L2_CAP_VBI_OUTPUT`` replaced ``V4L2_FLAG_DATA_SERVICE``. ``V4L2_FLAG_READ`` and ``V4L2_FLAG_WRITE`` were merged into ``V4L2_CAP_READWRITE``. The redundant fields ``inputs``, ``outputs`` and ``audios`` were removed. These properties can be determined as described in :ref:`video` and :ref:`audio`. The somewhat volatile and therefore barely useful fields ``maxwidth``, ``maxheight``, ``minwidth``, ``minheight``, ``maxframerate`` were removed. This information is available as described in :ref:`format` and :ref:`standard`. ``V4L2_FLAG_SELECT`` was removed. We believe the select() function is important enough to require support of it in all V4L2 drivers exchanging data with applications. The redundant ``V4L2_FLAG_MONOCHROME`` flag was removed, this information is available as described in :ref:`format`. h](h)}(hThe struct v4l2_capability changed dramatically. Note that also the size of the structure changed, which is encoded in the ioctl request code, thus older V4L2 devices will respond with an ``EINVAL`` error code to the new :ref:`VIDIOC_QUERYCAP` ioctl.h](hThe struct v4l2_capability changed dramatically. Note that also the size of the structure changed, which is encoded in the ioctl request code, thus older V4L2 devices will respond with an }(hjhhhNhNubj)}(h ``EINVAL``h]hEINVAL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh error code to the new }(hjhhhNhNubh)}(h:ref:`VIDIOC_QUERYCAP`h]j6)}(hjh]hVIDIOC_QUERYCAP}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjubah}(h]h ]h"]h$]h&]refdocj+ refdomainjreftyperef refexplicitrefwarnj@vidioc_querycapuh1hhhhM6hjubh ioctl.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM6hjubh)}(hXsThere are new fields to identify the driver, a new RDS device function ``V4L2_CAP_RDS_CAPTURE``, the ``V4L2_CAP_AUDIO`` flag indicates if the device has any audio connectors, another I/O capability V4L2_CAP_ASYNCIO can be flagged. In response to these changes the ``type`` field became a bit set and was merged into the ``flags`` field. ``V4L2_FLAG_TUNER`` was renamed to ``V4L2_CAP_TUNER``, ``V4L2_CAP_VIDEO_OVERLAY`` replaced ``V4L2_FLAG_PREVIEW`` and ``V4L2_CAP_VBI_CAPTURE`` and ``V4L2_CAP_VBI_OUTPUT`` replaced ``V4L2_FLAG_DATA_SERVICE``. ``V4L2_FLAG_READ`` and ``V4L2_FLAG_WRITE`` were merged into ``V4L2_CAP_READWRITE``.h](hGThere are new fields to identify the driver, a new RDS device function }(hj hhhNhNubj)}(h``V4L2_CAP_RDS_CAPTURE``h]hV4L2_CAP_RDS_CAPTURE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh, the }(hj hhhNhNubj)}(h``V4L2_CAP_AUDIO``h]hV4L2_CAP_AUDIO}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh flag indicates if the device has any audio connectors, another I/O capability V4L2_CAP_ASYNCIO can be flagged. In response to these changes the }(hj hhhNhNubj)}(h``type``h]htype}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh0 field became a bit set and was merged into the }(hj hhhNhNubj)}(h ``flags``h]hflags}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh field. }(hj hhhNhNubj)}(h``V4L2_FLAG_TUNER``h]hV4L2_FLAG_TUNER}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh was renamed to }(hj hhhNhNubj)}(h``V4L2_CAP_TUNER``h]hV4L2_CAP_TUNER}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh, }(hj hhhNhNubj)}(h``V4L2_CAP_VIDEO_OVERLAY``h]hV4L2_CAP_VIDEO_OVERLAY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh replaced }(hj hhhNhNubj)}(h``V4L2_FLAG_PREVIEW``h]hV4L2_FLAG_PREVIEW}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh and }(hj hhhNhNubj)}(h``V4L2_CAP_VBI_CAPTURE``h]hV4L2_CAP_VBI_CAPTURE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh and }(hj hhhNhNubj)}(h``V4L2_CAP_VBI_OUTPUT``h]hV4L2_CAP_VBI_OUTPUT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh replaced }(hj hhhNhNubj)}(h``V4L2_FLAG_DATA_SERVICE``h]hV4L2_FLAG_DATA_SERVICE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh. }(hj hhhNhNubj)}(h``V4L2_FLAG_READ``h]hV4L2_FLAG_READ}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh and }hj sbj)}(h``V4L2_FLAG_WRITE``h]hV4L2_FLAG_WRITE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh were merged into }(hj hhhNhNubj)}(h``V4L2_CAP_READWRITE``h]hV4L2_CAP_READWRITE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM<hjubh)}(hThe redundant fields ``inputs``, ``outputs`` and ``audios`` were removed. These properties can be determined as described in :ref:`video` and :ref:`audio`.h](hThe redundant fields }(hjhhhNhNubj)}(h ``inputs``h]hinputs}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h ``outputs``h]houtputs}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h ``audios``h]haudios}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhB were removed. These properties can be determined as described in }(hjhhhNhNubh)}(h :ref:`video`h]j6)}(hjWh]hvideo}(hjYhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjUubah}(h]h ]h"]h$]h&]refdocj+ refdomainjcreftyperef refexplicitrefwarnj@videouh1hhhhMHhjubh and }hjsbh)}(h :ref:`audio`h]j6)}(hj{h]haudio}(hj}hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjyubah}(h]h ]h"]h$]h&]refdocj+ refdomainjreftyperef refexplicitrefwarnj@audiouh1hhhhMHhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMHhjubh)}(hThe somewhat volatile and therefore barely useful fields ``maxwidth``, ``maxheight``, ``minwidth``, ``minheight``, ``maxframerate`` were removed. This information is available as described in :ref:`format` and :ref:`standard`.h](h9The somewhat volatile and therefore barely useful fields }(hjhhhNhNubj)}(h ``maxwidth``h]hmaxwidth}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h ``maxheight``h]h maxheight}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h ``minwidth``h]hminwidth}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }hjsbj)}(h ``minheight``h]h minheight}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h``maxframerate``h]h maxframerate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh= were removed. This information is available as described in }(hjhhhNhNubh)}(h :ref:`format`h]j6)}(hjh]hformat}(hj hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjubah}(h]h ]h"]h$]h&]refdocj+ refdomainjreftyperef refexplicitrefwarnj@formatuh1hhhhMLhjubh and }(hjhhhNhNubh)}(h:ref:`standard`h]j6)}(hj+h]hstandard}(hj-hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj)ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj7reftyperef refexplicitrefwarnj@standarduh1hhhhMLhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMLhjubh)}(hX``V4L2_FLAG_SELECT`` was removed. We believe the select() function is important enough to require support of it in all V4L2 drivers exchanging data with applications. The redundant ``V4L2_FLAG_MONOCHROME`` flag was removed, this information is available as described in :ref:`format`.h](j)}(h``V4L2_FLAG_SELECT``h]hV4L2_FLAG_SELECT}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubh was removed. We believe the select() function is important enough to require support of it in all V4L2 drivers exchanging data with applications. The redundant }(hjShhhNhNubj)}(h``V4L2_FLAG_MONOCHROME``h]hV4L2_FLAG_MONOCHROME}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjSubhA flag was removed, this information is available as described in }(hjShhhNhNubh)}(h :ref:`format`h]j6)}(hj}h]hformat}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj{ubah}(h]h ]h"]h$]h&]refdocj+ refdomainjreftyperef refexplicitrefwarnj@formatuh1hhhhMQhjSubh.}(hjShhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMQhjubeh}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hXIn struct v4l2_input the ``assoc_audio`` field and the ``capability`` field and its only flag ``V4L2_INPUT_CAP_AUDIO`` was replaced by the new ``audioset`` field. Instead of linking one video input to one audio input this field reports all audio inputs this video input combines with. New fields are ``tuner`` (reversing the former link from tuners to video inputs), ``std`` and ``status``. Accordingly struct v4l2_output lost its ``capability`` and ``assoc_audio`` fields. ``audioset``, ``modulator`` and ``std`` where added instead. h](h)}(hXIn struct v4l2_input the ``assoc_audio`` field and the ``capability`` field and its only flag ``V4L2_INPUT_CAP_AUDIO`` was replaced by the new ``audioset`` field. Instead of linking one video input to one audio input this field reports all audio inputs this video input combines with.h](hIn struct v4l2_input the }(hjhhhNhNubj)}(h``assoc_audio``h]h assoc_audio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field and the }(hjhhhNhNubj)}(h``capability``h]h capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field and its only flag }(hjhhhNhNubj)}(h``V4L2_INPUT_CAP_AUDIO``h]hV4L2_INPUT_CAP_AUDIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh was replaced by the new }(hjhhhNhNubj)}(h ``audioset``h]haudioset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field. Instead of linking one video input to one audio input this field reports all audio inputs this video input combines with.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMWhjubh)}(hiNew fields are ``tuner`` (reversing the former link from tuners to video inputs), ``std`` and ``status``.h](hNew fields are }(hjhhhNhNubj)}(h ``tuner``h]htuner}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh: (reversing the former link from tuners to video inputs), }(hjhhhNhNubj)}(h``std``h]hstd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h ``status``h]hstatus}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM]hjubh)}(hAccordingly struct v4l2_output lost its ``capability`` and ``assoc_audio`` fields. ``audioset``, ``modulator`` and ``std`` where added instead.h](h(Accordingly struct v4l2_output lost its }(hjIhhhNhNubj)}(h``capability``h]h capability}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh and }(hjIhhhNhNubj)}(h``assoc_audio``h]h assoc_audio}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh fields. }(hjIhhhNhNubj)}(h ``audioset``h]haudioset}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh, }(hjIhhhNhNubj)}(h ``modulator``h]h modulator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh and }hjIsbj)}(h``std``h]hstd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh where added instead.}(hjIhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM`hjubeh}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hXThe struct v4l2_audio field ``audio`` was renamed to ``index``, for consistency with other structures. A new capability flag ``V4L2_AUDCAP_STEREO`` was added to indicated if the audio input in question supports stereo sound. ``V4L2_AUDCAP_EFFECTS`` and the corresponding ``V4L2_AUDMODE`` flags where removed. This can be easily implemented using controls. (However the same applies to AVL which is still there.) Again for consistency the struct v4l2_audioout field ``audio`` was renamed to ``index``. h](h)}(hXThe struct v4l2_audio field ``audio`` was renamed to ``index``, for consistency with other structures. A new capability flag ``V4L2_AUDCAP_STEREO`` was added to indicated if the audio input in question supports stereo sound. ``V4L2_AUDCAP_EFFECTS`` and the corresponding ``V4L2_AUDMODE`` flags where removed. This can be easily implemented using controls. (However the same applies to AVL which is still there.)h](hThe struct v4l2_audio field }(hjhhhNhNubj)}(h ``audio``h]haudio}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh was renamed to }(hjhhhNhNubj)}(h ``index``h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh?, for consistency with other structures. A new capability flag }(hjhhhNhNubj)}(h``V4L2_AUDCAP_STEREO``h]hV4L2_AUDCAP_STEREO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhN was added to indicated if the audio input in question supports stereo sound. }(hjhhhNhNubj)}(h``V4L2_AUDCAP_EFFECTS``h]hV4L2_AUDCAP_EFFECTS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and the corresponding }(hjhhhNhNubj)}(h``V4L2_AUDMODE``h]h V4L2_AUDMODE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh| flags where removed. This can be easily implemented using controls. (However the same applies to AVL which is still there.)}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMdhjubh)}(hXAgain for consistency the struct v4l2_audioout field ``audio`` was renamed to ``index``.h](h5Again for consistency the struct v4l2_audioout field }(hj#hhhNhNubj)}(h ``audio``h]haudio}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh was renamed to }(hj#hhhNhNubj)}(h ``index``h]hindex}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh.}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMlhjubeh}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hXThe struct v4l2_tuner ``input`` field was replaced by an ``index`` field, permitting devices with multiple tuners. The link between video inputs and tuners is now reversed, inputs point to their tuner. The ``std`` substructure became a simple set (more about this below) and moved into struct v4l2_input. A ``type`` field was added. Accordingly in struct v4l2_modulator the ``output`` was replaced by an ``index`` field. In struct v4l2_frequency the ``port`` field was replaced by a ``tuner`` field containing the respective tuner or modulator index number. A tuner ``type`` field was added and the ``reserved`` field became larger for future extensions (satellite tuners in particular). h](h)}(hXLThe struct v4l2_tuner ``input`` field was replaced by an ``index`` field, permitting devices with multiple tuners. The link between video inputs and tuners is now reversed, inputs point to their tuner. The ``std`` substructure became a simple set (more about this below) and moved into struct v4l2_input. A ``type`` field was added.h](hThe struct v4l2_tuner }(hj_hhhNhNubj)}(h ``input``h]hinput}(hjghhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh field was replaced by an }(hj_hhhNhNubj)}(h ``index``h]hindex}(hjyhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh field, permitting devices with multiple tuners. The link between video inputs and tuners is now reversed, inputs point to their tuner. The }(hj_hhhNhNubj)}(h``std``h]hstd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh^ substructure became a simple set (more about this below) and moved into struct v4l2_input. A }(hj_hhhNhNubj)}(h``type``h]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubh field was added.}(hj_hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMohj[ubh)}(hWAccordingly in struct v4l2_modulator the ``output`` was replaced by an ``index`` field.h](h)Accordingly in struct v4l2_modulator the }(hjhhhNhNubj)}(h ``output``h]houtput}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh was replaced by an }(hjhhhNhNubj)}(h ``index``h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMvhj[ubh)}(hX In struct v4l2_frequency the ``port`` field was replaced by a ``tuner`` field containing the respective tuner or modulator index number. A tuner ``type`` field was added and the ``reserved`` field became larger for future extensions (satellite tuners in particular).h](hIn struct v4l2_frequency the }(hjhhhNhNubj)}(h``port``h]hport}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field was replaced by a }(hjhhhNhNubj)}(h ``tuner``h]htuner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhJ field containing the respective tuner or modulator index number. A tuner }(hjhhhNhNubj)}(h``type``h]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field was added and the }(hjhhhNhNubj)}(h ``reserved``h]hreserved}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhL field became larger for future extensions (satellite tuners in particular).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMyhj[ubeh}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hX2The idea of completely transparent video standards was dropped. Experience showed that applications must be able to work with video standards beyond presenting the user a menu. Instead of enumerating supported standards with an ioctl applications can now refer to standards by :ref:`v4l2_std_id ` and symbols defined in the ``videodev2.h`` header file. For details see :ref:`standard`. The :ref:`VIDIOC_G_STD ` and :ref:`VIDIOC_S_STD ` now take a pointer to this type as argument. :ref:`VIDIOC_QUERYSTD` was added to autodetect the received standard, if the hardware has this capability. In struct v4l2_standard an ``index`` field was added for :ref:`VIDIOC_ENUMSTD`. A :ref:`v4l2_std_id ` field named ``id`` was added as machine readable identifier, also replacing the ``transmission`` field. The misleading ``framerate`` field was renamed to ``frameperiod``. The now obsolete ``colorstandard`` information, originally needed to distguish between variations of standards, were removed. Struct ``v4l2_enumstd`` ceased to be. :ref:`VIDIOC_ENUMSTD` now takes a pointer to a struct v4l2_standard directly. The information which standards are supported by a particular video input or output moved into struct v4l2_input and struct v4l2_output fields named ``std``, respectively. h](h)}(hXThe idea of completely transparent video standards was dropped. Experience showed that applications must be able to work with video standards beyond presenting the user a menu. Instead of enumerating supported standards with an ioctl applications can now refer to standards by :ref:`v4l2_std_id ` and symbols defined in the ``videodev2.h`` header file. For details see :ref:`standard`. The :ref:`VIDIOC_G_STD ` and :ref:`VIDIOC_S_STD ` now take a pointer to this type as argument. :ref:`VIDIOC_QUERYSTD` was added to autodetect the received standard, if the hardware has this capability. In struct v4l2_standard an ``index`` field was added for :ref:`VIDIOC_ENUMSTD`. A :ref:`v4l2_std_id ` field named ``id`` was added as machine readable identifier, also replacing the ``transmission`` field. The misleading ``framerate`` field was renamed to ``frameperiod``. The now obsolete ``colorstandard`` information, originally needed to distguish between variations of standards, were removed.h](hXThe idea of completely transparent video standards was dropped. Experience showed that applications must be able to work with video standards beyond presenting the user a menu. Instead of enumerating supported standards with an ioctl applications can now refer to standards by }(hjGhhhNhNubh)}(h :ref:`v4l2_std_id `h]j6)}(hjQh]h v4l2_std_id}(hjShhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjOubah}(h]h ]h"]h$]h&]refdocj+ refdomainj]reftyperef refexplicitrefwarnj@ v4l2-std-iduh1hhhhMhjGubh and symbols defined in the }(hjGhhhNhNubj)}(h``videodev2.h``h]h videodev2.h}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh header file. For details see }(hjGhhhNhNubh)}(h:ref:`standard`h]j6)}(hjh]hstandard}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjubah}(h]h ]h"]h$]h&]refdocj+ refdomainjreftyperef refexplicitrefwarnj@standarduh1hhhhMhjGubh. The }(hjGhhhNhNubh)}(h":ref:`VIDIOC_G_STD `h]j6)}(hjh]h VIDIOC_G_STD}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjubah}(h]h ]h"]h$]h&]refdocj+ refdomainjreftyperef refexplicitrefwarnj@ vidioc_g_stduh1hhhhMhjGubh and }(hjGhhhNhNubh)}(h":ref:`VIDIOC_S_STD `h]j6)}(hjh]h VIDIOC_S_STD}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjubah}(h]h ]h"]h$]h&]refdocj+ refdomainjreftyperef refexplicitrefwarnj@ vidioc_g_stduh1hhhhMhjGubh. now take a pointer to this type as argument. }(hjGhhhNhNubh)}(h:ref:`VIDIOC_QUERYSTD`h]j6)}(hjh]hVIDIOC_QUERYSTD}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjubah}(h]h ]h"]h$]h&]refdocj+ refdomainjreftyperef refexplicitrefwarnj@vidioc_querystduh1hhhhMhjGubhp was added to autodetect the received standard, if the hardware has this capability. In struct v4l2_standard an }(hjGhhhNhNubj)}(h ``index``h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh field was added for }(hjGhhhNhNubh)}(h:ref:`VIDIOC_ENUMSTD`h]j6)}(hj)h]hVIDIOC_ENUMSTD}(hj+hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj'ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj5reftyperef refexplicitrefwarnj@vidioc_enumstduh1hhhhMhjGubh. A }(hjGhhhNhNubh)}(h :ref:`v4l2_std_id `h]j6)}(hjMh]h v4l2_std_id}(hjOhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjKubah}(h]h ]h"]h$]h&]refdocj+ refdomainjYreftyperef refexplicitrefwarnj@ v4l2-std-iduh1hhhhMhjGubh field named }(hjGhhhNhNubj)}(h``id``h]hid}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh> was added as machine readable identifier, also replacing the }(hjGhhhNhNubj)}(h``transmission``h]h transmission}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh field. The misleading }(hjGhhhNhNubj)}(h ``framerate``h]h framerate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh field was renamed to }(hjGhhhNhNubj)}(h``frameperiod``h]h frameperiod}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh. The now obsolete }(hjGhhhNhNubj)}(h``colorstandard``h]h colorstandard}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh[ information, originally needed to distguish between variations of standards, were removed.}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjCubh)}(hXStruct ``v4l2_enumstd`` ceased to be. :ref:`VIDIOC_ENUMSTD` now takes a pointer to a struct v4l2_standard directly. The information which standards are supported by a particular video input or output moved into struct v4l2_input and struct v4l2_output fields named ``std``, respectively.h](hStruct }(hjhhhNhNubj)}(h``v4l2_enumstd``h]h v4l2_enumstd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh ceased to be. }(hjhhhNhNubh)}(h:ref:`VIDIOC_ENUMSTD`h]j6)}(hjh]hVIDIOC_ENUMSTD}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjubah}(h]h ]h"]h$]h&]refdocj+ refdomainjreftyperef refexplicitrefwarnj@vidioc_enumstduh1hhhhMhjubh now takes a pointer to a struct v4l2_standard directly. The information which standards are supported by a particular video input or output moved into struct v4l2_input and struct v4l2_output fields named }(hjhhhNhNubj)}(h``std``h]hstd}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, respectively.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjCubeh}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hThe struct :ref:`v4l2_queryctrl ` fields ``category`` and ``group`` did not catch on and/or were not implemented as expected and therefore removed. h]h)}(hThe struct :ref:`v4l2_queryctrl ` fields ``category`` and ``group`` did not catch on and/or were not implemented as expected and therefore removed.h](h The struct }(hj/hhhNhNubh)}(h&:ref:`v4l2_queryctrl `h]j6)}(hj9h]hv4l2_queryctrl}(hj;hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj7ubah}(h]h ]h"]h$]h&]refdocj+ refdomainjEreftyperef refexplicitrefwarnj@v4l2-queryctrluh1hhhhMhj/ubh fields }(hj/hhhNhNubj)}(h ``category``h]hcategory}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubh and }(hj/hhhNhNubj)}(h ``group``h]hgroup}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubhP did not catch on and/or were not implemented as expected and therefore removed.}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj+ubah}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hXThe :ref:`VIDIOC_TRY_FMT ` ioctl was added to negotiate data formats as with :ref:`VIDIOC_S_FMT `, but without the overhead of programming the hardware and regardless of I/O in progress. In struct v4l2_format the ``fmt`` union was extended to contain struct v4l2_window. All image format negotiations are now possible with ``VIDIOC_G_FMT``, ``VIDIOC_S_FMT`` and ``VIDIOC_TRY_FMT``; ioctl. The ``VIDIOC_G_WIN`` and ``VIDIOC_S_WIN`` ioctls to prepare for a video overlay were removed. The ``type`` field changed to type enum v4l2_buf_type and the buffer type names changed as follows. .. flat-table:: :header-rows: 1 :stub-columns: 0 * - Old defines - enum v4l2_buf_type * - ``V4L2_BUF_TYPE_CAPTURE`` - ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` * - ``V4L2_BUF_TYPE_CODECIN`` - Omitted for now * - ``V4L2_BUF_TYPE_CODECOUT`` - Omitted for now * - ``V4L2_BUF_TYPE_EFFECTSIN`` - Omitted for now * - ``V4L2_BUF_TYPE_EFFECTSIN2`` - Omitted for now * - ``V4L2_BUF_TYPE_EFFECTSOUT`` - Omitted for now * - ``V4L2_BUF_TYPE_VIDEOOUT`` - ``V4L2_BUF_TYPE_VIDEO_OUTPUT`` * - ``-`` - ``V4L2_BUF_TYPE_VIDEO_OVERLAY`` * - ``-`` - ``V4L2_BUF_TYPE_VBI_CAPTURE`` * - ``-`` - ``V4L2_BUF_TYPE_VBI_OUTPUT`` * - ``-`` - ``V4L2_BUF_TYPE_SLICED_VBI_CAPTURE`` * - ``-`` - ``V4L2_BUF_TYPE_SLICED_VBI_OUTPUT`` * - ``V4L2_BUF_TYPE_PRIVATE_BASE`` - ``V4L2_BUF_TYPE_PRIVATE`` (but this is deprecated) h](h)}(hThe :ref:`VIDIOC_TRY_FMT ` ioctl was added to negotiate data formats as with :ref:`VIDIOC_S_FMT `, but without the overhead of programming the hardware and regardless of I/O in progress.h](hThe }(hjhhhNhNubh)}(h$:ref:`VIDIOC_TRY_FMT `h]j6)}(hjh]hVIDIOC_TRY_FMT}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjubah}(h]h ]h"]h$]h&]refdocj+ refdomainjreftyperef refexplicitrefwarnj@ vidioc_g_fmtuh1hhhhMhjubh3 ioctl was added to negotiate data formats as with }(hjhhhNhNubh)}(h":ref:`VIDIOC_S_FMT `h]j6)}(hjh]h VIDIOC_S_FMT}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjubah}(h]h ]h"]h$]h&]refdocj+ refdomainjreftyperef refexplicitrefwarnj@ vidioc_g_fmtuh1hhhhMhjubhY, but without the overhead of programming the hardware and regardless of I/O in progress.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(hXIn struct v4l2_format the ``fmt`` union was extended to contain struct v4l2_window. All image format negotiations are now possible with ``VIDIOC_G_FMT``, ``VIDIOC_S_FMT`` and ``VIDIOC_TRY_FMT``; ioctl. The ``VIDIOC_G_WIN`` and ``VIDIOC_S_WIN`` ioctls to prepare for a video overlay were removed. The ``type`` field changed to type enum v4l2_buf_type and the buffer type names changed as follows.h](hIn struct v4l2_format the }(hjhhhNhNubj)}(h``fmt``h]hfmt}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhg union was extended to contain struct v4l2_window. All image format negotiations are now possible with }(hjhhhNhNubj)}(h``VIDIOC_G_FMT``h]h VIDIOC_G_FMT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, }(hjhhhNhNubj)}(h``VIDIOC_S_FMT``h]h VIDIOC_S_FMT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``VIDIOC_TRY_FMT``h]hVIDIOC_TRY_FMT}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh ; ioctl. The }(hjhhhNhNubj)}(h``VIDIOC_G_WIN``h]h VIDIOC_G_WIN}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``VIDIOC_S_WIN``h]h VIDIOC_S_WIN}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh9 ioctls to prepare for a video overlay were removed. The }(hjhhhNhNubj)}(h``type``h]htype}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhW field changed to type enum v4l2_buf_type and the buffer type names changed as follows.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubhtable)}(hhh]htgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthK2uh1j{hjxubj|)}(hhh]h}(h]h ]h"]h$]h&]colwidthK2uh1j{hjxubhthead)}(hhh]hrow)}(hhh](hentry)}(hhh]h)}(h Old definesh]h Old defines}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(henum v4l2_buf_typeh]henum v4l2_buf_type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjxubhtbody)}(hhh](j)}(hhh](j)}(hhh]h)}(h``V4L2_BUF_TYPE_CAPTURE``h]j)}(hjh]hV4L2_BUF_TYPE_CAPTURE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``V4L2_BUF_TYPE_VIDEO_CAPTURE``h]j)}(hjh]hV4L2_BUF_TYPE_VIDEO_CAPTURE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``V4L2_BUF_TYPE_CODECIN``h]j)}(hj-h]hV4L2_BUF_TYPE_CODECIN}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1hhhhMhj(ubah}(h]h ]h"]h$]h&]uh1jhj%ubj)}(hhh]h)}(hOmitted for nowh]hOmitted for now}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjHubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``V4L2_BUF_TYPE_CODECOUT``h]j)}(hjmh]hV4L2_BUF_TYPE_CODECOUT}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1hhhhMhjhubah}(h]h ]h"]h$]h&]uh1jhjeubj)}(hhh]h)}(hOmitted for nowh]hOmitted for now}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``V4L2_BUF_TYPE_EFFECTSIN``h]j)}(hjh]hV4L2_BUF_TYPE_EFFECTSIN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hOmitted for nowh]hOmitted for now}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``V4L2_BUF_TYPE_EFFECTSIN2``h]j)}(hjh]hV4L2_BUF_TYPE_EFFECTSIN2}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hOmitted for nowh]hOmitted for now}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``V4L2_BUF_TYPE_EFFECTSOUT``h]j)}(hj-h]hV4L2_BUF_TYPE_EFFECTSOUT}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubah}(h]h ]h"]h$]h&]uh1hhhhMhj(ubah}(h]h ]h"]h$]h&]uh1jhj%ubj)}(hhh]h)}(hOmitted for nowh]hOmitted for now}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjHubah}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``V4L2_BUF_TYPE_VIDEOOUT``h]j)}(hjmh]hV4L2_BUF_TYPE_VIDEOOUT}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1hhhhMhjhubah}(h]h ]h"]h$]h&]uh1jhjeubj)}(hhh]h)}(h``V4L2_BUF_TYPE_VIDEO_OUTPUT``h]j)}(hjh]hV4L2_BUF_TYPE_VIDEO_OUTPUT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjeubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``-``h]j)}(hjh]h-}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``V4L2_BUF_TYPE_VIDEO_OVERLAY``h]j)}(hjh]hV4L2_BUF_TYPE_VIDEO_OVERLAY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``-``h]j)}(hjh]h-}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``V4L2_BUF_TYPE_VBI_CAPTURE``h]j)}(hjh]hV4L2_BUF_TYPE_VBI_CAPTURE}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``-``h]j)}(hjHh]h-}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]uh1hhhhMhjCubah}(h]h ]h"]h$]h&]uh1jhj@ubj)}(hhh]h)}(h``V4L2_BUF_TYPE_VBI_OUTPUT``h]j)}(hjhh]hV4L2_BUF_TYPE_VBI_OUTPUT}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hhhhMhjcubah}(h]h ]h"]h$]h&]uh1jhj@ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``-``h]j)}(hjh]h-}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h$``V4L2_BUF_TYPE_SLICED_VBI_CAPTURE``h]j)}(hjh]h V4L2_BUF_TYPE_SLICED_VBI_CAPTURE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``-``h]j)}(hjh]h-}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h#``V4L2_BUF_TYPE_SLICED_VBI_OUTPUT``h]j)}(hjh]hV4L2_BUF_TYPE_SLICED_VBI_OUTPUT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``V4L2_BUF_TYPE_PRIVATE_BASE``h]j)}(hj#h]hV4L2_BUF_TYPE_PRIVATE_BASE}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj!ubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h2``V4L2_BUF_TYPE_PRIVATE`` (but this is deprecated)h](j)}(h``V4L2_BUF_TYPE_PRIVATE``h]hV4L2_BUF_TYPE_PRIVATE}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh (but this is deprecated)}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj>ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjxubeh}(h]h ]h"]h$]h&]colsKuh1jvhjsubah}(h]h ]h"]h$]h&]uh1jqhjubeh}(h]h ]h"]h$]h&]uh1j4hj hhhNhNubj5)}(hX In struct v4l2_fmtdesc a enum v4l2_buf_type field named ``type`` was added as in struct v4l2_format. The ``VIDIOC_ENUM_FBUFFMT`` ioctl is no longer needed and was removed. These calls can be replaced by :ref:`VIDIOC_ENUM_FMT` with type ``V4L2_BUF_TYPE_VIDEO_OVERLAY``. h]h)}(hX In struct v4l2_fmtdesc a enum v4l2_buf_type field named ``type`` was added as in struct v4l2_format. The ``VIDIOC_ENUM_FBUFFMT`` ioctl is no longer needed and was removed. These calls can be replaced by :ref:`VIDIOC_ENUM_FMT` with type ``V4L2_BUF_TYPE_VIDEO_OVERLAY``.h](h8In struct v4l2_fmtdesc a enum v4l2_buf_type field named }(hjhhhNhNubj)}(h``type``h]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh) was added as in struct v4l2_format. The }(hjhhhNhNubj)}(h``VIDIOC_ENUM_FBUFFMT``h]hVIDIOC_ENUM_FBUFFMT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhK ioctl is no longer needed and was removed. These calls can be replaced by }(hjhhhNhNubh)}(h:ref:`VIDIOC_ENUM_FMT`h]j6)}(hjh]hVIDIOC_ENUM_FMT}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjubah}(h]h ]h"]h$]h&]refdocj+ refdomainjreftyperef refexplicitrefwarnj@vidioc_enum_fmtuh1hhhhMhjubh with type }(hjhhhNhNubj)}(h``V4L2_BUF_TYPE_VIDEO_OVERLAY``h]hV4L2_BUF_TYPE_VIDEO_OVERLAY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hXsIn struct v4l2_pix_format the ``depth`` field was removed, assuming applications which recognize the format by its four-character-code already know the color depth, and others do not care about it. The same rationale lead to the removal of the ``V4L2_FMT_FLAG_COMPRESSED`` flag. The ``V4L2_FMT_FLAG_SWCONVECOMPRESSED`` flag was removed because drivers are not supposed to convert images in kernel space. A user library of conversion functions should be provided instead. The ``V4L2_FMT_FLAG_BYTESPERLINE`` flag was redundant. Applications can set the ``bytesperline`` field to zero to get a reasonable default. Since the remaining flags were replaced as well, the ``flags`` field itself was removed. The interlace flags were replaced by a enum v4l2_field value in a newly added ``field`` field. .. flat-table:: :header-rows: 1 :stub-columns: 0 * - Old flag - enum v4l2_field * - ``V4L2_FMT_FLAG_NOT_INTERLACED`` - ? * - ``V4L2_FMT_FLAG_INTERLACED`` = ``V4L2_FMT_FLAG_COMBINED`` - ``V4L2_FIELD_INTERLACED`` * - ``V4L2_FMT_FLAG_TOPFIELD`` = ``V4L2_FMT_FLAG_ODDFIELD`` - ``V4L2_FIELD_TOP`` * - ``V4L2_FMT_FLAG_BOTFIELD`` = ``V4L2_FMT_FLAG_EVENFIELD`` - ``V4L2_FIELD_BOTTOM`` * - ``-`` - ``V4L2_FIELD_SEQ_TB`` * - ``-`` - ``V4L2_FIELD_SEQ_BT`` * - ``-`` - ``V4L2_FIELD_ALTERNATE`` The color space flags were replaced by a enum v4l2_colorspace value in a newly added ``colorspace`` field, where one of ``V4L2_COLORSPACE_SMPTE170M``, ``V4L2_COLORSPACE_BT878``, ``V4L2_COLORSPACE_470_SYSTEM_M`` or ``V4L2_COLORSPACE_470_SYSTEM_BG`` replaces ``V4L2_FMT_CS_601YUV``. h](h)}(hXIn struct v4l2_pix_format the ``depth`` field was removed, assuming applications which recognize the format by its four-character-code already know the color depth, and others do not care about it. The same rationale lead to the removal of the ``V4L2_FMT_FLAG_COMPRESSED`` flag. The ``V4L2_FMT_FLAG_SWCONVECOMPRESSED`` flag was removed because drivers are not supposed to convert images in kernel space. A user library of conversion functions should be provided instead. The ``V4L2_FMT_FLAG_BYTESPERLINE`` flag was redundant. Applications can set the ``bytesperline`` field to zero to get a reasonable default. Since the remaining flags were replaced as well, the ``flags`` field itself was removed.h](hIn struct v4l2_pix_format the }(hjhhhNhNubj)}(h ``depth``h]hdepth}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field was removed, assuming applications which recognize the format by its four-character-code already know the color depth, and others do not care about it. The same rationale lead to the removal of the }(hjhhhNhNubj)}(h``V4L2_FMT_FLAG_COMPRESSED``h]hV4L2_FMT_FLAG_COMPRESSED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh flag. The }(hjhhhNhNubj)}(h#``V4L2_FMT_FLAG_SWCONVECOMPRESSED``h]hV4L2_FMT_FLAG_SWCONVECOMPRESSED}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh flag was removed because drivers are not supposed to convert images in kernel space. A user library of conversion functions should be provided instead. The }(hjhhhNhNubj)}(h``V4L2_FMT_FLAG_BYTESPERLINE``h]hV4L2_FMT_FLAG_BYTESPERLINE}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh. flag was redundant. Applications can set the }(hjhhhNhNubj)}(h``bytesperline``h]h bytesperline}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubha field to zero to get a reasonable default. Since the remaining flags were replaced as well, the }(hjhhhNhNubj)}(h ``flags``h]hflags}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field itself was removed.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubh)}(h^The interlace flags were replaced by a enum v4l2_field value in a newly added ``field`` field.h](hNThe interlace flags were replaced by a enum v4l2_field value in a newly added }(hjrhhhNhNubj)}(h ``field``h]hfield}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjrubh field.}(hjrhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubjr)}(hhh]jw)}(hhh](j|)}(hhh]h}(h]h ]h"]h$]h&]colwidthK2uh1j{hjubj|)}(hhh]h}(h]h ]h"]h$]h&]colwidthK2uh1j{hjubj)}(hhh]j)}(hhh](j)}(hhh]h)}(hOld flagh]hOld flag}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(henum v4l2_fieldh]henum v4l2_field}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h ``V4L2_FMT_FLAG_NOT_INTERLACED``h]j)}(hjh]hV4L2_FMT_FLAG_NOT_INTERLACED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h?h]h?}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h9``V4L2_FMT_FLAG_INTERLACED`` = ``V4L2_FMT_FLAG_COMBINED``h](j)}(h``V4L2_FMT_FLAG_INTERLACED``h]hV4L2_FMT_FLAG_INTERLACED}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubh = }(hj5hhhNhNubj)}(h``V4L2_FMT_FLAG_COMBINED``h]hV4L2_FMT_FLAG_COMBINED}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1hhhhMhj2ubah}(h]h ]h"]h$]h&]uh1jhj/ubj)}(hhh]h)}(h``V4L2_FIELD_INTERLACED``h]j)}(hjjh]hV4L2_FIELD_INTERLACED}(hjlhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjhubah}(h]h ]h"]h$]h&]uh1hhhhMhjeubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h7``V4L2_FMT_FLAG_TOPFIELD`` = ``V4L2_FMT_FLAG_ODDFIELD``h](j)}(h``V4L2_FMT_FLAG_TOPFIELD``h]hV4L2_FMT_FLAG_TOPFIELD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh = }(hjhhhNhNubj)}(h``V4L2_FMT_FLAG_ODDFIELD``h]hV4L2_FMT_FLAG_ODDFIELD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``V4L2_FIELD_TOP``h]j)}(hjh]hV4L2_FIELD_TOP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h8``V4L2_FMT_FLAG_BOTFIELD`` = ``V4L2_FMT_FLAG_EVENFIELD``h](j)}(h``V4L2_FMT_FLAG_BOTFIELD``h]hV4L2_FMT_FLAG_BOTFIELD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh = }(hjhhhNhNubj)}(h``V4L2_FMT_FLAG_EVENFIELD``h]hV4L2_FMT_FLAG_EVENFIELD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``V4L2_FIELD_BOTTOM``h]j)}(hj"h]hV4L2_FIELD_BOTTOM}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``-``h]j)}(hjKh]h-}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhhhMhjFubah}(h]h ]h"]h$]h&]uh1jhjCubj)}(hhh]h)}(h``V4L2_FIELD_SEQ_TB``h]j)}(hjkh]hV4L2_FIELD_SEQ_TB}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]uh1hhhhMhjfubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``-``h]j)}(hjh]h-}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``V4L2_FIELD_SEQ_BT``h]j)}(hjh]hV4L2_FIELD_SEQ_BT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``-``h]j)}(hjh]h-}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``V4L2_FIELD_ALTERNATE``h]j)}(hjh]hV4L2_FIELD_ALTERNATE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jvhjubah}(h]h ]h"]h$]h&]uh1jqhjubh)}(hXThe color space flags were replaced by a enum v4l2_colorspace value in a newly added ``colorspace`` field, where one of ``V4L2_COLORSPACE_SMPTE170M``, ``V4L2_COLORSPACE_BT878``, ``V4L2_COLORSPACE_470_SYSTEM_M`` or ``V4L2_COLORSPACE_470_SYSTEM_BG`` replaces ``V4L2_FMT_CS_601YUV``.h](hUThe color space flags were replaced by a enum v4l2_colorspace value in a newly added }(hj1hhhNhNubj)}(h``colorspace``h]h colorspace}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh field, where one of }(hj1hhhNhNubj)}(h``V4L2_COLORSPACE_SMPTE170M``h]hV4L2_COLORSPACE_SMPTE170M}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh, }(hj1hhhNhNubj)}(h``V4L2_COLORSPACE_BT878``h]hV4L2_COLORSPACE_BT878}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh, }(hj1hhhNhNubj)}(h ``V4L2_COLORSPACE_470_SYSTEM_M``h]hV4L2_COLORSPACE_470_SYSTEM_M}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh or }(hj1hhhNhNubj)}(h!``V4L2_COLORSPACE_470_SYSTEM_BG``h]hV4L2_COLORSPACE_470_SYSTEM_BG}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh replaces }(hj1hhhNhNubj)}(h``V4L2_FMT_CS_601YUV``h]hV4L2_FMT_CS_601YUV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh.}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubeh}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hX8In struct v4l2_requestbuffers the ``type`` field was properly defined as enum v4l2_buf_type. Buffer types changed as mentioned above. A new ``memory`` field of type enum v4l2_memory was added to distinguish between I/O methods using buffers allocated by the driver or the application. See :ref:`io` for details. h]h)}(hX7In struct v4l2_requestbuffers the ``type`` field was properly defined as enum v4l2_buf_type. Buffer types changed as mentioned above. A new ``memory`` field of type enum v4l2_memory was added to distinguish between I/O methods using buffers allocated by the driver or the application. See :ref:`io` for details.h](h"In struct v4l2_requestbuffers the }(hjhhhNhNubj)}(h``type``h]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhb field was properly defined as enum v4l2_buf_type. Buffer types changed as mentioned above. A new }(hjhhhNhNubj)}(h ``memory``h]hmemory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field of type enum v4l2_memory was added to distinguish between I/O methods using buffers allocated by the driver or the application. See }(hjhhhNhNubh)}(h :ref:`io`h]j6)}(hjh]hio}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjubah}(h]h ]h"]h$]h&]refdocj+ refdomainjreftyperef refexplicitrefwarnj@iouh1hhhhMhjubh for details.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hXIn struct v4l2_buffer the ``type`` field was properly defined as enum v4l2_buf_type. Buffer types changed as mentioned above. A ``field`` field of type enum v4l2_field was added to indicate if a buffer contains a top or bottom field. The old field flags were removed. Since no unadjusted system time clock was added to the kernel as planned, the ``timestamp`` field changed back from type stamp_t, an unsigned 64 bit integer expressing the sample time in nanoseconds, to struct timeval. With the addition of a second memory mapping method the ``offset`` field moved into union ``m``, and a new ``memory`` field of type enum v4l2_memory was added to distinguish between I/O methods. See :ref:`io` for details. The ``V4L2_BUF_REQ_CONTIG`` flag was used by the V4L compatibility layer, after changes to this code it was no longer needed. The ``V4L2_BUF_ATTR_DEVICEMEM`` flag would indicate if the buffer was indeed allocated in device memory rather than DMA-able system memory. It was barely useful and so was removed. h](h)}(hXIn struct v4l2_buffer the ``type`` field was properly defined as enum v4l2_buf_type. Buffer types changed as mentioned above. A ``field`` field of type enum v4l2_field was added to indicate if a buffer contains a top or bottom field. The old field flags were removed. Since no unadjusted system time clock was added to the kernel as planned, the ``timestamp`` field changed back from type stamp_t, an unsigned 64 bit integer expressing the sample time in nanoseconds, to struct timeval. With the addition of a second memory mapping method the ``offset`` field moved into union ``m``, and a new ``memory`` field of type enum v4l2_memory was added to distinguish between I/O methods. See :ref:`io` for details.h](hIn struct v4l2_buffer the }(hj hhhNhNubj)}(h``type``h]htype}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh^ field was properly defined as enum v4l2_buf_type. Buffer types changed as mentioned above. A }(hj hhhNhNubj)}(h ``field``h]hfield}(hj/ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh field of type enum v4l2_field was added to indicate if a buffer contains a top or bottom field. The old field flags were removed. Since no unadjusted system time clock was added to the kernel as planned, the }(hj hhhNhNubj)}(h ``timestamp``h]h timestamp}(hjA hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh field changed back from type stamp_t, an unsigned 64 bit integer expressing the sample time in nanoseconds, to struct timeval. With the addition of a second memory mapping method the }(hj hhhNhNubj)}(h ``offset``h]hoffset}(hjS hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh field moved into union }(hj hhhNhNubj)}(h``m``h]hm}(hje hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh , and a new }(hj hhhNhNubj)}(h ``memory``h]hmemory}(hjw hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhR field of type enum v4l2_memory was added to distinguish between I/O methods. See }(hj hhhNhNubh)}(h :ref:`io`h]j6)}(hj h]hio}(hj hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj reftyperef refexplicitrefwarnj@iouh1hhhhMhj ubh for details.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj ubh)}(hX2The ``V4L2_BUF_REQ_CONTIG`` flag was used by the V4L compatibility layer, after changes to this code it was no longer needed. The ``V4L2_BUF_ATTR_DEVICEMEM`` flag would indicate if the buffer was indeed allocated in device memory rather than DMA-able system memory. It was barely useful and so was removed.h](hThe }(hj hhhNhNubj)}(h``V4L2_BUF_REQ_CONTIG``h]hV4L2_BUF_REQ_CONTIG}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhg flag was used by the V4L compatibility layer, after changes to this code it was no longer needed. The }(hj hhhNhNubj)}(h``V4L2_BUF_ATTR_DEVICEMEM``h]hV4L2_BUF_ATTR_DEVICEMEM}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh flag would indicate if the buffer was indeed allocated in device memory rather than DMA-able system memory. It was barely useful and so was removed.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj ubeh}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hXIn struct v4l2_framebuffer the ``base[3]`` array anticipating double- and triple-buffering in off-screen video memory, however without defining a synchronization mechanism, was replaced by a single pointer. The ``V4L2_FBUF_CAP_SCALEUP`` and ``V4L2_FBUF_CAP_SCALEDOWN`` flags were removed. Applications can determine this capability more accurately using the new cropping and scaling interface. The ``V4L2_FBUF_CAP_CLIPPING`` flag was replaced by ``V4L2_FBUF_CAP_LIST_CLIPPING`` and ``V4L2_FBUF_CAP_BITMAP_CLIPPING``. h]h)}(hXIn struct v4l2_framebuffer the ``base[3]`` array anticipating double- and triple-buffering in off-screen video memory, however without defining a synchronization mechanism, was replaced by a single pointer. The ``V4L2_FBUF_CAP_SCALEUP`` and ``V4L2_FBUF_CAP_SCALEDOWN`` flags were removed. Applications can determine this capability more accurately using the new cropping and scaling interface. The ``V4L2_FBUF_CAP_CLIPPING`` flag was replaced by ``V4L2_FBUF_CAP_LIST_CLIPPING`` and ``V4L2_FBUF_CAP_BITMAP_CLIPPING``.h](hIn struct v4l2_framebuffer the }(hj hhhNhNubj)}(h ``base[3]``h]hbase[3]}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh array anticipating double- and triple-buffering in off-screen video memory, however without defining a synchronization mechanism, was replaced by a single pointer. The }(hj hhhNhNubj)}(h``V4L2_FBUF_CAP_SCALEUP``h]hV4L2_FBUF_CAP_SCALEUP}(hj !hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh and }(hj hhhNhNubj)}(h``V4L2_FBUF_CAP_SCALEDOWN``h]hV4L2_FBUF_CAP_SCALEDOWN}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh flags were removed. Applications can determine this capability more accurately using the new cropping and scaling interface. The }(hj hhhNhNubj)}(h``V4L2_FBUF_CAP_CLIPPING``h]hV4L2_FBUF_CAP_CLIPPING}(hj-!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh flag was replaced by }(hj hhhNhNubj)}(h``V4L2_FBUF_CAP_LIST_CLIPPING``h]hV4L2_FBUF_CAP_LIST_CLIPPING}(hj?!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh and }(hj hhhNhNubj)}(h!``V4L2_FBUF_CAP_BITMAP_CLIPPING``h]hV4L2_FBUF_CAP_BITMAP_CLIPPING}(hjQ!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hIn struct v4l2_clip the ``x``, ``y``, ``width`` and ``height`` field moved into a ``c`` substructure of type struct v4l2_rect. The ``x`` and ``y`` fields were renamed to ``left`` and ``top``, i. e. offsets to a context dependent origin. h]h)}(hIn struct v4l2_clip the ``x``, ``y``, ``width`` and ``height`` field moved into a ``c`` substructure of type struct v4l2_rect. The ``x`` and ``y`` fields were renamed to ``left`` and ``top``, i. e. offsets to a context dependent origin.h](hIn struct v4l2_clip the }(hjs!hhhNhNubj)}(h``x``h]hx}(hj{!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs!ubh, }(hjs!hhhNhNubj)}(h``y``h]hy}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs!ubh, }(hjs!hhhNhNubj)}(h ``width``h]hwidth}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs!ubh and }(hjs!hhhNhNubj)}(h ``height``h]hheight}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs!ubh field moved into a }(hjs!hhhNhNubj)}(h``c``h]hc}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs!ubh, substructure of type struct v4l2_rect. The }(hjs!hhhNhNubj)}(h``x``h]hx}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs!ubh and }hjs!sbj)}(h``y``h]hy}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs!ubh fields were renamed to }(hjs!hhhNhNubj)}(h``left``h]hleft}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs!ubh and }hjs!sbj)}(h``top``h]htop}(hj "hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjs!ubh., i. e. offsets to a context dependent origin.}(hjs!hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM$hjo!ubah}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hIn struct v4l2_window the ``x``, ``y``, ``width`` and ``height`` field moved into a ``w`` substructure as above. A ``field`` field of type enum v4l2_field was added to distinguish between field and frame (interlaced) overlay. h]h)}(hIn struct v4l2_window the ``x``, ``y``, ``width`` and ``height`` field moved into a ``w`` substructure as above. A ``field`` field of type enum v4l2_field was added to distinguish between field and frame (interlaced) overlay.h](hIn struct v4l2_window the }(hj-"hhhNhNubj)}(h``x``h]hx}(hj5"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-"ubh, }(hj-"hhhNhNubj)}(h``y``h]hy}(hjG"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-"ubh, }(hj-"hhhNhNubj)}(h ``width``h]hwidth}(hjY"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-"ubh and }(hj-"hhhNhNubj)}(h ``height``h]hheight}(hjk"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-"ubh field moved into a }(hj-"hhhNhNubj)}(h``w``h]hw}(hj}"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-"ubh substructure as above. A }(hj-"hhhNhNubj)}(h ``field``h]hfield}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-"ubhe field of type enum v4l2_field was added to distinguish between field and frame (interlaced) overlay.}(hj-"hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM*hj)"ubah}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hX?The digital zoom interface, including struct ``v4l2_zoomcap``, struct ``v4l2_zoom``, ``V4L2_ZOOM_NONCAP`` and ``V4L2_ZOOM_WHILESTREAMING`` was replaced by a new cropping and scaling interface. The previously unused struct v4l2_cropcap and struct v4l2_crop where redefined for this purpose. See :ref:`crop` for details. h]h)}(hX>The digital zoom interface, including struct ``v4l2_zoomcap``, struct ``v4l2_zoom``, ``V4L2_ZOOM_NONCAP`` and ``V4L2_ZOOM_WHILESTREAMING`` was replaced by a new cropping and scaling interface. The previously unused struct v4l2_cropcap and struct v4l2_crop where redefined for this purpose. See :ref:`crop` for details.h](h-The digital zoom interface, including struct }(hj"hhhNhNubj)}(h``v4l2_zoomcap``h]h v4l2_zoomcap}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh , struct }(hj"hhhNhNubj)}(h ``v4l2_zoom``h]h v4l2_zoom}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh, }(hj"hhhNhNubj)}(h``V4L2_ZOOM_NONCAP``h]hV4L2_ZOOM_NONCAP}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh and }(hj"hhhNhNubj)}(h``V4L2_ZOOM_WHILESTREAMING``h]hV4L2_ZOOM_WHILESTREAMING}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj"ubh was replaced by a new cropping and scaling interface. The previously unused struct v4l2_cropcap and struct v4l2_crop where redefined for this purpose. See }(hj"hhhNhNubh)}(h :ref:`crop`h]j6)}(hj#h]hcrop}(hj#hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj#ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj#reftyperef refexplicitrefwarnj@cropuh1hhhhM/hj"ubh for details.}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM/hj"ubah}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hIn struct v4l2_vbi_format the ``SAMPLE_FORMAT`` field now contains a four-character-code as used to identify video image formats and ``V4L2_PIX_FMT_GREY`` replaces the ``V4L2_VBI_SF_UBYTE`` define. The ``reserved`` field was extended. h]h)}(hIn struct v4l2_vbi_format the ``SAMPLE_FORMAT`` field now contains a four-character-code as used to identify video image formats and ``V4L2_PIX_FMT_GREY`` replaces the ``V4L2_VBI_SF_UBYTE`` define. The ``reserved`` field was extended.h](hIn struct v4l2_vbi_format the }(hj5#hhhNhNubj)}(h``SAMPLE_FORMAT``h]h SAMPLE_FORMAT}(hj=#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5#ubhV field now contains a four-character-code as used to identify video image formats and }(hj5#hhhNhNubj)}(h``V4L2_PIX_FMT_GREY``h]hV4L2_PIX_FMT_GREY}(hjO#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5#ubh replaces the }(hj5#hhhNhNubj)}(h``V4L2_VBI_SF_UBYTE``h]hV4L2_VBI_SF_UBYTE}(hja#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5#ubh define. The }(hj5#hhhNhNubj)}(h ``reserved``h]hreserved}(hjs#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj5#ubh field was extended.}(hj5#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM6hj1#ubah}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hXYIn struct v4l2_captureparm the type of the ``timeperframe`` field changed from unsigned long to struct v4l2_fract. This allows the accurate expression of multiples of the NTSC-M frame rate 30000 / 1001. A new field ``readbuffers`` was added to control the driver behaviour in read I/O mode. Similar changes were made to struct v4l2_outputparm. h](h)}(hX"In struct v4l2_captureparm the type of the ``timeperframe`` field changed from unsigned long to struct v4l2_fract. This allows the accurate expression of multiples of the NTSC-M frame rate 30000 / 1001. A new field ``readbuffers`` was added to control the driver behaviour in read I/O mode.h](h+In struct v4l2_captureparm the type of the }(hj#hhhNhNubj)}(h``timeperframe``h]h timeperframe}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh field changed from unsigned long to struct v4l2_fract. This allows the accurate expression of multiples of the NTSC-M frame rate 30000 / 1001. A new field }(hj#hhhNhNubj)}(h``readbuffers``h]h readbuffers}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh< was added to control the driver behaviour in read I/O mode.}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM<hj#ubh)}(h4Similar changes were made to struct v4l2_outputparm.h]h4Similar changes were made to struct v4l2_outputparm.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMChj#ubeh}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hThe struct ``v4l2_performance`` and ``VIDIOC_G_PERF`` ioctl were dropped. Except when using the :ref:`read/write I/O method `, which is limited anyway, this information is already available to applications. h]h)}(hThe struct ``v4l2_performance`` and ``VIDIOC_G_PERF`` ioctl were dropped. Except when using the :ref:`read/write I/O method `, which is limited anyway, this information is already available to applications.h](h The struct }(hj#hhhNhNubj)}(h``v4l2_performance``h]hv4l2_performance}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh and }(hj#hhhNhNubj)}(h``VIDIOC_G_PERF``h]h VIDIOC_G_PERF}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh+ ioctl were dropped. Except when using the }(hj#hhhNhNubh)}(h!:ref:`read/write I/O method `h]j6)}(hj $h]hread/write I/O method}(hj$hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj $ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj$reftyperef refexplicitrefwarnj@rwuh1hhhhMEhj#ubhQ, which is limited anyway, this information is already available to applications.}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMEhj#ubah}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubj5)}(hThe example transformation from RGB to YCbCr color space in the old V4L2 documentation was inaccurate, this has been corrected in :ref:`pixfmt`. h]h)}(hThe example transformation from RGB to YCbCr color space in the old V4L2 documentation was inaccurate, this has been corrected in :ref:`pixfmt`.h](hThe example transformation from RGB to YCbCr color space in the old V4L2 documentation was inaccurate, this has been corrected in }(hj?$hhhNhNubh)}(h :ref:`pixfmt`h]j6)}(hjI$h]hpixfmt}(hjK$hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjG$ubah}(h]h ]h"]h$]h&]refdocj+ refdomainjU$reftyperef refexplicitrefwarnj@pixfmtuh1hhhhMJhj?$ubh.}(hj?$hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMJhj;$ubah}(h]h ]h"]h$]h&]uh1j4hj hhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj hhhhhM*ubeh}(h]v4l2-in-linux-2-5-46-2002-10ah ]h"]v4l2 in linux 2.5.46, 2002-10ah$]h&]uh1hhhhhhhhM$ubh)}(hhh](h)}(hV4L2 2003-06-19h]hV4L2 2003-06-19}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj$hhhhhMOubj0)}(hhh](j5)}(hA new capability flag ``V4L2_CAP_RADIO`` was added for radio devices. Prior to this change radio devices would identify solely by having exactly one tuner whose type field reads ``V4L2_TUNER_RADIO``. h]h)}(hA new capability flag ``V4L2_CAP_RADIO`` was added for radio devices. Prior to this change radio devices would identify solely by having exactly one tuner whose type field reads ``V4L2_TUNER_RADIO``.h](hA new capability flag }(hj$hhhNhNubj)}(h``V4L2_CAP_RADIO``h]hV4L2_CAP_RADIO}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubh was added for radio devices. Prior to this change radio devices would identify solely by having exactly one tuner whose type field reads }(hj$hhhNhNubj)}(h``V4L2_TUNER_RADIO``h]hV4L2_TUNER_RADIO}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj$ubh.}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMQhj$ubah}(h]h ]h"]h$]h&]uh1j4hj$hhhhhNubj5)}(hXAn optional driver access priority mechanism was added, see :ref:`app-pri` for details. h]h)}(hWAn optional driver access priority mechanism was added, see :ref:`app-pri` for details.h](h` ioctl would enumerate the available audio inputs. An ioctl to determine the current audio input, if more than one combines with the current video input, did not exist. So ``VIDIOC_G_AUDIO`` was renamed to ``VIDIOC_G_AUDIO_OLD``, this ioctl was removed on Kernel 2.6.39. The :ref:`VIDIOC_ENUMAUDIO` ioctl was added to enumerate audio inputs, while :ref:`VIDIOC_G_AUDIO ` now reports the current audio input. The same changes were made to :ref:`VIDIOC_G_AUDOUT ` and :ref:`VIDIOC_ENUMAUDOUT `. Until further the "videodev" module will automatically translate between the old and new ioctls, but drivers and applications must be updated to successfully compile again. h](h)}(h@The audio input and output interface was found to be incomplete.h]h@The audio input and output interface was found to be incomplete.}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMXhj%ubh)}(hXPreviously the :ref:`VIDIOC_G_AUDIO ` ioctl would enumerate the available audio inputs. An ioctl to determine the current audio input, if more than one combines with the current video input, did not exist. So ``VIDIOC_G_AUDIO`` was renamed to ``VIDIOC_G_AUDIO_OLD``, this ioctl was removed on Kernel 2.6.39. The :ref:`VIDIOC_ENUMAUDIO` ioctl was added to enumerate audio inputs, while :ref:`VIDIOC_G_AUDIO ` now reports the current audio input.h](hPreviously the }(hj#%hhhNhNubh)}(h&:ref:`VIDIOC_G_AUDIO `h]j6)}(hj-%h]hVIDIOC_G_AUDIO}(hj/%hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj+%ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj9%reftyperef refexplicitrefwarnj@vidioc_g_audiouh1hhhhMZhj#%ubh ioctl would enumerate the available audio inputs. An ioctl to determine the current audio input, if more than one combines with the current video input, did not exist. So }(hj#%hhhNhNubj)}(h``VIDIOC_G_AUDIO``h]hVIDIOC_G_AUDIO}(hjO%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#%ubh was renamed to }(hj#%hhhNhNubj)}(h``VIDIOC_G_AUDIO_OLD``h]hVIDIOC_G_AUDIO_OLD}(hja%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#%ubh/, this ioctl was removed on Kernel 2.6.39. The }(hj#%hhhNhNubh)}(h:ref:`VIDIOC_ENUMAUDIO`h]j6)}(hju%h]hVIDIOC_ENUMAUDIO}(hjw%hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjs%ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj%reftyperef refexplicitrefwarnj@vidioc_enumaudiouh1hhhhMZhj#%ubh2 ioctl was added to enumerate audio inputs, while }(hj#%hhhNhNubh)}(h&:ref:`VIDIOC_G_AUDIO `h]j6)}(hj%h]hVIDIOC_G_AUDIO}(hj%hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj%ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj%reftyperef refexplicitrefwarnj@vidioc_g_audiouh1hhhhMZhj#%ubh% now reports the current audio input.}(hj#%hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMZhj%ubh)}(hxThe same changes were made to :ref:`VIDIOC_G_AUDOUT ` and :ref:`VIDIOC_ENUMAUDOUT `.h](hThe same changes were made to }(hj%hhhNhNubh)}(h(:ref:`VIDIOC_G_AUDOUT `h]j6)}(hj%h]hVIDIOC_G_AUDOUT}(hj%hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj%ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj%reftyperef refexplicitrefwarnj@vidioc_g_audoutuh1hhhhMdhj%ubh and }(hj%hhhNhNubh)}(h,:ref:`VIDIOC_ENUMAUDOUT `h]j6)}(hj%h]hVIDIOC_ENUMAUDOUT}(hj%hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj%ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj%reftyperef refexplicitrefwarnj@vidioc_enumaudoutuh1hhhhMdhj%ubh.}(hj%hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMdhj%ubh)}(hUntil further the "videodev" module will automatically translate between the old and new ioctls, but drivers and applications must be updated to successfully compile again.h]hUntil further the “videodev” module will automatically translate between the old and new ioctls, but drivers and applications must be updated to successfully compile again.}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhhj%ubeh}(h]h ]h"]h$]h&]uh1j4hj$hhhhhNubj5)}(hXrThe :ref:`VIDIOC_OVERLAY` ioctl was incorrectly defined with write-read parameter. It was changed to write-only, while the write-read version was renamed to ``VIDIOC_OVERLAY_OLD``. The old ioctl was removed on Kernel 2.6.39. Until further the "videodev" kernel module will automatically translate to the new version, so drivers must be recompiled, but not applications. h]h)}(hXqThe :ref:`VIDIOC_OVERLAY` ioctl was incorrectly defined with write-read parameter. It was changed to write-only, while the write-read version was renamed to ``VIDIOC_OVERLAY_OLD``. The old ioctl was removed on Kernel 2.6.39. Until further the "videodev" kernel module will automatically translate to the new version, so drivers must be recompiled, but not applications.h](hThe }(hj/&hhhNhNubh)}(h:ref:`VIDIOC_OVERLAY`h]j6)}(hj9&h]hVIDIOC_OVERLAY}(hj;&hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj7&ubah}(h]h ]h"]h$]h&]refdocj+ refdomainjE&reftyperef refexplicitrefwarnj@vidioc_overlayuh1hhhhMlhj/&ubh ioctl was incorrectly defined with write-read parameter. It was changed to write-only, while the write-read version was renamed to }(hj/&hhhNhNubj)}(h``VIDIOC_OVERLAY_OLD``h]hVIDIOC_OVERLAY_OLD}(hj[&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/&ubh. The old ioctl was removed on Kernel 2.6.39. Until further the “videodev” kernel module will automatically translate to the new version, so drivers must be recompiled, but not applications.}(hj/&hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMlhj+&ubah}(h]h ]h"]h$]h&]uh1j4hj$hhhhhNubj5)}(h:ref:`overlay` incorrectly stated that clipping rectangles define regions where the video can be seen. Correct is that clipping rectangles define regions where *no* video shall be displayed and so the graphics surface can be seen. h]h)}(h:ref:`overlay` incorrectly stated that clipping rectangles define regions where the video can be seen. Correct is that clipping rectangles define regions where *no* video shall be displayed and so the graphics surface can be seen.h](h)}(h:ref:`overlay`h]j6)}(hj&h]hoverlay}(hj&hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj&ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj&reftyperef refexplicitrefwarnj@overlayuh1hhhhMshj}&ubh incorrectly stated that clipping rectangles define regions where the video can be seen. Correct is that clipping rectangles define regions where }(hj}&hhhNhNubj)}(h*no*h]hno}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}&ubhB video shall be displayed and so the graphics surface can be seen.}(hj}&hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMshjy&ubah}(h]h ]h"]h$]h&]uh1j4hj$hhhhhNubj5)}(hXThe :ref:`VIDIOC_S_PARM ` and :ref:`VIDIOC_S_CTRL ` ioctls were defined with write-only parameter, inconsistent with other ioctls modifying their argument. They were changed to write-read, while a ``_OLD`` suffix was added to the write-only versions. The old ioctls were removed on Kernel 2.6.39. Drivers and applications assuming a constant parameter need an update. h]h)}(hXThe :ref:`VIDIOC_S_PARM ` and :ref:`VIDIOC_S_CTRL ` ioctls were defined with write-only parameter, inconsistent with other ioctls modifying their argument. They were changed to write-read, while a ``_OLD`` suffix was added to the write-only versions. The old ioctls were removed on Kernel 2.6.39. Drivers and applications assuming a constant parameter need an update.h](hThe }(hj&hhhNhNubh)}(h$:ref:`VIDIOC_S_PARM `h]j6)}(hj&h]h VIDIOC_S_PARM}(hj&hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj&ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj&reftyperef refexplicitrefwarnj@ vidioc_g_parmuh1hhhhMxhj&ubh and }(hj&hhhNhNubh)}(h$:ref:`VIDIOC_S_CTRL `h]j6)}(hj&h]h VIDIOC_S_CTRL}(hj&hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj&ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj'reftyperef refexplicitrefwarnj@ vidioc_g_ctrluh1hhhhMxhj&ubh ioctls were defined with write-only parameter, inconsistent with other ioctls modifying their argument. They were changed to write-read, while a }(hj&hhhNhNubj)}(h``_OLD``h]h_OLD}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj&ubh suffix was added to the write-only versions. The old ioctls were removed on Kernel 2.6.39. Drivers and applications assuming a constant parameter need an update.}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMxhj&ubah}(h]h ]h"]h$]h&]uh1j4hj$hhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj$hhhhhMQubeh}(h]v4l2-2003-06-19ah ]h"]v4l2 2003-06-19ah$]h&]uh1hhhhhhhhMOubh)}(hhh](h)}(hV4L2 2003-11-05h]hV4L2 2003-11-05}(hjF'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjC'hhhhhMubj0)}(hhh](j5)}(hX-In :ref:`pixfmt-rgb` the following pixel formats were incorrectly transferred from Bill Dirks' V4L2 specification. Descriptions below refer to bytes in memory, in ascending address order. .. flat-table:: :header-rows: 1 :stub-columns: 0 * - Symbol - In this document prior to revision 0.5 - Corrected * - ``V4L2_PIX_FMT_RGB24`` - B, G, R - R, G, B * - ``V4L2_PIX_FMT_BGR24`` - R, G, B - B, G, R * - ``V4L2_PIX_FMT_RGB32`` - B, G, R, X - R, G, B, X * - ``V4L2_PIX_FMT_BGR32`` - R, G, B, X - B, G, R, X The ``V4L2_PIX_FMT_BGR24`` example was always correct. In :ref:`v4l-image-properties` the mapping of the V4L ``VIDEO_PALETTE_RGB24`` and ``VIDEO_PALETTE_RGB32`` formats to V4L2 pixel formats was accordingly corrected. h](h)}(hIn :ref:`pixfmt-rgb` the following pixel formats were incorrectly transferred from Bill Dirks' V4L2 specification. Descriptions below refer to bytes in memory, in ascending address order.h](hIn }(hj['hhhNhNubh)}(h:ref:`pixfmt-rgb`h]j6)}(hje'h]h pixfmt-rgb}(hjg'hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjc'ubah}(h]h ]h"]h$]h&]refdocj+ refdomainjq'reftyperef refexplicitrefwarnj@ pixfmt-rgbuh1hhhhMhj['ubh the following pixel formats were incorrectly transferred from Bill Dirks’ V4L2 specification. Descriptions below refer to bytes in memory, in ascending address order.}(hj['hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjW'ubjr)}(hhh]jw)}(hhh](j|)}(hhh]h}(h]h ]h"]h$]h&]colwidthK!uh1j{hj'ubj|)}(hhh]h}(h]h ]h"]h$]h&]colwidthK!uh1j{hj'ubj|)}(hhh]h}(h]h ]h"]h$]h&]colwidthK!uh1j{hj'ubj)}(hhh]j)}(hhh](j)}(hhh]h)}(hSymbolh]hSymbol}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubj)}(hhh]h)}(h&In this document prior to revision 0.5h]h&In this document prior to revision 0.5}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubj)}(hhh]h)}(h Correctedh]h Corrected}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]uh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhj'ubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h``V4L2_PIX_FMT_RGB24``h]j)}(hj(h]hV4L2_PIX_FMT_RGB24}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1hhhhMhj(ubah}(h]h ]h"]h$]h&]uh1jhj (ubj)}(hhh]h)}(hB, G, Rh]hB, G, R}(hj1(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj.(ubah}(h]h ]h"]h$]h&]uh1jhj (ubj)}(hhh]h)}(hR, G, Bh]hR, G, B}(hjH(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjE(ubah}(h]h ]h"]h$]h&]uh1jhj (ubeh}(h]h ]h"]h$]h&]uh1jhj(ubj)}(hhh](j)}(hhh]h)}(h``V4L2_PIX_FMT_BGR24``h]j)}(hjj(h]hV4L2_PIX_FMT_BGR24}(hjl(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjh(ubah}(h]h ]h"]h$]h&]uh1hhhhMhje(ubah}(h]h ]h"]h$]h&]uh1jhjb(ubj)}(hhh]h)}(hR, G, Bh]hR, G, B}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj(ubah}(h]h ]h"]h$]h&]uh1jhjb(ubj)}(hhh]h)}(hB, G, Rh]hB, G, R}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj(ubah}(h]h ]h"]h$]h&]uh1jhjb(ubeh}(h]h ]h"]h$]h&]uh1jhj(ubj)}(hhh](j)}(hhh]h)}(h``V4L2_PIX_FMT_RGB32``h]j)}(hj(h]hV4L2_PIX_FMT_RGB32}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1hhhhMhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubj)}(hhh]h)}(h B, G, R, Xh]h B, G, R, X}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubj)}(hhh]h)}(h R, G, B, Xh]h R, G, B, X}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj(ubah}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj(ubj)}(hhh](j)}(hhh]h)}(h``V4L2_PIX_FMT_BGR32``h]j)}(hj)h]hV4L2_PIX_FMT_BGR32}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubah}(h]h ]h"]h$]h&]uh1hhhhMhj)ubah}(h]h ]h"]h$]h&]uh1jhj)ubj)}(hhh]h)}(h R, G, B, Xh]h R, G, B, X}(hj6)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj3)ubah}(h]h ]h"]h$]h&]uh1jhj)ubj)}(hhh]h)}(h B, G, R, Xh]h B, G, R, X}(hjM)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjJ)ubah}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhj(ubeh}(h]h ]h"]h$]h&]uh1jhj'ubeh}(h]h ]h"]h$]h&]colsKuh1jvhj'ubah}(h]h ]h"]h$]h&]uh1jqhjW'ubh)}(h6The ``V4L2_PIX_FMT_BGR24`` example was always correct.h](hThe }(hjz)hhhNhNubj)}(h``V4L2_PIX_FMT_BGR24``h]hV4L2_PIX_FMT_BGR24}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjz)ubh example was always correct.}(hjz)hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjW'ubh)}(hIn :ref:`v4l-image-properties` the mapping of the V4L ``VIDEO_PALETTE_RGB24`` and ``VIDEO_PALETTE_RGB32`` formats to V4L2 pixel formats was accordingly corrected.h](hIn }(hj)hhhNhNubh)}(h:ref:`v4l-image-properties`h]j6)}(hj)h]hv4l-image-properties}(hj)hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj)ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj)reftyperef refexplicitrefwarnj@v4l-image-propertiesuh1hhhhMhj)ubh the mapping of the V4L }(hj)hhhNhNubj)}(h``VIDEO_PALETTE_RGB24``h]hVIDEO_PALETTE_RGB24}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubh and }(hj)hhhNhNubj)}(h``VIDEO_PALETTE_RGB32``h]hVIDEO_PALETTE_RGB32}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj)ubh9 formats to V4L2 pixel formats was accordingly corrected.}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjW'ubeh}(h]h ]h"]h$]h&]uh1j4hjT'hhhhhNubj5)}(hUnrelated to the fixes above, drivers may still interpret some V4L2 RGB pixel formats differently. These issues have yet to be addressed, for details see :ref:`pixfmt-rgb`. h]h)}(hUnrelated to the fixes above, drivers may still interpret some V4L2 RGB pixel formats differently. These issues have yet to be addressed, for details see :ref:`pixfmt-rgb`.h](hUnrelated to the fixes above, drivers may still interpret some V4L2 RGB pixel formats differently. These issues have yet to be addressed, for details see }(hj)hhhNhNubh)}(h:ref:`pixfmt-rgb`h]j6)}(hj*h]h pixfmt-rgb}(hj*hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj*ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj*reftyperef refexplicitrefwarnj@ pixfmt-rgbuh1hhhhMhj)ubh.}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj)ubah}(h]h ]h"]h$]h&]uh1j4hjT'hhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hjC'hhhhhMubeh}(h]v4l2-2003-11-05ah ]h"]v4l2 2003-11-05ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 2.6.6, 2004-05-09h]hV4L2 in Linux 2.6.6, 2004-05-09}(hjC*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj@*hhhhhMubj0)}(hhh]j5)}(hThe :ref:`VIDIOC_CROPCAP` ioctl was incorrectly defined with read-only parameter. It is now defined as write-read ioctl, while the read-only version was renamed to ``VIDIOC_CROPCAP_OLD``. The old ioctl was removed on Kernel 2.6.39. h]h)}(hThe :ref:`VIDIOC_CROPCAP` ioctl was incorrectly defined with read-only parameter. It is now defined as write-read ioctl, while the read-only version was renamed to ``VIDIOC_CROPCAP_OLD``. The old ioctl was removed on Kernel 2.6.39.h](hThe }(hjX*hhhNhNubh)}(h:ref:`VIDIOC_CROPCAP`h]j6)}(hjb*h]hVIDIOC_CROPCAP}(hjd*hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj`*ubah}(h]h ]h"]h$]h&]refdocj+ refdomainjn*reftyperef refexplicitrefwarnj@vidioc_cropcapuh1hhhhMhjX*ubh ioctl was incorrectly defined with read-only parameter. It is now defined as write-read ioctl, while the read-only version was renamed to }(hjX*hhhNhNubj)}(h``VIDIOC_CROPCAP_OLD``h]hVIDIOC_CROPCAP_OLD}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjX*ubh-. The old ioctl was removed on Kernel 2.6.39.}(hjX*hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjT*ubah}(h]h ]h"]h$]h&]uh1j4hjQ*hhhhhNubah}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj@*hhhhhMubeh}(h]v4l2-in-linux-2-6-6-2004-05-09ah ]h"]v4l2 in linux 2.6.6, 2004-05-09ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 2.6.8h]hV4L2 in Linux 2.6.8}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj*hhhhhMubj0)}(hhh]j5)}(hX>A new field ``input`` (former ``reserved[0]``) was added to the struct v4l2_buffer. Purpose of this field is to alternate between video inputs (e. g. cameras) in step with the video capturing process. This function must be enabled with the new ``V4L2_BUF_FLAG_INPUT`` flag. The ``flags`` field is no longer read-only. h]h)}(hX=A new field ``input`` (former ``reserved[0]``) was added to the struct v4l2_buffer. Purpose of this field is to alternate between video inputs (e. g. cameras) in step with the video capturing process. This function must be enabled with the new ``V4L2_BUF_FLAG_INPUT`` flag. The ``flags`` field is no longer read-only.h](h A new field }(hj*hhhNhNubj)}(h ``input``h]hinput}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh (former }(hj*hhhNhNubj)}(h``reserved[0]``h]h reserved[0]}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh) was added to the struct v4l2_buffer. Purpose of this field is to alternate between video inputs (e. g. cameras) in step with the video capturing process. This function must be enabled with the new }(hj*hhhNhNubj)}(h``V4L2_BUF_FLAG_INPUT``h]hV4L2_BUF_FLAG_INPUT}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh flag. The }(hj*hhhNhNubj)}(h ``flags``h]hflags}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj*ubh field is no longer read-only.}(hj*hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj*ubah}(h]h ]h"]h$]h&]uh1j4hj*hhhhhNubah}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj*hhhhhMubeh}(h]v4l2-in-linux-2-6-8ah ]h"]v4l2 in linux 2.6.8ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 spec erratum 2004-08-01h]hV4L2 spec erratum 2004-08-01}(hj5+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj2+hhhhhMubj0)}(hhh](j5)}(hNThe return value of the :ref:`func-open` function was incorrectly documented. h]h)}(hMThe return value of the :ref:`func-open` function was incorrectly documented.h](hThe return value of the }(hjJ+hhhNhNubh)}(h:ref:`func-open`h]j6)}(hjT+h]h func-open}(hjV+hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjR+ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj`+reftyperef refexplicitrefwarnj@ func-openuh1hhhhMhjJ+ubh% function was incorrectly documented.}(hjJ+hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjF+ubah}(h]h ]h"]h$]h&]uh1j4hjC+hhhhhNubj5)}(h3Audio output ioctls end in -AUDOUT, not -AUDIOOUT. h]h)}(h2Audio output ioctls end in -AUDOUT, not -AUDIOOUT.h]h2Audio output ioctls end in -AUDOUT, not -AUDIOOUT.}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj+ubah}(h]h ]h"]h$]h&]uh1j4hjC+hhhhhNubj5)}(hYIn the Current Audio Input example the ``VIDIOC_G_AUDIO`` ioctl took the wrong argument. h]h)}(hXIn the Current Audio Input example the ``VIDIOC_G_AUDIO`` ioctl took the wrong argument.h](h'In the Current Audio Input example the }(hj+hhhNhNubj)}(h``VIDIOC_G_AUDIO``h]hVIDIOC_G_AUDIO}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh ioctl took the wrong argument.}(hj+hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj+ubah}(h]h ]h"]h$]h&]uh1j4hjC+hhhhhNubj5)}(hXThe documentation of the :ref:`VIDIOC_QBUF` and :ref:`VIDIOC_DQBUF ` ioctls did not mention the struct v4l2_buffer ``memory`` field. It was also missing from examples. Also on the ``VIDIOC_DQBUF`` page the ``EIO`` error code was not documented. h]h)}(hXThe documentation of the :ref:`VIDIOC_QBUF` and :ref:`VIDIOC_DQBUF ` ioctls did not mention the struct v4l2_buffer ``memory`` field. It was also missing from examples. Also on the ``VIDIOC_DQBUF`` page the ``EIO`` error code was not documented.h](hThe documentation of the }(hj+hhhNhNubh)}(h:ref:`VIDIOC_QBUF`h]j6)}(hj+h]h VIDIOC_QBUF}(hj+hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj+ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj+reftyperef refexplicitrefwarnj@ vidioc_qbufuh1hhhhMhj+ubh and }(hj+hhhNhNubh)}(h!:ref:`VIDIOC_DQBUF `h]j6)}(hj+h]h VIDIOC_DQBUF}(hj+hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj+ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj,reftyperef refexplicitrefwarnj@ vidioc_qbufuh1hhhhMhj+ubh/ ioctls did not mention the struct v4l2_buffer }(hj+hhhNhNubj)}(h ``memory``h]hmemory}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh7 field. It was also missing from examples. Also on the }(hj+hhhNhNubj)}(h``VIDIOC_DQBUF``h]h VIDIOC_DQBUF}(hj*,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh page the }(hj+hhhNhNubj)}(h``EIO``h]hEIO}(hj<,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+ubh error code was not documented.}(hj+hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj+ubah}(h]h ]h"]h$]h&]uh1j4hjC+hhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj2+hhhhhMubeh}(h]v4l2-spec-erratum-2004-08-01ah ]h"]v4l2 spec erratum 2004-08-01ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 2.6.14h]hV4L2 in Linux 2.6.14}(hjk,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjh,hhhhhMubj0)}(hhh]j5)}(hA new sliced VBI interface was added. It is documented in :ref:`sliced` and replaces the interface first proposed in V4L2 specification 0.8. h]h)}(hA new sliced VBI interface was added. It is documented in :ref:`sliced` and replaces the interface first proposed in V4L2 specification 0.8.h](h:A new sliced VBI interface was added. It is documented in }(hj,hhhNhNubh)}(h :ref:`sliced`h]j6)}(hj,h]hsliced}(hj,hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj,ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj,reftyperef refexplicitrefwarnj@sliceduh1hhhhMhj,ubhE and replaces the interface first proposed in V4L2 specification 0.8.}(hj,hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj|,ubah}(h]h ]h"]h$]h&]uh1j4hjy,hhhhhNubah}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hjh,hhhhhMubeh}(h]v4l2-in-linux-2-6-14ah ]h"]v4l2 in linux 2.6.14ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 2.6.15h]hV4L2 in Linux 2.6.15}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj,hhhhhMubj0)}(hhh](j5)}(h.The :ref:`VIDIOC_LOG_STATUS` ioctl was added. h]h)}(h-The :ref:`VIDIOC_LOG_STATUS` ioctl was added.h](hThe }(hj,hhhNhNubh)}(h:ref:`VIDIOC_LOG_STATUS`h]j6)}(hj,h]hVIDIOC_LOG_STATUS}(hj,hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj,ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj,reftyperef refexplicitrefwarnj@vidioc_log_statusuh1hhhhMhj,ubh ioctl was added.}(hj,hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj,ubah}(h]h ]h"]h$]h&]uh1j4hj,hhhhhNubj5)}(hX<New video standards ``V4L2_STD_NTSC_443``, ``V4L2_STD_SECAM_LC``, ``V4L2_STD_SECAM_DK`` (a set of SECAM D, K and K1), and ``V4L2_STD_ATSC`` (a set of ``V4L2_STD_ATSC_8_VSB`` and ``V4L2_STD_ATSC_16_VSB``) were defined. Note the ``V4L2_STD_525_60`` set now includes ``V4L2_STD_NTSC_443``. See also :ref:`v4l2-std-id`. h]h)}(hX;New video standards ``V4L2_STD_NTSC_443``, ``V4L2_STD_SECAM_LC``, ``V4L2_STD_SECAM_DK`` (a set of SECAM D, K and K1), and ``V4L2_STD_ATSC`` (a set of ``V4L2_STD_ATSC_8_VSB`` and ``V4L2_STD_ATSC_16_VSB``) were defined. Note the ``V4L2_STD_525_60`` set now includes ``V4L2_STD_NTSC_443``. See also :ref:`v4l2-std-id`.h](hNew video standards }(hj-hhhNhNubj)}(h``V4L2_STD_NTSC_443``h]hV4L2_STD_NTSC_443}(hj"-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh, }(hj-hhhNhNubj)}(h``V4L2_STD_SECAM_LC``h]hV4L2_STD_SECAM_LC}(hj4-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh, }(hj-hhhNhNubj)}(h``V4L2_STD_SECAM_DK``h]hV4L2_STD_SECAM_DK}(hjF-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh# (a set of SECAM D, K and K1), and }(hj-hhhNhNubj)}(h``V4L2_STD_ATSC``h]h V4L2_STD_ATSC}(hjX-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh (a set of }(hj-hhhNhNubj)}(h``V4L2_STD_ATSC_8_VSB``h]hV4L2_STD_ATSC_8_VSB}(hjj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh and }(hj-hhhNhNubj)}(h``V4L2_STD_ATSC_16_VSB``h]hV4L2_STD_ATSC_16_VSB}(hj|-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh) were defined. Note the }(hj-hhhNhNubj)}(h``V4L2_STD_525_60``h]hV4L2_STD_525_60}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh set now includes }(hj-hhhNhNubj)}(h``V4L2_STD_NTSC_443``h]hV4L2_STD_NTSC_443}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh . See also }(hj-hhhNhNubh)}(h:ref:`v4l2-std-id`h]j6)}(hj-h]h v4l2-std-id}(hj-hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj-ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj-reftyperef refexplicitrefwarnj@ v4l2-std-iduh1hhhhMhj-ubh.}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj-ubah}(h]h ]h"]h$]h&]uh1j4hj,hhhhhNubj5)}(hX'The ``VIDIOC_G_COMP`` and ``VIDIOC_S_COMP`` ioctl were renamed to ``VIDIOC_G_MPEGCOMP`` and ``VIDIOC_S_MPEGCOMP`` respectively. Their argument was replaced by a struct ``v4l2_mpeg_compression`` pointer. (The ``VIDIOC_G_MPEGCOMP`` and ``VIDIOC_S_MPEGCOMP`` ioctls where removed in Linux 2.6.25.) h]h)}(hX&The ``VIDIOC_G_COMP`` and ``VIDIOC_S_COMP`` ioctl were renamed to ``VIDIOC_G_MPEGCOMP`` and ``VIDIOC_S_MPEGCOMP`` respectively. Their argument was replaced by a struct ``v4l2_mpeg_compression`` pointer. (The ``VIDIOC_G_MPEGCOMP`` and ``VIDIOC_S_MPEGCOMP`` ioctls where removed in Linux 2.6.25.)h](hThe }(hj-hhhNhNubj)}(h``VIDIOC_G_COMP``h]h VIDIOC_G_COMP}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh and }(hj-hhhNhNubj)}(h``VIDIOC_S_COMP``h]h VIDIOC_S_COMP}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh ioctl were renamed to }(hj-hhhNhNubj)}(h``VIDIOC_G_MPEGCOMP``h]hVIDIOC_G_MPEGCOMP}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh and }hj-sbj)}(h``VIDIOC_S_MPEGCOMP``h]hVIDIOC_S_MPEGCOMP}(hj$.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh7 respectively. Their argument was replaced by a struct }(hj-hhhNhNubj)}(h``v4l2_mpeg_compression``h]hv4l2_mpeg_compression}(hj6.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh pointer. (The }(hj-hhhNhNubj)}(h``VIDIOC_G_MPEGCOMP``h]hVIDIOC_G_MPEGCOMP}(hjH.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh and }hj-sbj)}(h``VIDIOC_S_MPEGCOMP``h]hVIDIOC_S_MPEGCOMP}(hjZ.hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj-ubh' ioctls where removed in Linux 2.6.25.)}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj-ubah}(h]h ]h"]h$]h&]uh1j4hj,hhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj,hhhhhMubeh}(h]v4l2-in-linux-2-6-15ah ]h"]v4l2 in linux 2.6.15ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 spec erratum 2005-11-27h]hV4L2 spec erratum 2005-11-27}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj.hhhhhMubh)}(hXThe capture example in :ref:`capture-example` called the :ref:`VIDIOC_S_CROP ` ioctl without checking if cropping is supported. In the video standard selection example in :ref:`standard` the :ref:`VIDIOC_S_STD ` call used the wrong argument type.h](hThe capture example in }(hj.hhhNhNubh)}(h:ref:`capture-example`h]j6)}(hj.h]hcapture-example}(hj.hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj.ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj.reftyperef refexplicitrefwarnj@capture-exampleuh1hhhhMhj.ubh called the }(hj.hhhNhNubh)}(h$:ref:`VIDIOC_S_CROP `h]j6)}(hj.h]h VIDIOC_S_CROP}(hj.hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj.ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj.reftyperef refexplicitrefwarnj@ vidioc_g_cropuh1hhhhMhj.ubh] ioctl without checking if cropping is supported. In the video standard selection example in }(hj.hhhNhNubh)}(h:ref:`standard`h]j6)}(hj.h]hstandard}(hj.hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj.ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj.reftyperef refexplicitrefwarnj@standarduh1hhhhMhj.ubh the }(hj.hhhNhNubh)}(h":ref:`VIDIOC_S_STD `h]j6)}(hj /h]h VIDIOC_S_STD}(hj/hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj /ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj/reftyperef refexplicitrefwarnj@ vidioc_g_stduh1hhhhMhj.ubh# call used the wrong argument type.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj.hhubeh}(h]v4l2-spec-erratum-2005-11-27ah ]h"]v4l2 spec erratum 2005-11-27ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 spec erratum 2006-01-10h]hV4L2 spec erratum 2006-01-10}(hj@/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=/hhhhhMubj0)}(hhh](j5)}(hThe ``V4L2_IN_ST_COLOR_KILL`` flag in struct v4l2_input not only indicates if the color killer is enabled, but also if it is active. (The color killer disables color decoding when it detects no color in the video signal to improve the image quality.) h]h)}(hThe ``V4L2_IN_ST_COLOR_KILL`` flag in struct v4l2_input not only indicates if the color killer is enabled, but also if it is active. (The color killer disables color decoding when it detects no color in the video signal to improve the image quality.)h](hThe }(hjU/hhhNhNubj)}(h``V4L2_IN_ST_COLOR_KILL``h]hV4L2_IN_ST_COLOR_KILL}(hj]/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU/ubh flag in struct v4l2_input not only indicates if the color killer is enabled, but also if it is active. (The color killer disables color decoding when it detects no color in the video signal to improve the image quality.)}(hjU/hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjQ/ubah}(h]h ]h"]h$]h&]uh1j4hjN/hhhhhNubj5)}(h:ref:`VIDIOC_S_PARM ` is a write-read ioctl, not write-only as stated on its reference page. The ioctl changed in 2003 as noted above. h]h)}(h:ref:`VIDIOC_S_PARM ` is a write-read ioctl, not write-only as stated on its reference page. The ioctl changed in 2003 as noted above.h](h)}(h$:ref:`VIDIOC_S_PARM `h]j6)}(hj/h]h VIDIOC_S_PARM}(hj/hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj/ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj/reftyperef refexplicitrefwarnj@ vidioc_g_parmuh1hhhhMhj/ubhq is a write-read ioctl, not write-only as stated on its reference page. The ioctl changed in 2003 as noted above.}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj{/ubah}(h]h ]h"]h$]h&]uh1j4hjN/hhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj=/hhhhhMubeh}(h]v4l2-spec-erratum-2006-01-10ah ]h"]v4l2 spec erratum 2006-01-10ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 spec erratum 2006-02-03h]hV4L2 spec erratum 2006-02-03}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hhhhhMubj0)}(hhh]j5)}(h~In struct v4l2_captureparm and struct v4l2_outputparm the ``timeperframe`` field gives the time in seconds, not microseconds. h]h)}(h}In struct v4l2_captureparm and struct v4l2_outputparm the ``timeperframe`` field gives the time in seconds, not microseconds.h](h:In struct v4l2_captureparm and struct v4l2_outputparm the }(hj/hhhNhNubj)}(h``timeperframe``h]h timeperframe}(hj/hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubh3 field gives the time in seconds, not microseconds.}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj/ubah}(h]h ]h"]h$]h&]uh1j4hj/hhhhhNubah}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj/hhhhhMubeh}(h]v4l2-spec-erratum-2006-02-03ah ]h"]v4l2 spec erratum 2006-02-03ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 spec erratum 2006-02-04h]hV4L2 spec erratum 2006-02-04}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj 0hhhhhMubj0)}(hhh]j5)}(hThe ``clips`` field in struct v4l2_window must point to an array of struct v4l2_clip, not a linked list, because drivers ignore the struct v4l2_clip. ``next`` pointer. h]h)}(hThe ``clips`` field in struct v4l2_window must point to an array of struct v4l2_clip, not a linked list, because drivers ignore the struct v4l2_clip. ``next`` pointer.h](hThe }(hj%0hhhNhNubj)}(h ``clips``h]hclips}(hj-0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%0ubh field in struct v4l2_window must point to an array of struct v4l2_clip, not a linked list, because drivers ignore the struct v4l2_clip. }(hj%0hhhNhNubj)}(h``next``h]hnext}(hj?0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%0ubh pointer.}(hj%0hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj!0ubah}(h]h ]h"]h$]h&]uh1j4hj0hhhhhNubah}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj 0hhhhhMubeh}(h]v4l2-spec-erratum-2006-02-04ah ]h"]v4l2 spec erratum 2006-02-04ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 2.6.17h]hV4L2 in Linux 2.6.17}(hjn0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjk0hhhhhMubj0)}(hhh](j5)}(hX#New video standard macros were added: ``V4L2_STD_NTSC_M_KR`` (NTSC M South Korea), and the sets ``V4L2_STD_MN``, ``V4L2_STD_B``, ``V4L2_STD_GH`` and ``V4L2_STD_DK``. The ``V4L2_STD_NTSC`` and ``V4L2_STD_SECAM`` sets now include ``V4L2_STD_NTSC_M_KR`` and ``V4L2_STD_SECAM_LC`` respectively. h]h)}(hX"New video standard macros were added: ``V4L2_STD_NTSC_M_KR`` (NTSC M South Korea), and the sets ``V4L2_STD_MN``, ``V4L2_STD_B``, ``V4L2_STD_GH`` and ``V4L2_STD_DK``. The ``V4L2_STD_NTSC`` and ``V4L2_STD_SECAM`` sets now include ``V4L2_STD_NTSC_M_KR`` and ``V4L2_STD_SECAM_LC`` respectively.h](h&New video standard macros were added: }(hj0hhhNhNubj)}(h``V4L2_STD_NTSC_M_KR``h]hV4L2_STD_NTSC_M_KR}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh$ (NTSC M South Korea), and the sets }(hj0hhhNhNubj)}(h``V4L2_STD_MN``h]h V4L2_STD_MN}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh, }(hj0hhhNhNubj)}(h``V4L2_STD_B``h]h V4L2_STD_B}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh, }(hj0hhhNhNubj)}(h``V4L2_STD_GH``h]h V4L2_STD_GH}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh and }(hj0hhhNhNubj)}(h``V4L2_STD_DK``h]h V4L2_STD_DK}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh. The }(hj0hhhNhNubj)}(h``V4L2_STD_NTSC``h]h V4L2_STD_NTSC}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh and }(hj0hhhNhNubj)}(h``V4L2_STD_SECAM``h]hV4L2_STD_SECAM}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh sets now include }(hj0hhhNhNubj)}(h``V4L2_STD_NTSC_M_KR``h]hV4L2_STD_NTSC_M_KR}(hj 1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh and }hj0sbj)}(h``V4L2_STD_SECAM_LC``h]hV4L2_STD_SECAM_LC}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj0ubh respectively.}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM hj0ubah}(h]h ]h"]h$]h&]uh1j4hj|0hhhhhNubj5)}(hA new ``V4L2_TUNER_MODE_LANG1_LANG2`` was defined to record both languages of a bilingual program. The use of ``V4L2_TUNER_MODE_STEREO`` for this purpose is deprecated now. See the :ref:`VIDIOC_G_TUNER ` section for details. h]h)}(hA new ``V4L2_TUNER_MODE_LANG1_LANG2`` was defined to record both languages of a bilingual program. The use of ``V4L2_TUNER_MODE_STEREO`` for this purpose is deprecated now. See the :ref:`VIDIOC_G_TUNER ` section for details.h](hA new }(hj=1hhhNhNubj)}(h``V4L2_TUNER_MODE_LANG1_LANG2``h]hV4L2_TUNER_MODE_LANG1_LANG2}(hjE1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=1ubhI was defined to record both languages of a bilingual program. The use of }(hj=1hhhNhNubj)}(h``V4L2_TUNER_MODE_STEREO``h]hV4L2_TUNER_MODE_STEREO}(hjW1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=1ubh- for this purpose is deprecated now. See the }(hj=1hhhNhNubh)}(h&:ref:`VIDIOC_G_TUNER `h]j6)}(hjk1h]hVIDIOC_G_TUNER}(hjm1hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hji1ubah}(h]h ]h"]h$]h&]refdocj+ refdomainjw1reftyperef refexplicitrefwarnj@vidioc_g_tuneruh1hhhhMhj=1ubh section for details.}(hj=1hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj91ubah}(h]h ]h"]h$]h&]uh1j4hj|0hhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hjk0hhhhhM ubeh}(h]v4l2-in-linux-2-6-17ah ]h"]v4l2 in linux 2.6.17ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(h)V4L2 spec erratum 2006-09-23 (Draft 0.15)h]h)V4L2 spec erratum 2006-09-23 (Draft 0.15)}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj1hhhhhMubj0)}(hhh](j5)}(hIn various places ``V4L2_BUF_TYPE_SLICED_VBI_CAPTURE`` and ``V4L2_BUF_TYPE_SLICED_VBI_OUTPUT`` of the sliced VBI interface were not mentioned along with other buffer types. h]h)}(hIn various places ``V4L2_BUF_TYPE_SLICED_VBI_CAPTURE`` and ``V4L2_BUF_TYPE_SLICED_VBI_OUTPUT`` of the sliced VBI interface were not mentioned along with other buffer types.h](hIn various places }(hj1hhhNhNubj)}(h$``V4L2_BUF_TYPE_SLICED_VBI_CAPTURE``h]h V4L2_BUF_TYPE_SLICED_VBI_CAPTURE}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh and }(hj1hhhNhNubj)}(h#``V4L2_BUF_TYPE_SLICED_VBI_OUTPUT``h]hV4L2_BUF_TYPE_SLICED_VBI_OUTPUT}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubhN of the sliced VBI interface were not mentioned along with other buffer types.}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj1ubah}(h]h ]h"]h$]h&]uh1j4hj1hhhhhNubj5)}(hwIn :ref:`VIDIOC_G_AUDIO ` it was clarified that the struct v4l2_audio ``mode`` field is a flags field. h]h)}(hvIn :ref:`VIDIOC_G_AUDIO ` it was clarified that the struct v4l2_audio ``mode`` field is a flags field.h](hIn }(hj1hhhNhNubh)}(h&:ref:`VIDIOC_G_AUDIO `h]j6)}(hj2h]hVIDIOC_G_AUDIO}(hj2hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj2ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj2reftyperef refexplicitrefwarnj@vidioc_g_audiouh1hhhhMhj1ubh- it was clarified that the struct v4l2_audio }(hj1hhhNhNubj)}(h``mode``h]hmode}(hj'2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubh field is a flags field.}(hj1hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj1ubah}(h]h ]h"]h$]h&]uh1j4hj1hhhhhNubj5)}(hR:ref:`VIDIOC_QUERYCAP` did not mention the sliced VBI and radio capability flags. h]h)}(hQ:ref:`VIDIOC_QUERYCAP` did not mention the sliced VBI and radio capability flags.h](h)}(h:ref:`VIDIOC_QUERYCAP`h]j6)}(hjO2h]hVIDIOC_QUERYCAP}(hjQ2hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjM2ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj[2reftyperef refexplicitrefwarnj@vidioc_querycapuh1hhhhMhjI2ubh; did not mention the sliced VBI and radio capability flags.}(hjI2hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjE2ubah}(h]h ]h"]h$]h&]uh1j4hj1hhhhhNubj5)}(hIn :ref:`VIDIOC_G_FREQUENCY ` it was clarified that applications must initialize the tuner ``type`` field of struct v4l2_frequency before calling :ref:`VIDIOC_S_FREQUENCY `. h]h)}(hIn :ref:`VIDIOC_G_FREQUENCY ` it was clarified that applications must initialize the tuner ``type`` field of struct v4l2_frequency before calling :ref:`VIDIOC_S_FREQUENCY `.h](hIn }(hj2hhhNhNubh)}(h.:ref:`VIDIOC_G_FREQUENCY `h]j6)}(hj2h]hVIDIOC_G_FREQUENCY}(hj2hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj2ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj2reftyperef refexplicitrefwarnj@vidioc_g_frequencyuh1hhhhM!hj2ubh> it was clarified that applications must initialize the tuner }(hj2hhhNhNubj)}(h``type``h]htype}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh/ field of struct v4l2_frequency before calling }(hj2hhhNhNubh)}(h.:ref:`VIDIOC_S_FREQUENCY `h]j6)}(hj2h]hVIDIOC_S_FREQUENCY}(hj2hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj2ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj2reftyperef refexplicitrefwarnj@vidioc_g_frequencyuh1hhhhM!hj2ubh.}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM!hj}2ubah}(h]h ]h"]h$]h&]uh1j4hj1hhhhhNubj5)}(hMThe ``reserved`` array in struct v4l2_requestbuffers has 2 elements, not 32. h]h)}(hLThe ``reserved`` array in struct v4l2_requestbuffers has 2 elements, not 32.h](hThe }(hj2hhhNhNubj)}(h ``reserved``h]hreserved}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj2ubh< array in struct v4l2_requestbuffers has 2 elements, not 32.}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM&hj2ubah}(h]h ]h"]h$]h&]uh1j4hj1hhhhhNubj5)}(hIn :ref:`output` and :ref:`raw-vbi` the device file names ``/dev/vout`` which never caught on were replaced by ``/dev/video``. h]h)}(h~In :ref:`output` and :ref:`raw-vbi` the device file names ``/dev/vout`` which never caught on were replaced by ``/dev/video``.h](hIn }(hj3hhhNhNubh)}(h :ref:`output`h]j6)}(hj'3h]houtput}(hj)3hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj%3ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj33reftyperef refexplicitrefwarnj@outputuh1hhhhM)hj3ubh and }(hj3hhhNhNubh)}(h:ref:`raw-vbi`h]j6)}(hjK3h]hraw-vbi}(hjM3hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjI3ubah}(h]h ]h"]h$]h&]refdocj+ refdomainjW3reftyperef refexplicitrefwarnj@raw-vbiuh1hhhhM)hj3ubh the device file names }(hj3hhhNhNubj)}(h ``/dev/vout``h]h /dev/vout}(hjm3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh( which never caught on were replaced by }(hj3hhhNhNubj)}(h``/dev/video``h]h /dev/video}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh.}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM)hj3ubah}(h]h ]h"]h$]h&]uh1j4hj1hhhhhNubj5)}(hWith Linux 2.6.15 the possible range for VBI device minor numbers was extended from 224-239 to 224-255. Accordingly device file names ``/dev/vbi0`` to ``/dev/vbi31`` are possible now. h]h)}(hWith Linux 2.6.15 the possible range for VBI device minor numbers was extended from 224-239 to 224-255. Accordingly device file names ``/dev/vbi0`` to ``/dev/vbi31`` are possible now.h](hWith Linux 2.6.15 the possible range for VBI device minor numbers was extended from 224-239 to 224-255. Accordingly device file names }(hj3hhhNhNubj)}(h ``/dev/vbi0``h]h /dev/vbi0}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh to }(hj3hhhNhNubj)}(h``/dev/vbi31``h]h /dev/vbi31}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh are possible now.}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM,hj3ubah}(h]h ]h"]h$]h&]uh1j4hj1hhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj1hhhhhMubeh}(h]'v4l2-spec-erratum-2006-09-23-draft-0-15ah ]h"])v4l2 spec erratum 2006-09-23 (draft 0.15)ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 2.6.18h]hV4L2 in Linux 2.6.18}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj3hhhhhM1ubj0)}(hhh]j5)}(hX New ioctls :ref:`VIDIOC_G_EXT_CTRLS `, :ref:`VIDIOC_S_EXT_CTRLS ` and :ref:`VIDIOC_TRY_EXT_CTRLS ` were added, a flag to skip unsupported controls with :ref:`VIDIOC_QUERYCTRL`, new control types ``V4L2_CTRL_TYPE_INTEGER64`` and ``V4L2_CTRL_TYPE_CTRL_CLASS`` (enum v4l2_ctrl_type), and new control flags ``V4L2_CTRL_FLAG_READ_ONLY``, ``V4L2_CTRL_FLAG_UPDATE``, ``V4L2_CTRL_FLAG_INACTIVE`` and ``V4L2_CTRL_FLAG_SLIDER`` (:ref:`control-flags`). See :ref:`extended-controls` for details. h]h)}(hXNew ioctls :ref:`VIDIOC_G_EXT_CTRLS `, :ref:`VIDIOC_S_EXT_CTRLS ` and :ref:`VIDIOC_TRY_EXT_CTRLS ` were added, a flag to skip unsupported controls with :ref:`VIDIOC_QUERYCTRL`, new control types ``V4L2_CTRL_TYPE_INTEGER64`` and ``V4L2_CTRL_TYPE_CTRL_CLASS`` (enum v4l2_ctrl_type), and new control flags ``V4L2_CTRL_FLAG_READ_ONLY``, ``V4L2_CTRL_FLAG_UPDATE``, ``V4L2_CTRL_FLAG_INACTIVE`` and ``V4L2_CTRL_FLAG_SLIDER`` (:ref:`control-flags`). See :ref:`extended-controls` for details.h](h New ioctls }(hj3hhhNhNubh)}(h.:ref:`VIDIOC_G_EXT_CTRLS `h]j6)}(hj 4h]hVIDIOC_G_EXT_CTRLS}(hj 4hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj4ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj4reftyperef refexplicitrefwarnj@vidioc_g_ext_ctrlsuh1hhhhM3hj3ubh, }(hj3hhhNhNubh)}(h.:ref:`VIDIOC_S_EXT_CTRLS `h]j6)}(hj-4h]hVIDIOC_S_EXT_CTRLS}(hj/4hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj+4ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj94reftyperef refexplicitrefwarnj@vidioc_g_ext_ctrlsuh1hhhhM3hj3ubh and }(hj3hhhNhNubh)}(h0:ref:`VIDIOC_TRY_EXT_CTRLS `h]j6)}(hjQ4h]hVIDIOC_TRY_EXT_CTRLS}(hjS4hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjO4ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj]4reftyperef refexplicitrefwarnj@vidioc_g_ext_ctrlsuh1hhhhM3hj3ubh6 were added, a flag to skip unsupported controls with }(hj3hhhNhNubh)}(h:ref:`VIDIOC_QUERYCTRL`h]j6)}(hju4h]hVIDIOC_QUERYCTRL}(hjw4hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjs4ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj4reftyperef refexplicitrefwarnj@vidioc_queryctrluh1hhhhM3hj3ubh, new control types }(hj3hhhNhNubj)}(h``V4L2_CTRL_TYPE_INTEGER64``h]hV4L2_CTRL_TYPE_INTEGER64}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh and }(hj3hhhNhNubj)}(h``V4L2_CTRL_TYPE_CTRL_CLASS``h]hV4L2_CTRL_TYPE_CTRL_CLASS}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh. (enum v4l2_ctrl_type), and new control flags }(hj3hhhNhNubj)}(h``V4L2_CTRL_FLAG_READ_ONLY``h]hV4L2_CTRL_FLAG_READ_ONLY}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh, }(hj3hhhNhNubj)}(h``V4L2_CTRL_FLAG_UPDATE``h]hV4L2_CTRL_FLAG_UPDATE}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh, }hj3sbj)}(h``V4L2_CTRL_FLAG_INACTIVE``h]hV4L2_CTRL_FLAG_INACTIVE}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh and }hj3sbj)}(h``V4L2_CTRL_FLAG_SLIDER``h]hV4L2_CTRL_FLAG_SLIDER}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh (}(hj3hhhNhNubh)}(h:ref:`control-flags`h]j6)}(hj5h]h control-flags}(hj5hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj5ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj5reftyperef refexplicitrefwarnj@ control-flagsuh1hhhhM3hj3ubh). See }(hj3hhhNhNubh)}(h:ref:`extended-controls`h]j6)}(hj)5h]hextended-controls}(hj+5hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj'5ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj55reftyperef refexplicitrefwarnj@extended-controlsuh1hhhhM3hj3ubh for details.}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM3hj3ubah}(h]h ]h"]h$]h&]uh1j4hj3hhhhhNubah}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj3hhhhhM3ubeh}(h]v4l2-in-linux-2-6-18ah ]h"]v4l2 in linux 2.6.18ah$]h&]uh1hhhhhhhhM1ubh)}(hhh](h)}(hV4L2 in Linux 2.6.19h]hV4L2 in Linux 2.6.19}(hjh5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhje5hhhhhM?ubj0)}(hhh](j5)}(hXIn struct v4l2_sliced_vbi_cap a buffer type field was added replacing a reserved field. Note on architectures where the size of enum types differs from int types the size of the structure changed. The :ref:`VIDIOC_G_SLICED_VBI_CAP ` ioctl was redefined from being read-only to write-read. Applications must initialize the type field and clear the reserved fields now. These changes may *break the compatibility* with older drivers and applications. h]h)}(hXIn struct v4l2_sliced_vbi_cap a buffer type field was added replacing a reserved field. Note on architectures where the size of enum types differs from int types the size of the structure changed. The :ref:`VIDIOC_G_SLICED_VBI_CAP ` ioctl was redefined from being read-only to write-read. Applications must initialize the type field and clear the reserved fields now. These changes may *break the compatibility* with older drivers and applications.h](hIn struct v4l2_sliced_vbi_cap a buffer type field was added replacing a reserved field. Note on architectures where the size of enum types differs from int types the size of the structure changed. The }(hj}5hhhNhNubh)}(h8:ref:`VIDIOC_G_SLICED_VBI_CAP `h]j6)}(hj5h]hVIDIOC_G_SLICED_VBI_CAP}(hj5hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj5ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj5reftyperef refexplicitrefwarnj@vidioc_g_sliced_vbi_capuh1hhhhMAhj}5ubh ioctl was redefined from being read-only to write-read. Applications must initialize the type field and clear the reserved fields now. These changes may }(hj}5hhhNhNubj)}(h*break the compatibility*h]hbreak the compatibility}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj}5ubh% with older drivers and applications.}(hj}5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMAhjy5ubah}(h]h ]h"]h$]h&]uh1j4hjv5hhhhhNubj5)}(h[The ioctls :ref:`VIDIOC_ENUM_FRAMESIZES` and :ref:`VIDIOC_ENUM_FRAMEINTERVALS` were added. h]h)}(hZThe ioctls :ref:`VIDIOC_ENUM_FRAMESIZES` and :ref:`VIDIOC_ENUM_FRAMEINTERVALS` were added.h](h The ioctls }(hj5hhhNhNubh)}(h:ref:`VIDIOC_ENUM_FRAMESIZES`h]j6)}(hj5h]hVIDIOC_ENUM_FRAMESIZES}(hj5hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj5ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj5reftyperef refexplicitrefwarnj@vidioc_enum_framesizesuh1hhhhMKhj5ubh and }(hj5hhhNhNubh)}(h!:ref:`VIDIOC_ENUM_FRAMEINTERVALS`h]j6)}(hj5h]hVIDIOC_ENUM_FRAMEINTERVALS}(hj5hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj5ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj6reftyperef refexplicitrefwarnj@vidioc_enum_frameintervalsuh1hhhhMKhj5ubh were added.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMKhj5ubah}(h]h ]h"]h$]h&]uh1j4hjv5hhhhhNubj5)}(hJA new pixel format ``V4L2_PIX_FMT_RGB444`` (:ref:`pixfmt-rgb`) was added. h]h)}(hIA new pixel format ``V4L2_PIX_FMT_RGB444`` (:ref:`pixfmt-rgb`) was added.h](hA new pixel format }(hj+6hhhNhNubj)}(h``V4L2_PIX_FMT_RGB444``h]hV4L2_PIX_FMT_RGB444}(hj36hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj+6ubh (}(hj+6hhhNhNubh)}(h:ref:`pixfmt-rgb`h]j6)}(hjG6h]h pixfmt-rgb}(hjI6hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjE6ubah}(h]h ]h"]h$]h&]refdocj+ refdomainjS6reftyperef refexplicitrefwarnj@ pixfmt-rgbuh1hhhhMPhj+6ubh ) was added.}(hj+6hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMPhj'6ubah}(h]h ]h"]h$]h&]uh1j4hjv5hhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hje5hhhhhMAubeh}(h]v4l2-in-linux-2-6-19ah ]h"]v4l2 in linux 2.6.19ah$]h&]uh1hhhhhhhhM?ubh)}(hhh](h)}(h)V4L2 spec erratum 2006-10-12 (Draft 0.17)h]h)V4L2 spec erratum 2006-10-12 (Draft 0.17)}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hhhhhMTubj0)}(hhh]j5)}(hR``V4L2_PIX_FMT_HM12`` (:ref:`reserved-formats`) is a YUV 4:2:0, not 4:2:2 format. h]h)}(hQ``V4L2_PIX_FMT_HM12`` (:ref:`reserved-formats`) is a YUV 4:2:0, not 4:2:2 format.h](j)}(h``V4L2_PIX_FMT_HM12``h]hV4L2_PIX_FMT_HM12}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj6ubh (}(hj6hhhNhNubh)}(h:ref:`reserved-formats`h]j6)}(hj6h]hreserved-formats}(hj6hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj6ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj6reftyperef refexplicitrefwarnj@reserved-formatsuh1hhhhMVhj6ubh#) is a YUV 4:2:0, not 4:2:2 format.}(hj6hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMVhj6ubah}(h]h ]h"]h$]h&]uh1j4hj6hhhhhNubah}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj6hhhhhMVubeh}(h]'v4l2-spec-erratum-2006-10-12-draft-0-17ah ]h"])v4l2 spec erratum 2006-10-12 (draft 0.17)ah$]h&]uh1hhhhhhhhMTubh)}(hhh](h)}(hV4L2 in Linux 2.6.21h]hV4L2 in Linux 2.6.21}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj6hhhhhMZubj0)}(hhh]j5)}(hThe ``videodev2.h`` header file is now dual licensed under GNU General Public License version two or later, and under a 3-clause BSD-style license. h]h)}(hThe ``videodev2.h`` header file is now dual licensed under GNU General Public License version two or later, and under a 3-clause BSD-style license.h](hThe }(hj7hhhNhNubj)}(h``videodev2.h``h]h videodev2.h}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubh header file is now dual licensed under GNU General Public License version two or later, and under a 3-clause BSD-style license.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM\hj7ubah}(h]h ]h"]h$]h&]uh1j4hj7hhhhhNubah}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj6hhhhhM\ubeh}(h]v4l2-in-linux-2-6-21ah ]h"]v4l2 in linux 2.6.21ah$]h&]uh1hhhhhhhhMZubh)}(hhh](h)}(hV4L2 in Linux 2.6.22h]hV4L2 in Linux 2.6.22}(hj>7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;7hhhhhMaubj0)}(hhh](j5)}(hTwo new field orders ``V4L2_FIELD_INTERLACED_TB`` and ``V4L2_FIELD_INTERLACED_BT`` were added. See enum v4l2_field for details. h]h)}(hTwo new field orders ``V4L2_FIELD_INTERLACED_TB`` and ``V4L2_FIELD_INTERLACED_BT`` were added. See enum v4l2_field for details.h](hTwo new field orders }(hjS7hhhNhNubj)}(h``V4L2_FIELD_INTERLACED_TB``h]hV4L2_FIELD_INTERLACED_TB}(hj[7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS7ubh and }(hjS7hhhNhNubj)}(h``V4L2_FIELD_INTERLACED_BT``h]hV4L2_FIELD_INTERLACED_BT}(hjm7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjS7ubh- were added. See enum v4l2_field for details.}(hjS7hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMchjO7ubah}(h]h ]h"]h$]h&]uh1j4hjL7hhhhhNubj5)}(hX`Three new clipping/blending methods with a global or straight or inverted local alpha value were added to the video overlay interface. See the description of the :ref:`VIDIOC_G_FBUF ` and :ref:`VIDIOC_S_FBUF ` ioctls for details. A new ``global_alpha`` field was added to struct v4l2_window, extending the structure. This may **break compatibility** with applications using a struct v4l2_window directly. However the :ref:`VIDIOC_G/S/TRY_FMT ` ioctls, which take a pointer to a struct v4l2_format parent structure with padding bytes at the end, are not affected. h](h)}(hXThree new clipping/blending methods with a global or straight or inverted local alpha value were added to the video overlay interface. See the description of the :ref:`VIDIOC_G_FBUF ` and :ref:`VIDIOC_S_FBUF ` ioctls for details.h](hThree new clipping/blending methods with a global or straight or inverted local alpha value were added to the video overlay interface. See the description of the }(hj7hhhNhNubh)}(h$:ref:`VIDIOC_G_FBUF `h]j6)}(hj7h]h VIDIOC_G_FBUF}(hj7hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj7ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj7reftyperef refexplicitrefwarnj@ vidioc_g_fbufuh1hhhhMghj7ubh and }(hj7hhhNhNubh)}(h$:ref:`VIDIOC_S_FBUF `h]j6)}(hj7h]h VIDIOC_S_FBUF}(hj7hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj7ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj7reftyperef refexplicitrefwarnj@ vidioc_g_fbufuh1hhhhMghj7ubh ioctls for details.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMghj7ubh)}(hXZA new ``global_alpha`` field was added to struct v4l2_window, extending the structure. This may **break compatibility** with applications using a struct v4l2_window directly. However the :ref:`VIDIOC_G/S/TRY_FMT ` ioctls, which take a pointer to a struct v4l2_format parent structure with padding bytes at the end, are not affected.h](hA new }(hj7hhhNhNubj)}(h``global_alpha``h]h global_alpha}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7ubhJ field was added to struct v4l2_window, extending the structure. This may }(hj7hhhNhNubhstrong)}(h**break compatibility**h]hbreak compatibility}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1j7hj7ubhD with applications using a struct v4l2_window directly. However the }(hj7hhhNhNubh)}(h(:ref:`VIDIOC_G/S/TRY_FMT `h]j6)}(hj8h]hVIDIOC_G/S/TRY_FMT}(hj8hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj8ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj!8reftyperef refexplicitrefwarnj@ vidioc_g_fmtuh1hhhhMlhj7ubhw ioctls, which take a pointer to a struct v4l2_format parent structure with padding bytes at the end, are not affected.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMlhj7ubeh}(h]h ]h"]h$]h&]uh1j4hjL7hhhhhNubj5)}(hXThe format of the ``chromakey`` field in struct v4l2_window changed from "host order RGB32" to a pixel value in the same format as the framebuffer. This may **break compatibility** with existing applications. Drivers supporting the "host order RGB32" format are not known. h]h)}(hXThe format of the ``chromakey`` field in struct v4l2_window changed from "host order RGB32" to a pixel value in the same format as the framebuffer. This may **break compatibility** with existing applications. Drivers supporting the "host order RGB32" format are not known.h](hThe format of the }(hjG8hhhNhNubj)}(h ``chromakey``h]h chromakey}(hjO8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjG8ubh field in struct v4l2_window changed from “host order RGB32” to a pixel value in the same format as the framebuffer. This may }(hjG8hhhNhNubj8)}(h**break compatibility**h]hbreak compatibility}(hja8hhhNhNubah}(h]h ]h"]h$]h&]uh1j7hjG8ubh` with existing applications. Drivers supporting the “host order RGB32” format are not known.}(hjG8hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMshjC8ubah}(h]h ]h"]h$]h&]uh1j4hjL7hhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj;7hhhhhMcubeh}(h]v4l2-in-linux-2-6-22ah ]h"]v4l2 in linux 2.6.22ah$]h&]uh1hhhhhhhhMaubh)}(hhh](h)}(hV4L2 in Linux 2.6.24h]hV4L2 in Linux 2.6.24}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj8hhhhhMyubj0)}(hhh]j5)}(hThe pixel formats ``V4L2_PIX_FMT_PAL8``, ``V4L2_PIX_FMT_YUV444``, ``V4L2_PIX_FMT_YUV555``, ``V4L2_PIX_FMT_YUV565`` and ``V4L2_PIX_FMT_YUV32`` were added. h]h)}(hThe pixel formats ``V4L2_PIX_FMT_PAL8``, ``V4L2_PIX_FMT_YUV444``, ``V4L2_PIX_FMT_YUV555``, ``V4L2_PIX_FMT_YUV565`` and ``V4L2_PIX_FMT_YUV32`` were added.h](hThe pixel formats }(hj8hhhNhNubj)}(h``V4L2_PIX_FMT_PAL8``h]hV4L2_PIX_FMT_PAL8}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh, }(hj8hhhNhNubj)}(h``V4L2_PIX_FMT_YUV444``h]hV4L2_PIX_FMT_YUV444}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh, }(hj8hhhNhNubj)}(h``V4L2_PIX_FMT_YUV555``h]hV4L2_PIX_FMT_YUV555}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh, }hj8sbj)}(h``V4L2_PIX_FMT_YUV565``h]hV4L2_PIX_FMT_YUV565}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh and }(hj8hhhNhNubj)}(h``V4L2_PIX_FMT_YUV32``h]hV4L2_PIX_FMT_YUV32}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj8ubh were added.}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM{hj8ubah}(h]h ]h"]h$]h&]uh1j4hj8hhhhhNubah}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj8hhhhhM{ubeh}(h]v4l2-in-linux-2-6-24ah ]h"]v4l2 in linux 2.6.24ah$]h&]uh1hhhhhhhhMyubh)}(hhh](h)}(hV4L2 in Linux 2.6.25h]hV4L2 in Linux 2.6.25}(hj$9hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!9hhhhhMubj0)}(hhh](j5)}(hThe pixel formats :ref:`V4L2_PIX_FMT_Y16 ` and :ref:`V4L2_PIX_FMT_SBGGR16 ` were added. h]h)}(hThe pixel formats :ref:`V4L2_PIX_FMT_Y16 ` and :ref:`V4L2_PIX_FMT_SBGGR16 ` were added.h](hThe pixel formats }(hj99hhhNhNubh)}(h*:ref:`V4L2_PIX_FMT_Y16 `h]j6)}(hjC9h]hV4L2_PIX_FMT_Y16}(hjE9hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjA9ubah}(h]h ]h"]h$]h&]refdocj+ refdomainjO9reftyperef refexplicitrefwarnj@v4l2-pix-fmt-y16uh1hhhhMhj99ubh and }(hj99hhhNhNubh)}(h2:ref:`V4L2_PIX_FMT_SBGGR16 `h]j6)}(hjg9h]hV4L2_PIX_FMT_SBGGR16}(hji9hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hje9ubah}(h]h ]h"]h$]h&]refdocj+ refdomainjs9reftyperef refexplicitrefwarnj@v4l2-pix-fmt-sbggr16uh1hhhhMhj99ubh were added.}(hj99hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj59ubah}(h]h ]h"]h$]h&]uh1j4hj29hhhhhNubj5)}(hXINew :ref:`controls ` ``V4L2_CID_POWER_LINE_FREQUENCY``, ``V4L2_CID_HUE_AUTO``, ``V4L2_CID_WHITE_BALANCE_TEMPERATURE``, ``V4L2_CID_SHARPNESS`` and ``V4L2_CID_BACKLIGHT_COMPENSATION`` were added. The controls ``V4L2_CID_BLACK_LEVEL``, ``V4L2_CID_WHITENESS``, ``V4L2_CID_HCENTER`` and ``V4L2_CID_VCENTER`` were deprecated. h]h)}(hXHNew :ref:`controls ` ``V4L2_CID_POWER_LINE_FREQUENCY``, ``V4L2_CID_HUE_AUTO``, ``V4L2_CID_WHITE_BALANCE_TEMPERATURE``, ``V4L2_CID_SHARPNESS`` and ``V4L2_CID_BACKLIGHT_COMPENSATION`` were added. The controls ``V4L2_CID_BLACK_LEVEL``, ``V4L2_CID_WHITENESS``, ``V4L2_CID_HCENTER`` and ``V4L2_CID_VCENTER`` were deprecated.h](hNew }(hj9hhhNhNubh)}(h:ref:`controls `h]j6)}(hj9h]hcontrols}(hj9hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj9ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj9reftyperef refexplicitrefwarnj@controluh1hhhhMhj9ubh }(hj9hhhNhNubj)}(h!``V4L2_CID_POWER_LINE_FREQUENCY``h]hV4L2_CID_POWER_LINE_FREQUENCY}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh, }(hj9hhhNhNubj)}(h``V4L2_CID_HUE_AUTO``h]hV4L2_CID_HUE_AUTO}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh, }(hj9hhhNhNubj)}(h&``V4L2_CID_WHITE_BALANCE_TEMPERATURE``h]h"V4L2_CID_WHITE_BALANCE_TEMPERATURE}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh, }hj9sbj)}(h``V4L2_CID_SHARPNESS``h]hV4L2_CID_SHARPNESS}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh and }(hj9hhhNhNubj)}(h#``V4L2_CID_BACKLIGHT_COMPENSATION``h]hV4L2_CID_BACKLIGHT_COMPENSATION}(hj :hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh were added. The controls }(hj9hhhNhNubj)}(h``V4L2_CID_BLACK_LEVEL``h]hV4L2_CID_BLACK_LEVEL}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh, }hj9sbj)}(h``V4L2_CID_WHITENESS``h]hV4L2_CID_WHITENESS}(hj1:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh, }hj9sbj)}(h``V4L2_CID_HCENTER``h]hV4L2_CID_HCENTER}(hjC:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh and }hj9sbj)}(h``V4L2_CID_VCENTER``h]hV4L2_CID_VCENTER}(hjU:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj9ubh were deprecated.}(hj9hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj9ubah}(h]h ]h"]h$]h&]uh1j4hj29hhhhhNubj5)}(hXA :ref:`Camera controls class ` was added, with the new controls ``V4L2_CID_EXPOSURE_AUTO``, ``V4L2_CID_EXPOSURE_ABSOLUTE``, ``V4L2_CID_EXPOSURE_AUTO_PRIORITY``, ``V4L2_CID_PAN_RELATIVE``, ``V4L2_CID_TILT_RELATIVE``, ``V4L2_CID_PAN_RESET``, ``V4L2_CID_TILT_RESET``, ``V4L2_CID_PAN_ABSOLUTE``, ``V4L2_CID_TILT_ABSOLUTE``, ``V4L2_CID_FOCUS_ABSOLUTE``, ``V4L2_CID_FOCUS_RELATIVE`` and ``V4L2_CID_FOCUS_AUTO``. h]h)}(hXA :ref:`Camera controls class ` was added, with the new controls ``V4L2_CID_EXPOSURE_AUTO``, ``V4L2_CID_EXPOSURE_ABSOLUTE``, ``V4L2_CID_EXPOSURE_AUTO_PRIORITY``, ``V4L2_CID_PAN_RELATIVE``, ``V4L2_CID_TILT_RELATIVE``, ``V4L2_CID_PAN_RESET``, ``V4L2_CID_TILT_RESET``, ``V4L2_CID_PAN_ABSOLUTE``, ``V4L2_CID_TILT_ABSOLUTE``, ``V4L2_CID_FOCUS_ABSOLUTE``, ``V4L2_CID_FOCUS_RELATIVE`` and ``V4L2_CID_FOCUS_AUTO``.h](hA }(hjw:hhhNhNubh)}(h.:ref:`Camera controls class `h]j6)}(hj:h]hCamera controls class}(hj:hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj:ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj:reftyperef refexplicitrefwarnj@camera-controlsuh1hhhhMhjw:ubh" was added, with the new controls }(hjw:hhhNhNubj)}(h``V4L2_CID_EXPOSURE_AUTO``h]hV4L2_CID_EXPOSURE_AUTO}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw:ubh, }(hjw:hhhNhNubj)}(h``V4L2_CID_EXPOSURE_ABSOLUTE``h]hV4L2_CID_EXPOSURE_ABSOLUTE}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw:ubh, }(hjw:hhhNhNubj)}(h#``V4L2_CID_EXPOSURE_AUTO_PRIORITY``h]hV4L2_CID_EXPOSURE_AUTO_PRIORITY}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw:ubh, }hjw:sbj)}(h``V4L2_CID_PAN_RELATIVE``h]hV4L2_CID_PAN_RELATIVE}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw:ubh, }hjw:sbj)}(h``V4L2_CID_TILT_RELATIVE``h]hV4L2_CID_TILT_RELATIVE}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw:ubh, }hjw:sbj)}(h``V4L2_CID_PAN_RESET``h]hV4L2_CID_PAN_RESET}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw:ubh, }hjw:sbj)}(h``V4L2_CID_TILT_RESET``h]hV4L2_CID_TILT_RESET}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw:ubh, }hjw:sbj)}(h``V4L2_CID_PAN_ABSOLUTE``h]hV4L2_CID_PAN_ABSOLUTE}(hj!;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw:ubh, }hjw:sbj)}(h``V4L2_CID_TILT_ABSOLUTE``h]hV4L2_CID_TILT_ABSOLUTE}(hj3;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw:ubh, }hjw:sbj)}(h``V4L2_CID_FOCUS_ABSOLUTE``h]hV4L2_CID_FOCUS_ABSOLUTE}(hjE;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw:ubh, }hjw:sbj)}(h``V4L2_CID_FOCUS_RELATIVE``h]hV4L2_CID_FOCUS_RELATIVE}(hjW;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw:ubh and }(hjw:hhhNhNubj)}(h``V4L2_CID_FOCUS_AUTO``h]hV4L2_CID_FOCUS_AUTO}(hji;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw:ubh.}(hjw:hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjs:ubah}(h]h ]h"]h$]h&]uh1j4hj29hhhhhNubj5)}(hThe ``VIDIOC_G_MPEGCOMP`` and ``VIDIOC_S_MPEGCOMP`` ioctls, which were superseded by the :ref:`extended controls ` interface in Linux 2.6.18, where finally removed from the ``videodev2.h`` header file. h]h)}(hThe ``VIDIOC_G_MPEGCOMP`` and ``VIDIOC_S_MPEGCOMP`` ioctls, which were superseded by the :ref:`extended controls ` interface in Linux 2.6.18, where finally removed from the ``videodev2.h`` header file.h](hThe }(hj;hhhNhNubj)}(h``VIDIOC_G_MPEGCOMP``h]hVIDIOC_G_MPEGCOMP}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubh and }(hj;hhhNhNubj)}(h``VIDIOC_S_MPEGCOMP``h]hVIDIOC_S_MPEGCOMP}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubh& ioctls, which were superseded by the }(hj;hhhNhNubh)}(h,:ref:`extended controls `h]j6)}(hj;h]hextended controls}(hj;hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj;ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj;reftyperef refexplicitrefwarnj@extended-controlsuh1hhhhMhj;ubh; interface in Linux 2.6.18, where finally removed from the }(hj;hhhNhNubj)}(h``videodev2.h``h]h videodev2.h}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj;ubh header file.}(hj;hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj;ubah}(h]h ]h"]h$]h&]uh1j4hj29hhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj!9hhhhhMubeh}(h]v4l2-in-linux-2-6-25ah ]h"]v4l2 in linux 2.6.25ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 2.6.26h]hV4L2 in Linux 2.6.26}(hj <hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<hhhhhMubj0)}(hhh](j5)}(hPThe pixel formats ``V4L2_PIX_FMT_Y16`` and ``V4L2_PIX_FMT_SBGGR16`` were added. h]h)}(hOThe pixel formats ``V4L2_PIX_FMT_Y16`` and ``V4L2_PIX_FMT_SBGGR16`` were added.h](hThe pixel formats }(hj<hhhNhNubj)}(h``V4L2_PIX_FMT_Y16``h]hV4L2_PIX_FMT_Y16}(hj'<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh and }(hj<hhhNhNubj)}(h``V4L2_PIX_FMT_SBGGR16``h]hV4L2_PIX_FMT_SBGGR16}(hj9<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh were added.}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj<ubah}(h]h ]h"]h$]h&]uh1j4hj<hhhhhNubj5)}(hKAdded user controls ``V4L2_CID_CHROMA_AGC`` and ``V4L2_CID_COLOR_KILLER``. h]h)}(hJAdded user controls ``V4L2_CID_CHROMA_AGC`` and ``V4L2_CID_COLOR_KILLER``.h](hAdded user controls }(hj[<hhhNhNubj)}(h``V4L2_CID_CHROMA_AGC``h]hV4L2_CID_CHROMA_AGC}(hjc<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[<ubh and }(hj[<hhhNhNubj)}(h``V4L2_CID_COLOR_KILLER``h]hV4L2_CID_COLOR_KILLER}(hju<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj[<ubh.}(hj[<hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjW<ubah}(h]h ]h"]h$]h&]uh1j4hj<hhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj<hhhhhMubeh}(h]v4l2-in-linux-2-6-26ah ]h"]v4l2 in linux 2.6.26ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 2.6.27h]hV4L2 in Linux 2.6.27}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj<hhhhhMubj0)}(hhh](j5)}(h`The :ref:`VIDIOC_S_HW_FREQ_SEEK` ioctl and the ``V4L2_CAP_HW_FREQ_SEEK`` capability were added. h]h)}(h_The :ref:`VIDIOC_S_HW_FREQ_SEEK` ioctl and the ``V4L2_CAP_HW_FREQ_SEEK`` capability were added.h](hThe }(hj<hhhNhNubh)}(h:ref:`VIDIOC_S_HW_FREQ_SEEK`h]j6)}(hj<h]hVIDIOC_S_HW_FREQ_SEEK}(hj<hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj<ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj<reftyperef refexplicitrefwarnj@vidioc_s_hw_freq_seekuh1hhhhMhj<ubh ioctl and the }(hj<hhhNhNubj)}(h``V4L2_CAP_HW_FREQ_SEEK``h]hV4L2_CAP_HW_FREQ_SEEK}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj<ubh capability were added.}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj<ubah}(h]h ]h"]h$]h&]uh1j4hj<hhhhhNubj5)}(hThe pixel formats ``V4L2_PIX_FMT_YVYU``, ``V4L2_PIX_FMT_PCA501``, ``V4L2_PIX_FMT_PCA505``, ``V4L2_PIX_FMT_PCA508``, ``V4L2_PIX_FMT_PCA561``, ``V4L2_PIX_FMT_SGBRG8``, ``V4L2_PIX_FMT_PAC207`` and ``V4L2_PIX_FMT_PJPG`` were added. h]h)}(hThe pixel formats ``V4L2_PIX_FMT_YVYU``, ``V4L2_PIX_FMT_PCA501``, ``V4L2_PIX_FMT_PCA505``, ``V4L2_PIX_FMT_PCA508``, ``V4L2_PIX_FMT_PCA561``, ``V4L2_PIX_FMT_SGBRG8``, ``V4L2_PIX_FMT_PAC207`` and ``V4L2_PIX_FMT_PJPG`` were added.h](hThe pixel formats }(hj=hhhNhNubj)}(h``V4L2_PIX_FMT_YVYU``h]hV4L2_PIX_FMT_YVYU}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh, }(hj=hhhNhNubj)}(h``V4L2_PIX_FMT_PCA501``h]hV4L2_PIX_FMT_PCA501}(hj!=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh, }(hj=hhhNhNubj)}(h``V4L2_PIX_FMT_PCA505``h]hV4L2_PIX_FMT_PCA505}(hj3=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh, }hj=sbj)}(h``V4L2_PIX_FMT_PCA508``h]hV4L2_PIX_FMT_PCA508}(hjE=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh, }hj=sbj)}(h``V4L2_PIX_FMT_PCA561``h]hV4L2_PIX_FMT_PCA561}(hjW=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh, }hj=sbj)}(h``V4L2_PIX_FMT_SGBRG8``h]hV4L2_PIX_FMT_SGBRG8}(hji=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh, }hj=sbj)}(h``V4L2_PIX_FMT_PAC207``h]hV4L2_PIX_FMT_PAC207}(hj{=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh and }(hj=hhhNhNubj)}(h``V4L2_PIX_FMT_PJPG``h]hV4L2_PIX_FMT_PJPG}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh were added.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj=ubah}(h]h ]h"]h$]h&]uh1j4hj<hhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj<hhhhhMubeh}(h]v4l2-in-linux-2-6-27ah ]h"]v4l2 in linux 2.6.27ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 2.6.28h]hV4L2 in Linux 2.6.28}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=hhhhhMubj0)}(hhh](j5)}(hbAdded ``V4L2_MPEG_AUDIO_ENCODING_AAC`` and ``V4L2_MPEG_AUDIO_ENCODING_AC3`` MPEG audio encodings. h]h)}(haAdded ``V4L2_MPEG_AUDIO_ENCODING_AAC`` and ``V4L2_MPEG_AUDIO_ENCODING_AC3`` MPEG audio encodings.h](hAdded }(hj=hhhNhNubj)}(h ``V4L2_MPEG_AUDIO_ENCODING_AAC``h]hV4L2_MPEG_AUDIO_ENCODING_AAC}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh and }(hj=hhhNhNubj)}(h ``V4L2_MPEG_AUDIO_ENCODING_AC3``h]hV4L2_MPEG_AUDIO_ENCODING_AC3}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubh MPEG audio encodings.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj=ubah}(h]h ]h"]h$]h&]uh1j4hj=hhhhhNubj5)}(hCAdded ``V4L2_MPEG_VIDEO_ENCODING_MPEG_4_AVC`` MPEG video encoding. h]h)}(hBAdded ``V4L2_MPEG_VIDEO_ENCODING_MPEG_4_AVC`` MPEG video encoding.h](hAdded }(hj >hhhNhNubj)}(h'``V4L2_MPEG_VIDEO_ENCODING_MPEG_4_AVC``h]h#V4L2_MPEG_VIDEO_ENCODING_MPEG_4_AVC}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj >ubh MPEG video encoding.}(hj >hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj >ubah}(h]h ]h"]h$]h&]uh1j4hj=hhhhhNubj5)}(hYThe pixel formats ``V4L2_PIX_FMT_SGRBG10`` and ``V4L2_PIX_FMT_SGRBG10DPCM8`` were added. h]h)}(hXThe pixel formats ``V4L2_PIX_FMT_SGRBG10`` and ``V4L2_PIX_FMT_SGRBG10DPCM8`` were added.h](hThe pixel formats }(hj7>hhhNhNubj)}(h``V4L2_PIX_FMT_SGRBG10``h]hV4L2_PIX_FMT_SGRBG10}(hj?>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7>ubh and }(hj7>hhhNhNubj)}(h``V4L2_PIX_FMT_SGRBG10DPCM8``h]hV4L2_PIX_FMT_SGRBG10DPCM8}(hjQ>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj7>ubh were added.}(hj7>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj3>ubah}(h]h ]h"]h$]h&]uh1j4hj=hhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj=hhhhhMubeh}(h]v4l2-in-linux-2-6-28ah ]h"]v4l2 in linux 2.6.28ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 2.6.29h]hV4L2 in Linux 2.6.29}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj}>hhhhhMubj0)}(hhh](j5)}(hThe ``VIDIOC_G_CHIP_IDENT`` ioctl was renamed to ``VIDIOC_G_CHIP_IDENT_OLD`` and ``VIDIOC_DBG_G_CHIP_IDENT`` was introduced in its place. The old struct ``v4l2_chip_ident`` was renamed to struct ``v4l2_chip_ident_old``. h]h)}(hThe ``VIDIOC_G_CHIP_IDENT`` ioctl was renamed to ``VIDIOC_G_CHIP_IDENT_OLD`` and ``VIDIOC_DBG_G_CHIP_IDENT`` was introduced in its place. The old struct ``v4l2_chip_ident`` was renamed to struct ``v4l2_chip_ident_old``.h](hThe }(hj>hhhNhNubj)}(h``VIDIOC_G_CHIP_IDENT``h]hVIDIOC_G_CHIP_IDENT}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh ioctl was renamed to }(hj>hhhNhNubj)}(h``VIDIOC_G_CHIP_IDENT_OLD``h]hVIDIOC_G_CHIP_IDENT_OLD}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh and }(hj>hhhNhNubj)}(h``VIDIOC_DBG_G_CHIP_IDENT``h]hVIDIOC_DBG_G_CHIP_IDENT}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh- was introduced in its place. The old struct }(hj>hhhNhNubj)}(h``v4l2_chip_ident``h]hv4l2_chip_ident}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh was renamed to struct }(hj>hhhNhNubj)}(h``v4l2_chip_ident_old``h]hv4l2_chip_ident_old}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj>ubh.}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj>ubah}(h]h ]h"]h$]h&]uh1j4hj>hhhhhNubj5)}(heThe pixel formats ``V4L2_PIX_FMT_VYUY``, ``V4L2_PIX_FMT_NV16`` and ``V4L2_PIX_FMT_NV61`` were added. h]h)}(hdThe pixel formats ``V4L2_PIX_FMT_VYUY``, ``V4L2_PIX_FMT_NV16`` and ``V4L2_PIX_FMT_NV61`` were added.h](hThe pixel formats }(hj?hhhNhNubj)}(h``V4L2_PIX_FMT_VYUY``h]hV4L2_PIX_FMT_VYUY}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh, }(hj?hhhNhNubj)}(h``V4L2_PIX_FMT_NV16``h]hV4L2_PIX_FMT_NV16}(hj!?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh and }(hj?hhhNhNubj)}(h``V4L2_PIX_FMT_NV61``h]hV4L2_PIX_FMT_NV61}(hj3?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh were added.}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj?ubah}(h]h ]h"]h$]h&]uh1j4hj>hhhhhNubj5)}(hAdded camera controls ``V4L2_CID_ZOOM_ABSOLUTE``, ``V4L2_CID_ZOOM_RELATIVE``, ``V4L2_CID_ZOOM_CONTINUOUS`` and ``V4L2_CID_PRIVACY``. h]h)}(hAdded camera controls ``V4L2_CID_ZOOM_ABSOLUTE``, ``V4L2_CID_ZOOM_RELATIVE``, ``V4L2_CID_ZOOM_CONTINUOUS`` and ``V4L2_CID_PRIVACY``.h](hAdded camera controls }(hjU?hhhNhNubj)}(h``V4L2_CID_ZOOM_ABSOLUTE``h]hV4L2_CID_ZOOM_ABSOLUTE}(hj]?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU?ubh, }(hjU?hhhNhNubj)}(h``V4L2_CID_ZOOM_RELATIVE``h]hV4L2_CID_ZOOM_RELATIVE}(hjo?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU?ubh, }(hjU?hhhNhNubj)}(h``V4L2_CID_ZOOM_CONTINUOUS``h]hV4L2_CID_ZOOM_CONTINUOUS}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU?ubh and }(hjU?hhhNhNubj)}(h``V4L2_CID_PRIVACY``h]hV4L2_CID_PRIVACY}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjU?ubh.}(hjU?hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjQ?ubah}(h]h ]h"]h$]h&]uh1j4hj>hhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj}>hhhhhMubeh}(h]v4l2-in-linux-2-6-29ah ]h"]v4l2 in linux 2.6.29ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 2.6.30h]hV4L2 in Linux 2.6.30}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj?hhhhhMubj0)}(hhh](j5)}(h:New control flag ``V4L2_CTRL_FLAG_WRITE_ONLY`` was added. h]h)}(h9New control flag ``V4L2_CTRL_FLAG_WRITE_ONLY`` was added.h](hNew control flag }(hj?hhhNhNubj)}(h``V4L2_CTRL_FLAG_WRITE_ONLY``h]hV4L2_CTRL_FLAG_WRITE_ONLY}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubh was added.}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj?ubah}(h]h ]h"]h$]h&]uh1j4hj?hhhhhNubj5)}(h,New control ``V4L2_CID_COLORFX`` was added. h]h)}(h+New control ``V4L2_CID_COLORFX`` was added.h](h New control }(hj@hhhNhNubj)}(h``V4L2_CID_COLORFX``h]hV4L2_CID_COLORFX}(hj @hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh was added.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj?ubah}(h]h ]h"]h$]h&]uh1j4hj?hhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj?hhhhhMubeh}(h]v4l2-in-linux-2-6-30ah ]h"]v4l2 in linux 2.6.30ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 2.6.32h]hV4L2 in Linux 2.6.32}(hj8@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj5@hhhhhMubj0)}(hhh](j5)}(hIn order to be easier to compare a V4L2 API and a kernel version, now V4L2 API is numbered using the Linux Kernel version numeration. h]h)}(hIn order to be easier to compare a V4L2 API and a kernel version, now V4L2 API is numbered using the Linux Kernel version numeration.h]hIn order to be easier to compare a V4L2 API and a kernel version, now V4L2 API is numbered using the Linux Kernel version numeration.}(hjM@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjI@ubah}(h]h ]h"]h$]h&]uh1j4hjF@hhhhhNubj5)}(hDFinalized the RDS capture API. See :ref:`rds` for more information. h]h)}(hCFinalized the RDS capture API. See :ref:`rds` for more information.h](h#Finalized the RDS capture API. See }(hje@hhhNhNubh)}(h :ref:`rds`h]j6)}(hjo@h]hrds}(hjq@hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjm@ubah}(h]h ]h"]h$]h&]refdocj+ refdomainj{@reftyperef refexplicitrefwarnj@rdsuh1hhhhMhje@ubh for more information.}(hje@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhja@ubah}(h]h ]h"]h$]h&]uh1j4hjF@hhhhhNubj5)}(h8Added new capabilities for modulators and RDS encoders. h]h)}(h7Added new capabilities for modulators and RDS encoders.h]h7Added new capabilities for modulators and RDS encoders.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj@ubah}(h]h ]h"]h$]h&]uh1j4hjF@hhhhhNubj5)}(h Add description for libv4l API. h]h)}(hAdd description for libv4l API.h]hAdd description for libv4l API.}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj@ubah}(h]h ]h"]h$]h&]uh1j4hjF@hhhhhNubj5)}(hJAdded support for string controls via new type ``V4L2_CTRL_TYPE_STRING``. h]h)}(hIAdded support for string controls via new type ``V4L2_CTRL_TYPE_STRING``.h](h/Added support for string controls via new type }(hj@hhhNhNubj)}(h``V4L2_CTRL_TYPE_STRING``h]hV4L2_CTRL_TYPE_STRING}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj@ubah}(h]h ]h"]h$]h&]uh1j4hjF@hhhhhNubj5)}(h3Added ``V4L2_CID_BAND_STOP_FILTER`` documentation. h]h)}(h2Added ``V4L2_CID_BAND_STOP_FILTER`` documentation.h](hAdded }(hj@hhhNhNubj)}(h``V4L2_CID_BAND_STOP_FILTER``h]hV4L2_CID_BAND_STOP_FILTER}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubh documentation.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj@ubah}(h]h ]h"]h$]h&]uh1j4hjF@hhhhhNubj5)}(hdAdded FM Modulator (FM TX) Extended Control Class: ``V4L2_CTRL_CLASS_FM_TX`` and their Control IDs. h]h)}(hcAdded FM Modulator (FM TX) Extended Control Class: ``V4L2_CTRL_CLASS_FM_TX`` and their Control IDs.h](h3Added FM Modulator (FM TX) Extended Control Class: }(hj%AhhhNhNubj)}(h``V4L2_CTRL_CLASS_FM_TX``h]hV4L2_CTRL_CLASS_FM_TX}(hj-AhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj%Aubh and their Control IDs.}(hj%AhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj!Aubah}(h]h ]h"]h$]h&]uh1j4hjF@hhhhhNubj5)}(hcAdded FM Receiver (FM RX) Extended Control Class: ``V4L2_CTRL_CLASS_FM_RX`` and their Control IDs. h]h)}(hbAdded FM Receiver (FM RX) Extended Control Class: ``V4L2_CTRL_CLASS_FM_RX`` and their Control IDs.h](h2Added FM Receiver (FM RX) Extended Control Class: }(hjOAhhhNhNubj)}(h``V4L2_CTRL_CLASS_FM_RX``h]hV4L2_CTRL_CLASS_FM_RX}(hjWAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOAubh and their Control IDs.}(hjOAhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjKAubah}(h]h ]h"]h$]h&]uh1j4hjF@hhhhhNubj5)}(heAdded Remote Controller chapter, describing the default Remote Controller mapping for media devices. h]h)}(hdAdded Remote Controller chapter, describing the default Remote Controller mapping for media devices.h]hdAdded Remote Controller chapter, describing the default Remote Controller mapping for media devices.}(hjyAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjuAubah}(h]h ]h"]h$]h&]uh1j4hjF@hhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj5@hhhhhMubeh}(h]v4l2-in-linux-2-6-32ah ]h"]v4l2 in linux 2.6.32ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 2.6.33h]hV4L2 in Linux 2.6.33}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhhhhhMubj0)}(hhh]j5)}(h]Added support for Digital Video timings in order to support HDTV receivers and transmitters. h]h)}(h\Added support for Digital Video timings in order to support HDTV receivers and transmitters.h]h\Added support for Digital Video timings in order to support HDTV receivers and transmitters.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjAubah}(h]h ]h"]h$]h&]uh1j4hjAhhhhhNubah}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hjAhhhhhMubeh}(h]v4l2-in-linux-2-6-33ah ]h"]v4l2 in linux 2.6.33ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 2.6.34h]hV4L2 in Linux 2.6.34}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjAhhhhhMubj0)}(hhh]j5)}(hAdded ``V4L2_CID_IRIS_ABSOLUTE`` and ``V4L2_CID_IRIS_RELATIVE`` controls to the :ref:`Camera controls class `. h]h)}(hAdded ``V4L2_CID_IRIS_ABSOLUTE`` and ``V4L2_CID_IRIS_RELATIVE`` controls to the :ref:`Camera controls class `.h](hAdded }(hjAhhhNhNubj)}(h``V4L2_CID_IRIS_ABSOLUTE``h]hV4L2_CID_IRIS_ABSOLUTE}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh and }(hjAhhhNhNubj)}(h``V4L2_CID_IRIS_RELATIVE``h]hV4L2_CID_IRIS_RELATIVE}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjAubh controls to the }(hjAhhhNhNubh)}(h.:ref:`Camera controls class `h]j6)}(hjBh]hCamera controls class}(hjBhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjBubah}(h]h ]h"]h$]h&]refdocj+ refdomainj'Breftyperef refexplicitrefwarnj@camera-controlsuh1hhhhMhjAubh.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjAubah}(h]h ]h"]h$]h&]uh1j4hjAhhhhhNubah}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hjAhhhhhMubeh}(h]v4l2-in-linux-2-6-34ah ]h"]v4l2 in linux 2.6.34ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 2.6.37h]hV4L2 in Linux 2.6.37}(hjZBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjWBhhhhhMubj0)}(hhh]j5)}(hRemove the vtx (videotext/teletext) API. This API was no longer used and no hardware exists to verify the API. Nor were any userspace applications found that used it. It was originally scheduled for removal in 2.6.35. h]h)}(hRemove the vtx (videotext/teletext) API. This API was no longer used and no hardware exists to verify the API. Nor were any userspace applications found that used it. It was originally scheduled for removal in 2.6.35.h]hRemove the vtx (videotext/teletext) API. This API was no longer used and no hardware exists to verify the API. Nor were any userspace applications found that used it. It was originally scheduled for removal in 2.6.35.}(hjoBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjkBubah}(h]h ]h"]h$]h&]uh1j4hjhBhhhhhNubah}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hjWBhhhhhMubeh}(h]v4l2-in-linux-2-6-37ah ]h"]v4l2 in linux 2.6.37ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 2.6.39h]hV4L2 in Linux 2.6.39}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjBhhhhhMubj0)}(hhh](j5)}(h` for details. h]h)}(hMulti-planar API added. Does not affect the compatibility of current drivers and applications. See :ref:`multi-planar API ` for details.h](hcMulti-planar API added. Does not affect the compatibility of current drivers and applications. See }(hjBhhhNhNubh)}(h%:ref:`multi-planar API `h]j6)}(hjBh]hmulti-planar API}(hjBhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjBubah}(h]h ]h"]h$]h&]refdocj+ refdomainjBreftyperef refexplicitrefwarnj@ planar-apisuh1hhhhMhjBubh for details.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjBubah}(h]h ]h"]h$]h&]uh1j4hjBhhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hjBhhhhhMubeh}(h]v4l2-in-linux-2-6-39ah ]h"]v4l2 in linux 2.6.39ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 3.1h]hV4L2 in Linux 3.1}(hj ChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChhhhhMubj0)}(hhh]j5)}(hVIDIOC_QUERYCAP now returns a per-subsystem version instead of a per-driver one. Standardize an error code for invalid ioctl. Added V4L2_CTRL_TYPE_BITMASK. h](h)}(hPVIDIOC_QUERYCAP now returns a per-subsystem version instead of a per-driver one.h]hPVIDIOC_QUERYCAP now returns a per-subsystem version instead of a per-driver one.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjCubh)}(h,Standardize an error code for invalid ioctl.h]h,Standardize an error code for invalid ioctl.}(hj-ChhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hjCubh)}(hAdded V4L2_CTRL_TYPE_BITMASK.h]hAdded V4L2_CTRL_TYPE_BITMASK.}(hj;ChhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hjCubeh}(h]h ]h"]h$]h&]uh1j4hjChhhhhNubah}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hjChhhhhMubeh}(h]v4l2-in-linux-3-1ah ]h"]v4l2 in linux 3.1ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 3.2h]hV4L2 in Linux 3.2}(hj`ChhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]ChhhhhMubj0)}(hhh](j5)}(hLV4L2_CTRL_FLAG_VOLATILE was added to signal volatile controls to userspace. h]h)}(hKV4L2_CTRL_FLAG_VOLATILE was added to signal volatile controls to userspace.h]hKV4L2_CTRL_FLAG_VOLATILE was added to signal volatile controls to userspace.}(hjuChhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjqCubah}(h]h ]h"]h$]h&]uh1j4hjnChhhhhNubj5)}(hAdd selection API for extended control over cropping and composing. Does not affect the compatibility of current drivers and applications. See :ref:`selection API ` for details. h]h)}(hAdd selection API for extended control over cropping and composing. Does not affect the compatibility of current drivers and applications. See :ref:`selection API ` for details.h](hAdd selection API for extended control over cropping and composing. Does not affect the compatibility of current drivers and applications. See }(hjChhhNhNubh)}(h$:ref:`selection API `h]j6)}(hjCh]h selection API}(hjChhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjCubah}(h]h ]h"]h$]h&]refdocj+ refdomainjCreftyperef refexplicitrefwarnj@ selection-apiuh1hhhhMhjCubh for details.}(hjChhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjCubah}(h]h ]h"]h$]h&]uh1j4hjnChhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj]ChhhhhMubeh}(h]v4l2-in-linux-3-2ah ]h"]v4l2 in linux 3.2ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 3.3h]hV4L2 in Linux 3.3}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChhhhhMubj0)}(hhh](j5)}(hXAdded ``V4L2_CID_ALPHA_COMPONENT`` control to the :ref:`User controls class `. h]h)}(hWAdded ``V4L2_CID_ALPHA_COMPONENT`` control to the :ref:`User controls class `.h](hAdded }(hjChhhNhNubj)}(h``V4L2_CID_ALPHA_COMPONENT``h]hV4L2_CID_ALPHA_COMPONENT}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubh control to the }(hjChhhNhNubh)}(h$:ref:`User controls class `h]j6)}(hjDh]hUser controls class}(hj DhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjDubah}(h]h ]h"]h$]h&]refdocj+ refdomainjDreftyperef refexplicitrefwarnj@controluh1hhhhMhjCubh.}(hjChhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjCubah}(h]h ]h"]h$]h&]uh1j4hjChhhhhNubj5)}(hkAdded the device_caps field to struct v4l2_capabilities and added the new V4L2_CAP_DEVICE_CAPS capability. h]h)}(hjAdded the device_caps field to struct v4l2_capabilities and added the new V4L2_CAP_DEVICE_CAPS capability.h]hjAdded the device_caps field to struct v4l2_capabilities and added the new V4L2_CAP_DEVICE_CAPS capability.}(hj9DhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj5Dubah}(h]h ]h"]h$]h&]uh1j4hjChhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hjChhhhhMubeh}(h]v4l2-in-linux-3-3ah ]h"]v4l2 in linux 3.3ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 3.4h]hV4L2 in Linux 3.4}(hj^DhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj[DhhhhhM#ubj0)}(hhh](j5)}(h=Added :ref:`JPEG compression control class `. h]h)}(h`.h](hAdded }(hjsDhhhNhNubh)}(h5:ref:`JPEG compression control class `h]j6)}(hj}Dh]hJPEG compression control class}(hjDhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj{Dubah}(h]h ]h"]h$]h&]refdocj+ refdomainjDreftyperef refexplicitrefwarnj@ jpeg-controlsuh1hhhhM%hjsDubh.}(hjsDhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM%hjoDubah}(h]h ]h"]h$]h&]uh1j4hjlDhhhhhNubj5)}(h}Extended the DV Timings API: :ref:`VIDIOC_ENUM_DV_TIMINGS`, :ref:`VIDIOC_QUERY_DV_TIMINGS` and :ref:`VIDIOC_DV_TIMINGS_CAP`. h]h)}(h|Extended the DV Timings API: :ref:`VIDIOC_ENUM_DV_TIMINGS`, :ref:`VIDIOC_QUERY_DV_TIMINGS` and :ref:`VIDIOC_DV_TIMINGS_CAP`.h](hExtended the DV Timings API: }(hjDhhhNhNubh)}(h:ref:`VIDIOC_ENUM_DV_TIMINGS`h]j6)}(hjDh]hVIDIOC_ENUM_DV_TIMINGS}(hjDhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjDubah}(h]h ]h"]h$]h&]refdocj+ refdomainjDreftyperef refexplicitrefwarnj@vidioc_enum_dv_timingsuh1hhhhM'hjDubh, }(hjDhhhNhNubh)}(h:ref:`VIDIOC_QUERY_DV_TIMINGS`h]j6)}(hjDh]hVIDIOC_QUERY_DV_TIMINGS}(hjDhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjDubah}(h]h ]h"]h$]h&]refdocj+ refdomainjDreftyperef refexplicitrefwarnj@vidioc_query_dv_timingsuh1hhhhM'hjDubh and }(hjDhhhNhNubh)}(h:ref:`VIDIOC_DV_TIMINGS_CAP`h]j6)}(hjEh]hVIDIOC_DV_TIMINGS_CAP}(hjEhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjDubah}(h]h ]h"]h$]h&]refdocj+ refdomainj Ereftyperef refexplicitrefwarnj@vidioc_dv_timings_capuh1hhhhM'hjDubh.}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM'hjDubah}(h]h ]h"]h$]h&]uh1j4hjlDhhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj[DhhhhhM%ubeh}(h]v4l2-in-linux-3-4ah ]h"]v4l2 in linux 3.4ah$]h&]uh1hhhhhhhhM#ubh)}(hhh](h)}(hV4L2 in Linux 3.5h]hV4L2 in Linux 3.5}(hj@EhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj=EhhhhhM-ubj0)}(hhh](j5)}(hGAdded integer menus, the new type will be V4L2_CTRL_TYPE_INTEGER_MENU. h]h)}(hFAdded integer menus, the new type will be V4L2_CTRL_TYPE_INTEGER_MENU.h]hFAdded integer menus, the new type will be V4L2_CTRL_TYPE_INTEGER_MENU.}(hjUEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM/hjQEubah}(h]h ]h"]h$]h&]uh1j4hjNEhhhhhNubj5)}(hAdded selection API for V4L2 subdev interface: :ref:`VIDIOC_SUBDEV_G_SELECTION` and :ref:`VIDIOC_SUBDEV_S_SELECTION `. h]h)}(hAdded selection API for V4L2 subdev interface: :ref:`VIDIOC_SUBDEV_G_SELECTION` and :ref:`VIDIOC_SUBDEV_S_SELECTION `.h](h/Added selection API for V4L2 subdev interface: }(hjmEhhhNhNubh)}(h :ref:`VIDIOC_SUBDEV_G_SELECTION`h]j6)}(hjwEh]hVIDIOC_SUBDEV_G_SELECTION}(hjyEhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjuEubah}(h]h ]h"]h$]h&]refdocj+ refdomainjEreftyperef refexplicitrefwarnj@vidioc_subdev_g_selectionuh1hhhhM2hjmEubh and }(hjmEhhhNhNubh)}(h<:ref:`VIDIOC_SUBDEV_S_SELECTION `h]j6)}(hjEh]hVIDIOC_SUBDEV_S_SELECTION}(hjEhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjEubah}(h]h ]h"]h$]h&]refdocj+ refdomainjEreftyperef refexplicitrefwarnj@vidioc_subdev_g_selectionuh1hhhhM2hjmEubh.}(hjmEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM2hjiEubah}(h]h ]h"]h$]h&]uh1j4hjNEhhhhhNubj5)}(hAdded ``V4L2_COLORFX_ANTIQUE``, ``V4L2_COLORFX_ART_FREEZE``, ``V4L2_COLORFX_AQUA``, ``V4L2_COLORFX_SILHOUETTE``, ``V4L2_COLORFX_SOLARIZATION``, ``V4L2_COLORFX_VIVID`` and ``V4L2_COLORFX_ARBITRARY_CBCR`` menu items to the ``V4L2_CID_COLORFX`` control. h]h)}(hAdded ``V4L2_COLORFX_ANTIQUE``, ``V4L2_COLORFX_ART_FREEZE``, ``V4L2_COLORFX_AQUA``, ``V4L2_COLORFX_SILHOUETTE``, ``V4L2_COLORFX_SOLARIZATION``, ``V4L2_COLORFX_VIVID`` and ``V4L2_COLORFX_ARBITRARY_CBCR`` menu items to the ``V4L2_CID_COLORFX`` control.h](hAdded }(hjEhhhNhNubj)}(h``V4L2_COLORFX_ANTIQUE``h]hV4L2_COLORFX_ANTIQUE}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh, }(hjEhhhNhNubj)}(h``V4L2_COLORFX_ART_FREEZE``h]hV4L2_COLORFX_ART_FREEZE}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh, }(hjEhhhNhNubj)}(h``V4L2_COLORFX_AQUA``h]hV4L2_COLORFX_AQUA}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh, }hjEsbj)}(h``V4L2_COLORFX_SILHOUETTE``h]hV4L2_COLORFX_SILHOUETTE}(hj FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh, }hjEsbj)}(h``V4L2_COLORFX_SOLARIZATION``h]hV4L2_COLORFX_SOLARIZATION}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh, }hjEsbj)}(h``V4L2_COLORFX_VIVID``h]hV4L2_COLORFX_VIVID}(hj/FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh and }(hjEhhhNhNubj)}(h``V4L2_COLORFX_ARBITRARY_CBCR``h]hV4L2_COLORFX_ARBITRARY_CBCR}(hjAFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh menu items to the }(hjEhhhNhNubj)}(h``V4L2_CID_COLORFX``h]hV4L2_CID_COLORFX}(hjSFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjEubh control.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM6hjEubah}(h]h ]h"]h$]h&]uh1j4hjNEhhhhhNubj5)}(h)Added ``V4L2_CID_COLORFX_CBCR`` control. h]h)}(h(Added ``V4L2_CID_COLORFX_CBCR`` control.h](hAdded }(hjuFhhhNhNubj)}(h``V4L2_CID_COLORFX_CBCR``h]hV4L2_CID_COLORFX_CBCR}(hj}FhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuFubh control.}(hjuFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM<hjqFubah}(h]h ]h"]h$]h&]uh1j4hjNEhhhhhNubj5)}(hXAdded camera controls ``V4L2_CID_AUTO_EXPOSURE_BIAS``, ``V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE``, ``V4L2_CID_IMAGE_STABILIZATION``, ``V4L2_CID_ISO_SENSITIVITY``, ``V4L2_CID_ISO_SENSITIVITY_AUTO``, ``V4L2_CID_EXPOSURE_METERING``, ``V4L2_CID_SCENE_MODE``, ``V4L2_CID_3A_LOCK``, ``V4L2_CID_AUTO_FOCUS_START``, ``V4L2_CID_AUTO_FOCUS_STOP``, ``V4L2_CID_AUTO_FOCUS_STATUS`` and ``V4L2_CID_AUTO_FOCUS_RANGE``. h]h)}(hXAdded camera controls ``V4L2_CID_AUTO_EXPOSURE_BIAS``, ``V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE``, ``V4L2_CID_IMAGE_STABILIZATION``, ``V4L2_CID_ISO_SENSITIVITY``, ``V4L2_CID_ISO_SENSITIVITY_AUTO``, ``V4L2_CID_EXPOSURE_METERING``, ``V4L2_CID_SCENE_MODE``, ``V4L2_CID_3A_LOCK``, ``V4L2_CID_AUTO_FOCUS_START``, ``V4L2_CID_AUTO_FOCUS_STOP``, ``V4L2_CID_AUTO_FOCUS_STATUS`` and ``V4L2_CID_AUTO_FOCUS_RANGE``.h](hAdded camera controls }(hjFhhhNhNubj)}(h``V4L2_CID_AUTO_EXPOSURE_BIAS``h]hV4L2_CID_AUTO_EXPOSURE_BIAS}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh, }(hjFhhhNhNubj)}(h(``V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE``h]h$V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh, }hjFsbj)}(h ``V4L2_CID_IMAGE_STABILIZATION``h]hV4L2_CID_IMAGE_STABILIZATION}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh, }(hjFhhhNhNubj)}(h``V4L2_CID_ISO_SENSITIVITY``h]hV4L2_CID_ISO_SENSITIVITY}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh, }hjFsbj)}(h!``V4L2_CID_ISO_SENSITIVITY_AUTO``h]hV4L2_CID_ISO_SENSITIVITY_AUTO}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh, }hjFsbj)}(h``V4L2_CID_EXPOSURE_METERING``h]hV4L2_CID_EXPOSURE_METERING}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh, }hjFsbj)}(h``V4L2_CID_SCENE_MODE``h]hV4L2_CID_SCENE_MODE}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh, }hjFsbj)}(h``V4L2_CID_3A_LOCK``h]hV4L2_CID_3A_LOCK}(hj%GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh, }hjFsbj)}(h``V4L2_CID_AUTO_FOCUS_START``h]hV4L2_CID_AUTO_FOCUS_START}(hj7GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh, }hjFsbj)}(h``V4L2_CID_AUTO_FOCUS_STOP``h]hV4L2_CID_AUTO_FOCUS_STOP}(hjIGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh, }hjFsbj)}(h``V4L2_CID_AUTO_FOCUS_STATUS``h]hV4L2_CID_AUTO_FOCUS_STATUS}(hj[GhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh and }(hjFhhhNhNubj)}(h``V4L2_CID_AUTO_FOCUS_RANGE``h]hV4L2_CID_AUTO_FOCUS_RANGE}(hjmGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM>hjFubah}(h]h ]h"]h$]h&]uh1j4hjNEhhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj=EhhhhhM/ubeh}(h]v4l2-in-linux-3-5ah ]h"]v4l2 in linux 3.5ah$]h&]uh1hhhhhhhhM-ubh)}(hhh](h)}(hV4L2 in Linux 3.6h]hV4L2 in Linux 3.6}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhhhhhMGubj0)}(hhh](j5)}(h_Replaced ``input`` in struct v4l2_buffer by ``reserved2`` and removed ``V4L2_BUF_FLAG_INPUT``. h]h)}(h^Replaced ``input`` in struct v4l2_buffer by ``reserved2`` and removed ``V4L2_BUF_FLAG_INPUT``.h](h Replaced }(hjGhhhNhNubj)}(h ``input``h]hinput}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh in struct v4l2_buffer by }(hjGhhhNhNubj)}(h ``reserved2``h]h reserved2}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh and removed }(hjGhhhNhNubj)}(h``V4L2_BUF_FLAG_INPUT``h]hV4L2_BUF_FLAG_INPUT}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh.}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMIhjGubah}(h]h ]h"]h$]h&]uh1j4hjGhhhhhNubj5)}(hEAdded V4L2_CAP_VIDEO_M2M and V4L2_CAP_VIDEO_M2M_MPLANE capabilities. h]h)}(hDAdded V4L2_CAP_VIDEO_M2M and V4L2_CAP_VIDEO_M2M_MPLANE capabilities.h]hDAdded V4L2_CAP_VIDEO_M2M and V4L2_CAP_VIDEO_M2M_MPLANE capabilities.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMLhjGubah}(h]h ]h"]h$]h&]uh1j4hjGhhhhhNubj5)}(hNAdded support for frequency band enumerations: :ref:`VIDIOC_ENUM_FREQ_BANDS`. h]h)}(hMAdded support for frequency band enumerations: :ref:`VIDIOC_ENUM_FREQ_BANDS`.h](h/Added support for frequency band enumerations: }(hjHhhhNhNubh)}(h:ref:`VIDIOC_ENUM_FREQ_BANDS`h]j6)}(hj!Hh]hVIDIOC_ENUM_FREQ_BANDS}(hj#HhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjHubah}(h]h ]h"]h$]h&]refdocj+ refdomainj-Hreftyperef refexplicitrefwarnj@vidioc_enum_freq_bandsuh1hhhhMOhjHubh.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMOhjHubah}(h]h ]h"]h$]h&]uh1j4hjGhhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hjGhhhhhMIubeh}(h]v4l2-in-linux-3-6ah ]h"]v4l2 in linux 3.6ah$]h&]uh1hhhhhhhhMGubh)}(hhh](h)}(hV4L2 in Linux 3.9h]hV4L2 in Linux 3.9}(hj`HhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj]HhhhhhMSubj0)}(hhh](j5)}(hYAdded timestamp types to ``flags`` field in struct v4l2_buffer. See :ref:`buffer-flags`. h]h)}(hXAdded timestamp types to ``flags`` field in struct v4l2_buffer. See :ref:`buffer-flags`.h](hAdded timestamp types to }(hjuHhhhNhNubj)}(h ``flags``h]hflags}(hj}HhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjuHubh" field in struct v4l2_buffer. See }(hjuHhhhNhNubh)}(h:ref:`buffer-flags`h]j6)}(hjHh]h buffer-flags}(hjHhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjHubah}(h]h ]h"]h$]h&]refdocj+ refdomainjHreftyperef refexplicitrefwarnj@ buffer-flagsuh1hhhhMUhjuHubh.}(hjuHhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMUhjqHubah}(h]h ]h"]h$]h&]uh1j4hjnHhhhhhNubj5)}(h^Added ``V4L2_EVENT_CTRL_CH_RANGE`` control event changes flag. See :ref:`ctrl-changes-flags`. h]h)}(h]Added ``V4L2_EVENT_CTRL_CH_RANGE`` control event changes flag. See :ref:`ctrl-changes-flags`.h](hAdded }(hjHhhhNhNubj)}(h``V4L2_EVENT_CTRL_CH_RANGE``h]hV4L2_EVENT_CTRL_CH_RANGE}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjHubh! control event changes flag. See }(hjHhhhNhNubh)}(h:ref:`ctrl-changes-flags`h]j6)}(hjHh]hctrl-changes-flags}(hjHhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjHubah}(h]h ]h"]h$]h&]refdocj+ refdomainjHreftyperef refexplicitrefwarnj@ctrl-changes-flagsuh1hhhhMXhjHubh.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMXhjHubah}(h]h ]h"]h$]h&]uh1j4hjnHhhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj]HhhhhhMUubeh}(h]v4l2-in-linux-3-9ah ]h"]v4l2 in linux 3.9ah$]h&]uh1hhhhhhhhMSubh)}(hhh](h)}(hV4L2 in Linux 3.10h]hV4L2 in Linux 3.10}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhhhhhM\ubj0)}(hhh](j5)}(hRemoved obsolete and unused DV_PRESET ioctls VIDIOC_G_DV_PRESET, VIDIOC_S_DV_PRESET, VIDIOC_QUERY_DV_PRESET and VIDIOC_ENUM_DV_PRESET. Remove the related v4l2_input/output capability flags V4L2_IN_CAP_PRESETS and V4L2_OUT_CAP_PRESETS. xh]h)}(hRemoved obsolete and unused DV_PRESET ioctls VIDIOC_G_DV_PRESET, VIDIOC_S_DV_PRESET, VIDIOC_QUERY_DV_PRESET and VIDIOC_ENUM_DV_PRESET. Remove the related v4l2_input/output capability flags V4L2_IN_CAP_PRESETS and V4L2_OUT_CAP_PRESETS.h]hRemoved obsolete and unused DV_PRESET ioctls VIDIOC_G_DV_PRESET, VIDIOC_S_DV_PRESET, VIDIOC_QUERY_DV_PRESET and VIDIOC_ENUM_DV_PRESET. Remove the related v4l2_input/output capability flags V4L2_IN_CAP_PRESETS and V4L2_OUT_CAP_PRESETS.}(hj3IhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM^hj/Iubah}(h]h ]h"]h$]h&]uh1j4hj,IhhhhhNubj5)}(h9Added new debugging ioctl :ref:`VIDIOC_DBG_G_CHIP_INFO`. h]h)}(h8Added new debugging ioctl :ref:`VIDIOC_DBG_G_CHIP_INFO`.h](hAdded new debugging ioctl }(hjKIhhhNhNubh)}(h:ref:`VIDIOC_DBG_G_CHIP_INFO`h]j6)}(hjUIh]hVIDIOC_DBG_G_CHIP_INFO}(hjWIhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjSIubah}(h]h ]h"]h$]h&]refdocj+ refdomainjaIreftyperef refexplicitrefwarnj@vidioc_dbg_g_chip_infouh1hhhhMchjKIubh.}(hjKIhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMchjGIubah}(h]h ]h"]h$]h&]uh1j4hj,IhhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hjIhhhhhM^ubeh}(h]v4l2-in-linux-3-10ah ]h"]v4l2 in linux 3.10ah$]h&]uh1hhhhhhhhM\ubh)}(hhh](h)}(hV4L2 in Linux 3.11h]hV4L2 in Linux 3.11}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhhhhhMgubj0)}(hhh]j5)}(h3Remove obsolete ``VIDIOC_DBG_G_CHIP_IDENT`` ioctl. h]h)}(h2Remove obsolete ``VIDIOC_DBG_G_CHIP_IDENT`` ioctl.h](hRemove obsolete }(hjIhhhNhNubj)}(h``VIDIOC_DBG_G_CHIP_IDENT``h]hVIDIOC_DBG_G_CHIP_IDENT}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh ioctl.}(hjIhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMihjIubah}(h]h ]h"]h$]h&]uh1j4hjIhhhhhNubah}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hjIhhhhhMiubeh}(h]v4l2-in-linux-3-11ah ]h"]v4l2 in linux 3.11ah$]h&]uh1hhhhhhhhMgubh)}(hhh](h)}(hV4L2 in Linux 3.14h]hV4L2 in Linux 3.14}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjIhhhhhMlubj0)}(hhh]j5)}(h\In struct v4l2_rect, the type of ``width`` and ``height`` fields changed from _s32 to _u32. h]h)}(h[In struct v4l2_rect, the type of ``width`` and ``height`` fields changed from _s32 to _u32.h](h!In struct v4l2_rect, the type of }(hjIhhhNhNubj)}(h ``width``h]hwidth}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh and }(hjIhhhNhNubj)}(h ``height``h]hheight}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubh" fields changed from _s32 to _u32.}(hjIhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMnhjIubah}(h]h ]h"]h$]h&]uh1j4hjIhhhhhNubah}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hjIhhhhhMnubeh}(h]v4l2-in-linux-3-14ah ]h"]v4l2 in linux 3.14ah$]h&]uh1hhhhhhhhMlubh)}(hhh](h)}(hV4L2 in Linux 3.15h]hV4L2 in Linux 3.15}(hj>JhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj;JhhhhhMrubj0)}(hhh]j5)}(h.Added Software Defined Radio (SDR) Interface. h]h)}(h-Added Software Defined Radio (SDR) Interface.h]h-Added Software Defined Radio (SDR) Interface.}(hjSJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMthjOJubah}(h]h ]h"]h$]h&]uh1j4hjLJhhhhhNubah}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj;JhhhhhMtubeh}(h]v4l2-in-linux-3-15ah ]h"]v4l2 in linux 3.15ah$]h&]uh1hhhhhhhhMrubh)}(hhh](h)}(hV4L2 in Linux 3.16h]hV4L2 in Linux 3.16}(hjxJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjuJhhhhhMwubj0)}(hhh]j5)}(h&Added event V4L2_EVENT_SOURCE_CHANGE. h]h)}(h%Added event V4L2_EVENT_SOURCE_CHANGE.h]h%Added event V4L2_EVENT_SOURCE_CHANGE.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMyhjJubah}(h]h ]h"]h$]h&]uh1j4hjJhhhhhNubah}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hjuJhhhhhMyubeh}(h]v4l2-in-linux-3-16ah ]h"]v4l2 in linux 3.16ah$]h&]uh1hhhhhhhhMwubh)}(hhh](h)}(hV4L2 in Linux 3.17h]hV4L2 in Linux 3.17}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhhhhhM|ubj0)}(hhh](j5)}(h5Extended struct v4l2_pix_format. Added format flags. h]h)}(h4Extended struct v4l2_pix_format. Added format flags.h]h4Extended struct v4l2_pix_format. Added format flags.}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM~hjJubah}(h]h ]h"]h$]h&]uh1j4hjJhhhhhNubj5)}(hRAdded compound control types and :ref:`VIDIOC_QUERY_EXT_CTRL `. h]h)}(hQAdded compound control types and :ref:`VIDIOC_QUERY_EXT_CTRL `.h](h!Added compound control types and }(hjJhhhNhNubh)}(h/:ref:`VIDIOC_QUERY_EXT_CTRL `h]j6)}(hjJh]hVIDIOC_QUERY_EXT_CTRL}(hjJhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjJubah}(h]h ]h"]h$]h&]refdocj+ refdomainjJreftyperef refexplicitrefwarnj@vidioc_queryctrluh1hhhhMhjJubh.}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjJubah}(h]h ]h"]h$]h&]uh1j4hjJhhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hjJhhhhhM~ubeh}(h]v4l2-in-linux-3-17ah ]h"]v4l2 in linux 3.17ah$]h&]uh1hhhhhhhhM|ubh)}(hhh](h)}(hV4L2 in Linux 3.18h]hV4L2 in Linux 3.18}(hj(KhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj%KhhhhhMubj0)}(hhh]j5)}(hJAdded ``V4L2_CID_PAN_SPEED`` and ``V4L2_CID_TILT_SPEED`` camera controls. h]h)}(hIAdded ``V4L2_CID_PAN_SPEED`` and ``V4L2_CID_TILT_SPEED`` camera controls.h](hAdded }(hj=KhhhNhNubj)}(h``V4L2_CID_PAN_SPEED``h]hV4L2_CID_PAN_SPEED}(hjEKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=Kubh and }(hj=KhhhNhNubj)}(h``V4L2_CID_TILT_SPEED``h]hV4L2_CID_TILT_SPEED}(hjWKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=Kubh camera controls.}(hj=KhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj9Kubah}(h]h ]h"]h$]h&]uh1j4hj6KhhhhhNubah}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hj%KhhhhhMubeh}(h]v4l2-in-linux-3-18ah ]h"]v4l2 in linux 3.18ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 3.19h]hV4L2 in Linux 3.19}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhhhhhMubj0)}(hhh]j5)}(hRewrote Colorspace chapter, added new enum v4l2_ycbcr_encoding and enum v4l2_quantization fields to struct v4l2_pix_format, struct v4l2_pix_format_mplane and struct v4l2_mbus_framefmt. h]h)}(hRewrote Colorspace chapter, added new enum v4l2_ycbcr_encoding and enum v4l2_quantization fields to struct v4l2_pix_format, struct v4l2_pix_format_mplane and struct v4l2_mbus_framefmt.h]hRewrote Colorspace chapter, added new enum v4l2_ycbcr_encoding and enum v4l2_quantization fields to struct v4l2_pix_format, struct v4l2_pix_format_mplane and struct v4l2_mbus_framefmt.}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjKubah}(h]h ]h"]h$]h&]uh1j4hjKhhhhhNubah}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hjKhhhhhMubeh}(h]v4l2-in-linux-3-19ah ]h"]v4l2 in linux 3.19ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(hV4L2 in Linux 4.4h]hV4L2 in Linux 4.4}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjKhhhhhMubj0)}(hhh](j5)}(hcRenamed ``V4L2_TUNER_ADC`` to ``V4L2_TUNER_SDR``. The use of ``V4L2_TUNER_ADC`` is deprecated now. h]h)}(hbRenamed ``V4L2_TUNER_ADC`` to ``V4L2_TUNER_SDR``. The use of ``V4L2_TUNER_ADC`` is deprecated now.h](hRenamed }(hjKhhhNhNubj)}(h``V4L2_TUNER_ADC``h]hV4L2_TUNER_ADC}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh to }(hjKhhhNhNubj)}(h``V4L2_TUNER_SDR``h]hV4L2_TUNER_SDR}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh . The use of }(hjKhhhNhNubj)}(h``V4L2_TUNER_ADC``h]hV4L2_TUNER_ADC}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjKubh is deprecated now.}(hjKhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjKubah}(h]h ]h"]h$]h&]uh1j4hjKhhhhhNubj5)}(h6Added ``V4L2_CID_RF_TUNER_RF_GAIN`` RF Tuner control. h]h)}(h5Added ``V4L2_CID_RF_TUNER_RF_GAIN`` RF Tuner control.h](hAdded }(hj#LhhhNhNubj)}(h``V4L2_CID_RF_TUNER_RF_GAIN``h]hV4L2_CID_RF_TUNER_RF_GAIN}(hj+LhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#Lubh RF Tuner control.}(hj#LhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjLubah}(h]h ]h"]h$]h&]uh1j4hjKhhhhhNubj5)}(hFAdded transmitter support for Software Defined Radio (SDR) Interface. h]h)}(hEAdded transmitter support for Software Defined Radio (SDR) Interface.h]hEAdded transmitter support for Software Defined Radio (SDR) Interface.}(hjMLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjILubah}(h]h ]h"]h$]h&]uh1j4hjKhhhhhNubeh}(h]h ]h"]h$]h&]jajbjchjdjeuh1j/hjKhhhhhMubh)}(h .. _other:h]h}(h]h ]h"]h$]h&]hotheruh1hhMhjKhhhhubeh}(h]v4l2-in-linux-4-4ah ]h"]v4l2 in linux 4.4ah$]h&]uh1hhhhhhhhMubh)}(hhh](h)}(h/Relation of V4L2 to other Linux multimedia APIsh]h/Relation of V4L2 to other Linux multimedia APIs}(hj}LhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjzLhhhhhMubh)}(h .. _xvideo:h]h}(h]h ]h"]h$]h&]hxvideouh1hhMhjzLhhhhubh)}(hhh](h)}(hX Video Extensionh]hX Video Extension}(hjLhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjLhhhhhMubh)}(hXThe X Video Extension (abbreviated XVideo or just Xv) is an extension of the X Window system, implemented for example by the XFree86 project. Its scope is similar to V4L2, an API to video capture and output devices for X clients. Xv allows applications to display live video in a window, send window contents to a TV output, and capture or output still images in XPixmaps [#f1]_. With their implementation XFree86 makes the extension available across many operating systems and architectures.h](hXtThe X Video Extension (abbreviated XVideo or just Xv) is an extension of the X Window system, implemented for example by the XFree86 project. Its scope is similar to V4L2, an API to video capture and output devices for X clients. Xv allows applications to display live video in a window, send window contents to a TV output, and capture or output still images in XPixmaps }(hjLhhhNhNubhfootnote_reference)}(h[#f1]_h]h1}(hjLhhhNhNubah}(h]id1ah ]h"]h$]h&]autoKhf1docnamej+uh1jLhjLresolvedKubhr. With their implementation XFree86 makes the extension available across many operating systems and architectures.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjLhhubh)}(hXBecause the driver is embedded into the X server Xv has a number of advantages over the V4L2 :ref:`video overlay interface `. The driver can easily determine the overlay target, i. e. visible graphics memory or off-screen buffers for a destructive overlay. It can program the RAMDAC for a non-destructive overlay, scaling or color-keying, or the clipping functions of the video capture hardware, always in sync with drawing operations or windows moving or changing their stacking order.h](h]Because the driver is embedded into the X server Xv has a number of advantages over the V4L2 }(hjLhhhNhNubh)}(h(:ref:`video overlay interface `h]j6)}(hjLh]hvideo overlay interface}(hjLhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjLubah}(h]h ]h"]h$]h&]refdocj+ refdomainjLreftyperef refexplicitrefwarnj@overlayuh1hhhhMhjLubhXj. The driver can easily determine the overlay target, i. e. visible graphics memory or off-screen buffers for a destructive overlay. It can program the RAMDAC for a non-destructive overlay, scaling or color-keying, or the clipping functions of the video capture hardware, always in sync with drawing operations or windows moving or changing their stacking order.}(hjLhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjLhhubh)}(hTo combine the advantages of Xv and V4L a special Xv driver exists in XFree86 and XOrg, just programming any overlay capable Video4Linux device it finds. To enable it ``/etc/X11/XF86Config`` must contain these lines:h](hTo combine the advantages of Xv and V4L a special Xv driver exists in XFree86 and XOrg, just programming any overlay capable Video4Linux device it finds. To enable it }(hjMhhhNhNubj)}(h``/etc/X11/XF86Config``h]h/etc/X11/XF86Config}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjMubh must contain these lines:}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjLhhubj)}(h*Section "Module" Load "v4l" EndSectionh]h*Section "Module" Load "v4l" EndSection}hj Msbah}(h]h ]h"]h$]h&]hhuh1jhhhMhjLhhubh)}(hXAs of XFree86 4.2 this driver still supports only V4L ioctls, however it should work just fine with all V4L2 devices through the V4L2 backward-compatibility layer. Since V4L2 permits multiple opens it is possible (if supported by the V4L2 driver) to capture video while an X client requested video overlay. Restrictions of simultaneous capturing and overlay are discussed in :ref:`overlay` apply.h](hXwAs of XFree86 4.2 this driver still supports only V4L ioctls, however it should work just fine with all V4L2 devices through the V4L2 backward-compatibility layer. Since V4L2 permits multiple opens it is possible (if supported by the V4L2 driver) to capture video while an X client requested video overlay. Restrictions of simultaneous capturing and overlay are discussed in }(hj.MhhhNhNubh)}(h:ref:`overlay`h]j6)}(hj8Mh]hoverlay}(hj:MhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj6Mubah}(h]h ]h"]h$]h&]refdocj+ refdomainjDMreftyperef refexplicitrefwarnj@overlayuh1hhhhMhj.Mubh apply.}(hj.MhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjLhhubh)}(hOnly marginally related to V4L2, XFree86 extended Xv to support hardware YUV to RGB conversion and scaling for faster video playback, and added an interface to MPEG-2 decoding hardware. This API is useful to display images captured with V4L2 devices.h]hOnly marginally related to V4L2, XFree86 extended Xv to support hardware YUV to RGB conversion and scaling for faster video playback, and added an interface to MPEG-2 decoding hardware. This API is useful to display images captured with V4L2 devices.}(hj`MhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjLhhubeh}(h](x-video-extensionjLeh ]h"](x video extensionxvideoeh$]h&]uh1hhjzLhhhhhMexpect_referenced_by_name}jtMjLsexpect_referenced_by_id}jLjLsubh)}(hhh](h)}(h Digital Videoh]h Digital Video}(hj~MhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj{MhhhhhMubh)}(hX9V4L2 does not support digital terrestrial, cable or satellite broadcast. A separate project aiming at digital receivers exists. You can find its homepage at `https://linuxtv.org `__. The Linux DVB API has no connection to the V4L2 API except that drivers for hybrid hardware may support both.h](hV4L2 does not support digital terrestrial, cable or satellite broadcast. A separate project aiming at digital receivers exists. You can find its homepage at }(hjMhhhNhNubj)}(h-`https://linuxtv.org `__h]hhttps://linuxtv.org}(hjMhhhNhNubah}(h]h ]h"]h$]h&]namehttps://linuxtv.orgrefurihttps://linuxtv.orguh1jhjMubho. The Linux DVB API has no connection to the V4L2 API except that drivers for hybrid hardware may support both.}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj{Mhhubeh}(h] digital-videoah ]h"] digital videoah$]h&]uh1hhjzLhhhhhMubh)}(hhh](h)}(hAudio Interfacesh]hAudio Interfaces}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhhhhhMubh)}(h[to do - OSS/ALSA]h]h[to do - OSS/ALSA]}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjMhhubh)}(h.. _experimental:h]h}(h]h ]h"]h$]h&]h experimentaluh1hhMhjMhhhhubeh}(h]audio-interfacesah ]h"]audio interfacesah$]h&]uh1hhjzLhhhhhMubeh}(h](/relation-of-v4l2-to-other-linux-multimedia-apisjqLeh ]h"](/relation of v4l2 to other linux multimedia apisothereh$]h&]uh1hhhhhhhhMjwM}jMjgLsjyM}jqLjgLsubh)}(hhh](h)}(hExperimental API Elementsh]hExperimental API Elements}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhhhhhMubh)}(hXThe following V4L2 API elements are currently experimental and may change in the future.h]hXThe following V4L2 API elements are currently experimental and may change in the future.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjMhhubh bullet_list)}(hhh](j5)}(h^:ref:`VIDIOC_DBG_G_REGISTER` and :ref:`VIDIOC_DBG_S_REGISTER ` ioctls. h]h)}(h]:ref:`VIDIOC_DBG_G_REGISTER` and :ref:`VIDIOC_DBG_S_REGISTER ` ioctls.h](h)}(h:ref:`VIDIOC_DBG_G_REGISTER`h]j6)}(hj#Nh]hVIDIOC_DBG_G_REGISTER}(hj%NhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj!Nubah}(h]h ]h"]h$]h&]refdocj+ refdomainj/Nreftyperef refexplicitrefwarnj@vidioc_dbg_g_registeruh1hhhhMhjNubh and }(hjNhhhNhNubh)}(h4:ref:`VIDIOC_DBG_S_REGISTER `h]j6)}(hjGNh]hVIDIOC_DBG_S_REGISTER}(hjINhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjENubah}(h]h ]h"]h$]h&]refdocj+ refdomainjSNreftyperef refexplicitrefwarnj@vidioc_dbg_g_registeruh1hhhhMhjNubh ioctls.}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjNubah}(h]h ]h"]h$]h&]uh1j4hjNhhhhhNubj5)}(h%:ref:`VIDIOC_DBG_G_CHIP_INFO` ioctl. h]h)}(h$:ref:`VIDIOC_DBG_G_CHIP_INFO` ioctl.h](h)}(h:ref:`VIDIOC_DBG_G_CHIP_INFO`h]j6)}(hjNh]hVIDIOC_DBG_G_CHIP_INFO}(hjNhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hj}Nubah}(h]h ]h"]h$]h&]refdocj+ refdomainjNreftyperef refexplicitrefwarnj@vidioc_dbg_g_chip_infouh1hhhhMhjyNubh ioctl.}(hjyNhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjuNubah}(h]h ]h"]h$]h&]uh1j4hjNhhhhhNubeh}(h]h ]h"]h$]h&]bullet-uh1jNhhhMhjMhhubh)}(h .. _obsolete:h]h}(h]h ]h"]h$]h&]hobsoleteuh1hhMhjMhhhhubeh}(h](experimental-api-elementsjMeh ]h"](experimental api elements experimentaleh$]h&]uh1hhhhhhhhMjwM}jNjMsjyM}jMjMsubh)}(hhh](h)}(hObsolete API Elementsh]hObsolete API Elements}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjNhhhhhMubh)}(hoThe following V4L2 API elements were superseded by new interfaces and should not be implemented in new drivers.h]hoThe following V4L2 API elements were superseded by new interfaces and should not be implemented in new drivers.}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjNhhubjN)}(hhh](j5)}(hi``VIDIOC_G_MPEGCOMP`` and ``VIDIOC_S_MPEGCOMP`` ioctls. Use Extended Controls, :ref:`extended-controls`. h]h)}(hh``VIDIOC_G_MPEGCOMP`` and ``VIDIOC_S_MPEGCOMP`` ioctls. Use Extended Controls, :ref:`extended-controls`.h](j)}(h``VIDIOC_G_MPEGCOMP``h]hVIDIOC_G_MPEGCOMP}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh and }(hjNhhhNhNubj)}(h``VIDIOC_S_MPEGCOMP``h]hVIDIOC_S_MPEGCOMP}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjNubh ioctls. Use Extended Controls, }(hjNhhhNhNubh)}(h:ref:`extended-controls`h]j6)}(hjOh]hextended-controls}(hjOhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjOubah}(h]h ]h"]h$]h&]refdocj+ refdomainj'Oreftyperef refexplicitrefwarnj@extended-controlsuh1hhhhMhjNubh.}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjNubah}(h]h ]h"]h$]h&]uh1j4hjNhhhhhNubj5)}(hVIDIOC_G_DV_PRESET, VIDIOC_S_DV_PRESET, VIDIOC_ENUM_DV_PRESETS and VIDIOC_QUERY_DV_PRESET ioctls. Use the DV Timings API (:ref:`dv-timings`). h]h)}(hVIDIOC_G_DV_PRESET, VIDIOC_S_DV_PRESET, VIDIOC_ENUM_DV_PRESETS and VIDIOC_QUERY_DV_PRESET ioctls. Use the DV Timings API (:ref:`dv-timings`).h](hzVIDIOC_G_DV_PRESET, VIDIOC_S_DV_PRESET, VIDIOC_ENUM_DV_PRESETS and VIDIOC_QUERY_DV_PRESET ioctls. Use the DV Timings API (}(hjMOhhhNhNubh)}(h:ref:`dv-timings`h]j6)}(hjWOh]h dv-timings}(hjYOhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjUOubah}(h]h ]h"]h$]h&]refdocj+ refdomainjcOreftyperef refexplicitrefwarnj@ dv-timingsuh1hhhhMhjMOubh).}(hjMOhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjIOubah}(h]h ]h"]h$]h&]uh1j4hjNhhhhhNubj5)}(h``VIDIOC_SUBDEV_G_CROP`` and ``VIDIOC_SUBDEV_S_CROP`` ioctls. Use ``VIDIOC_SUBDEV_G_SELECTION`` and ``VIDIOC_SUBDEV_S_SELECTION``, :ref:`VIDIOC_SUBDEV_G_SELECTION`. h]h)}(h``VIDIOC_SUBDEV_G_CROP`` and ``VIDIOC_SUBDEV_S_CROP`` ioctls. Use ``VIDIOC_SUBDEV_G_SELECTION`` and ``VIDIOC_SUBDEV_S_SELECTION``, :ref:`VIDIOC_SUBDEV_G_SELECTION`.h](j)}(h``VIDIOC_SUBDEV_G_CROP``h]hVIDIOC_SUBDEV_G_CROP}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh and }(hjOhhhNhNubj)}(h``VIDIOC_SUBDEV_S_CROP``h]hVIDIOC_SUBDEV_S_CROP}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh ioctls. Use }(hjOhhhNhNubj)}(h``VIDIOC_SUBDEV_G_SELECTION``h]hVIDIOC_SUBDEV_G_SELECTION}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh and }hjOsbj)}(h``VIDIOC_SUBDEV_S_SELECTION``h]hVIDIOC_SUBDEV_S_SELECTION}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh, }(hjOhhhNhNubh)}(h :ref:`VIDIOC_SUBDEV_G_SELECTION`h]j6)}(hjOh]hVIDIOC_SUBDEV_G_SELECTION}(hjOhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j5hjOubah}(h]h ]h"]h$]h&]refdocj+ refdomainjOreftyperef refexplicitrefwarnj@vidioc_subdev_g_selectionuh1hhhhMhjOubh.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjOubah}(h]h ]h"]h$]h&]uh1j4hjNhhhhhNubeh}(h]h ]h"]h$]h&]jNjNuh1jNhhhMhjNhhubhfootnote)}(h#This is not implemented in XFree86.h](hlabel)}(hhh]h1}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1jPhj PhhhNhNubh)}(hjPh]h#This is not implemented in XFree86.}(hj PhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj Pubeh}(h]jLah ]h"]f1ah$]h&]jLajLKjLj+uh1j PhhhMhjNhhubeh}(h](obsolete-api-elementsjNeh ]h"](obsolete api elementsobsoleteeh$]h&]uh1hhhhhhhhMjwM}j:PjNsjyM}jNjNsubeh}(h](changes-of-the-v4l2-apiheh ]h"](changes of the v4l2 api hist-v4l2eh$]h&]uh1hhhhhhhhKjwM}jEPhsjyM}hhsubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksjfootnote_backlinksK sectnum_xformKstrip_commentsNstrip_elements_with_classesN strip_classesN report_levelK halt_levelKexit_status_levelKdebugNwarning_streamN tracebackinput_encoding utf-8-siginput_encoding_error_handlerstrictoutput_encodingutf-8output_encoding_error_handlerjlPerror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}f1]jLasrefids}(h]hajqL]jgLajL]jLajM]jMajN]jNajL]jLaunameids}(jEPhjDPjAPj0j-jWjTj~j{jjjkjhj j j j j j j$j$j@'j='j=*j:*j*j*j/+j,+je,jb,j,j,j.j.j:/j7/j/j/j 0j0jh0je0j1j1j3j3jb5j_5j6j}6j6j6j87j57j8j8j9j9j<j<j<j<j=j=jz>jw>j?j?j2@j/@jAjAjAjAjTBjQBjBjBjCjCjZCjWCjCjCjXDjUDj:Ej7EjGjGjZHjWHjIjIjIjIjIjIj8Jj5JjrJjoJjJjJj"KjKjKj}KjKjKjwLjtLjMjqLjMjMjtMjLjsMjpMjMjMjMjMjNjMjNjNj:PjNj9Pj6Pj1PjLu nametypes}(jEPjDPj0jWj~jjkj j j j$j@'j=*j*j/+je,j,j.j:/j/j 0jh0j1j3jb5j6j6j87j8j9j<j<j=jz>j?j2@jAjAjTBjBjCjZCjCjXDj:EjGjZHjIjIjIj8JjrJjJj"KjKjKjwLjMjMjtMjsMjMjMjNjNj:Pj9Pj1Puh}(hhjAPhj-hjTj3j{jZjjjhjj jnj j j j j$j j='j$j:*jC'j*j@*j,+j*jb,j2+j,jh,j.j,j7/j.j/j=/j0j/je0j 0j1jk0j3j1j_5j3j}6je5j6j6j57j6j8j;7j9j8j<j!9j<j<j=j<jw>j=j?j}>j/@j?jAj5@jAjAjQBjAjBjWBjCjBjWCjCjCj]CjUDjCj7Ej[DjGj=EjWHjGjIj]HjIjIjIjIj5JjIjoJj;JjJjuJjKjJj}Kj%KjKjKjtLjKjqLjzLjMjzLjLjLjpMjLjLjLjMj{MjMjMjMjMjNjMjNjNj6PjNjLj Pu footnote_refs}jP]jLas citation_refs} autofootnotes]j Paautofootnote_refs]jLasymbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}jzPKsRparse_messages]hsystem_message)}(hhh]h)}(heUnexpected possible title overline or transition. Treating it as ordinary text because it's so short.h]hgUnexpected possible title overline or transition. Treating it as ordinary text because it’s so short.}(hjPhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjPubah}(h]h ]h"]h$]h&]levelKtypeINFOlineMsourcehuh1jPhjubatransform_messages](jP)}(hhh]h)}(hhh]h/Hyperlink target "hist-v4l2" is not referenced.}hjPsbah}(h]h ]h"]h$]h&]uh1hhjPubah}(h]h ]h"]h$]h&]levelKtypejPsourcehlineKuh1jPubjP)}(hhh]h)}(hhh]h+Hyperlink target "other" is not referenced.}hjQsbah}(h]h ]h"]h$]h&]uh1hhjQubah}(h]h ]h"]h$]h&]levelKtypejPsourcehlineMuh1jPubjP)}(hhh]h)}(hhh]h,Hyperlink target "xvideo" is not referenced.}hj.Qsbah}(h]h ]h"]h$]h&]uh1hhj+Qubah}(h]h ]h"]h$]h&]levelKtypejPsourcehlineMuh1jPubjP)}(hhh]h)}(hhh]h2Hyperlink target "experimental" is not referenced.}hjHQsbah}(h]h ]h"]h$]h&]uh1hhjEQubah}(h]h ]h"]h$]h&]levelKtypejPsourcehlineMuh1jPubjP)}(hhh]h)}(hhh]h.Hyperlink target "obsolete" is not referenced.}hjbQsbah}(h]h ]h"]h$]h&]uh1hhj_Qubah}(h]h ]h"]h$]h&]levelKtypejPsourcehlineMuh1jPube transformerN include_log] decorationNhhub.