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]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget5/translations/pt_BR/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.}(hj hhhNhNubah}(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)}(hj$h]hselect()}(hj(hhhNhNubah}(h]h ](xrefcc-funceh"]h$]h&]uh1j&hj"ubah}(h]h ]h"]h$]h&]refdoc!userspace-api/media/v4l/hist-v4l2 refdomainj3reftypefunc refexplicitrefwarn c:parent_keysphinx.domains.c LookupKey)}data]jF 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.}(hj`hhhNhNubah}(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 }(hjnhhhNhNubj')}(h``VIDIOC_NONCAP``h]h VIDIOC_NONCAP}(hjvhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjnubh1 ioctl was replaced by the otherwise meaningless }(hjnhhhNhNubj')}(h ``O_TRUNC``h]hO_TRUNC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjnubh }(hjnhhhNhNubh)}(h:c:func:`open()`h]j')}(hjh]hopen()}(hjhhhNhNubah}(h]h ](j2j3c-funceh"]h$]h&]uh1j&hjubah}(h]h ]h"]h$]h&]refdocj? refdomainj3reftypefunc refexplicitrefwarnjEjIjTopenuh1hhhhKhjnubh flag, and the aliases }(hjnhhhNhNubj')}(h ``O_NONCAP``h]hO_NONCAP}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjnubh and }(hjnhhhNhNubj')}(h ``O_NOIO``h]hO_NOIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjnubh were defined. Applications can set this flag if they intend to access controls only, as opposed to capture applications which need exclusive access. The }(hjnhhhNhNubj')}(h``VIDEO_STD_XXX``h]h VIDEO_STD_XXX}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjnubh8 identifiers are now ordinals instead of flags, and the }(hjnhhhNhNubj')}(h``video_std_construct()``h]hvideo_std_construct()}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjnubh5 helper function takes id and transmission arguments.}(hjnhhhNhNubeh}(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.}(hj hhhNhNubah}(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&]uh1j&hjubh field was removed from struct }(hjhhhNhNubj')}(h``video_standard``h]hvideo_standard}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh3 and the color subcarrier fields were renamed. The }(hjhhhNhNubh)}(h:ref:`VIDIOC_QUERYSTD`h]hinline)}(hjGh]hVIDIOC_QUERYSTD}(hjKhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjEubah}(h]h ]h"]h$]h&]refdocj? refdomainjUreftyperef refexplicitrefwarnjTvidioc_querystduh1hhhhK'hjubh ioctl was renamed to }(hjhhhNhNubh)}(h:ref:`VIDIOC_ENUMSTD`h]jJ)}(hjmh]hVIDIOC_ENUMSTD}(hjohhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjkubah}(h]h ]h"]h$]h&]refdocj? refdomainjyreftyperef refexplicitrefwarnjTvidioc_enumstduh1hhhhK'hjubh, }(hjhhhNhNubh)}(h&:ref:`VIDIOC_G_INPUT `h]jJ)}(hjh]hVIDIOC_G_INPUT}(hjhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjubah}(h]h ]h"]h$]h&]refdocj? refdomainjreftyperef refexplicitrefwarnjTvidioc_g_inputuh1hhhhK'hjubh to }(hjhhhNhNubh)}(h:ref:`VIDIOC_ENUMINPUT`h]jJ)}(hjh]hVIDIOC_ENUMINPUT}(hjhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjubah}(h]h ]h"]h$]h&]refdocj? refdomainjreftyperef refexplicitrefwarnjTvidioc_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&]uh1j&hjubh changed to }(hjhhhNhNubj')}(h``V4L2_PIX_FMT_BGR24``h]hV4L2_PIX_FMT_BGR24}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh, and }(hjhhhNhNubj')}(h``V4L2_PIX_FMT_RGB32``h]hV4L2_PIX_FMT_RGB32}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh changed to }hjsbj')}(h``V4L2_PIX_FMT_BGR32``h]hV4L2_PIX_FMT_BGR32}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh-. Audio controls are now accessible with the }(hjhhhNhNubh)}(h$:ref:`VIDIOC_G_CTRL `h]jJ)}(hjKh]h VIDIOC_G_CTRL}(hjMhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjIubah}(h]h ]h"]h$]h&]refdocj? refdomainjWreftyperef refexplicitrefwarnjT vidioc_g_ctrluh1hhhhK4hjubh and }(hjhhhNhNubh)}(h$:ref:`VIDIOC_S_CTRL `h]jJ)}(hjoh]h VIDIOC_S_CTRL}(hjqhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjmubah}(h]h ]h"]h$]h&]refdocj? refdomainj{reftyperef refexplicitrefwarnjT vidioc_g_ctrluh1hhhhK4hjubh" ioctls under names starting with }(hjhhhNhNubj')}(h``V4L2_CID_AUDIO``h]hV4L2_CID_AUDIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh. The }(hjhhhNhNubj')}(h``V4L2_MAJOR``h]h V4L2_MAJOR}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh define was removed from }(hjhhhNhNubj')}(h``videodev.h``h]h videodev.h}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh$ since it was only used once in the }(hjhhhNhNubj')}(h ``videodev``h]hvideodev}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh kernel module. The }(hjhhhNhNubj')}(h ``YUV422``h]hYUV422}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh and }(hjhhhNhNubj')}(h ``YUV411``h]hYUV411}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh! 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 }(hjhhhNhNubj')}(h``VIDIOC_NEXTBUF``h]hVIDIOC_NEXTBUF}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh ioctl was removed.}(hjhhhNhNubeh}(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}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjGhhhhhKEubh)}(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.}(hjXhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKGhjGhhubeh}(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}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjnhhhhhKLubh)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKNhjnhhubeh}(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}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1j)hj!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 }(hjNhhhNhNubj')}(h``V4L2_FMT_FLAG``h]h V4L2_FMT_FLAG}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjNubhZ symbols were fixed. struct v4l2_clip was changed for compatibility with v4l. (1999-08-30)}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKshjJubah}(h]h ]h"]h$]h&]uh1jHhjEhhhhhNubjI)}(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}(hj|hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjxubh was added. (1999-09-05)}(hjxhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKvhjtubah}(h]h ]h"]h$]h&]uh1jHhjEhhhhhNubjI)}(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&]hhƌforcelanguagej3highlight_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&]hhjjj3j}uh1jhhhKhjubeh}(h]h ]h"]h$]h&]uh1jHhjEhhhNhNubjI)}(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]jJ)}(hjh]h VIDIOC_G_FMT}(hjhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjubah}(h]h ]h"]h$]h&]refdocj? refdomainjreftyperef refexplicitrefwarnjT vidioc_g_fmtuh1hhhhKhjubh and }(hjhhhNhNubh)}(h":ref:`VIDIOC_S_FMT `h]jJ)}(hjh]h VIDIOC_S_FMT}(hjhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjubah}(h]h ]h"]h$]h&]refdocj? refdomainj!reftyperef refexplicitrefwarnjT 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}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj=ubh, }(hj=hhhNhNubj')}(h``VIDIOC_G_INFMT``h]hVIDIOC_G_INFMT}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj=ubh, }(hj=hhhNhNubj')}(h``VIDIOC_S_OUTFMT``h]hVIDIOC_S_OUTFMT}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj=ubh, }hj=sbj')}(h``VIDIOC_G_OUTFMT``h]hVIDIOC_G_OUTFMT}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj=ubh, }hj=sbj')}(h``VIDIOC_S_VBIFMT``h]hVIDIOC_S_VBIFMT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj=ubh and }(hj=hhhNhNubj')}(h``VIDIOC_G_VBIFMT``h]hVIDIOC_G_VBIFMT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj=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&]uh1jHhjEhhhhhNubjI)}(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&]uh1j&hjubh and }(hjhhhNhNubj')}(h``VIDIOC_S_PARM``h]h VIDIOC_S_PARM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh ioctls were merged with }(hjhhhNhNubj')}(h``VIDIOC_G_OUTPARM``h]hVIDIOC_G_OUTPARM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh and }hjsbj')}(h``VIDIOC_S_OUTPARM``h]hVIDIOC_S_OUTPARM}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh. A }(hjhhhNhNubj')}(h``type``h]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubhM 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 }(hj)hhhNhNubj')}(h``VIDIOC_G_OUTPARM``h]hVIDIOC_G_OUTPARM}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj)ubh and }(hj)hhhNhNubj')}(h``VIDIOC_S_OUTPARM``h]hVIDIOC_S_OUTPARM}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj)ubh ioctls.}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubeh}(h]h ]h"]h$]h&]uh1jHhjEhhhhhNubjI)}(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 }(hjehhhNhNubj')}(h ``catname``h]hcatname}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjeubh field was replaced by a }(hjehhhNhNubj')}(h ``group``h]hgroup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjeubh field.}(hjehhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjaubh)}(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&]uh1j&hjubh and }(hjhhhNhNubj')}(h``V4L2_CTRL_FLAG_GRABBED``h]hV4L2_CTRL_FLAG_GRABBED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh respectively. The }(hjhhhNhNubj')}(h ``group``h]hgroup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh< name indicates a possibly narrower classification than the }(hjhhhNhNubj')}(h ``category``h]hcategory}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh. 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&]uh1hhhhKhjaubeh}(h]h ]h"]h$]h&]uh1jHhjEhhhhhNubjI)}(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&]uh1j&hjubhX 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&]uh1jHhjEhhhhhNubjI)}(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 }(hj7hhhNhNubj')}(h ``sequence``h]hsequence}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj7ubh, field was added to struct v4l2_buffer. The }(hj7hhhNhNubj')}(h ``sequence``h]hsequence}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj7ubh 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.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj3ubah}(h]h ]h"]h$]h&]uh1jHhjEhhhhhNubeh}(h]h ]h"]h$]h&]enumtypearabicprefixhsuffix.uh1jChjhhhhhKsubeh}(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}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(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&]uh1j&hjubh field became }(hjhhhNhNubj')}(h ``offset``h]hoffset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh0. Previously drivers were required to clear the }(hjhhhNhNubj')}(h ``reserved1``h]h reserved1}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh field.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(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&]uh1j&hjubh flag was added.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(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&]uh1j&hjubh header is now included by }(hjhhhNhNubj')}(h``videodev.h``h]h videodev.h}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh% for compatibility with the original }(hjhhhNhNubj')}(h``videodev.h``h]h videodev.h}(hj# hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh file.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(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}(hjC hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj; ubh and }(hj; hhhNhNubj')}(h``V4L2_PIX_FMT_Y41P``h]hV4L2_PIX_FMT_Y41P}(hjU hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj; ubh were added.}(hj; hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(h.2000-11-25: ``V4L2_TYPE_VBI_INPUT`` was added.h](h 2000-11-25: }(hjm hhhNhNubj')}(h``V4L2_TYPE_VBI_INPUT``h]hV4L2_TYPE_VBI_INPUT}(hju hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjm ubh was added.}(hjm hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(h62000-12-04: A couple typos in symbol names were fixed.h]h62000-12-04: A couple typos in symbol names were fixed.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(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&]uh1j&hj ubh macro defined in the }(hj hhhNhNubj')}(h``videodev.h``h]h videodev.h}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj ubh header file was renamed to }(hj hhhNhNubj')}(h``v4l2_fourcc``h]h v4l2_fourcc}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(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&]uh1j&hj 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&]uh1j&hj ubh file included in the }(hj hhhNhNubj')}(h ``videodevX``h]h videodevX}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj ubh1 patch was fixed. Users of an earlier version of }(hj hhhNhNubj')}(h ``videodevX``h]h videodevX}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj ubh< on Linux 2.4.0 should recompile their V4L and V4L2 drivers.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(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 }(hj5 hhhNhNubj')}(h``videodev.h``h]h videodev.h}(hj= hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj5 ubh file in the }(hj5 hhhNhNubj')}(h ``videodevX``h]h videodevX}(hjO hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj5 ubh patch and the }(hj5 hhhNhNubj')}(h``videodev.h``h]h videodev.h}(hja hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj5 ubh: file in Linux 2.2.x with devfs patches applied was fixed.}(hj5 hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(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?]}(hjy hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(h52001-04-13: Big endian 16-bit RGB formats were added.h]h52001-04-13: Big endian 16-bit RGB formats were added.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(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]jJ)}(hj h]hVIDIOC_G_FREQUENCY}(hj hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj ubah}(h]h ]h"]h$]h&]refdocj? refdomainj reftyperef refexplicitrefwarnjTvidioc_g_frequencyuh1hhhhKhj ubh and }(hj hhhNhNubh)}(h.:ref:`VIDIOC_S_FREQUENCY `h]jJ)}(hj h]hVIDIOC_S_FREQUENCY}(hj hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj ubah}(h]h ]h"]h$]h&]refdocj? refdomainj reftyperef refexplicitrefwarnjTvidioc_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&]uh1j&hj ubh and }(hj hhhNhNubj')}(h``VIDIOC_S_FREQ``h]h VIDIOC_S_FREQ}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj ubh3 ioctls did not take multiple tuners into account.)}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubh)}(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&]uh1j&hj ubh was added. This may }(hj hhhNhNubj*)}(h*break compatibility*h]hbreak compatibility}(hj) hhhNhNubah}(h]h ]h"]h$]h&]uh1j)hj ubh as the }(hj hhhNhNubh)}(h":ref:`VIDIOC_G_FMT `h]jJ)}(hj= h]h VIDIOC_G_FMT}(hj? hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj; ubah}(h]h ]h"]h$]h&]refdocj? refdomainjI reftyperef refexplicitrefwarnjT vidioc_g_fmtuh1hhhhKhj ubh and }(hj hhhNhNubh)}(h":ref:`VIDIOC_S_FMT `h]jJ)}(hja h]h VIDIOC_S_FMT}(hjc hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj_ ubah}(h]h ]h"]h$]h&]refdocj? refdomainjm reftyperef refexplicitrefwarnjT vidioc_g_fmtuh1hhhhKhj ubh# ioctls may fail now if the struct }(hj hhhNhNubj')}(h ``v4l2_fmt``h]hv4l2_fmt}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj ubh }(hj hhhNhNubj')}(h``type``h]htype}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj ubh field does not contain }(hj hhhNhNubj')}(h``V4L2_BUF_TYPE_VBI``h]hV4L2_BUF_TYPE_VBI}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj ubh;. In the documentation of the struct v4l2_vbi_format`, the }(hj hhhNhNubj')}(h ``offset``h]hoffset}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj ubhP field the ambiguous phrase “rising edge” was changed to “leading edge”.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubeh}(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 hhubjD)}(hhh](jI)}(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&]uh1j&hj ubh [0] and }(hj hhhNhNubj')}(h ``start``h]hstart}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj 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&]uh1j&hj 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&]uh1jHhj hhhhhNubjI)}(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 }(hjM hhhNhNubj')}(h ``count``h]hcount}(hjU hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjM ubh\ values will usually be equal is misleading and pointless and has been removed. This change }(hjM hhhNhNubj*)}(h*breaks compatibility*h]hbreaks compatibility}(hjg hhhNhNubah}(h]h ]h"]h$]h&]uh1j)hjM ubh+ with earlier versions: Drivers may return }(hjM hhhNhNubj')}(h ``EINVAL``h]hEINVAL}(hjy hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjM ubh*, applications may not function correctly.}(hjM hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM hjI ubah}(h]h ]h"]h$]h&]uh1jHhj hhhhhNubjI)}(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&]uh1j)hj 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&]uh1j&hj ubh and }(hj hhhNhNubj')}(h ``EINVAL``h]hEINVAL}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj ubh error codes with the }(hj hhhNhNubh)}(h":ref:`VIDIOC_S_FMT `h]jJ)}(hj h]h VIDIOC_S_FMT}(hj hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj ubah}(h]h ]h"]h$]h&]refdocj? refdomainj reftyperef refexplicitrefwarnjT vidioc_g_fmtuh1hhhhMhj ubh ioctl was clarified. The }(hj hhhNhNubj')}(h ``EBUSY``h]hEBUSY}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj ubh, error code was finally documented, and the }(hj hhhNhNubj')}(h ``reserved2``h]h reserved2}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj 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&]uh1j&hj ubh header file.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1jHhj hhhhhNubjI)}(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 }(hjC hhhNhNubj')}(h``V4L2_TYPE_VBI_INPUT``h]hV4L2_TYPE_VBI_INPUT}(hjK hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjC ubh and }(hjC hhhNhNubj')}(h``V4L2_TYPE_VBI_OUTPUT``h]hV4L2_TYPE_VBI_OUTPUT}(hj] hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjC ubh0 were added. The former is an alias for the old }(hjC hhhNhNubj')}(h``V4L2_TYPE_VBI``h]h V4L2_TYPE_VBI}(hjo hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjC ubh , the latter was missing in the }(hjC hhhNhNubj')}(h``videodev.h``h]h videodev.h}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjC ubh file.}(hjC hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj? ubah}(h]h ]h"]h$]h&]uh1jHhj hhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj 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 hhubjD)}(hhh](jI)}(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]jJ)}(hjh]hrelated}(hjhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjubah}(h]h ]h"]h$]h&]refdocj? refdomainjreftyperef refexplicitrefwarnjTrelateduh1hhhhM*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&]uh1jHhj hhhhhNubjI)}(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 }(hj6hhhNhNubh)}(h:c:func:`open()`h]j')}(hj@h]hopen()}(hjBhhhNhNubah}(h]h ](j2j3c-funceh"]h$]h&]uh1j&hj>ubah}(h]h ]h"]h$]h&]refdocj? refdomainj3reftypefunc refexplicitrefwarnjEjIjTopenuh1hhhhM-hj6ubh function requires access mode }(hj6hhhNhNubj')}(h ``O_RDWR``h]hO_RDWR}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj6ubhd regardless of the device type. All V4L2 drivers exchanging data with applications must support the }(hj6hhhNhNubj')}(h``O_NONBLOCK``h]h O_NONBLOCK}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj6ubh flag. The }(hj6hhhNhNubj')}(h ``O_NOIO``h]hO_NOIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj6ubh3 flag, a V4L2 symbol which aliased the meaningless }(hj6hhhNhNubj')}(h ``O_TRUNC``h]hO_TRUNC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj6ubh 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 }(hj6hhhNhNubh)}(h :ref:`open`h]jJ)}(hjh]hopen}(hjhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjubah}(h]h ]h"]h$]h&]refdocj? refdomainjreftyperef refexplicitrefwarnjTopenuh1hhhhM-hj6ubh.}(hj6hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM-hj2ubah}(h]h ]h"]h$]h&]uh1jHhj hhhhhNubjI)}(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&]uh1j&hjubh error code to the new }(hjhhhNhNubh)}(h:ref:`VIDIOC_QUERYCAP`h]jJ)}(hjh]hVIDIOC_QUERYCAP}(hjhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjubah}(h]h ]h"]h$]h&]refdocj? refdomainjreftyperef refexplicitrefwarnjTvidioc_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}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh, the }(hj!hhhNhNubj')}(h``V4L2_CAP_AUDIO``h]hV4L2_CAP_AUDIO}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!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}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh0 field became a bit set and was merged into the }(hj!hhhNhNubj')}(h ``flags``h]hflags}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh field. }(hj!hhhNhNubj')}(h``V4L2_FLAG_TUNER``h]hV4L2_FLAG_TUNER}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh was renamed to }(hj!hhhNhNubj')}(h``V4L2_CAP_TUNER``h]hV4L2_CAP_TUNER}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh, }(hj!hhhNhNubj')}(h``V4L2_CAP_VIDEO_OVERLAY``h]hV4L2_CAP_VIDEO_OVERLAY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh replaced }(hj!hhhNhNubj')}(h``V4L2_FLAG_PREVIEW``h]hV4L2_FLAG_PREVIEW}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh and }(hj!hhhNhNubj')}(h``V4L2_CAP_VBI_CAPTURE``h]hV4L2_CAP_VBI_CAPTURE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh and }(hj!hhhNhNubj')}(h``V4L2_CAP_VBI_OUTPUT``h]hV4L2_CAP_VBI_OUTPUT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh replaced }(hj!hhhNhNubj')}(h``V4L2_FLAG_DATA_SERVICE``h]hV4L2_FLAG_DATA_SERVICE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh. }(hj!hhhNhNubj')}(h``V4L2_FLAG_READ``h]hV4L2_FLAG_READ}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh and }hj!sbj')}(h``V4L2_FLAG_WRITE``h]hV4L2_FLAG_WRITE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh were merged into }(hj!hhhNhNubj')}(h``V4L2_CAP_READWRITE``h]hV4L2_CAP_READWRITE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!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 }(hj+hhhNhNubj')}(h ``inputs``h]hinputs}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj+ubh, }(hj+hhhNhNubj')}(h ``outputs``h]houtputs}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj+ubh and }(hj+hhhNhNubj')}(h ``audios``h]haudios}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj+ubhB were removed. These properties can be determined as described in }(hj+hhhNhNubh)}(h :ref:`video`h]jJ)}(hjkh]hvideo}(hjmhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjiubah}(h]h ]h"]h$]h&]refdocj? refdomainjwreftyperef refexplicitrefwarnjTvideouh1hhhhMHhj+ubh and }hj+sbh)}(h :ref:`audio`h]jJ)}(hjh]haudio}(hjhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjubah}(h]h ]h"]h$]h&]refdocj? refdomainjreftyperef refexplicitrefwarnjTaudiouh1hhhhMHhj+ubh.}(hj+hhhNhNubeh}(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&]uh1j&hjubh, }(hjhhhNhNubj')}(h ``maxheight``h]h maxheight}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh, }hjsbj')}(h ``minwidth``h]hminwidth}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh, }hjsbj')}(h ``minheight``h]h minheight}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh, }(hjhhhNhNubj')}(h``maxframerate``h]h maxframerate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh= were removed. This information is available as described in }(hjhhhNhNubh)}(h :ref:`format`h]jJ)}(hjh]hformat}(hjhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjubah}(h]h ]h"]h$]h&]refdocj? refdomainj'reftyperef refexplicitrefwarnjTformatuh1hhhhMLhjubh and }(hjhhhNhNubh)}(h:ref:`standard`h]jJ)}(hj?h]hstandard}(hjAhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj=ubah}(h]h ]h"]h$]h&]refdocj? refdomainjKreftyperef refexplicitrefwarnjTstandarduh1hhhhMLhjubh.}(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}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjgubh 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 }(hjghhhNhNubj')}(h``V4L2_FLAG_MONOCHROME``h]hV4L2_FLAG_MONOCHROME}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjgubhA flag was removed, this information is available as described in }(hjghhhNhNubh)}(h :ref:`format`h]jJ)}(hjh]hformat}(hjhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjubah}(h]h ]h"]h$]h&]refdocj? refdomainjreftyperef refexplicitrefwarnjTformatuh1hhhhMQhjgubh.}(hjghhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMQhjubeh}(h]h ]h"]h$]h&]uh1jHhj hhhhhNubjI)}(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&]uh1j&hjubh field and the }(hjhhhNhNubj')}(h``capability``h]h capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh field and its only flag }(hjhhhNhNubj')}(h``V4L2_INPUT_CAP_AUDIO``h]hV4L2_INPUT_CAP_AUDIO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh was replaced by the new }(hjhhhNhNubj')}(h ``audioset``h]haudioset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh 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&]uh1j&hjubh: (reversing the former link from tuners to video inputs), }(hjhhhNhNubj')}(h``std``h]hstd}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh and }(hjhhhNhNubj')}(h ``status``h]hstatus}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh.}(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 }(hj]hhhNhNubj')}(h``capability``h]h capability}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj]ubh and }(hj]hhhNhNubj')}(h``assoc_audio``h]h assoc_audio}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj]ubh fields. }(hj]hhhNhNubj')}(h ``audioset``h]haudioset}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj]ubh, }(hj]hhhNhNubj')}(h ``modulator``h]h modulator}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj]ubh and }hj]sbj')}(h``std``h]hstd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj]ubh where added instead.}(hj]hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM`hjubeh}(h]h ]h"]h$]h&]uh1jHhj hhhhhNubjI)}(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&]uh1j&hjubh was renamed to }(hjhhhNhNubj')}(h ``index``h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh?, for consistency with other structures. A new capability flag }(hjhhhNhNubj')}(h``V4L2_AUDCAP_STEREO``h]hV4L2_AUDCAP_STEREO}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubhN was added to indicated if the audio input in question supports stereo sound. }(hjhhhNhNubj')}(h``V4L2_AUDCAP_EFFECTS``h]hV4L2_AUDCAP_EFFECTS}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh and the corresponding }(hjhhhNhNubj')}(h``V4L2_AUDMODE``h]h V4L2_AUDMODE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh| 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 }(hj7hhhNhNubj')}(h ``audio``h]haudio}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj7ubh was renamed to }(hj7hhhNhNubj')}(h ``index``h]hindex}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj7ubh.}(hj7hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMlhjubeh}(h]h ]h"]h$]h&]uh1jHhj hhhhhNubjI)}(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 }(hjshhhNhNubj')}(h ``input``h]hinput}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjsubh field was replaced by an }(hjshhhNhNubj')}(h ``index``h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjsubh field, permitting devices with multiple tuners. The link between video inputs and tuners is now reversed, inputs point to their tuner. The }(hjshhhNhNubj')}(h``std``h]hstd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjsubh^ substructure became a simple set (more about this below) and moved into struct v4l2_input. A }(hjshhhNhNubj')}(h``type``h]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjsubh field was added.}(hjshhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMohjoubh)}(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&]uh1j&hjubh was replaced by an }(hjhhhNhNubj')}(h ``index``h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh field.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMvhjoubh)}(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&]uh1j&hjubh field was replaced by a }(hjhhhNhNubj')}(h ``tuner``h]htuner}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubhJ field containing the respective tuner or modulator index number. A tuner }(hjhhhNhNubj')}(h``type``h]htype}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh field was added and the }(hjhhhNhNubj')}(h ``reserved``h]hreserved}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubhL field became larger for future extensions (satellite tuners in particular).}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMyhjoubeh}(h]h ]h"]h$]h&]uh1jHhj hhhhhNubjI)}(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 }(hj[hhhNhNubh)}(h :ref:`v4l2_std_id `h]jJ)}(hjeh]h v4l2_std_id}(hjghhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjcubah}(h]h ]h"]h$]h&]refdocj? refdomainjqreftyperef refexplicitrefwarnjT v4l2-std-iduh1hhhhMhj[ubh and symbols defined in the }(hj[hhhNhNubj')}(h``videodev2.h``h]h videodev2.h}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj[ubh header file. For details see }(hj[hhhNhNubh)}(h:ref:`standard`h]jJ)}(hjh]hstandard}(hjhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjubah}(h]h ]h"]h$]h&]refdocj? refdomainjreftyperef refexplicitrefwarnjTstandarduh1hhhhMhj[ubh. The }(hj[hhhNhNubh)}(h":ref:`VIDIOC_G_STD `h]jJ)}(hjh]h VIDIOC_G_STD}(hjhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjubah}(h]h ]h"]h$]h&]refdocj? refdomainjreftyperef refexplicitrefwarnjT vidioc_g_stduh1hhhhMhj[ubh and }(hj[hhhNhNubh)}(h":ref:`VIDIOC_S_STD `h]jJ)}(hjh]h VIDIOC_S_STD}(hjhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjubah}(h]h ]h"]h$]h&]refdocj? refdomainjreftyperef refexplicitrefwarnjT vidioc_g_stduh1hhhhMhj[ubh. now take a pointer to this type as argument. }(hj[hhhNhNubh)}(h:ref:`VIDIOC_QUERYSTD`h]jJ)}(hjh]hVIDIOC_QUERYSTD}(hj hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjubah}(h]h ]h"]h$]h&]refdocj? refdomainjreftyperef refexplicitrefwarnjTvidioc_querystduh1hhhhMhj[ubhp was added to autodetect the received standard, if the hardware has this capability. In struct v4l2_standard an }(hj[hhhNhNubj')}(h ``index``h]hindex}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj[ubh field was added for }(hj[hhhNhNubh)}(h:ref:`VIDIOC_ENUMSTD`h]jJ)}(hj=h]hVIDIOC_ENUMSTD}(hj?hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj;ubah}(h]h ]h"]h$]h&]refdocj? refdomainjIreftyperef refexplicitrefwarnjTvidioc_enumstduh1hhhhMhj[ubh. A }(hj[hhhNhNubh)}(h :ref:`v4l2_std_id `h]jJ)}(hjah]h v4l2_std_id}(hjchhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj_ubah}(h]h ]h"]h$]h&]refdocj? refdomainjmreftyperef refexplicitrefwarnjT v4l2-std-iduh1hhhhMhj[ubh field named }(hj[hhhNhNubj')}(h``id``h]hid}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj[ubh> was added as machine readable identifier, also replacing the }(hj[hhhNhNubj')}(h``transmission``h]h transmission}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj[ubh field. The misleading }(hj[hhhNhNubj')}(h ``framerate``h]h framerate}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj[ubh field was renamed to }(hj[hhhNhNubj')}(h``frameperiod``h]h frameperiod}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj[ubh. The now obsolete }(hj[hhhNhNubj')}(h``colorstandard``h]h colorstandard}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj[ubh[ information, originally needed to distguish between variations of standards, were removed.}(hj[hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjWubh)}(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&]uh1j&hjubh ceased to be. }(hjhhhNhNubh)}(h:ref:`VIDIOC_ENUMSTD`h]jJ)}(hjh]hVIDIOC_ENUMSTD}(hjhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjubah}(h]h ]h"]h$]h&]refdocj? refdomainj reftyperef refexplicitrefwarnjTvidioc_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&]uh1j&hjubh, respectively.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjWubeh}(h]h ]h"]h$]h&]uh1jHhj hhhhhNubjI)}(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 }(hjChhhNhNubh)}(h&:ref:`v4l2_queryctrl `h]jJ)}(hjMh]hv4l2_queryctrl}(hjOhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjKubah}(h]h ]h"]h$]h&]refdocj? refdomainjYreftyperef refexplicitrefwarnjTv4l2-queryctrluh1hhhhMhjCubh fields }(hjChhhNhNubj')}(h ``category``h]hcategory}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjCubh and }(hjChhhNhNubj')}(h ``group``h]hgroup}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjCubhP did not catch on and/or were not implemented as expected and therefore removed.}(hjChhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj?ubah}(h]h ]h"]h$]h&]uh1jHhj hhhhhNubjI)}(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]jJ)}(hjh]hVIDIOC_TRY_FMT}(hjhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjubah}(h]h ]h"]h$]h&]refdocj? refdomainjreftyperef refexplicitrefwarnjT vidioc_g_fmtuh1hhhhMhjubh3 ioctl was added to negotiate data formats as with }(hjhhhNhNubh)}(h":ref:`VIDIOC_S_FMT `h]jJ)}(hjh]h VIDIOC_S_FMT}(hjhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjubah}(h]h ]h"]h$]h&]refdocj? refdomainjreftyperef refexplicitrefwarnjT 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&]uh1j&hjubhg 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&]uh1j&hjubh, }(hjhhhNhNubj')}(h``VIDIOC_S_FMT``h]h VIDIOC_S_FMT}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh and }(hjhhhNhNubj')}(h``VIDIOC_TRY_FMT``h]hVIDIOC_TRY_FMT}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh ; ioctl. The }(hjhhhNhNubj')}(h``VIDIOC_G_WIN``h]h VIDIOC_G_WIN}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh and }(hjhhhNhNubj')}(h``VIDIOC_S_WIN``h]h VIDIOC_S_WIN}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh9 ioctls to prepare for a video overlay were removed. The }(hjhhhNhNubj')}(h``type``h]htype}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubhW 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&]colwidthK2uh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK2uh1jhjubhthead)}(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&]uh1jhjubhtbody)}(hhh](j)}(hhh](j)}(hhh]h)}(h``V4L2_BUF_TYPE_CAPTURE``h]j')}(hjh]hV4L2_BUF_TYPE_CAPTURE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubah}(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&]uh1j&hjubah}(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')}(hjAh]hV4L2_BUF_TYPE_CODECIN}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj?ubah}(h]h ]h"]h$]h&]uh1hhhhMhj<ubah}(h]h ]h"]h$]h&]uh1jhj9ubj)}(hhh]h)}(hOmitted for nowh]hOmitted for now}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj\ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``V4L2_BUF_TYPE_CODECOUT``h]j')}(hjh]hV4L2_BUF_TYPE_CODECOUT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubah}(h]h ]h"]h$]h&]uh1hhhhMhj|ubah}(h]h ]h"]h$]h&]uh1jhjyubj)}(hhh]h)}(hOmitted for nowh]hOmitted for now}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(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&]uh1j&hjubah}(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&]uh1j&hjubah}(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_EFFECTSOUT``h]j')}(hjAh]hV4L2_BUF_TYPE_EFFECTSOUT}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj?ubah}(h]h ]h"]h$]h&]uh1hhhhMhj<ubah}(h]h ]h"]h$]h&]uh1jhj9ubj)}(hhh]h)}(hOmitted for nowh]hOmitted for now}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj\ubah}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``V4L2_BUF_TYPE_VIDEOOUT``h]j')}(hjh]hV4L2_BUF_TYPE_VIDEOOUT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubah}(h]h ]h"]h$]h&]uh1hhhhMhj|ubah}(h]h ]h"]h$]h&]uh1jhjyubj)}(hhh]h)}(h``V4L2_BUF_TYPE_VIDEO_OUTPUT``h]j')}(hjh]hV4L2_BUF_TYPE_VIDEO_OUTPUT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjyubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``-``h]j')}(hjh]h-}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubah}(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&]uh1j&hjubah}(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&]uh1j&hjubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h``V4L2_BUF_TYPE_VBI_CAPTURE``h]j')}(hj3h]hV4L2_BUF_TYPE_VBI_CAPTURE}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj1ubah}(h]h ]h"]h$]h&]uh1hhhhMhj.ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``-``h]j')}(hj\h]h-}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjZubah}(h]h ]h"]h$]h&]uh1hhhhMhjWubah}(h]h ]h"]h$]h&]uh1jhjTubj)}(hhh]h)}(h``V4L2_BUF_TYPE_VBI_OUTPUT``h]j')}(hj|h]hV4L2_BUF_TYPE_VBI_OUTPUT}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjzubah}(h]h ]h"]h$]h&]uh1hhhhMhjwubah}(h]h ]h"]h$]h&]uh1jhjTubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``-``h]j')}(hjh]h-}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubah}(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&]uh1j&hjubah}(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&]uh1j&hjubah}(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&]uh1j&hj ubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``V4L2_BUF_TYPE_PRIVATE_BASE``h]j')}(hj7h]hV4L2_BUF_TYPE_PRIVATE_BASE}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj5ubah}(h]h ]h"]h$]h&]uh1hhhhMhj2ubah}(h]h ]h"]h$]h&]uh1jhj/ubj)}(hhh]h)}(h2``V4L2_BUF_TYPE_PRIVATE`` (but this is deprecated)h](j')}(h``V4L2_BUF_TYPE_PRIVATE``h]hV4L2_BUF_TYPE_PRIVATE}(hjYhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjUubh (but this is deprecated)}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjRubah}(h]h ]h"]h$]h&]uh1jhj/ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jHhj hhhNhNubjI)}(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&]uh1j&hjubh) was added as in struct v4l2_format. The }(hjhhhNhNubj')}(h``VIDIOC_ENUM_FBUFFMT``h]hVIDIOC_ENUM_FBUFFMT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubhK ioctl is no longer needed and was removed. These calls can be replaced by }(hjhhhNhNubh)}(h:ref:`VIDIOC_ENUM_FMT`h]jJ)}(hjh]hVIDIOC_ENUM_FMT}(hjhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjubah}(h]h ]h"]h$]h&]refdocj? refdomainjreftyperef refexplicitrefwarnjTvidioc_enum_fmtuh1hhhhMhjubh with type }(hjhhhNhNubj')}(h``V4L2_BUF_TYPE_VIDEO_OVERLAY``h]hV4L2_BUF_TYPE_VIDEO_OVERLAY}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jHhj hhhhhNubjI)}(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 }(hj hhhNhNubj')}(h ``depth``h]hdepth}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj ubh 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 }(hj hhhNhNubj')}(h``V4L2_FMT_FLAG_COMPRESSED``h]hV4L2_FMT_FLAG_COMPRESSED}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj ubh flag. The }(hj hhhNhNubj')}(h#``V4L2_FMT_FLAG_SWCONVECOMPRESSED``h]hV4L2_FMT_FLAG_SWCONVECOMPRESSED}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj ubh 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 }(hj hhhNhNubj')}(h``V4L2_FMT_FLAG_BYTESPERLINE``h]hV4L2_FMT_FLAG_BYTESPERLINE}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj ubh. flag was redundant. Applications can set the }(hj hhhNhNubj')}(h``bytesperline``h]h bytesperline}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj ubha field to zero to get a reasonable default. Since the remaining flags were replaced as well, the }(hj hhhNhNubj')}(h ``flags``h]hflags}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj ubh field itself was removed.}(hj hhhNhNubeh}(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 }(hjhhhNhNubj')}(h ``field``h]hfield}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubh field.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubj)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthK2uh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK2uh1jhjubj)}(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')}(hj h]hV4L2_FMT_FLAG_NOT_INTERLACED}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj ubah}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h?h]h?}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj&ubah}(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}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjIubh = }(hjIhhhNhNubj')}(h``V4L2_FMT_FLAG_COMBINED``h]hV4L2_FMT_FLAG_COMBINED}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjIubeh}(h]h ]h"]h$]h&]uh1hhhhMhjFubah}(h]h ]h"]h$]h&]uh1jhjCubj)}(hhh]h)}(h``V4L2_FIELD_INTERLACED``h]j')}(hj~h]hV4L2_FIELD_INTERLACED}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj|ubah}(h]h ]h"]h$]h&]uh1hhhhMhjyubah}(h]h ]h"]h$]h&]uh1jhjCubeh}(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&]uh1j&hjubh = }(hjhhhNhNubj')}(h``V4L2_FMT_FLAG_ODDFIELD``h]hV4L2_FMT_FLAG_ODDFIELD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubeh}(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&]uh1j&hjubah}(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&]uh1j&hjubh = }(hjhhhNhNubj')}(h``V4L2_FMT_FLAG_EVENFIELD``h]hV4L2_FMT_FLAG_EVENFIELD}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``V4L2_FIELD_BOTTOM``h]j')}(hj6h]hV4L2_FIELD_BOTTOM}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj4ubah}(h]h ]h"]h$]h&]uh1hhhhMhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``-``h]j')}(hj_h]h-}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj]ubah}(h]h ]h"]h$]h&]uh1hhhhMhjZubah}(h]h ]h"]h$]h&]uh1jhjWubj)}(hhh]h)}(h``V4L2_FIELD_SEQ_TB``h]j')}(hjh]hV4L2_FIELD_SEQ_TB}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj}ubah}(h]h ]h"]h$]h&]uh1hhhhMhjzubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h``-``h]j')}(hjh]h-}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjubah}(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&]uh1j&hjubah}(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&]uh1j&hjubah}(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&]uh1j&hjubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubah}(h]h ]h"]h$]h&]uh1jhjubh)}(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 }(hjEhhhNhNubj')}(h``colorspace``h]h colorspace}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjEubh field, where one of }(hjEhhhNhNubj')}(h``V4L2_COLORSPACE_SMPTE170M``h]hV4L2_COLORSPACE_SMPTE170M}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjEubh, }(hjEhhhNhNubj')}(h``V4L2_COLORSPACE_BT878``h]hV4L2_COLORSPACE_BT878}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjEubh, }(hjEhhhNhNubj')}(h ``V4L2_COLORSPACE_470_SYSTEM_M``h]hV4L2_COLORSPACE_470_SYSTEM_M}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjEubh or }(hjEhhhNhNubj')}(h!``V4L2_COLORSPACE_470_SYSTEM_BG``h]hV4L2_COLORSPACE_470_SYSTEM_BG}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjEubh replaces }(hjEhhhNhNubj')}(h``V4L2_FMT_CS_601YUV``h]hV4L2_FMT_CS_601YUV}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjEubh.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubeh}(h]h ]h"]h$]h&]uh1jHhj hhhhhNubjI)}(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&]uh1j&hjubhb 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&]uh1j&hjubh 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]jJ)}(hjh]hio}(hjhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjubah}(h]h ]h"]h$]h&]refdocj? refdomainj reftyperef refexplicitrefwarnjTiouh1hhhhMhjubh for details.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjubah}(h]h ]h"]h$]h&]uh1jHhj hhhhhNubjI)}(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}(hj1 hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj) ubh^ field was properly defined as enum v4l2_buf_type. Buffer types changed as mentioned above. A }(hj) hhhNhNubj')}(h ``field``h]hfield}(hjC hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj) 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}(hjU hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj) 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}(hjg hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj) ubh field moved into union }(hj) hhhNhNubj')}(h``m``h]hm}(hjy hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj) ubh , and a new }(hj) hhhNhNubj')}(h ``memory``h]hmemory}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj) ubhR field of type enum v4l2_memory was added to distinguish between I/O methods. See }(hj) hhhNhNubh)}(h :ref:`io`h]jJ)}(hj h]hio}(hj hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj ubah}(h]h ]h"]h$]h&]refdocj? refdomainj reftyperef refexplicitrefwarnjTiouh1hhhhMhj) 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&]uh1j&hj 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&]uh1j&hj 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&]uh1jHhj hhhhhNubjI)}(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&]uh1j&hj!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&]uh1j&hj!ubh and }(hj!hhhNhNubj')}(h``V4L2_FBUF_CAP_SCALEDOWN``h]hV4L2_FBUF_CAP_SCALEDOWN}(hj/!hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!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}(hjA!hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh flag was replaced by }(hj!hhhNhNubj')}(h``V4L2_FBUF_CAP_LIST_CLIPPING``h]hV4L2_FBUF_CAP_LIST_CLIPPING}(hjS!hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh and }(hj!hhhNhNubj')}(h!``V4L2_FBUF_CAP_BITMAP_CLIPPING``h]hV4L2_FBUF_CAP_BITMAP_CLIPPING}(hje!hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh.}(hj!hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1jHhj hhhhhNubjI)}(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 }(hj!hhhNhNubj')}(h``x``h]hx}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh, }(hj!hhhNhNubj')}(h``y``h]hy}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh, }(hj!hhhNhNubj')}(h ``width``h]hwidth}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh and }(hj!hhhNhNubj')}(h ``height``h]hheight}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh field moved into a }(hj!hhhNhNubj')}(h``c``h]hc}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh, substructure of type struct v4l2_rect. The }(hj!hhhNhNubj')}(h``x``h]hx}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh and }hj!sbj')}(h``y``h]hy}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh fields were renamed to }(hj!hhhNhNubj')}(h``left``h]hleft}(hj "hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh and }hj!sbj')}(h``top``h]htop}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj!ubh., i. e. offsets to a context dependent origin.}(hj!hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM$hj!ubah}(h]h ]h"]h$]h&]uh1jHhj hhhhhNubjI)}(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 }(hjA"hhhNhNubj')}(h``x``h]hx}(hjI"hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjA"ubh, }(hjA"hhhNhNubj')}(h``y``h]hy}(hj["hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjA"ubh, }(hjA"hhhNhNubj')}(h ``width``h]hwidth}(hjm"hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjA"ubh and }(hjA"hhhNhNubj')}(h ``height``h]hheight}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjA"ubh field moved into a }(hjA"hhhNhNubj')}(h``w``h]hw}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjA"ubh substructure as above. A }(hjA"hhhNhNubj')}(h ``field``h]hfield}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjA"ubhe field of type enum v4l2_field was added to distinguish between field and frame (interlaced) overlay.}(hjA"hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM*hj="ubah}(h]h ]h"]h$]h&]uh1jHhj hhhhhNubjI)}(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&]uh1j&hj"ubh , struct }(hj"hhhNhNubj')}(h ``v4l2_zoom``h]h v4l2_zoom}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj"ubh, }(hj"hhhNhNubj')}(h``V4L2_ZOOM_NONCAP``h]hV4L2_ZOOM_NONCAP}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj"ubh and }(hj"hhhNhNubj')}(h``V4L2_ZOOM_WHILESTREAMING``h]hV4L2_ZOOM_WHILESTREAMING}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj"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]jJ)}(hj#h]hcrop}(hj#hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj#ubah}(h]h ]h"]h$]h&]refdocj? refdomainj##reftyperef refexplicitrefwarnjTcropuh1hhhhM/hj"ubh for details.}(hj"hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM/hj"ubah}(h]h ]h"]h$]h&]uh1jHhj hhhhhNubjI)}(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 }(hjI#hhhNhNubj')}(h``SAMPLE_FORMAT``h]h SAMPLE_FORMAT}(hjQ#hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjI#ubhV field now contains a four-character-code as used to identify video image formats and }(hjI#hhhNhNubj')}(h``V4L2_PIX_FMT_GREY``h]hV4L2_PIX_FMT_GREY}(hjc#hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjI#ubh replaces the }(hjI#hhhNhNubj')}(h``V4L2_VBI_SF_UBYTE``h]hV4L2_VBI_SF_UBYTE}(hju#hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjI#ubh define. The }(hjI#hhhNhNubj')}(h ``reserved``h]hreserved}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjI#ubh field was extended.}(hjI#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM6hjE#ubah}(h]h ]h"]h$]h&]uh1jHhj hhhhhNubjI)}(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&]uh1j&hj#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&]uh1j&hj#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&]uh1jHhj hhhhhNubjI)}(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&]uh1j&hj#ubh and }(hj#hhhNhNubj')}(h``VIDIOC_G_PERF``h]h VIDIOC_G_PERF}(hj $hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj#ubh+ ioctl were dropped. Except when using the }(hj#hhhNhNubh)}(h!:ref:`read/write I/O method `h]jJ)}(hj!$h]hread/write I/O method}(hj#$hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj$ubah}(h]h ]h"]h$]h&]refdocj? refdomainj-$reftyperef refexplicitrefwarnjTrwuh1hhhhMEhj#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&]uh1jHhj hhhhhNubjI)}(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 }(hjS$hhhNhNubh)}(h :ref:`pixfmt`h]jJ)}(hj]$h]hpixfmt}(hj_$hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj[$ubah}(h]h ]h"]h$]h&]refdocj? refdomainji$reftyperef refexplicitrefwarnjTpixfmtuh1hhhhMJhjS$ubh.}(hjS$hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMJhjO$ubah}(h]h ]h"]h$]h&]uh1jHhj hhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj 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$hhhhhMOubjD)}(hhh](jI)}(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&]uh1j&hj$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&]uh1j&hj$ubh.}(hj$hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMQhj$ubah}(h]h ]h"]h$]h&]uh1jHhj$hhhhhNubjI)}(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 }(hj7%hhhNhNubh)}(h&:ref:`VIDIOC_G_AUDIO `h]jJ)}(hjA%h]hVIDIOC_G_AUDIO}(hjC%hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj?%ubah}(h]h ]h"]h$]h&]refdocj? refdomainjM%reftyperef refexplicitrefwarnjTvidioc_g_audiouh1hhhhMZhj7%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 }(hj7%hhhNhNubj')}(h``VIDIOC_G_AUDIO``h]hVIDIOC_G_AUDIO}(hjc%hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj7%ubh was renamed to }(hj7%hhhNhNubj')}(h``VIDIOC_G_AUDIO_OLD``h]hVIDIOC_G_AUDIO_OLD}(hju%hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj7%ubh/, this ioctl was removed on Kernel 2.6.39. The }(hj7%hhhNhNubh)}(h:ref:`VIDIOC_ENUMAUDIO`h]jJ)}(hj%h]hVIDIOC_ENUMAUDIO}(hj%hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj%ubah}(h]h ]h"]h$]h&]refdocj? refdomainj%reftyperef refexplicitrefwarnjTvidioc_enumaudiouh1hhhhMZhj7%ubh2 ioctl was added to enumerate audio inputs, while }(hj7%hhhNhNubh)}(h&:ref:`VIDIOC_G_AUDIO `h]jJ)}(hj%h]hVIDIOC_G_AUDIO}(hj%hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj%ubah}(h]h ]h"]h$]h&]refdocj? refdomainj%reftyperef refexplicitrefwarnjTvidioc_g_audiouh1hhhhMZhj7%ubh% now reports the current audio input.}(hj7%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]jJ)}(hj%h]hVIDIOC_G_AUDOUT}(hj%hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj%ubah}(h]h ]h"]h$]h&]refdocj? refdomainj%reftyperef refexplicitrefwarnjTvidioc_g_audoutuh1hhhhMdhj%ubh and }(hj%hhhNhNubh)}(h,:ref:`VIDIOC_ENUMAUDOUT `h]jJ)}(hj&h]hVIDIOC_ENUMAUDOUT}(hj&hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj&ubah}(h]h ]h"]h$]h&]refdocj? refdomainj&reftyperef refexplicitrefwarnjTvidioc_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&]uh1jHhj$hhhhhNubjI)}(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 }(hjC&hhhNhNubh)}(h:ref:`VIDIOC_OVERLAY`h]jJ)}(hjM&h]hVIDIOC_OVERLAY}(hjO&hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjK&ubah}(h]h ]h"]h$]h&]refdocj? refdomainjY&reftyperef refexplicitrefwarnjTvidioc_overlayuh1hhhhMlhjC&ubh ioctl was incorrectly defined with write-read parameter. It was changed to write-only, while the write-read version was renamed to }(hjC&hhhNhNubj')}(h``VIDIOC_OVERLAY_OLD``h]hVIDIOC_OVERLAY_OLD}(hjo&hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjC&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.}(hjC&hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMlhj?&ubah}(h]h ]h"]h$]h&]uh1jHhj$hhhhhNubjI)}(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]jJ)}(hj&h]hoverlay}(hj&hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj&ubah}(h]h ]h"]h$]h&]refdocj? refdomainj&reftyperef refexplicitrefwarnjToverlayuh1hhhhMshj&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&]uh1j)hj&ubhB video shall be displayed and so the graphics surface can be seen.}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMshj&ubah}(h]h ]h"]h$]h&]uh1jHhj$hhhhhNubjI)}(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]jJ)}(hj&h]h VIDIOC_S_PARM}(hj&hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj&ubah}(h]h ]h"]h$]h&]refdocj? refdomainj&reftyperef refexplicitrefwarnjT vidioc_g_parmuh1hhhhMxhj&ubh and }(hj&hhhNhNubh)}(h$:ref:`VIDIOC_S_CTRL `h]jJ)}(hj 'h]h VIDIOC_S_CTRL}(hj 'hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj'ubah}(h]h ]h"]h$]h&]refdocj? refdomainj'reftyperef refexplicitrefwarnjT 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&]uh1j&hj&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&]uh1jHhj$hhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj$hhhhhMQubeh}(h]v4l2-2003-06-19ah ]h"]v4l2 2003-06-19ah$]h&]uh1hhhhhhhhMOubh)}(hhh](h)}(hV4L2 2003-11-05h]hV4L2 2003-11-05}(hjZ'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjW'hhhhhMubjD)}(hhh](jI)}(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 }(hjo'hhhNhNubh)}(h:ref:`pixfmt-rgb`h]jJ)}(hjy'h]h pixfmt-rgb}(hj{'hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjw'ubah}(h]h ]h"]h$]h&]refdocj? refdomainj'reftyperef refexplicitrefwarnjT pixfmt-rgbuh1hhhhMhjo'ubh the following pixel formats were incorrectly transferred from Bill Dirks’ V4L2 specification. Descriptions below refer to bytes in memory, in ascending address order.}(hjo'hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjk'ubj)}(hhh]j)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthK!uh1jhj'ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK!uh1jhj'ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthK!uh1jhj'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&]uh1j&hj%(ubah}(h]h ]h"]h$]h&]uh1hhhhMhj"(ubah}(h]h ]h"]h$]h&]uh1jhj(ubj)}(hhh]h)}(hB, G, Rh]hB, G, R}(hjE(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjB(ubah}(h]h ]h"]h$]h&]uh1jhj(ubj)}(hhh]h)}(hR, G, Bh]hR, G, B}(hj\(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjY(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')}(hj~(h]hV4L2_PIX_FMT_BGR24}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj|(ubah}(h]h ]h"]h$]h&]uh1hhhhMhjy(ubah}(h]h ]h"]h$]h&]uh1jhjv(ubj)}(hhh]h)}(hR, G, Bh]hR, G, B}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj(ubah}(h]h ]h"]h$]h&]uh1jhjv(ubj)}(hhh]h)}(hB, G, Rh]hB, G, R}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj(ubah}(h]h ]h"]h$]h&]uh1jhjv(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&]uh1j&hj(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&]uh1j&hj*)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}(hjJ)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjG)ubah}(h]h ]h"]h$]h&]uh1jhj$)ubj)}(hhh]h)}(h B, G, R, Xh]h B, G, R, X}(hja)hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj^)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&]colsKuh1jhj'ubah}(h]h ]h"]h$]h&]uh1jhjk'ubh)}(h6The ``V4L2_PIX_FMT_BGR24`` example was always correct.h](hThe }(hj)hhhNhNubj')}(h``V4L2_PIX_FMT_BGR24``h]hV4L2_PIX_FMT_BGR24}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj)ubh example was always correct.}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjk'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]jJ)}(hj)h]hv4l-image-properties}(hj)hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj)ubah}(h]h ]h"]h$]h&]refdocj? refdomainj)reftyperef refexplicitrefwarnjTv4l-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&]uh1j&hj)ubh and }(hj)hhhNhNubj')}(h``VIDEO_PALETTE_RGB32``h]hVIDEO_PALETTE_RGB32}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj)ubh9 formats to V4L2 pixel formats was accordingly corrected.}(hj)hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjk'ubeh}(h]h ]h"]h$]h&]uh1jHhjh'hhhhhNubjI)}(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]jJ)}(hj*h]h pixfmt-rgb}(hj*hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj*ubah}(h]h ]h"]h$]h&]refdocj? refdomainj$*reftyperef refexplicitrefwarnjT pixfmt-rgbuh1hhhhMhj*ubh.}(hj*hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj *ubah}(h]h ]h"]h$]h&]uh1jHhjh'hhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjW'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}(hjW*hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjT*hhhhhMubjD)}(hhh]jI)}(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 }(hjl*hhhNhNubh)}(h:ref:`VIDIOC_CROPCAP`h]jJ)}(hjv*h]hVIDIOC_CROPCAP}(hjx*hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjt*ubah}(h]h ]h"]h$]h&]refdocj? refdomainj*reftyperef refexplicitrefwarnjTvidioc_cropcapuh1hhhhMhjl*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 }(hjl*hhhNhNubj')}(h``VIDIOC_CROPCAP_OLD``h]hVIDIOC_CROPCAP_OLD}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjl*ubh-. The old ioctl was removed on Kernel 2.6.39.}(hjl*hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjh*ubah}(h]h ]h"]h$]h&]uh1jHhje*hhhhhNubah}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjT*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*hhhhhMubjD)}(hhh]jI)}(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&]uh1j&hj*ubh (former }(hj*hhhNhNubj')}(h``reserved[0]``h]h reserved[0]}(hj*hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj*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&]uh1j&hj*ubh flag. The }(hj*hhhNhNubj')}(h ``flags``h]hflags}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj*ubh field is no longer read-only.}(hj*hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj*ubah}(h]h ]h"]h$]h&]uh1jHhj*hhhhhNubah}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj*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}(hjI+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjF+hhhhhMubjD)}(hhh](jI)}(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 }(hj^+hhhNhNubh)}(h:ref:`func-open`h]jJ)}(hjh+h]h func-open}(hjj+hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjf+ubah}(h]h ]h"]h$]h&]refdocj? refdomainjt+reftyperef refexplicitrefwarnjT func-openuh1hhhhMhj^+ubh% function was incorrectly documented.}(hj^+hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjZ+ubah}(h]h ]h"]h$]h&]uh1jHhjW+hhhhhNubjI)}(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&]uh1jHhjW+hhhhhNubjI)}(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&]uh1j&hj+ubh ioctl took the wrong argument.}(hj+hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj+ubah}(h]h ]h"]h$]h&]uh1jHhjW+hhhhhNubjI)}(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]jJ)}(hj+h]h VIDIOC_QBUF}(hj+hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj+ubah}(h]h ]h"]h$]h&]refdocj? refdomainj+reftyperef refexplicitrefwarnjT vidioc_qbufuh1hhhhMhj+ubh and }(hj+hhhNhNubh)}(h!:ref:`VIDIOC_DQBUF `h]jJ)}(hj ,h]h VIDIOC_DQBUF}(hj ,hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj,ubah}(h]h ]h"]h$]h&]refdocj? refdomainj,reftyperef refexplicitrefwarnjT vidioc_qbufuh1hhhhMhj+ubh/ ioctls did not mention the struct v4l2_buffer }(hj+hhhNhNubj')}(h ``memory``h]hmemory}(hj,,hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj+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&]uh1j&hj+ubh page the }(hj+hhhNhNubj')}(h``EIO``h]hEIO}(hjP,hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj+ubh error code was not documented.}(hj+hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj+ubah}(h]h ]h"]h$]h&]uh1jHhjW+hhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjF+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}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj|,hhhhhMubjD)}(hhh]jI)}(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]jJ)}(hj,h]hsliced}(hj,hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj,ubah}(h]h ]h"]h$]h&]refdocj? refdomainj,reftyperef refexplicitrefwarnjTsliceduh1hhhhMhj,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&]uh1jHhj,hhhhhNubah}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj|,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,hhhhhMubjD)}(hhh](jI)}(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]jJ)}(hj,h]hVIDIOC_LOG_STATUS}(hj,hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj,ubah}(h]h ]h"]h$]h&]refdocj? refdomainj-reftyperef refexplicitrefwarnjTvidioc_log_statusuh1hhhhMhj,ubh ioctl was added.}(hj,hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj,ubah}(h]h ]h"]h$]h&]uh1jHhj,hhhhhNubjI)}(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}(hj6-hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj.-ubh, }(hj.-hhhNhNubj')}(h``V4L2_STD_SECAM_LC``h]hV4L2_STD_SECAM_LC}(hjH-hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj.-ubh, }(hj.-hhhNhNubj')}(h``V4L2_STD_SECAM_DK``h]hV4L2_STD_SECAM_DK}(hjZ-hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj.-ubh# (a set of SECAM D, K and K1), and }(hj.-hhhNhNubj')}(h``V4L2_STD_ATSC``h]h V4L2_STD_ATSC}(hjl-hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj.-ubh (a set of }(hj.-hhhNhNubj')}(h``V4L2_STD_ATSC_8_VSB``h]hV4L2_STD_ATSC_8_VSB}(hj~-hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj.-ubh and }(hj.-hhhNhNubj')}(h``V4L2_STD_ATSC_16_VSB``h]hV4L2_STD_ATSC_16_VSB}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj.-ubh) were defined. Note the }(hj.-hhhNhNubj')}(h``V4L2_STD_525_60``h]hV4L2_STD_525_60}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj.-ubh set now includes }(hj.-hhhNhNubj')}(h``V4L2_STD_NTSC_443``h]hV4L2_STD_NTSC_443}(hj-hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj.-ubh . See also }(hj.-hhhNhNubh)}(h:ref:`v4l2-std-id`h]jJ)}(hj-h]h v4l2-std-id}(hj-hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj-ubah}(h]h ]h"]h$]h&]refdocj? refdomainj-reftyperef refexplicitrefwarnjT v4l2-std-iduh1hhhhMhj.-ubh.}(hj.-hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj*-ubah}(h]h ]h"]h$]h&]uh1jHhj,hhhhhNubjI)}(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&]uh1j&hj-ubh and }(hj-hhhNhNubj')}(h``VIDIOC_S_COMP``h]h VIDIOC_S_COMP}(hj.hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj-ubh ioctl were renamed to }(hj-hhhNhNubj')}(h``VIDIOC_G_MPEGCOMP``h]hVIDIOC_G_MPEGCOMP}(hj&.hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj-ubh and }hj-sbj')}(h``VIDIOC_S_MPEGCOMP``h]hVIDIOC_S_MPEGCOMP}(hj8.hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj-ubh7 respectively. Their argument was replaced by a struct }(hj-hhhNhNubj')}(h``v4l2_mpeg_compression``h]hv4l2_mpeg_compression}(hjJ.hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj-ubh pointer. (The }(hj-hhhNhNubj')}(h``VIDIOC_G_MPEGCOMP``h]hVIDIOC_G_MPEGCOMP}(hj\.hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj-ubh and }hj-sbj')}(h``VIDIOC_S_MPEGCOMP``h]hVIDIOC_S_MPEGCOMP}(hjn.hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj-ubh' ioctls where removed in Linux 2.6.25.)}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj-ubah}(h]h ]h"]h$]h&]uh1jHhj,hhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj,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]jJ)}(hj.h]hcapture-example}(hj.hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj.ubah}(h]h ]h"]h$]h&]refdocj? refdomainj.reftyperef refexplicitrefwarnjTcapture-exampleuh1hhhhMhj.ubh called the }(hj.hhhNhNubh)}(h$:ref:`VIDIOC_S_CROP `h]jJ)}(hj.h]h VIDIOC_S_CROP}(hj.hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj.ubah}(h]h ]h"]h$]h&]refdocj? refdomainj.reftyperef refexplicitrefwarnjT vidioc_g_cropuh1hhhhMhj.ubh] ioctl without checking if cropping is supported. In the video standard selection example in }(hj.hhhNhNubh)}(h:ref:`standard`h]jJ)}(hj.h]hstandard}(hj.hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj.ubah}(h]h ]h"]h$]h&]refdocj? refdomainj /reftyperef refexplicitrefwarnjTstandarduh1hhhhMhj.ubh the }(hj.hhhNhNubh)}(h":ref:`VIDIOC_S_STD `h]jJ)}(hj!/h]h VIDIOC_S_STD}(hj#/hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj/ubah}(h]h ]h"]h$]h&]refdocj? refdomainj-/reftyperef refexplicitrefwarnjT 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}(hjT/hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQ/hhhhhMubjD)}(hhh](jI)}(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 }(hji/hhhNhNubj')}(h``V4L2_IN_ST_COLOR_KILL``h]hV4L2_IN_ST_COLOR_KILL}(hjq/hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hji/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.)}(hji/hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhje/ubah}(h]h ]h"]h$]h&]uh1jHhjb/hhhhhNubjI)}(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]jJ)}(hj/h]h VIDIOC_S_PARM}(hj/hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj/ubah}(h]h ]h"]h$]h&]refdocj? refdomainj/reftyperef refexplicitrefwarnjT 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&]uh1jHhjb/hhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjQ/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/hhhhhMubjD)}(hhh]jI)}(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&]uh1j&hj/ubh3 field gives the time in seconds, not microseconds.}(hj/hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj/ubah}(h]h ]h"]h$]h&]uh1jHhj/hhhhhNubah}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj/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}(hj$0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj!0hhhhhMubjD)}(hhh]jI)}(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 }(hj90hhhNhNubj')}(h ``clips``h]hclips}(hjA0hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj90ubh 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. }(hj90hhhNhNubj')}(h``next``h]hnext}(hjS0hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj90ubh pointer.}(hj90hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj50ubah}(h]h ]h"]h$]h&]uh1jHhj20hhhhhNubah}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj!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}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj0hhhhhMubjD)}(hhh](jI)}(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&]uh1j&hj0ubh$ (NTSC M South Korea), and the sets }(hj0hhhNhNubj')}(h``V4L2_STD_MN``h]h V4L2_STD_MN}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj0ubh, }(hj0hhhNhNubj')}(h``V4L2_STD_B``h]h V4L2_STD_B}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj0ubh, }(hj0hhhNhNubj')}(h``V4L2_STD_GH``h]h V4L2_STD_GH}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj0ubh and }(hj0hhhNhNubj')}(h``V4L2_STD_DK``h]h V4L2_STD_DK}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj0ubh. The }(hj0hhhNhNubj')}(h``V4L2_STD_NTSC``h]h V4L2_STD_NTSC}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj0ubh and }(hj0hhhNhNubj')}(h``V4L2_STD_SECAM``h]hV4L2_STD_SECAM}(hj 1hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj0ubh sets now include }(hj0hhhNhNubj')}(h``V4L2_STD_NTSC_M_KR``h]hV4L2_STD_NTSC_M_KR}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj0ubh and }hj0sbj')}(h``V4L2_STD_SECAM_LC``h]hV4L2_STD_SECAM_LC}(hj/1hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj0ubh respectively.}(hj0hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM hj0ubah}(h]h ]h"]h$]h&]uh1jHhj0hhhhhNubjI)}(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 }(hjQ1hhhNhNubj')}(h``V4L2_TUNER_MODE_LANG1_LANG2``h]hV4L2_TUNER_MODE_LANG1_LANG2}(hjY1hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjQ1ubhI was defined to record both languages of a bilingual program. The use of }(hjQ1hhhNhNubj')}(h``V4L2_TUNER_MODE_STEREO``h]hV4L2_TUNER_MODE_STEREO}(hjk1hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjQ1ubh- for this purpose is deprecated now. See the }(hjQ1hhhNhNubh)}(h&:ref:`VIDIOC_G_TUNER `h]jJ)}(hj1h]hVIDIOC_G_TUNER}(hj1hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj}1ubah}(h]h ]h"]h$]h&]refdocj? refdomainj1reftyperef refexplicitrefwarnjTvidioc_g_tuneruh1hhhhMhjQ1ubh section for details.}(hjQ1hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjM1ubah}(h]h ]h"]h$]h&]uh1jHhj0hhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj0hhhhhM 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&]uh1hhj1hhhhhMubjD)}(hhh](jI)}(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&]uh1j&hj1ubh and }(hj1hhhNhNubj')}(h#``V4L2_BUF_TYPE_SLICED_VBI_OUTPUT``h]hV4L2_BUF_TYPE_SLICED_VBI_OUTPUT}(hj1hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj1ubhN 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&]uh1jHhj1hhhhhNubjI)}(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 }(hj2hhhNhNubh)}(h&:ref:`VIDIOC_G_AUDIO `h]jJ)}(hj2h]hVIDIOC_G_AUDIO}(hj2hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj2ubah}(h]h ]h"]h$]h&]refdocj? refdomainj%2reftyperef refexplicitrefwarnjTvidioc_g_audiouh1hhhhMhj2ubh- it was clarified that the struct v4l2_audio }(hj2hhhNhNubj')}(h``mode``h]hmode}(hj;2hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj2ubh field is a flags field.}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj 2ubah}(h]h ]h"]h$]h&]uh1jHhj1hhhhhNubjI)}(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]jJ)}(hjc2h]hVIDIOC_QUERYCAP}(hje2hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhja2ubah}(h]h ]h"]h$]h&]refdocj? refdomainjo2reftyperef refexplicitrefwarnjTvidioc_querycapuh1hhhhMhj]2ubh; did not mention the sliced VBI and radio capability flags.}(hj]2hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjY2ubah}(h]h ]h"]h$]h&]uh1jHhj1hhhhhNubjI)}(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]jJ)}(hj2h]hVIDIOC_G_FREQUENCY}(hj2hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj2ubah}(h]h ]h"]h$]h&]refdocj? refdomainj2reftyperef refexplicitrefwarnjTvidioc_g_frequencyuh1hhhhM!hj2ubh> it was clarified that applications must initialize the tuner }(hj2hhhNhNubj')}(h``type``h]htype}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj2ubh/ field of struct v4l2_frequency before calling }(hj2hhhNhNubh)}(h.:ref:`VIDIOC_S_FREQUENCY `h]jJ)}(hj2h]hVIDIOC_S_FREQUENCY}(hj2hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj2ubah}(h]h ]h"]h$]h&]refdocj? refdomainj2reftyperef refexplicitrefwarnjTvidioc_g_frequencyuh1hhhhM!hj2ubh.}(hj2hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM!hj2ubah}(h]h ]h"]h$]h&]uh1jHhj1hhhhhNubjI)}(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 }(hj3hhhNhNubj')}(h ``reserved``h]hreserved}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj3ubh< array in struct v4l2_requestbuffers has 2 elements, not 32.}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM&hj3ubah}(h]h ]h"]h$]h&]uh1jHhj1hhhhhNubjI)}(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 }(hj13hhhNhNubh)}(h :ref:`output`h]jJ)}(hj;3h]houtput}(hj=3hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj93ubah}(h]h ]h"]h$]h&]refdocj? refdomainjG3reftyperef refexplicitrefwarnjToutputuh1hhhhM)hj13ubh and }(hj13hhhNhNubh)}(h:ref:`raw-vbi`h]jJ)}(hj_3h]hraw-vbi}(hja3hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj]3ubah}(h]h ]h"]h$]h&]refdocj? refdomainjk3reftyperef refexplicitrefwarnjTraw-vbiuh1hhhhM)hj13ubh the device file names }(hj13hhhNhNubj')}(h ``/dev/vout``h]h /dev/vout}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj13ubh( which never caught on were replaced by }(hj13hhhNhNubj')}(h``/dev/video``h]h /dev/video}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj13ubh.}(hj13hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM)hj-3ubah}(h]h ]h"]h$]h&]uh1jHhj1hhhhhNubjI)}(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&]uh1j&hj3ubh to }(hj3hhhNhNubj')}(h``/dev/vbi31``h]h /dev/vbi31}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj3ubh are possible now.}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM,hj3ubah}(h]h ]h"]h$]h&]uh1jHhj1hhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj1hhhhhMubeh}(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&]uh1hhj3hhhhhM1ubjD)}(hhh]jI)}(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 }(hj4hhhNhNubh)}(h.:ref:`VIDIOC_G_EXT_CTRLS `h]jJ)}(hj4h]hVIDIOC_G_EXT_CTRLS}(hj4hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj4ubah}(h]h ]h"]h$]h&]refdocj? refdomainj)4reftyperef refexplicitrefwarnjTvidioc_g_ext_ctrlsuh1hhhhM3hj4ubh, }(hj4hhhNhNubh)}(h.:ref:`VIDIOC_S_EXT_CTRLS `h]jJ)}(hjA4h]hVIDIOC_S_EXT_CTRLS}(hjC4hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj?4ubah}(h]h ]h"]h$]h&]refdocj? refdomainjM4reftyperef refexplicitrefwarnjTvidioc_g_ext_ctrlsuh1hhhhM3hj4ubh and }(hj4hhhNhNubh)}(h0:ref:`VIDIOC_TRY_EXT_CTRLS `h]jJ)}(hje4h]hVIDIOC_TRY_EXT_CTRLS}(hjg4hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjc4ubah}(h]h ]h"]h$]h&]refdocj? refdomainjq4reftyperef refexplicitrefwarnjTvidioc_g_ext_ctrlsuh1hhhhM3hj4ubh6 were added, a flag to skip unsupported controls with }(hj4hhhNhNubh)}(h:ref:`VIDIOC_QUERYCTRL`h]jJ)}(hj4h]hVIDIOC_QUERYCTRL}(hj4hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj4ubah}(h]h ]h"]h$]h&]refdocj? refdomainj4reftyperef refexplicitrefwarnjTvidioc_queryctrluh1hhhhM3hj4ubh, new control types }(hj4hhhNhNubj')}(h``V4L2_CTRL_TYPE_INTEGER64``h]hV4L2_CTRL_TYPE_INTEGER64}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj4ubh and }(hj4hhhNhNubj')}(h``V4L2_CTRL_TYPE_CTRL_CLASS``h]hV4L2_CTRL_TYPE_CTRL_CLASS}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj4ubh. (enum v4l2_ctrl_type), and new control flags }(hj4hhhNhNubj')}(h``V4L2_CTRL_FLAG_READ_ONLY``h]hV4L2_CTRL_FLAG_READ_ONLY}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj4ubh, }(hj4hhhNhNubj')}(h``V4L2_CTRL_FLAG_UPDATE``h]hV4L2_CTRL_FLAG_UPDATE}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj4ubh, }hj4sbj')}(h``V4L2_CTRL_FLAG_INACTIVE``h]hV4L2_CTRL_FLAG_INACTIVE}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj4ubh and }hj4sbj')}(h``V4L2_CTRL_FLAG_SLIDER``h]hV4L2_CTRL_FLAG_SLIDER}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj4ubh (}(hj4hhhNhNubh)}(h:ref:`control-flags`h]jJ)}(hj5h]h control-flags}(hj5hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj5ubah}(h]h ]h"]h$]h&]refdocj? refdomainj%5reftyperef refexplicitrefwarnjT control-flagsuh1hhhhM3hj4ubh). See }(hj4hhhNhNubh)}(h:ref:`extended-controls`h]jJ)}(hj=5h]hextended-controls}(hj?5hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj;5ubah}(h]h ]h"]h$]h&]refdocj? refdomainjI5reftyperef refexplicitrefwarnjTextended-controlsuh1hhhhM3hj4ubh for details.}(hj4hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM3hj4ubah}(h]h ]h"]h$]h&]uh1jHhj 4hhhhhNubah}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj3hhhhhM3ubeh}(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}(hj|5hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjy5hhhhhM?ubjD)}(hhh](jI)}(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 }(hj5hhhNhNubh)}(h8:ref:`VIDIOC_G_SLICED_VBI_CAP `h]jJ)}(hj5h]hVIDIOC_G_SLICED_VBI_CAP}(hj5hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj5ubah}(h]h ]h"]h$]h&]refdocj? refdomainj5reftyperef refexplicitrefwarnjTvidioc_g_sliced_vbi_capuh1hhhhMAhj5ubh 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 }(hj5hhhNhNubj*)}(h*break the compatibility*h]hbreak the compatibility}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1j)hj5ubh% with older drivers and applications.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMAhj5ubah}(h]h ]h"]h$]h&]uh1jHhj5hhhhhNubjI)}(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]jJ)}(hj5h]hVIDIOC_ENUM_FRAMESIZES}(hj5hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj5ubah}(h]h ]h"]h$]h&]refdocj? refdomainj5reftyperef refexplicitrefwarnjTvidioc_enum_framesizesuh1hhhhMKhj5ubh and }(hj5hhhNhNubh)}(h!:ref:`VIDIOC_ENUM_FRAMEINTERVALS`h]jJ)}(hj 6h]hVIDIOC_ENUM_FRAMEINTERVALS}(hj6hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj 6ubah}(h]h ]h"]h$]h&]refdocj? refdomainj6reftyperef refexplicitrefwarnjTvidioc_enum_frameintervalsuh1hhhhMKhj5ubh were added.}(hj5hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMKhj5ubah}(h]h ]h"]h$]h&]uh1jHhj5hhhhhNubjI)}(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}(hjG6hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj?6ubh (}(hj?6hhhNhNubh)}(h:ref:`pixfmt-rgb`h]jJ)}(hj[6h]h pixfmt-rgb}(hj]6hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjY6ubah}(h]h ]h"]h$]h&]refdocj? refdomainjg6reftyperef refexplicitrefwarnjT pixfmt-rgbuh1hhhhMPhj?6ubh ) was added.}(hj?6hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMPhj;6ubah}(h]h ]h"]h$]h&]uh1jHhj5hhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjy5hhhhhMAubeh}(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&]uh1hhj6hhhhhMTubjD)}(hhh]jI)}(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&]uh1j&hj6ubh (}(hj6hhhNhNubh)}(h:ref:`reserved-formats`h]jJ)}(hj6h]hreserved-formats}(hj6hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj6ubah}(h]h ]h"]h$]h&]refdocj? refdomainj6reftyperef refexplicitrefwarnjTreserved-formatsuh1hhhhMVhj6ubh#) is a YUV 4:2:0, not 4:2:2 format.}(hj6hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMVhj6ubah}(h]h ]h"]h$]h&]uh1jHhj6hhhhhNubah}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj6hhhhhMVubeh}(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}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj7hhhhhMZubjD)}(hhh]jI)}(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}(hj#7hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj7ubh 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&]uh1jHhj7hhhhhNubah}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj7hhhhhM\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}(hjR7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjO7hhhhhMaubjD)}(hhh](jI)}(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 }(hjg7hhhNhNubj')}(h``V4L2_FIELD_INTERLACED_TB``h]hV4L2_FIELD_INTERLACED_TB}(hjo7hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjg7ubh and }(hjg7hhhNhNubj')}(h``V4L2_FIELD_INTERLACED_BT``h]hV4L2_FIELD_INTERLACED_BT}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjg7ubh- were added. See enum v4l2_field for details.}(hjg7hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMchjc7ubah}(h]h ]h"]h$]h&]uh1jHhj`7hhhhhNubjI)}(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]jJ)}(hj7h]h VIDIOC_G_FBUF}(hj7hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj7ubah}(h]h ]h"]h$]h&]refdocj? refdomainj7reftyperef refexplicitrefwarnjT vidioc_g_fbufuh1hhhhMghj7ubh and }(hj7hhhNhNubh)}(h$:ref:`VIDIOC_S_FBUF `h]jJ)}(hj7h]h VIDIOC_S_FBUF}(hj7hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj7ubah}(h]h ]h"]h$]h&]refdocj? refdomainj7reftyperef refexplicitrefwarnjT 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}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj7ubhJ 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&]uh1j8hj7ubhD with applications using a struct v4l2_window directly. However the }(hj7hhhNhNubh)}(h(:ref:`VIDIOC_G/S/TRY_FMT `h]jJ)}(hj)8h]hVIDIOC_G/S/TRY_FMT}(hj+8hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj'8ubah}(h]h ]h"]h$]h&]refdocj? refdomainj58reftyperef refexplicitrefwarnjT 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&]uh1jHhj`7hhhhhNubjI)}(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 }(hj[8hhhNhNubj')}(h ``chromakey``h]h chromakey}(hjc8hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj[8ubh field in struct v4l2_window changed from “host order RGB32” to a pixel value in the same format as the framebuffer. This may }(hj[8hhhNhNubj8)}(h**break compatibility**h]hbreak compatibility}(hju8hhhNhNubah}(h]h ]h"]h$]h&]uh1j8hj[8ubh` with existing applications. Drivers supporting the “host order RGB32” format are not known.}(hj[8hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMshjW8ubah}(h]h ]h"]h$]h&]uh1jHhj`7hhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjO7hhhhhMcubeh}(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&]uh1hhj8hhhhhMyubjD)}(hhh]jI)}(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&]uh1j&hj8ubh, }(hj8hhhNhNubj')}(h``V4L2_PIX_FMT_YUV444``h]hV4L2_PIX_FMT_YUV444}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj8ubh, }(hj8hhhNhNubj')}(h``V4L2_PIX_FMT_YUV555``h]hV4L2_PIX_FMT_YUV555}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj8ubh, }hj8sbj')}(h``V4L2_PIX_FMT_YUV565``h]hV4L2_PIX_FMT_YUV565}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj8ubh and }(hj8hhhNhNubj')}(h``V4L2_PIX_FMT_YUV32``h]hV4L2_PIX_FMT_YUV32}(hj 9hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj8ubh were added.}(hj8hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM{hj8ubah}(h]h ]h"]h$]h&]uh1jHhj8hhhhhNubah}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj8hhhhhM{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}(hj89hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj59hhhhhMubjD)}(hhh](jI)}(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 }(hjM9hhhNhNubh)}(h*:ref:`V4L2_PIX_FMT_Y16 `h]jJ)}(hjW9h]hV4L2_PIX_FMT_Y16}(hjY9hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjU9ubah}(h]h ]h"]h$]h&]refdocj? refdomainjc9reftyperef refexplicitrefwarnjTv4l2-pix-fmt-y16uh1hhhhMhjM9ubh and }(hjM9hhhNhNubh)}(h2:ref:`V4L2_PIX_FMT_SBGGR16 `h]jJ)}(hj{9h]hV4L2_PIX_FMT_SBGGR16}(hj}9hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjy9ubah}(h]h ]h"]h$]h&]refdocj? refdomainj9reftyperef refexplicitrefwarnjTv4l2-pix-fmt-sbggr16uh1hhhhMhjM9ubh were added.}(hjM9hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjI9ubah}(h]h ]h"]h$]h&]uh1jHhjF9hhhhhNubjI)}(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]jJ)}(hj9h]hcontrols}(hj9hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj9ubah}(h]h ]h"]h$]h&]refdocj? refdomainj9reftyperef refexplicitrefwarnjTcontroluh1hhhhMhj9ubh }(hj9hhhNhNubj')}(h!``V4L2_CID_POWER_LINE_FREQUENCY``h]hV4L2_CID_POWER_LINE_FREQUENCY}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj9ubh, }(hj9hhhNhNubj')}(h``V4L2_CID_HUE_AUTO``h]hV4L2_CID_HUE_AUTO}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj9ubh, }(hj9hhhNhNubj')}(h&``V4L2_CID_WHITE_BALANCE_TEMPERATURE``h]h"V4L2_CID_WHITE_BALANCE_TEMPERATURE}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj9ubh, }hj9sbj')}(h``V4L2_CID_SHARPNESS``h]hV4L2_CID_SHARPNESS}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj9ubh and }(hj9hhhNhNubj')}(h#``V4L2_CID_BACKLIGHT_COMPENSATION``h]hV4L2_CID_BACKLIGHT_COMPENSATION}(hj!:hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj9ubh were added. The controls }(hj9hhhNhNubj')}(h``V4L2_CID_BLACK_LEVEL``h]hV4L2_CID_BLACK_LEVEL}(hj3:hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj9ubh, }hj9sbj')}(h``V4L2_CID_WHITENESS``h]hV4L2_CID_WHITENESS}(hjE:hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj9ubh, }hj9sbj')}(h``V4L2_CID_HCENTER``h]hV4L2_CID_HCENTER}(hjW:hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj9ubh and }hj9sbj')}(h``V4L2_CID_VCENTER``h]hV4L2_CID_VCENTER}(hji:hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj9ubh were deprecated.}(hj9hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj9ubah}(h]h ]h"]h$]h&]uh1jHhjF9hhhhhNubjI)}(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 }(hj:hhhNhNubh)}(h.:ref:`Camera controls class `h]jJ)}(hj:h]hCamera controls class}(hj:hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj:ubah}(h]h ]h"]h$]h&]refdocj? refdomainj:reftyperef refexplicitrefwarnjTcamera-controlsuh1hhhhMhj:ubh" was added, with the new controls }(hj:hhhNhNubj')}(h``V4L2_CID_EXPOSURE_AUTO``h]hV4L2_CID_EXPOSURE_AUTO}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj:ubh, }(hj:hhhNhNubj')}(h``V4L2_CID_EXPOSURE_ABSOLUTE``h]hV4L2_CID_EXPOSURE_ABSOLUTE}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj:ubh, }(hj:hhhNhNubj')}(h#``V4L2_CID_EXPOSURE_AUTO_PRIORITY``h]hV4L2_CID_EXPOSURE_AUTO_PRIORITY}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj:ubh, }hj:sbj')}(h``V4L2_CID_PAN_RELATIVE``h]hV4L2_CID_PAN_RELATIVE}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj:ubh, }hj:sbj')}(h``V4L2_CID_TILT_RELATIVE``h]hV4L2_CID_TILT_RELATIVE}(hj:hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj:ubh, }hj:sbj')}(h``V4L2_CID_PAN_RESET``h]hV4L2_CID_PAN_RESET}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj:ubh, }hj:sbj')}(h``V4L2_CID_TILT_RESET``h]hV4L2_CID_TILT_RESET}(hj#;hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj:ubh, }hj:sbj')}(h``V4L2_CID_PAN_ABSOLUTE``h]hV4L2_CID_PAN_ABSOLUTE}(hj5;hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj:ubh, }hj:sbj')}(h``V4L2_CID_TILT_ABSOLUTE``h]hV4L2_CID_TILT_ABSOLUTE}(hjG;hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj:ubh, }hj:sbj')}(h``V4L2_CID_FOCUS_ABSOLUTE``h]hV4L2_CID_FOCUS_ABSOLUTE}(hjY;hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj:ubh, }hj:sbj')}(h``V4L2_CID_FOCUS_RELATIVE``h]hV4L2_CID_FOCUS_RELATIVE}(hjk;hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj:ubh and }(hj:hhhNhNubj')}(h``V4L2_CID_FOCUS_AUTO``h]hV4L2_CID_FOCUS_AUTO}(hj};hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj:ubh.}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj:ubah}(h]h ]h"]h$]h&]uh1jHhjF9hhhhhNubjI)}(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&]uh1j&hj;ubh and }(hj;hhhNhNubj')}(h``VIDIOC_S_MPEGCOMP``h]hVIDIOC_S_MPEGCOMP}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj;ubh& ioctls, which were superseded by the }(hj;hhhNhNubh)}(h,:ref:`extended controls `h]jJ)}(hj;h]hextended controls}(hj;hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj;ubah}(h]h ]h"]h$]h&]refdocj? refdomainj;reftyperef refexplicitrefwarnjTextended-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&]uh1j&hj;ubh header file.}(hj;hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj;ubah}(h]h ]h"]h$]h&]uh1jHhjF9hhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj59hhhhhMubeh}(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<hhhhhMubjD)}(hhh](jI)}(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 }(hj3<hhhNhNubj')}(h``V4L2_PIX_FMT_Y16``h]hV4L2_PIX_FMT_Y16}(hj;<hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj3<ubh and }(hj3<hhhNhNubj')}(h``V4L2_PIX_FMT_SBGGR16``h]hV4L2_PIX_FMT_SBGGR16}(hjM<hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj3<ubh were added.}(hj3<hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj/<ubah}(h]h ]h"]h$]h&]uh1jHhj,<hhhhhNubjI)}(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 }(hjo<hhhNhNubj')}(h``V4L2_CID_CHROMA_AGC``h]hV4L2_CID_CHROMA_AGC}(hjw<hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjo<ubh and }(hjo<hhhNhNubj')}(h``V4L2_CID_COLOR_KILLER``h]hV4L2_CID_COLOR_KILLER}(hj<hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjo<ubh.}(hjo<hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjk<ubah}(h]h ]h"]h$]h&]uh1jHhj,<hhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj<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<hhhhhMubjD)}(hhh](jI)}(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]jJ)}(hj<h]hVIDIOC_S_HW_FREQ_SEEK}(hj<hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj<ubah}(h]h ]h"]h$]h&]refdocj? refdomainj<reftyperef refexplicitrefwarnjTvidioc_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&]uh1j&hj<ubh capability were added.}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj<ubah}(h]h ]h"]h$]h&]uh1jHhj<hhhhhNubjI)}(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&]uh1j&hj=ubh, }(hj=hhhNhNubj')}(h``V4L2_PIX_FMT_PCA501``h]hV4L2_PIX_FMT_PCA501}(hj5=hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj=ubh, }(hj=hhhNhNubj')}(h``V4L2_PIX_FMT_PCA505``h]hV4L2_PIX_FMT_PCA505}(hjG=hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj=ubh, }hj=sbj')}(h``V4L2_PIX_FMT_PCA508``h]hV4L2_PIX_FMT_PCA508}(hjY=hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj=ubh, }hj=sbj')}(h``V4L2_PIX_FMT_PCA561``h]hV4L2_PIX_FMT_PCA561}(hjk=hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj=ubh, }hj=sbj')}(h``V4L2_PIX_FMT_SGBRG8``h]hV4L2_PIX_FMT_SGBRG8}(hj}=hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj=ubh, }hj=sbj')}(h``V4L2_PIX_FMT_PAC207``h]hV4L2_PIX_FMT_PAC207}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj=ubh and }(hj=hhhNhNubj')}(h``V4L2_PIX_FMT_PJPG``h]hV4L2_PIX_FMT_PJPG}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj=ubh were added.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj=ubah}(h]h ]h"]h$]h&]uh1jHhj<hhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj<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=hhhhhMubjD)}(hhh](jI)}(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&]uh1j&hj=ubh and }(hj=hhhNhNubj')}(h ``V4L2_MPEG_AUDIO_ENCODING_AC3``h]hV4L2_MPEG_AUDIO_ENCODING_AC3}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj=ubh MPEG audio encodings.}(hj=hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj=ubah}(h]h ]h"]h$]h&]uh1jHhj=hhhhhNubjI)}(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&]uh1j&hj!>ubh MPEG video encoding.}(hj!>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj>ubah}(h]h ]h"]h$]h&]uh1jHhj=hhhhhNubjI)}(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 }(hjK>hhhNhNubj')}(h``V4L2_PIX_FMT_SGRBG10``h]hV4L2_PIX_FMT_SGRBG10}(hjS>hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjK>ubh and }(hjK>hhhNhNubj')}(h``V4L2_PIX_FMT_SGRBG10DPCM8``h]hV4L2_PIX_FMT_SGRBG10DPCM8}(hje>hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjK>ubh were added.}(hjK>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjG>ubah}(h]h ]h"]h$]h&]uh1jHhj=hhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj=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>hhhhhMubjD)}(hhh](jI)}(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&]uh1j&hj>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&]uh1j&hj>ubh and }(hj>hhhNhNubj')}(h``VIDIOC_DBG_G_CHIP_IDENT``h]hVIDIOC_DBG_G_CHIP_IDENT}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj>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&]uh1j&hj>ubh was renamed to struct }(hj>hhhNhNubj')}(h``v4l2_chip_ident_old``h]hv4l2_chip_ident_old}(hj>hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj>ubh.}(hj>hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj>ubah}(h]h ]h"]h$]h&]uh1jHhj>hhhhhNubjI)}(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&]uh1j&hj?ubh, }(hj?hhhNhNubj')}(h``V4L2_PIX_FMT_NV16``h]hV4L2_PIX_FMT_NV16}(hj5?hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj?ubh and }(hj?hhhNhNubj')}(h``V4L2_PIX_FMT_NV61``h]hV4L2_PIX_FMT_NV61}(hjG?hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj?ubh were added.}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj?ubah}(h]h ]h"]h$]h&]uh1jHhj>hhhhhNubjI)}(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 }(hji?hhhNhNubj')}(h``V4L2_CID_ZOOM_ABSOLUTE``h]hV4L2_CID_ZOOM_ABSOLUTE}(hjq?hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hji?ubh, }(hji?hhhNhNubj')}(h``V4L2_CID_ZOOM_RELATIVE``h]hV4L2_CID_ZOOM_RELATIVE}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hji?ubh, }(hji?hhhNhNubj')}(h``V4L2_CID_ZOOM_CONTINUOUS``h]hV4L2_CID_ZOOM_CONTINUOUS}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hji?ubh and }(hji?hhhNhNubj')}(h``V4L2_CID_PRIVACY``h]hV4L2_CID_PRIVACY}(hj?hhhNhNubah}(h]h ]h"]h$]h&]uh1j&hji?ubh.}(hji?hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhje?ubah}(h]h ]h"]h$]h&]uh1jHhj>hhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj>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?hhhhhMubjD)}(hhh](jI)}(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&]uh1j&hj?ubh was added.}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj?ubah}(h]h ]h"]h$]h&]uh1jHhj?hhhhhNubjI)}(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&]uh1j&hj@ubh was added.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj@ubah}(h]h ]h"]h$]h&]uh1jHhj?hhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj?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}(hjL@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhjI@hhhhhMubjD)}(hhh](jI)}(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.}(hja@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj]@ubah}(h]h ]h"]h$]h&]uh1jHhjZ@hhhhhNubjI)}(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 }(hjy@hhhNhNubh)}(h :ref:`rds`h]jJ)}(hj@h]hrds}(hj@hhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj@ubah}(h]h ]h"]h$]h&]refdocj? refdomainj@reftyperef refexplicitrefwarnjTrdsuh1hhhhMhjy@ubh for more information.}(hjy@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhju@ubah}(h]h ]h"]h$]h&]uh1jHhjZ@hhhhhNubjI)}(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&]uh1jHhjZ@hhhhhNubjI)}(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&]uh1jHhjZ@hhhhhNubjI)}(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&]uh1j&hj@ubh.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj@ubah}(h]h ]h"]h$]h&]uh1jHhjZ@hhhhhNubjI)}(h3Added ``V4L2_CID_BAND_STOP_FILTER`` documentation. h]h)}(h2Added ``V4L2_CID_BAND_STOP_FILTER`` documentation.h](hAdded }(hjAhhhNhNubj')}(h``V4L2_CID_BAND_STOP_FILTER``h]hV4L2_CID_BAND_STOP_FILTER}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjAubh documentation.}(hjAhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj Aubah}(h]h ]h"]h$]h&]uh1jHhjZ@hhhhhNubjI)}(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: }(hj9AhhhNhNubj')}(h``V4L2_CTRL_CLASS_FM_TX``h]hV4L2_CTRL_CLASS_FM_TX}(hjAAhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj9Aubh and their Control IDs.}(hj9AhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj5Aubah}(h]h ]h"]h$]h&]uh1jHhjZ@hhhhhNubjI)}(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: }(hjcAhhhNhNubj')}(h``V4L2_CTRL_CLASS_FM_RX``h]hV4L2_CTRL_CLASS_FM_RX}(hjkAhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjcAubh and their Control IDs.}(hjcAhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj_Aubah}(h]h ]h"]h$]h&]uh1jHhjZ@hhhhhNubjI)}(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.}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjAubah}(h]h ]h"]h$]h&]uh1jHhjZ@hhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjI@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&]uh1hhjAhhhhhMubjD)}(hhh]jI)}(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&]uh1jHhjAhhhhhNubah}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjAhhhhhMubeh}(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&]uh1hhjAhhhhhMubjD)}(hhh]jI)}(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 }(hjBhhhNhNubj')}(h``V4L2_CID_IRIS_ABSOLUTE``h]hV4L2_CID_IRIS_ABSOLUTE}(hj BhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjBubh and }(hjBhhhNhNubj')}(h``V4L2_CID_IRIS_RELATIVE``h]hV4L2_CID_IRIS_RELATIVE}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjBubh controls to the }(hjBhhhNhNubh)}(h.:ref:`Camera controls class `h]jJ)}(hj/Bh]hCamera controls class}(hj1BhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj-Bubah}(h]h ]h"]h$]h&]refdocj? refdomainj;Breftyperef refexplicitrefwarnjTcamera-controlsuh1hhhhMhjBubh.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjAubah}(h]h ]h"]h$]h&]uh1jHhjAhhhhhNubah}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjAhhhhhMubeh}(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}(hjnBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjkBhhhhhMubjD)}(hhh]jI)}(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.}(hjBhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjBubah}(h]h ]h"]h$]h&]uh1jHhj|BhhhhhNubah}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjkBhhhhhMubeh}(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&]uh1hhjBhhhhhMubjD)}(hhh](jI)}(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]jJ)}(hjBh]hmulti-planar API}(hjBhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjBubah}(h]h ]h"]h$]h&]refdocj? refdomainjBreftyperef refexplicitrefwarnjT planar-apisuh1hhhhMhjBubh for details.}(hjBhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjBubah}(h]h ]h"]h$]h&]uh1jHhjBhhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjBhhhhhMubeh}(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}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChhhhhMubjD)}(hhh]jI)}(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.}(hj3ChhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj/Cubh)}(h,Standardize an error code for invalid ioctl.h]h,Standardize an error code for invalid ioctl.}(hjAChhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hj/Cubh)}(hAdded V4L2_CTRL_TYPE_BITMASK.h]hAdded V4L2_CTRL_TYPE_BITMASK.}(hjOChhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM hj/Cubeh}(h]h ]h"]h$]h&]uh1jHhj,ChhhhhNubah}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjChhhhhMubeh}(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}(hjtChhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqChhhhhMubjD)}(hhh](jI)}(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.}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjCubah}(h]h ]h"]h$]h&]uh1jHhjChhhhhNubjI)}(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]jJ)}(hjCh]h selection API}(hjChhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjCubah}(h]h ]h"]h$]h&]refdocj? refdomainjCreftyperef refexplicitrefwarnjT selection-apiuh1hhhhMhjCubh for details.}(hjChhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjCubah}(h]h ]h"]h$]h&]uh1jHhjChhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjqChhhhhMubeh}(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&]uh1hhjChhhhhMubjD)}(hhh](jI)}(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}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjCubh control to the }(hjChhhNhNubh)}(h$:ref:`User controls class `h]jJ)}(hjDh]hUser controls class}(hjDhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjDubah}(h]h ]h"]h$]h&]refdocj? refdomainj'Dreftyperef refexplicitrefwarnjTcontroluh1hhhhMhjCubh.}(hjChhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjCubah}(h]h ]h"]h$]h&]uh1jHhjChhhhhNubjI)}(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.}(hjMDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjIDubah}(h]h ]h"]h$]h&]uh1jHhjChhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjChhhhhMubeh}(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}(hjrDhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjoDhhhhhM#ubjD)}(hhh](jI)}(h=Added :ref:`JPEG compression control class `. h]h)}(h`.h](hAdded }(hjDhhhNhNubh)}(h5:ref:`JPEG compression control class `h]jJ)}(hjDh]hJPEG compression control class}(hjDhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjDubah}(h]h ]h"]h$]h&]refdocj? refdomainjDreftyperef refexplicitrefwarnjT jpeg-controlsuh1hhhhM%hjDubh.}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM%hjDubah}(h]h ]h"]h$]h&]uh1jHhjDhhhhhNubjI)}(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]jJ)}(hjDh]hVIDIOC_ENUM_DV_TIMINGS}(hjDhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjDubah}(h]h ]h"]h$]h&]refdocj? refdomainjDreftyperef refexplicitrefwarnjTvidioc_enum_dv_timingsuh1hhhhM'hjDubh, }(hjDhhhNhNubh)}(h:ref:`VIDIOC_QUERY_DV_TIMINGS`h]jJ)}(hjDh]hVIDIOC_QUERY_DV_TIMINGS}(hjDhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjDubah}(h]h ]h"]h$]h&]refdocj? refdomainjDreftyperef refexplicitrefwarnjTvidioc_query_dv_timingsuh1hhhhM'hjDubh and }(hjDhhhNhNubh)}(h:ref:`VIDIOC_DV_TIMINGS_CAP`h]jJ)}(hjEh]hVIDIOC_DV_TIMINGS_CAP}(hjEhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjEubah}(h]h ]h"]h$]h&]refdocj? refdomainj!Ereftyperef refexplicitrefwarnjTvidioc_dv_timings_capuh1hhhhM'hjDubh.}(hjDhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM'hjDubah}(h]h ]h"]h$]h&]uh1jHhjDhhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjoDhhhhhM%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}(hjTEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjQEhhhhhM-ubjD)}(hhh](jI)}(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.}(hjiEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM/hjeEubah}(h]h ]h"]h$]h&]uh1jHhjbEhhhhhNubjI)}(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: }(hjEhhhNhNubh)}(h :ref:`VIDIOC_SUBDEV_G_SELECTION`h]jJ)}(hjEh]hVIDIOC_SUBDEV_G_SELECTION}(hjEhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjEubah}(h]h ]h"]h$]h&]refdocj? refdomainjEreftyperef refexplicitrefwarnjTvidioc_subdev_g_selectionuh1hhhhM2hjEubh and }(hjEhhhNhNubh)}(h<:ref:`VIDIOC_SUBDEV_S_SELECTION `h]jJ)}(hjEh]hVIDIOC_SUBDEV_S_SELECTION}(hjEhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjEubah}(h]h ]h"]h$]h&]refdocj? refdomainjEreftyperef refexplicitrefwarnjTvidioc_subdev_g_selectionuh1hhhhM2hjEubh.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM2hj}Eubah}(h]h ]h"]h$]h&]uh1jHhjbEhhhhhNubjI)}(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&]uh1j&hjEubh, }(hjEhhhNhNubj')}(h``V4L2_COLORFX_ART_FREEZE``h]hV4L2_COLORFX_ART_FREEZE}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjEubh, }(hjEhhhNhNubj')}(h``V4L2_COLORFX_AQUA``h]hV4L2_COLORFX_AQUA}(hj FhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjEubh, }hjEsbj')}(h``V4L2_COLORFX_SILHOUETTE``h]hV4L2_COLORFX_SILHOUETTE}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjEubh, }hjEsbj')}(h``V4L2_COLORFX_SOLARIZATION``h]hV4L2_COLORFX_SOLARIZATION}(hj1FhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjEubh, }hjEsbj')}(h``V4L2_COLORFX_VIVID``h]hV4L2_COLORFX_VIVID}(hjCFhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjEubh and }(hjEhhhNhNubj')}(h``V4L2_COLORFX_ARBITRARY_CBCR``h]hV4L2_COLORFX_ARBITRARY_CBCR}(hjUFhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjEubh menu items to the }(hjEhhhNhNubj')}(h``V4L2_CID_COLORFX``h]hV4L2_CID_COLORFX}(hjgFhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjEubh control.}(hjEhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM6hjEubah}(h]h ]h"]h$]h&]uh1jHhjbEhhhhhNubjI)}(h)Added ``V4L2_CID_COLORFX_CBCR`` control. h]h)}(h(Added ``V4L2_CID_COLORFX_CBCR`` control.h](hAdded }(hjFhhhNhNubj')}(h``V4L2_CID_COLORFX_CBCR``h]hV4L2_CID_COLORFX_CBCR}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjFubh control.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM<hjFubah}(h]h ]h"]h$]h&]uh1jHhjbEhhhhhNubjI)}(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&]uh1j&hjFubh, }(hjFhhhNhNubj')}(h(``V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE``h]h$V4L2_CID_AUTO_N_PRESET_WHITE_BALANCE}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjFubh, }hjFsbj')}(h ``V4L2_CID_IMAGE_STABILIZATION``h]hV4L2_CID_IMAGE_STABILIZATION}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjFubh, }(hjFhhhNhNubj')}(h``V4L2_CID_ISO_SENSITIVITY``h]hV4L2_CID_ISO_SENSITIVITY}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjFubh, }hjFsbj')}(h!``V4L2_CID_ISO_SENSITIVITY_AUTO``h]hV4L2_CID_ISO_SENSITIVITY_AUTO}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjFubh, }hjFsbj')}(h``V4L2_CID_EXPOSURE_METERING``h]hV4L2_CID_EXPOSURE_METERING}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjFubh, }hjFsbj')}(h``V4L2_CID_SCENE_MODE``h]hV4L2_CID_SCENE_MODE}(hj'GhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjFubh, }hjFsbj')}(h``V4L2_CID_3A_LOCK``h]hV4L2_CID_3A_LOCK}(hj9GhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjFubh, }hjFsbj')}(h``V4L2_CID_AUTO_FOCUS_START``h]hV4L2_CID_AUTO_FOCUS_START}(hjKGhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjFubh, }hjFsbj')}(h``V4L2_CID_AUTO_FOCUS_STOP``h]hV4L2_CID_AUTO_FOCUS_STOP}(hj]GhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjFubh, }hjFsbj')}(h``V4L2_CID_AUTO_FOCUS_STATUS``h]hV4L2_CID_AUTO_FOCUS_STATUS}(hjoGhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjFubh and }(hjFhhhNhNubj')}(h``V4L2_CID_AUTO_FOCUS_RANGE``h]hV4L2_CID_AUTO_FOCUS_RANGE}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjFubh.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM>hjFubah}(h]h ]h"]h$]h&]uh1jHhjbEhhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjQEhhhhhM/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&]uh1hhjGhhhhhMGubjD)}(hhh](jI)}(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&]uh1j&hjGubh in struct v4l2_buffer by }(hjGhhhNhNubj')}(h ``reserved2``h]h reserved2}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjGubh and removed }(hjGhhhNhNubj')}(h``V4L2_BUF_FLAG_INPUT``h]hV4L2_BUF_FLAG_INPUT}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjGubh.}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMIhjGubah}(h]h ]h"]h$]h&]uh1jHhjGhhhhhNubjI)}(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.}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMLhjHubah}(h]h ]h"]h$]h&]uh1jHhjGhhhhhNubjI)}(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: }(hj+HhhhNhNubh)}(h:ref:`VIDIOC_ENUM_FREQ_BANDS`h]jJ)}(hj5Hh]hVIDIOC_ENUM_FREQ_BANDS}(hj7HhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj3Hubah}(h]h ]h"]h$]h&]refdocj? refdomainjAHreftyperef refexplicitrefwarnjTvidioc_enum_freq_bandsuh1hhhhMOhj+Hubh.}(hj+HhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMOhj'Hubah}(h]h ]h"]h$]h&]uh1jHhjGhhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjGhhhhhMIubeh}(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}(hjtHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjqHhhhhhMSubjD)}(hhh](jI)}(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 }(hjHhhhNhNubj')}(h ``flags``h]hflags}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjHubh" field in struct v4l2_buffer. See }(hjHhhhNhNubh)}(h:ref:`buffer-flags`h]jJ)}(hjHh]h buffer-flags}(hjHhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjHubah}(h]h ]h"]h$]h&]refdocj? refdomainjHreftyperef refexplicitrefwarnjT buffer-flagsuh1hhhhMUhjHubh.}(hjHhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMUhjHubah}(h]h ]h"]h$]h&]uh1jHhjHhhhhhNubjI)}(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&]uh1j&hjHubh! control event changes flag. See }(hjHhhhNhNubh)}(h:ref:`ctrl-changes-flags`h]jJ)}(hjHh]hctrl-changes-flags}(hjHhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjHubah}(h]h ]h"]h$]h&]refdocj? refdomainjHreftyperef refexplicitrefwarnjTctrl-changes-flagsuh1hhhhMXhjHubh.}(hjHhhhNhNubeh}(h]s{h ]h"]h$]h&]uh1hhhhMXhjHubah}(h]h ]h"]h$]h&]uh1jHhjHhhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjqHhhhhhMUubeh}(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}(hj2IhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/IhhhhhM\ubjD)}(hhh](jI)}(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]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.}(hjGIhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhM^hjCIubah}(h]h ]h"]h$]h&]uh1jHhj@IhhhhhNubjI)}(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 }(hj_IhhhNhNubh)}(h:ref:`VIDIOC_DBG_G_CHIP_INFO`h]jJ)}(hjiIh]hVIDIOC_DBG_G_CHIP_INFO}(hjkIhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjgIubah}(h]h ]h"]h$]h&]refdocj? refdomainjuIreftyperef refexplicitrefwarnjTvidioc_dbg_g_chip_infouh1hhhhMchj_Iubh.}(hj_IhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMchj[Iubah}(h]h ]h"]h$]h&]uh1jHhj@IhhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChj/IhhhhhM^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&]uh1hhjIhhhhhMgubjD)}(hhh]jI)}(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&]uh1j&hjIubh ioctl.}(hjIhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMihjIubah}(h]h ]h"]h$]h&]uh1jHhjIhhhhhNubah}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjIhhhhhMiubeh}(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&]uh1hhjIhhhhhMlubjD)}(hhh]jI)}(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 }(hj JhhhNhNubj')}(h ``width``h]hwidth}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj Jubh and }(hj JhhhNhNubj')}(h ``height``h]hheight}(hj#JhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hj Jubh" fields changed from _s32 to _u32.}(hj JhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMnhjJubah}(h]h ]h"]h$]h&]uh1jHhjJhhhhhNubah}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjIhhhhhMnubeh}(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}(hjRJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjOJhhhhhMrubjD)}(hhh]jI)}(h.Added Software Defined Radio (SDR) Interface. h]h)}(h-Added Software Defined Radio (SDR) Interface.h]h-Added Software Defined Radio (SDR) Interface.}(hjgJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMthjcJubah}(h]h ]h"]h$]h&]uh1jHhj`JhhhhhNubah}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjOJhhhhhMtubeh}(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}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjJhhhhhMwubjD)}(hhh]jI)}(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&]uh1jHhjJhhhhhNubah}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjJhhhhhMyubeh}(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|ubjD)}(hhh](jI)}(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&]uh1jHhjJhhhhhNubjI)}(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]jJ)}(hjJh]hVIDIOC_QUERY_EXT_CTRL}(hjJhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjJubah}(h]h ]h"]h$]h&]refdocj? refdomainj Kreftyperef refexplicitrefwarnjTvidioc_queryctrluh1hhhhMhjJubh.}(hjJhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjJubah}(h]h ]h"]h$]h&]uh1jHhjJhhhhhNubeh}(h]h ]h"]h$]h&]jujvjwhjxjyuh1jChjJhhhhhM~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`. 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]jJ)}(hjLh]hvideo overlay interface}(hjLhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjLubah}(h]h ]h"]h$]h&]refdocj? refdomainjLreftyperef refexplicitrefwarnjToverlayuh1hhhhMhjLubhXj. 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&]uh1j&hjMubh must contain these lines:}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjLhhubj)}(h*Section "Module" Load "v4l" EndSectionh]h*Section "Module" Load "v4l" EndSection}hj4Msbah}(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 }(hjBMhhhNhNubh)}(h:ref:`overlay`h]jJ)}(hjLMh]hoverlay}(hjNMhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjJMubah}(h]h ]h"]h$]h&]refdocj? refdomainjXMreftyperef refexplicitrefwarnjToverlayuh1hhhhMhjBMubh apply.}(hjBMhhhNhNubeh}(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.}(hjtMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhjLhhubeh}(h](x-video-extensionjLeh ]h"](x video extensionxvideoeh$]h&]uh1hhjLhhhhhMexpect_referenced_by_name}jMjLsexpect_referenced_by_id}jLjLsubh)}(hhh](h)}(h Digital Videoh]h Digital Video}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjMhhhhhMubh)}(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&]uh1hhhhMhjMhhubeh}(h] digital-videoah ]h"] digital videoah$]h&]uh1hhjLhhhhhMubh)}(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&]uh1hhjLhhhhhMubeh}(h](/relation-of-v4l2-to-other-linux-multimedia-apisjLeh ]h"](/relation of v4l2 to other linux multimedia apisothereh$]h&]uh1hhhhhhhhMjM}jNj{LsjM}jLj{Lsubh)}(hhh](h)}(hExperimental API Elementsh]hExperimental API Elements}(hj NhhhNhNubah}(h]h ]h"]h$]h&]uh1hhj NhhhhhMubh)}(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&]uh1hhhhMhj Nhhubh bullet_list)}(hhh](jI)}(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]jJ)}(hj7Nh]hVIDIOC_DBG_G_REGISTER}(hj9NhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj5Nubah}(h]h ]h"]h$]h&]refdocj? refdomainjCNreftyperef refexplicitrefwarnjTvidioc_dbg_g_registeruh1hhhhMhj1Nubh and }(hj1NhhhNhNubh)}(h4:ref:`VIDIOC_DBG_S_REGISTER `h]jJ)}(hj[Nh]hVIDIOC_DBG_S_REGISTER}(hj]NhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjYNubah}(h]h ]h"]h$]h&]refdocj? refdomainjgNreftyperef refexplicitrefwarnjTvidioc_dbg_g_registeruh1hhhhMhj1Nubh ioctls.}(hj1NhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj-Nubah}(h]h ]h"]h$]h&]uh1jHhj*NhhhhhNubjI)}(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]jJ)}(hjNh]hVIDIOC_DBG_G_CHIP_INFO}(hjNhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjNubah}(h]h ]h"]h$]h&]refdocj? refdomainjNreftyperef refexplicitrefwarnjTvidioc_dbg_g_chip_infouh1hhhhMhjNubh ioctl.}(hjNhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjNubah}(h]h ]h"]h$]h&]uh1jHhj*NhhhhhNubeh}(h]h ]h"]h$]h&]bullet-uh1j(NhhhMhj Nhhubh)}(h .. _obsolete:h]h}(h]h ]h"]h$]h&]hԌobsoleteuh1hhMhj Nhhhhubeh}(h](experimental-api-elementsjMeh ]h"](experimental api elements experimentaleh$]h&]uh1hhhhhhhhMjM}jNjMsjM}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&]uh1hhhhMhjNhhubj)N)}(hhh](jI)}(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}(hj OhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjOubh and }(hjOhhhNhNubj')}(h``VIDIOC_S_MPEGCOMP``h]hVIDIOC_S_MPEGCOMP}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjOubh ioctls. Use Extended Controls, }(hjOhhhNhNubh)}(h:ref:`extended-controls`h]jJ)}(hj/Oh]hextended-controls}(hj1OhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhj-Oubah}(h]h ]h"]h$]h&]refdocj? refdomainj;Oreftyperef refexplicitrefwarnjTextended-controlsuh1hhhhMhjOubh.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjOubah}(h]h ]h"]h$]h&]uh1jHhjNhhhhhNubjI)}(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 (}(hjaOhhhNhNubh)}(h:ref:`dv-timings`h]jJ)}(hjkOh]h dv-timings}(hjmOhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjiOubah}(h]h ]h"]h$]h&]refdocj? refdomainjwOreftyperef refexplicitrefwarnjT dv-timingsuh1hhhhMhjaOubh).}(hjaOhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj]Oubah}(h]h ]h"]h$]h&]uh1jHhjNhhhhhNubjI)}(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&]uh1j&hjOubh and }(hjOhhhNhNubj')}(h``VIDIOC_SUBDEV_S_CROP``h]hVIDIOC_SUBDEV_S_CROP}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjOubh ioctls. Use }(hjOhhhNhNubj')}(h``VIDIOC_SUBDEV_G_SELECTION``h]hVIDIOC_SUBDEV_G_SELECTION}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjOubh and }hjOsbj')}(h``VIDIOC_SUBDEV_S_SELECTION``h]hVIDIOC_SUBDEV_S_SELECTION}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1j&hjOubh, }(hjOhhhNhNubh)}(h :ref:`VIDIOC_SUBDEV_G_SELECTION`h]jJ)}(hjOh]hVIDIOC_SUBDEV_G_SELECTION}(hjOhhhNhNubah}(h]h ](j2stdstd-refeh"]h$]h&]uh1jIhjOubah}(h]h ]h"]h$]h&]refdocj? refdomainjOreftyperef refexplicitrefwarnjTvidioc_subdev_g_selectionuh1hhhhMhjOubh.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhjOubah}(h]h ]h"]h$]h&]uh1jHhjNhhhhhNubeh}(h]h ]h"]h$]h&]jNjNuh1j(NhhhMhjNhhubhfootnote)}(h#This is not implemented in XFree86.h](hlabel)}(hhh]h1}(hj'PhhhNhNubah}(h]h ]h"]h$]h&]uh1j%Phj!PhhhNhNubh)}(hj#Ph]h#This is not implemented in XFree86.}(hj4PhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj!Pubeh}(h]jLah ]h"]f1ah$]h&]jLajLKjLj?uh1jPhhhMhjNhhubeh}(h](obsolete-api-elementsjNeh ]h"](obsolete api elementsobsoleteeh$]h&]uh1hhhhhhhhMjM}jNPjNsjM}jNjNsubeh}(h](changes-of-the-v4l2-apiheh ]h"](changes of the v4l2 api hist-v4l2eh$]h&]uh1hhhhhhhhKjM}jYPhsjM}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_handlerjPerror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourcehnj _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]hajL]j{LajL]jLajM]jMajN]jNajL]jLaunameids}(jYPhjXPjUPjDjAjkjhjjj j jj|j j j j j j j$j$jT'jQ'jQ*jN*j*j*jC+j@+jy,jv,j,j,j.j.jN/jK/j/j/j0j0j|0jy0j1j1j3j3jv5js5j6j6j7j6jL7jI7j8j8j29j/9j<j<j<j<j=j=j>j>j?j?jF@jC@jAjAjAjAjhBjeBjBjBjCjCjnCjkCjCjCjlDjiDjNEjKEjGjGjnHjkHj,Ij)IjIjIjIjIjLJjIJjJjJjJjJj6Kj3KjKjKjKjKjLjLjNjLjNjNjMjLjMjMjMjMjMjMjNjMjNjNjNPjNjMPjJPjEPjLu nametypes}(jYPjXPjDjkjj jj j j j$jT'jQ*j*jC+jy,j,j.jN/j/j0j|0j1j3jv5j6j7jL7j8j29j<j<j=j>j?jF@jAjAjhBjBjCjnCjCjlDjNEjGjnHj,IjIjIjLJjJjJj6KjKjKjLjNjNjMjMjMjMjNjNjNPjMPjEPuh}(hhjUPhjAhjhjGjjnj jj|jj jj j j j j$j jQ'j$jN*jW'j*jT*j@+j*jv,jF+j,j|,j.j,jK/j.j/jQ/j0j/jy0j!0j1j0j3j1js5j3j6jy5j6j6jI7j7j8jO7j/9j8j<j59j<j<j=j<j>j=j?j>jC@j?jAjI@jAjAjeBjAjBjkBjCjBjkCjCjCjqCjiDjCjKEjoDjGjQEjkHjGj)IjqHjIj/IjIjIjIJjIjJjOJjJjJj3KjJjKj9KjKjKjLjKjLjLjNjLjLjLjMjLjLjLjMjMjMjMjMj NjNj NjNjNjJPjNjLj!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}jPKsRparse_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&]levelKtypeINFOlineMsourcehuh1jPhj&ubatransform_messages](jP)}(hhh]h)}(hhh]h/Hyperlink target "hist-v4l2" is not referenced.}hjQsbah}(h]h ]h"]h$]h&]uh1hhj Qubah}(h]h ]h"]h$]h&]levelKtypejQsourcehnjlineKuh1jPubjP)}(hhh]h)}(hhh]h+Hyperlink target "other" is not referenced.}hj(Qsbah}(h]h ]h"]h$]h&]uh1hhj%Qubah}(h]h ]h"]h$]h&]levelKtypejQsourcehnjlineMuh1jPubjP)}(hhh]h)}(hhh]h,Hyperlink target "xvideo" is not referenced.}hjBQsbah}(h]h ]h"]h$]h&]uh1hhj?Qubah}(h]h ]h"]h$]h&]levelKtypejQsourcehnjlineMuh1jPubjP)}(hhh]h)}(hhh]h2Hyperlink target "experimental" is not referenced.}hj\Qsbah}(h]h ]h"]h$]h&]uh1hhjYQubah}(h]h ]h"]h$]h&]levelKtypejQsourcehnjlineMuh1jPubjP)}(hhh]h)}(hhh]h.Hyperlink target "obsolete" is not referenced.}hjvQsbah}(h]h ]h"]h$]h&]uh1hhjsQubah}(h]h ]h"]h$]h&]levelKtypejQsourcehnjlineMuh1jPube transformerN include_log] decorationNhhub.