Vxsphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftargetI/translations/zh_CN/userspace-api/media/v4l/vidioc-subdev-enum-frame-sizemodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetI/translations/zh_TW/userspace-api/media/v4l/vidioc-subdev-enum-frame-sizemodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetI/translations/it_IT/userspace-api/media/v4l/vidioc-subdev-enum-frame-sizemodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetI/translations/ja_JP/userspace-api/media/v4l/vidioc-subdev-enum-frame-sizemodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetI/translations/ko_KR/userspace-api/media/v4l/vidioc-subdev-enum-frame-sizemodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetI/translations/sp_SP/userspace-api/media/v4l/vidioc-subdev-enum-frame-sizemodnameN 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:spacepreserveuh1hhhhhhc/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/vidioc-subdev-enum-frame-size.rsthKubhtarget)}(h".. _VIDIOC_SUBDEV_ENUM_FRAME_SIZE:h]h}(h]h ]h"]h$]h&]refidvidioc-subdev-enum-frame-sizeuh1hhKhhhhhhubhsection)}(hhh](htitle)}(h#ioctl VIDIOC_SUBDEV_ENUM_FRAME_SIZEh]h#ioctl VIDIOC_SUBDEV_ENUM_FRAME_SIZE}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNameh]hName}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh paragraph)}(h?VIDIOC_SUBDEV_ENUM_FRAME_SIZE - Enumerate media bus frame sizesh]h?VIDIOC_SUBDEV_ENUM_FRAME_SIZE - Enumerate media bus frame sizes}(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_FRAME_SIZE (C macro)#c.V4L.VIDIOC_SUBDEV_ENUM_FRAME_SIZEhNtauh1jhjhhhNhNubhdesc)}(hhh](hdesc_signature)}(hVIDIOC_SUBDEV_ENUM_FRAME_SIZEh]hdesc_signature_line)}(hVIDIOC_SUBDEV_ENUM_FRAME_SIZEh]h desc_name)}(hVIDIOC_SUBDEV_ENUM_FRAME_SIZEh]h desc_sig_name)}(hj+h]hVIDIOC_SUBDEV_ENUM_FRAME_SIZE}(hj;hhhNhNubah}(h]h ]nah"]h$]h&]uh1j9hj5ubah}(h]h ](sig-namedescnameeh"]h$]h&]hhuh1j3hj/hhhhhKubah}(h]h ]h"]h$]h&]hh add_permalinkuh1j-sphinx_line_type declaratorhj)hhhhhKubah}(h]j ah ](sig sig-objecteh"]h$]h&] is_multiline _toc_parts) _toc_namehuh1j'hhhKhj$hhubh desc_content)}(hhh]h}(h]h ]h"]h$]h&]uh1jehj$hhhhhKubeh}(h]h ](cmacroeh"]h$]h&]domainjsobjtypejtdesctypejtnoindex noindexentrynocontentsentryuh1j"hhhjhNhNubh)}(h_``int ioctl(int fd, VIDIOC_SUBDEV_ENUM_FRAME_SIZE, struct v4l2_subdev_frame_size_enum * argp)``h]hliteral)}(hjh]h[int ioctl(int fd, VIDIOC_SUBDEV_ENUM_FRAME_SIZE, struct v4l2_subdev_frame_size_enum * argp)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(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 ](xrefjsc-funceh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdoc5userspace-api/media/v4l/vidioc-subdev-enum-frame-size refdomainjsreftypefunc 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)}(hB``argp`` Pointer to struct :c:type:`v4l2_subdev_frame_size_enum`. h](j)}(h``argp``h]j)}(hj.h]hargp}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhhhKhj(ubj)}(hhh]h)}(h8Pointer to struct :c:type:`v4l2_subdev_frame_size_enum`.h](hPointer to struct }(hjFhhhNhNubh)}(h%:c:type:`v4l2_subdev_frame_size_enum`h]j)}(hjPh]hv4l2_subdev_frame_size_enum}(hjRhhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjjv4l2_subdev_frame_size_enumuh1hhhhKhjFubh.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjCubah}(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)}(hThis ioctl allows applications to access the enumeration of frame sizes supported by a sub-device on the specified pad for the specified media bus format. Supported formats can be retrieved with the :ref:`VIDIOC_SUBDEV_ENUM_MBUS_CODE` ioctl.h](hThis ioctl allows applications to access the enumeration of frame sizes supported by a sub-device on the specified pad for the specified media bus format. Supported formats can be retrieved with the }(hjhhhNhNubh)}(h#:ref:`VIDIOC_SUBDEV_ENUM_MBUS_CODE`h]hinline)}(hjh]hVIDIOC_SUBDEV_ENUM_MBUS_CODE}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnjvidioc_subdev_enum_mbus_codeuh1hhhhK"hjubh ioctl.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK"hjhhubh)}(hX>The enumerations are defined by the driver, and indexed using the ``index`` field of the struct :c:type:`v4l2_subdev_frame_size_enum`. Each pair of ``pad`` and ``code`` correspond to a separate enumeration. Each enumeration starts with the ``index`` of 0, and the lowest invalid index marks the end of the 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 the struct }(hjhhhNhNubh)}(h%:c:type:`v4l2_subdev_frame_size_enum`h]j)}(hjh]hv4l2_subdev_frame_size_enum}(hjhhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjjv4l2_subdev_frame_size_enumuh1hhhhK)hjubh. Each pair of }(hjhhhNhNubj)}(h``pad``h]hpad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``code``h]hcode}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhH correspond to a separate enumeration. Each enumeration starts with the }(hjhhhNhNubj)}(h ``index``h]hindex}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhE of 0, and the lowest invalid index marks the end of the enumeration.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK)hjhhubh)}(hX!Therefore, to enumerate frame sizes allowed on the specified pad and using the specified mbus format, initialize the ``pad``, ``which``, and ``code`` fields to desired values, and set ``index`` to 0. Then call the :ref:`VIDIOC_SUBDEV_ENUM_FRAME_SIZE` ioctl with a pointer to the structure.h](huTherefore, to enumerate frame sizes allowed on the specified pad and using the specified mbus format, initialize the }(hjOhhhNhNubj)}(h``pad``h]hpad}(hjWhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh, }(hjOhhhNhNubj)}(h ``which``h]hwhich}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh, and }(hjOhhhNhNubj)}(h``code``h]hcode}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh# fields to desired values, and set }(hjOhhhNhNubj)}(h ``index``h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjOubh to 0. Then call the }(hjOhhhNhNubh)}(h$:ref:`VIDIOC_SUBDEV_ENUM_FRAME_SIZE`h]j)}(hjh]hVIDIOC_SUBDEV_ENUM_FRAME_SIZE}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnjvidioc_subdev_enum_frame_sizeuh1hhhhK/hjOubh' ioctl with a pointer to the structure.}(hjOhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK/hjhhubh)}(hXA successful call will return with minimum and maximum frame sizes filled in. Repeat with increasing ``index`` until ``EINVAL`` is received. ``EINVAL`` means that either no more entries are available in the enumeration, or that an input parameter was invalid.h](heA successful call will return with minimum and maximum frame sizes filled in. 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&]uh1jhjubhl means that either no more entries are available in the enumeration, or that an input parameter was invalid.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK6hjhhubh)}(hSub-devices that only support discrete frame sizes (such as most sensors) will return one or more frame sizes with identical minimum and maximum values.h]hSub-devices that only support discrete frame sizes (such as most sensors) will return one or more frame sizes with identical minimum and maximum values.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK;hjhhubh)}(hXlNot all possible sizes in given [minimum, maximum] ranges need to be supported. For instance, a scaler that uses a fixed-point scaling ratio might not be able to produce every frame size between the minimum and maximum values. Applications must use the :ref:`VIDIOC_SUBDEV_S_FMT ` ioctl to try the sub-device for an exact supported frame size.h](hNot all possible sizes in given [minimum, maximum] ranges need to be supported. For instance, a scaler that uses a fixed-point scaling ratio might not be able to produce every frame size between the minimum and maximum values. Applications must use the }(hjhhhNhNubh)}(h0:ref:`VIDIOC_SUBDEV_S_FMT `h]j)}(hj%h]hVIDIOC_SUBDEV_S_FMT}(hj'hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhj#ubah}(h]h ]h"]h$]h&]refdocj refdomainj1reftyperef refexplicitrefwarnjvidioc_subdev_g_fmtuh1hhhhK?hjubh? ioctl to try the sub-device for an exact supported frame size.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK?hjhhubh)}(hAvailable frame sizes may depend on the current 'try' formats at other pads of the sub-device, as well as on the current active links and the current values of V4L2 controls. See :ref:`VIDIOC_SUBDEV_G_FMT` for more information about try formats.h](hAvailable frame sizes may depend on the current ‘try’ formats at other pads of the sub-device, as well as on the current active links and the current values of V4L2 controls. See }(hjMhhhNhNubh)}(h:ref:`VIDIOC_SUBDEV_G_FMT`h]j)}(hjWh]hVIDIOC_SUBDEV_G_FMT}(hjYhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjUubah}(h]h ]h"]h$]h&]refdocj refdomainjcreftyperef refexplicitrefwarnjvidioc_subdev_g_fmtuh1hhhhKFhjMubh( for more information about try formats.}(hjMhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKFhjhhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j(V4L.v4l2_subdev_frame_size_enum (C type)!c.V4L.v4l2_subdev_frame_size_enumhNtauh1jhjhhhNhNubj#)}(hhh](j()}(hv4l2_subdev_frame_size_enumh]j.)}(h type v4l2_subdev_frame_size_enumh](hdesc_sig_keyword)}(htypeh]htype}(hjhhhNhNubah}(h]h ]kah"]h$]h&]uh1jhjhhhhhKLubhdesc_sig_space)}(h h]h }(hjhhhNhNubah}(h]h ]wah"]h$]h&]uh1jhjhhhhhKLubj4)}(hv4l2_subdev_frame_size_enumh]j:)}(hjh]hv4l2_subdev_frame_size_enum}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j9hjubah}(h]h ](jLjMeh"]h$]h&]hhuh1j3hjhhhhhKLubeh}(h]h ]h"]h$]h&]hhjWuh1j-jXjYhjhhhhhKLubah}(h]jah ](j]j^eh"]h$]h&]jbjc)jdhuh1j'hhhKLhjhhubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehjhhhhhKLubeh}(h]h ](jstypeeh"]h$]h&]jxjsjyjjzjj{j|j}uh1j"hhhjhNhNubhtabular_col_spec)}(hhh]h}(h]h ]h"]h$]h&]spec|p{4.4cm}|p{4.4cm}|p{8.5cm}|uh1jhhhKNhjhhubhtable)}(hhh](h)}(h"struct v4l2_subdev_frame_size_enumh]h"struct v4l2_subdev_frame_size_enum}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKPhjubhtgroup)}(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}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKUhj>ubah}(h]h ]h"]h$]h&]uh1j<hj9ubj=)}(hhh]h)}(h ``index``h]j)}(hjZh]hindex}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhhhKVhjUubah}(h]h ]h"]h$]h&]uh1j<hj9ubj=)}(hhh]h)}(hoIndex of the frame size in the enumeration belonging to the given pad and format. Filled in by the application.h]hoIndex of the frame size in the enumeration belonging to the given pad and format. Filled in by the application.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKWhjuubah}(h]h ]h"]h$]h&]uh1j<hj9ubeh}(h]h ]h"]h$]h&]uh1j7hj4ubj8)}(hhh](j=)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKYhjubah}(h]h ]h"]h$]h&]uh1j<hjubj=)}(hhh]h)}(h``pad``h]j)}(hjh]hpad}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKZhjubah}(h]h ]h"]h$]h&]uh1j<hjubj=)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK[hjubah}(h]h ]h"]h$]h&]uh1j<hjubeh}(h]h ]h"]h$]h&]uh1j7hj4ubj8)}(hhh](j=)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK]hjubah}(h]h ]h"]h$]h&]uh1j<hjubj=)}(hhh]h)}(h``code``h]j)}(hjh]hcode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhK^hjubah}(h]h ]h"]h$]h&]uh1j<hjubj=)}(hhh]h)}(h_The media bus format code, as defined in :ref:`v4l2-mbus-format`. Filled in by the application.h](h)The media bus format code, as defined in }(hj&hhhNhNubh)}(h:ref:`v4l2-mbus-format`h]j)}(hj0h]hv4l2-mbus-format}(hj2hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhj.ubah}(h]h ]h"]h$]h&]refdocj refdomainj<reftyperef refexplicitrefwarnjv4l2-mbus-formatuh1hhhhK_hj&ubh. Filled in by the application.}(hj&hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK_hj#ubah}(h]h ]h"]h$]h&]uh1j<hjubeh}(h]h ]h"]h$]h&]uh1j7hj4ubj8)}(hhh](j=)}(hhh]h)}(h__u32h]h__u32}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKahjgubah}(h]h ]h"]h$]h&]uh1j<hjdubj=)}(hhh]h)}(h ``min_width``h]j)}(hjh]h min_width}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKbhj~ubah}(h]h ]h"]h$]h&]uh1j<hjdubj=)}(hhh]h)}(h8Minimum frame width, in pixels. Filled in by the driver.h]h8Minimum frame width, in pixels. Filled in by the driver.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKchjubah}(h]h ]h"]h$]h&]uh1j<hjdubeh}(h]h ]h"]h$]h&]uh1j7hj4ubj8)}(hhh](j=)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKdhjubah}(h]h ]h"]h$]h&]uh1j<hjubj=)}(hhh]h)}(h ``max_width``h]j)}(hjh]h max_width}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKehjubah}(h]h ]h"]h$]h&]uh1j<hjubj=)}(hhh]h)}(h8Maximum frame width, in pixels. Filled in by the driver.h]h8Maximum frame width, in pixels. Filled in by the driver.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKfhjubah}(h]h ]h"]h$]h&]uh1j<hjubeh}(h]h ]h"]h$]h&]uh1j7hj4ubj8)}(hhh](j=)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKghjubah}(h]h ]h"]h$]h&]uh1j<hjubj=)}(hhh]h)}(h``min_height``h]j)}(hj1h]h min_height}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]uh1hhhhKhhj,ubah}(h]h ]h"]h$]h&]uh1j<hjubj=)}(hhh]h)}(h9Minimum frame height, in pixels. Filled in by the driver.h]h9Minimum frame height, in pixels. Filled in by the driver.}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKihjLubah}(h]h ]h"]h$]h&]uh1j<hjubeh}(h]h ]h"]h$]h&]uh1j7hj4ubj8)}(hhh](j=)}(hhh]h)}(h__u32h]h__u32}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKjhjlubah}(h]h ]h"]h$]h&]uh1j<hjiubj=)}(hhh]h)}(h``max_height``h]j)}(hjh]h max_height}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKkhjubah}(h]h ]h"]h$]h&]uh1j<hjiubj=)}(hhh]h)}(h9Maximum frame height, in pixels. Filled in by the driver.h]h9Maximum frame height, in pixels. Filled in by the driver.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKlhjubah}(h]h ]h"]h$]h&]uh1j<hjiubeh}(h]h ]h"]h$]h&]uh1j7hj4ubj8)}(hhh](j=)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKmhjubah}(h]h ]h"]h$]h&]uh1j<hjubj=)}(hhh]h)}(h ``which``h]j)}(hjh]hwhich}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKnhjubah}(h]h ]h"]h$]h&]uh1j<hjubj=)}(hhh]h)}(heFrame sizes to be enumerated, from enum :ref:`v4l2_subdev_format_whence `.h](h(Frame sizes to be enumerated, from enum }(hjhhhNhNubh)}(h<:ref:`v4l2_subdev_format_whence `h]j)}(hjh]hv4l2_subdev_format_whence}(hj hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnjv4l2-subdev-format-whenceuh1hhhhKohjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKohjubah}(h]h ]h"]h$]h&]uh1j<hjubeh}(h]h ]h"]h$]h&]uh1j7hj4ubj8)}(hhh](j=)}(hhh]h)}(h__u32h]h__u32}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKqhj>ubah}(h]h ]h"]h$]h&]uh1j<hj;ubj=)}(hhh]h)}(h ``stream``h]j)}(hjZh]hstream}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjXubah}(h]h ]h"]h$]h&]uh1hhhhKrhjUubah}(h]h ]h"]h$]h&]uh1j<hj;ubj=)}(hhh]h)}(hStream identifier.h]hStream identifier.}(hjxhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKshjuubah}(h]h ]h"]h$]h&]uh1j<hj;ubeh}(h]h ]h"]h$]h&]uh1j7hj4ubj8)}(hhh](j=)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKthjubah}(h]h ]h"]h$]h&]uh1j<hjubj=)}(hhh]h)}(h``reserved``\ [7]h](j)}(h ``reserved``h]hreserved}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh [7]}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKuhjubah}(h]h ]h"]h$]h&]uh1j<hjubj=)}(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&]uh1hhhhKvhjubah}(h]h ]h"]h$]h&]uh1j<hjubeh}(h]h ]h"]h$]h&]uh1j7hj4ubeh}(h]h ]h"]h$]h&]uh1j2hjubeh}(h]h ]h"]h$]h&]colsKuh1j hjubeh}(h]id1ah ]h"]h$]h&]uh1jhjhhhNhNubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhK ubh)}(hhh](h)}(h Return Valueh]h Return Value}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhKzubh)}(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&]uh1jhj5 ubah}(h]h ]h"]h$]h&]refdocj refdomainjC reftyperef refexplicitrefwarnj gen-errorsuh1hhhhK|hj ubh chapter.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK|hj hhubj)}(hhh]j)}(hEINVAL The struct :c:type:`v4l2_subdev_frame_size_enum` ``pad`` references a non-existing pad, the ``which`` field has an unsupported value, the ``code`` is invalid for the given pad, 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_frame_size_enum` ``pad`` references a non-existing pad, the ``which`` field has an unsupported value, the ``code`` is invalid for the given pad, or the ``index`` field is out of bounds.h](h The struct }(hjw hhhNhNubh)}(h%:c:type:`v4l2_subdev_frame_size_enum`h]j)}(hj h]hv4l2_subdev_frame_size_enum}(hj hhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjjv4l2_subdev_frame_size_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, the }(hjw hhhNhNubj)}(h``code``h]hcode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjw ubh& is invalid for the given pad, 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&]uh1hhhhhhhhKzubeh}(h](#ioctl-vidioc-subdev-enum-frame-sizeheh ]h"](#ioctl vidioc_subdev_enum_frame_sizevidioc_subdev_enum_frame_sizeeh$]h&]uh1hhhhhhhhKexpect_referenced_by_name}j hsexpect_referenced_by_id}hhsubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksj<footnote_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_handlerj9 error_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourceh _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}h]hasnameids}(j hj j hhjjjjj j j j u nametypes}(j j hjjj j uh}(hhj hhhjjj j)jjj jjjj j jju footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}jG KsRparse_messages]transform_messages]hsystem_message)}(hhh]h)}(hhh]hCHyperlink target "vidioc-subdev-enum-frame-size" is not referenced.}hj sbah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]levelKtypeINFOsourcehlineKuh1j uba transformerN include_log] decorationNhhub.