Úsphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftargetH/translations/zh_CN/userspace-api/media/v4l/vidioc-subdev-enum-mbus-codemodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetH/translations/zh_TW/userspace-api/media/v4l/vidioc-subdev-enum-mbus-codemodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetH/translations/it_IT/userspace-api/media/v4l/vidioc-subdev-enum-mbus-codemodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetH/translations/ja_JP/userspace-api/media/v4l/vidioc-subdev-enum-mbus-codemodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetH/translations/ko_KR/userspace-api/media/v4l/vidioc-subdev-enum-mbus-codemodnameN classnameN refexplicituh1hhh ubh)}(hhh]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetH/translations/pt_BR/userspace-api/media/v4l/vidioc-subdev-enum-mbus-codemodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetH/translations/sp_SP/userspace-api/media/v4l/vidioc-subdev-enum-mbus-codemodnameN 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:spacepreserveuh1hhhhhhb/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/vidioc-subdev-enum-mbus-code.rsthKubhtarget)}(h!.. _VIDIOC_SUBDEV_ENUM_MBUS_CODE:h]h}(h]h ]h"]h$]h&]refidvidioc-subdev-enum-mbus-codeuh1hhKhhhhhhubhsection)}(hhh](htitle)}(h"ioctl VIDIOC_SUBDEV_ENUM_MBUS_CODEh]h"ioctl VIDIOC_SUBDEV_ENUM_MBUS_CODE}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNameh]hName}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh paragraph)}(h:VIDIOC_SUBDEV_ENUM_MBUS_CODE - Enumerate media bus formatsh]h:VIDIOC_SUBDEV_ENUM_MBUS_CODE - Enumerate media bus formats}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK hhhhubeh}(h]nameah ]h"]nameah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(hSynopsish]hSynopsis}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubhindex)}(hhh]h}(h]h ]h"]h$]h&]entries](single*V4L.VIDIOC_SUBDEV_ENUM_MBUS_CODE (C macro)"c.V4L.VIDIOC_SUBDEV_ENUM_MBUS_CODEhNtauh1j%hjhhhNhNubhdesc)}(hhh](hdesc_signature)}(hVIDIOC_SUBDEV_ENUM_MBUS_CODEh]hdesc_signature_line)}(hVIDIOC_SUBDEV_ENUM_MBUS_CODEh]h desc_name)}(hVIDIOC_SUBDEV_ENUM_MBUS_CODEh]h desc_sig_name)}(hj?h]hVIDIOC_SUBDEV_ENUM_MBUS_CODE}(hjOhhhNhNubah}(h]h ]nah"]h$]h&]uh1jMhjIubah}(h]h ](sig-namedescnameeh"]h$]h&]hhuh1jGhjChhhhhKubah}(h]h ]h"]h$]h&]hhƌ add_permalinkuh1jAsphinx_line_type declaratorhj=hhhhhKubah}(h]j4ah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1j;hhhKhj8hhubh desc_content)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhj8hhhhhKubeh}(h]h ](cmacroeh"]h$]h&]domainjobjtypejdesctypejnoindex noindexentrynocontentsentryuh1j6hhhjhNhNubh)}(h]``int ioctl(int fd, VIDIOC_SUBDEV_ENUM_MBUS_CODE, struct v4l2_subdev_mbus_code_enum * argp)``h]hliteral)}(hjh]hYint ioctl(int fd, VIDIOC_SUBDEV_ENUM_MBUS_CODE, struct v4l2_subdev_mbus_code_enum * argp)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubeh}(h]synopsisah ]h"]synopsisah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Argumentsh]h Arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubhdefinition_list)}(hhh](hdefinition_list_item)}(h5``fd`` File descriptor returned by :c:func:`open()`. h](hterm)}(h``fd``h]j)}(hjh]hfd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhhhKhjubh definition)}(hhh]h)}(h-File descriptor returned by :c:func:`open()`.h](hFile descriptor returned by }(hjhhhNhNubh)}(h:c:func:`open()`h]j)}(hjh]hopen()}(hjhhhNhNubah}(h]h ](xrefjc-funceh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdoc4userspace-api/media/v4l/vidioc-subdev-enum-mbus-code refdomainjreftypefunc refexplicitrefwarn c:parent_keysphinx.domains.c LookupKey)}data]j ASTIdentifier)} identifierV4LsbNasb reftargetopenuh1hhhhKhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(hA``argp`` Pointer to struct :c:type:`v4l2_subdev_mbus_code_enum`. h](j)}(h``argp``h]j)}(hjBh]hargp}(hjDhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj@ubah}(h]h ]h"]h$]h&]uh1jhhhKhj<ubj)}(hhh]h)}(h7Pointer to struct :c:type:`v4l2_subdev_mbus_code_enum`.h](hPointer to struct }(hjZhhhNhNubh)}(h$:c:type:`v4l2_subdev_mbus_code_enum`h]j)}(hjdh]hv4l2_subdev_mbus_code_enum}(hjfhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$v4l2_subdev_mbus_code_enumuh1hhhhKhjZubh.}(hjZhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjWubah}(h]h ]h"]h$]h&]uh1jhj<ubeh}(h]h ]h"]h$]h&]uh1jhhhKhjhhubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h] argumentsah ]h"] argumentsah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Descriptionh]h Description}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhK ubh)}(hiThis call is used by the application to access the enumeration of media bus formats for the selected pad.h]hiThis call is used by the application to access the enumeration of media bus formats for the selected pad.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK"hjhhubh)}(hThe enumerations are defined by the driver, and indexed using the ``index`` field of struct :c:type:`v4l2_subdev_mbus_code_enum`. Each enumeration starts with the ``index`` of 0, and the lowest invalid index marks the end of enumeration.h](hBThe enumerations are defined by the driver, and indexed using the }(hjhhhNhNubj)}(h ``index``h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field of struct }(hjhhhNhNubh)}(h$:c:type:`v4l2_subdev_mbus_code_enum`h]j)}(hjh]hv4l2_subdev_mbus_code_enum}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$v4l2_subdev_mbus_code_enumuh1hhhhK%hjubh#. Each enumeration starts with the }(hjhhhNhNubj)}(h ``index``h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhA of 0, and the lowest invalid index marks the end of enumeration.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK%hjhhubh)}(hXTherefore, to enumerate media bus formats available at a given sub-device pad, initialize the ``pad``, and ``which`` fields to desired values, and set ``index`` to 0. Then call the :ref:`VIDIOC_SUBDEV_ENUM_MBUS_CODE` ioctl with a pointer to this structure.h](h^Therefore, to enumerate media bus formats available at a given sub-device pad, initialize the }(hjhhhNhNubj)}(h``pad``h]hpad}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, and }(hjhhhNhNubj)}(h ``which``h]hwhich}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh# fields to desired values, and set }(hjhhhNhNubj)}(h ``index``h]hindex}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh to 0. Then call the }(hjhhhNhNubh)}(h#:ref:`VIDIOC_SUBDEV_ENUM_MBUS_CODE`h]hinline)}(hjYh]hVIDIOC_SUBDEV_ENUM_MBUS_CODE}(hj]hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hjWubah}(h]h ]h"]h$]h&]refdocj refdomainjgreftyperef refexplicitrefwarnj$vidioc_subdev_enum_mbus_codeuh1hhhhK*hjubh( ioctl with a pointer to this structure.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK*hjhhubh)}(hA successful call will return with the ``code`` field filled in with a mbus code value. Repeat with increasing ``index`` until ``EINVAL`` is received. ``EINVAL`` means that either ``pad`` is invalid, or that there are no more codes available at this pad.h](h'A successful call will return with the }(hjhhhNhNubj)}(h``code``h]hcode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh@ field filled in with a mbus code value. Repeat with increasing }(hjhhhNhNubj)}(h ``index``h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh until }(hjhhhNhNubj)}(h ``EINVAL``h]hEINVAL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is received. }(hjhhhNhNubj)}(h ``EINVAL``h]hEINVAL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh means that either }(hjhhhNhNubj)}(h``pad``h]hpad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhC is invalid, or that there are no more codes available at this pad.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK0hjhhubh)}(h\The driver must not return the same value of ``code`` for different indices at the same pad.h](h-The driver must not return the same value of }(hjhhhNhNubj)}(h``code``h]hcode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh' for different indices at the same pad.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK6hjhhubh)}(hAvailable media bus formats may depend on the current 'try' formats at other pads of the sub-device, as well as on the current active links. See :ref:`VIDIOC_SUBDEV_G_FMT` for more information about the try formats.h](hAvailable media bus formats may depend on the current ‘try’ formats at other pads of the sub-device, as well as on the current active links. See }(hj hhhNhNubh)}(h:ref:`VIDIOC_SUBDEV_G_FMT`h]j\)}(hjh]hVIDIOC_SUBDEV_G_FMT}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hjubah}(h]h ]h"]h$]h&]refdocj refdomainj!reftyperef refexplicitrefwarnj$vidioc_subdev_g_fmtuh1hhhhK9hj ubh, for more information about the try formats.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK9hjhhubj&)}(hhh]h}(h]h ]h"]h$]h&]entries](j2'V4L.v4l2_subdev_mbus_code_enum (C type) c.V4L.v4l2_subdev_mbus_code_enumhNtauh1j%hjhhhNhNubj7)}(hhh](j<)}(hv4l2_subdev_mbus_code_enumh]jB)}(htype v4l2_subdev_mbus_code_enumh](hdesc_sig_keyword)}(htypeh]htype}(hjXhhhNhNubah}(h]h ]kah"]h$]h&]uh1jVhjRhhhhhK>ubhdesc_sig_space)}(h h]h }(hjihhhNhNubah}(h]h ]wah"]h$]h&]uh1jghjRhhhhhK>ubjH)}(hv4l2_subdev_mbus_code_enumh]jN)}(hjPh]hv4l2_subdev_mbus_code_enum}(hj|hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhjxubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhjRhhhhhK>ubeh}(h]h ]h"]h$]h&]hhjkuh1jAjljmhjNhhhhhK>ubah}(h]jIah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhK>hjKhhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhjKhhhhhK>ubeh}(h]h ](jtypeeh"]h$]h&]jjjjjjjjjuh1j6hhhjhNhNubhtabular_col_spec)}(hhh]h}(h]h ]h"]h$]h&]spec|p{4.4cm}|p{4.4cm}|p{8.5cm}|uh1jhhhK@hjhhubhtable)}(hhh](h)}(h!struct v4l2_subdev_mbus_code_enumh]h!struct v4l2_subdev_mbus_code_enum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKBhjubhtgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKGhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``pad``h]j)}(hjh]hpad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKHhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hQPad number as reported by the media controller API. Filled in by the application.h]hQPad number as reported by the media controller API. Filled in by the application.}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKIhj3ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKKhjSubah}(h]h ]h"]h$]h&]uh1jhjPubj)}(hhh]h)}(h ``index``h]j)}(hjoh]hindex}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjmubah}(h]h ]h"]h$]h&]uh1hhhhKLhjjubah}(h]h ]h"]h$]h&]uh1jhjPubj)}(hhh]h)}(hcIndex of the mbus code in the enumeration belonging to the given pad. Filled in by the application.h]hcIndex of the mbus code in the enumeration belonging to the given pad. Filled in by the application.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKMhjubah}(h]h ]h"]h$]h&]uh1jhjPubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKOhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``code``h]j)}(hjh]hcode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKPhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hZThe media bus format code, as defined in :ref:`v4l2-mbus-format`. Filled in by the driver.h](h)The media bus format code, as defined in }(hjhhhNhNubh)}(h:ref:`v4l2-mbus-format`h]j\)}(hjh]hv4l2-mbus-format}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnj$v4l2-mbus-formatuh1hhhhKQhjubh. Filled in by the driver.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKQhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKShj%ubah}(h]h ]h"]h$]h&]uh1jhj"ubj)}(hhh]h)}(h ``which``h]j)}(hjAh]hwhich}(hjChhhNhNubah}(h]h ]h"]h$]h&]uh1jhj?ubah}(h]h ]h"]h$]h&]uh1hhhhKThj<ubah}(h]h ]h"]h$]h&]uh1jhj"ubj)}(hhh]h)}(hpMedia bus format codes to be enumerated, from enum :ref:`v4l2_subdev_format_whence `.h](h3Media bus format codes to be enumerated, from enum }(hj_hhhNhNubh)}(h<:ref:`v4l2_subdev_format_whence `h]j\)}(hjih]hv4l2_subdev_format_whence}(hjkhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hjgubah}(h]h ]h"]h$]h&]refdocj refdomainjureftyperef refexplicitrefwarnj$v4l2-subdev-format-whenceuh1hhhhKUhj_ubh.}(hj_hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKUhj\ubah}(h]h ]h"]h$]h&]uh1jhj"ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKWhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``flags``h]j)}(hjh]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKXhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h&See :ref:`v4l2-subdev-mbus-code-flags`h](hSee }(hjhhhNhNubh)}(h":ref:`v4l2-subdev-mbus-code-flags`h]j\)}(hjh]hv4l2-subdev-mbus-code-flags}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnj$v4l2-subdev-mbus-code-flagsuh1hhhhKYhjubeh}(h]h ]h"]h$]h&]uh1hhhhKYhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKZhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``stream``h]j)}(hj3h]hstream}(hj5hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj1ubah}(h]h ]h"]h$]h&]uh1hhhhK[hj.ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hStream identifier.h]hStream identifier.}(hjQhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK\hjNubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK]hjnubah}(h]h ]h"]h$]h&]uh1jhjkubj)}(hhh]h)}(h``reserved``\ [6]h](j)}(h ``reserved``h]hreserved}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh [6]}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK^hjubah}(h]h ]h"]h$]h&]uh1jhjkubj)}(hhh]h)}(hTReserved for future extensions. Applications and drivers must set the array to zero.h]hTReserved for future extensions. Applications and drivers must set the array to zero.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK_hjubah}(h]h ]h"]h$]h&]uh1jhjkubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubeh}(h]id1ah ]h"]h$]h&]uh1jhjhhhNhNubhraw)}(h \footnotesizeh]h \footnotesize}hjsbah}(h]h ]h"]h$]h&]formatlatexhhuh1jhhhKdhjhhubj)}(hhh]h}(h]h ]h"]h$]h&]j|p{8.8cm}|p{2.2cm}|p{6.3cm}|uh1jhhhKhhjhhubh)}(h .. _v4l2-subdev-mbus-code-flags:h]h}(h]h ]h"]h$]h&]hԌv4l2-subdev-mbus-code-flagsuh1hhKjhjhhhhubj)}(hhh](h)}(h%Subdev Media Bus Code Enumerate Flagsh]h%Subdev Media Bus Code Enumerate Flags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKlhjubj)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h$V4L2_SUBDEV_MBUS_CODE_CSC_COLORSPACEh]h$V4L2_SUBDEV_MBUS_CODE_CSC_COLORSPACE}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKqhj:ubah}(h]h ]h"]h$]h&]uh1jhj7ubj)}(hhh]h)}(h 0x00000001h]h 0x00000001}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKrhjQubah}(h]h ]h"]h$]h&]uh1jhj7ubj)}(hhh]h)}(hXSThe driver allows the application to try to change the default colorspace encoding. The application can ask to configure the colorspace of the subdevice when calling the :ref:`VIDIOC_SUBDEV_S_FMT ` ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC ` set. See :ref:`v4l2-mbus-format` on how to do this.h](hThe driver allows the application to try to change the default colorspace encoding. The application can ask to configure the colorspace of the subdevice when calling the }(hjkhhhNhNubh)}(h0:ref:`VIDIOC_SUBDEV_S_FMT `h]j\)}(hjuh]hVIDIOC_SUBDEV_S_FMT}(hjwhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hjsubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnj$vidioc_subdev_g_fmtuh1hhhhKshjkubh ioctl with }(hjkhhhNhNubh)}(h9:ref:`V4L2_MBUS_FRAMEFMT_SET_CSC `h]j\)}(hjh]hV4L2_MBUS_FRAMEFMT_SET_CSC}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnj$mbus-framefmt-set-cscuh1hhhhKshjkubh set. See }(hjkhhhNhNubh)}(h:ref:`v4l2-mbus-format`h]j\)}(hjh]hv4l2-mbus-format}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnj$v4l2-mbus-formatuh1hhhhKshjkubh on how to do this.}(hjkhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKshjhubah}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhj4ubj)}(hhh](j)}(hhh]h)}(h#V4L2_SUBDEV_MBUS_CODE_CSC_XFER_FUNCh]h#V4L2_SUBDEV_MBUS_CODE_CSC_XFER_FUNC}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKxhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h 0x00000002h]h 0x00000002}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKyhj ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hXZThe driver allows the application to try to change the default transform function. The application can ask to configure the transform function of the subdevice when calling the :ref:`VIDIOC_SUBDEV_S_FMT ` ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC ` set. See :ref:`v4l2-mbus-format` on how to do this.h](hThe driver allows the application to try to change the default transform function. The application can ask to configure the transform function of the subdevice when calling the }(hj% hhhNhNubh)}(h0:ref:`VIDIOC_SUBDEV_S_FMT `h]j\)}(hj/ h]hVIDIOC_SUBDEV_S_FMT}(hj1 hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hj- ubah}(h]h ]h"]h$]h&]refdocj refdomainj; reftyperef refexplicitrefwarnj$vidioc_subdev_g_fmtuh1hhhhKzhj% ubh ioctl with }(hj% hhhNhNubh)}(h9:ref:`V4L2_MBUS_FRAMEFMT_SET_CSC `h]j\)}(hjS h]hV4L2_MBUS_FRAMEFMT_SET_CSC}(hjU hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hjQ ubah}(h]h ]h"]h$]h&]refdocj refdomainj_ reftyperef refexplicitrefwarnj$mbus-framefmt-set-cscuh1hhhhKzhj% ubh set. See }(hj% hhhNhNubh)}(h:ref:`v4l2-mbus-format`h]j\)}(hjw h]hv4l2-mbus-format}(hjy hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hju ubah}(h]h ]h"]h$]h&]refdocj refdomainj reftyperef refexplicitrefwarnj$v4l2-mbus-formatuh1hhhhKzhj% ubh on how to do this.}(hj% hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKzhj" ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj4ubj)}(hhh](j)}(hhh]h)}(h#V4L2_SUBDEV_MBUS_CODE_CSC_YCBCR_ENCh]h#V4L2_SUBDEV_MBUS_CODE_CSC_YCBCR_ENC}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h 0x00000004h]h 0x00000004}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hXTThe driver allows the application to try to change the default Y'CbCr encoding. The application can ask to configure the Y'CbCr encoding of the subdevice when calling the :ref:`VIDIOC_SUBDEV_S_FMT ` ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC ` set. See :ref:`v4l2-mbus-format` on how to do this.h](hThe driver allows the application to try to change the default Y’CbCr encoding. The application can ask to configure the Y’CbCr encoding of the subdevice when calling the }(hj hhhNhNubh)}(h0:ref:`VIDIOC_SUBDEV_S_FMT `h]j\)}(hj h]hVIDIOC_SUBDEV_S_FMT}(hj hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hj ubah}(h]h ]h"]h$]h&]refdocj refdomainj reftyperef refexplicitrefwarnj$vidioc_subdev_g_fmtuh1hhhhKhj ubh ioctl with }(hj hhhNhNubh)}(h9:ref:`V4L2_MBUS_FRAMEFMT_SET_CSC `h]j\)}(hj h]hV4L2_MBUS_FRAMEFMT_SET_CSC}(hj hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hj ubah}(h]h ]h"]h$]h&]refdocj refdomainj reftyperef refexplicitrefwarnj$mbus-framefmt-set-cscuh1hhhhKhj ubh set. See }(hj hhhNhNubh)}(h:ref:`v4l2-mbus-format`h]j\)}(hj1 h]hv4l2-mbus-format}(hj3 hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hj/ ubah}(h]h ]h"]h$]h&]refdocj refdomainj= reftyperef refexplicitrefwarnj$v4l2-mbus-formatuh1hhhhKhj ubh on how to do this.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj4ubj)}(hhh](j)}(hhh]h)}(h!V4L2_SUBDEV_MBUS_CODE_CSC_HSV_ENCh]h!V4L2_SUBDEV_MBUS_CODE_CSC_HSV_ENC}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjh ubah}(h]h ]h"]h$]h&]uh1jhje ubj)}(hhh]h)}(h 0x00000004h]h 0x00000004}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhje ubj)}(hhh]h)}(hXNThe driver allows the application to try to change the default HSV encoding. The application can ask to configure the HSV encoding of the subdevice when calling the :ref:`VIDIOC_SUBDEV_S_FMT ` ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC ` set. See :ref:`v4l2-mbus-format` on how to do this.h](hThe driver allows the application to try to change the default HSV encoding. The application can ask to configure the HSV encoding of the subdevice when calling the }(hj hhhNhNubh)}(h0:ref:`VIDIOC_SUBDEV_S_FMT `h]j\)}(hj h]hVIDIOC_SUBDEV_S_FMT}(hj hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hj ubah}(h]h ]h"]h$]h&]refdocj refdomainj reftyperef refexplicitrefwarnj$vidioc_subdev_g_fmtuh1hhhhKhj ubh ioctl with }(hj hhhNhNubh)}(h9:ref:`V4L2_MBUS_FRAMEFMT_SET_CSC `h]j\)}(hj h]hV4L2_MBUS_FRAMEFMT_SET_CSC}(hj hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hj ubah}(h]h ]h"]h$]h&]refdocj refdomainj reftyperef refexplicitrefwarnj$mbus-framefmt-set-cscuh1hhhhKhj ubh set. See }(hj hhhNhNubh)}(h:ref:`v4l2-mbus-format`h]j\)}(hj h]hv4l2-mbus-format}(hj hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hj ubah}(h]h ]h"]h$]h&]refdocj refdomainj reftyperef refexplicitrefwarnj$v4l2-mbus-formatuh1hhhhKhj ubh on how to do this.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhje ubeh}(h]h ]h"]h$]h&]uh1jhj4ubj)}(hhh](j)}(hhh]h)}(h&V4L2_SUBDEV_MBUS_CODE_CSC_QUANTIZATIONh]h&V4L2_SUBDEV_MBUS_CODE_CSC_QUANTIZATION}(hj% hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj" ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h 0x00000008h]h 0x00000008}(hj< hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj9 ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hXNThe driver allows the application to try to change the default quantization. The application can ask to configure the quantization of the subdevice when calling the :ref:`VIDIOC_SUBDEV_S_FMT ` ioctl with :ref:`V4L2_MBUS_FRAMEFMT_SET_CSC ` set. See :ref:`v4l2-mbus-format` on how to do this.h](hThe driver allows the application to try to change the default quantization. The application can ask to configure the quantization of the subdevice when calling the }(hjS hhhNhNubh)}(h0:ref:`VIDIOC_SUBDEV_S_FMT `h]j\)}(hj] h]hVIDIOC_SUBDEV_S_FMT}(hj_ hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hj[ ubah}(h]h ]h"]h$]h&]refdocj refdomainji reftyperef refexplicitrefwarnj$vidioc_subdev_g_fmtuh1hhhhKhjS ubh ioctl with }(hjS hhhNhNubh)}(h9:ref:`V4L2_MBUS_FRAMEFMT_SET_CSC `h]j\)}(hj h]hV4L2_MBUS_FRAMEFMT_SET_CSC}(hj hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hj ubah}(h]h ]h"]h$]h&]refdocj refdomainj reftyperef refexplicitrefwarnj$mbus-framefmt-set-cscuh1hhhhKhjS ubh set. See }(hjS hhhNhNubh)}(h:ref:`v4l2-mbus-format`h]j\)}(hj h]hv4l2-mbus-format}(hj hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hj ubah}(h]h ]h"]h$]h&]refdocj refdomainj reftyperef refexplicitrefwarnj$v4l2-mbus-formatuh1hhhhKhjS ubh on how to do this.}(hjS hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjP ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj4ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubeh}(h](id2jeh ]h"]v4l2-subdev-mbus-code-flagsah$]h&]uh1jhjhhhNhNexpect_referenced_by_name}j jsexpect_referenced_by_id}jjsubj)}(h \normalsizeh]h \normalsize}hj sbah}(h]h ]h"]h$]h&]formatlatexhhuh1jhhhKhjhhubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(h Return Valueh]h Return Value}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhKubh)}(hOn success 0 is returned, on error -1 and the ``errno`` variable is set appropriately. The generic error codes are described at the :ref:`Generic Error Codes ` chapter.h](h.On success 0 is returned, on error -1 and the }(hj hhhNhNubj)}(h ``errno``h]herrno}(hj# hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhM variable is set appropriately. The generic error codes are described at the }(hj hhhNhNubh)}(h':ref:`Generic Error Codes `h]j\)}(hj7 h]hGeneric Error Codes}(hj9 hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1j[hj5 ubah}(h]h ]h"]h$]h&]refdocj refdomainjC reftyperef refexplicitrefwarnj$ gen-errorsuh1hhhhKhj ubh chapter.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj hhubj)}(hhh]j)}(hEINVAL The struct :c:type:`v4l2_subdev_mbus_code_enum` ``pad`` references a non-existing pad, the ``which`` field has an unsupported value, or the ``index`` field is out of bounds.h](j)}(hEINVALh]hEINVAL}(hjf hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjb ubj)}(hhh]h)}(hThe struct :c:type:`v4l2_subdev_mbus_code_enum` ``pad`` references a non-existing pad, the ``which`` field has an unsupported value, or the ``index`` field is out of bounds.h](h The struct }(hjw hhhNhNubh)}(h$:c:type:`v4l2_subdev_mbus_code_enum`h]j)}(hj h]hv4l2_subdev_mbus_code_enum}(hj hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$v4l2_subdev_mbus_code_enumuh1hhhhKhjw ubh }(hjw hhhNhNubj)}(h``pad``h]hpad}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw ubh$ references a non-existing pad, the }(hjw hhhNhNubj)}(h ``which``h]hwhich}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw ubh( field has an unsupported value, or the }(hjw hhhNhNubj)}(h ``index``h]hindex}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw ubh field is out of bounds.}(hjw hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjt ubah}(h]h ]h"]h$]h&]uh1jhjb ubeh}(h]h ]h"]h$]h&]uh1jhhhKhj_ ubah}(h]h ]h"]h$]h&]uh1jhj hhhhhNubeh}(h] return-valueah ]h"] return valueah$]h&]uh1hhhhhhhhKubeh}(h]("ioctl-vidioc-subdev-enum-mbus-codeheh ]h"]("ioctl vidioc_subdev_enum_mbus_codevidioc_subdev_enum_mbus_codeeh$]h&]uh1hhhhhhhhKj }j hsj }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_handlerj% error_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}refids}(h]haj]jaunameids}(j hj j jjjjjjj j j jj j u nametypes}(j j jjjj j j uh}(hhj hjhjjj4j=jjj jjIjNjjj j jjj ju footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}j3 KsRparse_messages]transform_messages](hsystem_message)}(hhh]h)}(hhh]hBHyperlink target "vidioc-subdev-enum-mbus-code" is not referenced.}hj sbah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]levelKtypeINFOsourcehnjlineKuh1j ubj )}(hhh]h)}(hhh]hAHyperlink target "v4l2-subdev-mbus-code-flags" is not referenced.}hj sbah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]levelKtypej sourcehnjlineKjuh1j ube transformerN include_log] decorationNhhub.