Wysphinx.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]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetI/translations/pt_BR/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_SIZEhNtauh1j%hjhhhNhNubhdesc)}(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}(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_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&]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&]refdoc5userspace-api/media/v4l/vidioc-subdev-enum-frame-size 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)}(hB``argp`` Pointer to struct :c:type:`v4l2_subdev_frame_size_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)}(h8Pointer to struct :c:type:`v4l2_subdev_frame_size_enum`.h](hPointer to struct }(hjZhhhNhNubh)}(h%:c:type:`v4l2_subdev_frame_size_enum`h]j)}(hjdh]hv4l2_subdev_frame_size_enum}(hjfhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$v4l2_subdev_frame_size_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)}(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 refexplicitrefwarnj$vidioc_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 ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$v4l2_subdev_frame_size_enumuh1hhhhK)hjubh. Each pair of }(hjhhhNhNubj)}(h``pad``h]hpad}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``code``h]hcode}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhH correspond to a separate enumeration. Each enumeration starts with the }(hjhhhNhNubj)}(h ``index``h]hindex}(hjKhhhNhNubah}(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 }(hjchhhNhNubj)}(h``pad``h]hpad}(hjkhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh, }(hjchhhNhNubj)}(h ``which``h]hwhich}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh, and }(hjchhhNhNubj)}(h``code``h]hcode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh# fields to desired values, and set }(hjchhhNhNubj)}(h ``index``h]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjcubh to 0. Then call the }(hjchhhNhNubh)}(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 refexplicitrefwarnj$vidioc_subdev_enum_frame_sizeuh1hhhhK/hjcubh' ioctl with a pointer to the structure.}(hjchhhNhNubeh}(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}(hj hhhNhNubah}(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 }(hj/hhhNhNubh)}(h0:ref:`VIDIOC_SUBDEV_S_FMT `h]j)}(hj9h]hVIDIOC_SUBDEV_S_FMT}(hj;hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhj7ubah}(h]h ]h"]h$]h&]refdocj refdomainjEreftyperef refexplicitrefwarnj$vidioc_subdev_g_fmtuh1hhhhK?hj/ubh? ioctl to try the sub-device for an exact supported frame size.}(hj/hhhNhNubeh}(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 }(hjahhhNhNubh)}(h:ref:`VIDIOC_SUBDEV_G_FMT`h]j)}(hjkh]hVIDIOC_SUBDEV_G_FMT}(hjmhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjiubah}(h]h ]h"]h$]h&]refdocj refdomainjwreftyperef refexplicitrefwarnj$vidioc_subdev_g_fmtuh1hhhhKFhjaubh( for more information about try formats.}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKFhjhhubj&)}(hhh]h}(h]h ]h"]h$]h&]entries](j2(V4L.v4l2_subdev_frame_size_enum (C type)!c.V4L.v4l2_subdev_frame_size_enumhNtauh1j%hjhhhNhNubj7)}(hhh](j<)}(hv4l2_subdev_frame_size_enumh]jB)}(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&]uh1jhjhhhhhKLubjH)}(hv4l2_subdev_frame_size_enumh]jN)}(hjh]hv4l2_subdev_frame_size_enum}(hjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhjubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhjhhhhhKLubeh}(h]h ]h"]h$]h&]hhjkuh1jAjljmhjhhhhhKLubah}(h]jah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhKLhjhhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhjhhhhhKLubeh}(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}|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&]colwidthKuh1j&hj#ubj')}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j&hj#ubj')}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j&hj#ubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(h__u32h]h__u32}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKUhjRubah}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(hhh]h)}(h ``index``h]j)}(hjnh]hindex}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hhhhKVhjiubah}(h]h ]h"]h$]h&]uh1jPhjMubjQ)}(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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKWhjubah}(h]h ]h"]h$]h&]uh1jPhjMubeh}(h]h ]h"]h$]h&]uh1jKhjHubjL)}(hhh](jQ)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKYhjubah}(h]h ]h"]h$]h&]uh1jPhjubjQ)}(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&]uh1jPhjubjQ)}(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&]uh1jPhjubeh}(h]h ]h"]h$]h&]uh1jKhjHubjL)}(hhh](jQ)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK]hjubah}(h]h ]h"]h$]h&]uh1jPhjubjQ)}(hhh]h)}(h``code``h]j)}(hjh]hcode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhK^hjubah}(h]h ]h"]h$]h&]uh1jPhjubjQ)}(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)}(hjDh]hv4l2-mbus-format}(hjFhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjBubah}(h]h ]h"]h$]h&]refdocj refdomainjPreftyperef refexplicitrefwarnj$v4l2-mbus-formatuh1hhhhK_hj:ubh. Filled in by the application.}(hj:hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK_hj7ubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ]h"]h$]h&]uh1jKhjHubjL)}(hhh](jQ)}(hhh]h)}(h__u32h]h__u32}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKahj{ubah}(h]h ]h"]h$]h&]uh1jPhjxubjQ)}(hhh]h)}(h ``min_width``h]j)}(hjh]h min_width}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKbhjubah}(h]h ]h"]h$]h&]uh1jPhjxubjQ)}(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&]uh1jPhjxubeh}(h]h ]h"]h$]h&]uh1jKhjHubjL)}(hhh](jQ)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKdhjubah}(h]h ]h"]h$]h&]uh1jPhjubjQ)}(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&]uh1jPhjubjQ)}(hhh]h)}(h8Maximum frame width, in pixels. Filled in by the driver.h]h8Maximum frame width, in pixels. Filled in by the driver.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKfhj ubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ]h"]h$]h&]uh1jKhjHubjL)}(hhh](jQ)}(hhh]h)}(h__u32h]h__u32}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKghj)ubah}(h]h ]h"]h$]h&]uh1jPhj&ubjQ)}(hhh]h)}(h``min_height``h]j)}(hjEh]h min_height}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1hhhhKhhj@ubah}(h]h ]h"]h$]h&]uh1jPhj&ubjQ)}(hhh]h)}(h9Minimum frame height, in pixels. Filled in by the driver.h]h9Minimum frame height, in pixels. Filled in by the driver.}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKihj`ubah}(h]h ]h"]h$]h&]uh1jPhj&ubeh}(h]h ]h"]h$]h&]uh1jKhjHubjL)}(hhh](jQ)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKjhjubah}(h]h ]h"]h$]h&]uh1jPhj}ubjQ)}(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&]uh1jPhj}ubjQ)}(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&]uh1jPhj}ubeh}(h]h ]h"]h$]h&]uh1jKhjHubjL)}(hhh](jQ)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKmhjubah}(h]h ]h"]h$]h&]uh1jPhjubjQ)}(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&]uh1jPhjubjQ)}(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}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainj'reftyperef refexplicitrefwarnj$v4l2-subdev-format-whenceuh1hhhhKohjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKohjubah}(h]h ]h"]h$]h&]uh1jPhjubeh}(h]h ]h"]h$]h&]uh1jKhjHubjL)}(hhh](jQ)}(hhh]h)}(h__u32h]h__u32}(hjUhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKqhjRubah}(h]h ]h"]h$]h&]uh1jPhjOubjQ)}(hhh]h)}(h ``stream``h]j)}(hjnh]hstream}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1jhjlubah}(h]h ]h"]h$]h&]uh1hhhhKrhjiubah}(h]h ]h"]h$]h&]uh1jPhjOubjQ)}(hhh]h)}(hStream identifier.h]hStream identifier.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKshjubah}(h]h ]h"]h$]h&]uh1jPhjOubeh}(h]h ]h"]h$]h&]uh1jKhjHubjL)}(hhh](jQ)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKthjubah}(h]h ]h"]h$]h&]uh1jPhjubjQ)}(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&]uh1jPhjubjQ)}(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&]uh1jPhjubeh}(h]h ]h"]h$]h&]uh1jKhjHubeh}(h]h ]h"]h$]h&]uh1jFhj#ubeh}(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}(hj7 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)}(hjK h]hGeneric Error Codes}(hjM hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjI ubah}(h]h ]h"]h$]h&]refdocj refdomainjW 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}(hjz hhhNhNubah}(h]h ]h"]h$]h&]uh1jhhhKhjv 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 }(hj hhhNhNubh)}(h%:c:type:`v4l2_subdev_frame_size_enum`h]j)}(hj h]hv4l2_subdev_frame_size_enum}(hj hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$v4l2_subdev_frame_size_enumuh1hhhhKhj ubh }(hj hhhNhNubj)}(h``pad``h]hpad}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh$ references a non-existing pad, the }(hj hhhNhNubj)}(h ``which``h]hwhich}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh% field has an unsupported value, the }(hj hhhNhNubj)}(h``code``h]hcode}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh& is invalid for the given pad, or the }(hj hhhNhNubj)}(h ``index``h]hindex}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh field is out of bounds.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhjv ubeh}(h]h ]h"]h$]h&]uh1jhhhKhjs 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_backlinksjPfootnote_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_handlerjM 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]hasnameids}(j$ hj# j jjjjjjj j j j u nametypes}(j$ j# jjjj j uh}(hhj hjhjjj4j=jjj jjjj j j ju footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}j[ 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&]levelKtypeINFOsourcehnjlineKuh1j uba transformerN include_log] decorationNhhub.