ͦsphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftargetB/translations/zh_CN/userspace-api/media/v4l/vidioc-enum-framesizesmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetB/translations/zh_TW/userspace-api/media/v4l/vidioc-enum-framesizesmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetB/translations/it_IT/userspace-api/media/v4l/vidioc-enum-framesizesmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetB/translations/ja_JP/userspace-api/media/v4l/vidioc-enum-framesizesmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetB/translations/ko_KR/userspace-api/media/v4l/vidioc-enum-framesizesmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetB/translations/sp_SP/userspace-api/media/v4l/vidioc-enum-framesizesmodnameN 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:spacepreserveuh1hhhhhh\/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/vidioc-enum-framesizes.rsthKubhtarget)}(h.. _VIDIOC_ENUM_FRAMESIZES:h]h}(h]h ]h"]h$]h&]refidvidioc-enum-framesizesuh1hhKhhhhhhubhsection)}(hhh](htitle)}(hioctl VIDIOC_ENUM_FRAMESIZESh]hioctl VIDIOC_ENUM_FRAMESIZES}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNameh]hName}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh paragraph)}(h.VIDIOC_ENUM_FRAMESIZES - Enumerate frame sizesh]h.VIDIOC_ENUM_FRAMESIZES - Enumerate 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_ENUM_FRAMESIZES (C macro)c.V4L.VIDIOC_ENUM_FRAMESIZEShNtauh1jhjhhhNhNubhdesc)}(hhh](hdesc_signature)}(hVIDIOC_ENUM_FRAMESIZESh]hdesc_signature_line)}(hVIDIOC_ENUM_FRAMESIZESh]h desc_name)}(hVIDIOC_ENUM_FRAMESIZESh]h desc_sig_name)}(hj+h]hVIDIOC_ENUM_FRAMESIZES}(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)}(hL``int ioctl(int fd, VIDIOC_ENUM_FRAMESIZES, struct v4l2_frmsizeenum *argp)``h]hliteral)}(hjh]hHint ioctl(int fd, VIDIOC_ENUM_FRAMESIZES, struct v4l2_frmsizeenum *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&]refdoc.userspace-api/media/v4l/vidioc-enum-framesizes 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)}(h``argp`` Pointer to struct :c:type:`v4l2_frmsizeenum` that contains an index and pixel format and receives a frame width and height. 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)}(h{Pointer to struct :c:type:`v4l2_frmsizeenum` that contains an index and pixel format and receives a frame width and height.h](hPointer to struct }(hjFhhhNhNubh)}(h:c:type:`v4l2_frmsizeenum`h]j)}(hjPh]hv4l2_frmsizeenum}(hjRhhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjjv4l2_frmsizeenumuh1hhhhKhjFubhO that contains an index and pixel format and receives a frame width and height.}(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 enumerate all frame sizes (i. e. width and height in pixels) that the device supports for the given pixel format.h]hThis ioctl allows applications to enumerate all frame sizes (i. e. width and height in pixels) that the device supports for the given pixel format.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK$hjhhubh)}(hYThe supported pixel formats can be obtained by using the :ref:`VIDIOC_ENUM_FMT` function.h](h9The supported pixel formats can be obtained by using the }(hjhhhNhNubh)}(h:ref:`VIDIOC_ENUM_FMT`h]hinline)}(hjh]hVIDIOC_ENUM_FMT}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnjvidioc_enum_fmtuh1hhhhK(hjubh function.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK(hjhhubh)}(hThe return value and the content of the ``v4l2_frmsizeenum.type`` field depend on the type of frame sizes the device supports. Here are the semantics of the function for the different cases:h](h(The return value and the content of the }(hjhhhNhNubj)}(h``v4l2_frmsizeenum.type``h]hv4l2_frmsizeenum.type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh} field depend on the type of frame sizes the device supports. Here are the semantics of the function for the different cases:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK+hjhhubh bullet_list)}(hhh](h list_item)}(hXH**Discrete:** The function returns success if the given index value (zero-based) is valid. The application should increase the index by one for each call until ``EINVAL`` is returned. The ``v4l2_frmsizeenum.type`` field is set to ``V4L2_FRMSIZE_TYPE_DISCRETE`` by the driver. Of the union only the ``discrete`` member is valid. h]h)}(hXG**Discrete:** The function returns success if the given index value (zero-based) is valid. The application should increase the index by one for each call until ``EINVAL`` is returned. The ``v4l2_frmsizeenum.type`` field is set to ``V4L2_FRMSIZE_TYPE_DISCRETE`` by the driver. Of the union only the ``discrete`` member is valid.h](hstrong)}(h **Discrete:**h]h Discrete:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh The function returns success if the given index value (zero-based) is valid. The application should increase the index by one for each call until }(hjhhhNhNubj)}(h ``EINVAL``h]hEINVAL}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is returned. The }(hjhhhNhNubj)}(h``v4l2_frmsizeenum.type``h]hv4l2_frmsizeenum.type}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field is set to }(hjhhhNhNubj)}(h``V4L2_FRMSIZE_TYPE_DISCRETE``h]hV4L2_FRMSIZE_TYPE_DISCRETE}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& by the driver. Of the union only the }(hjhhhNhNubj)}(h ``discrete``h]hdiscrete}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh member is valid.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK/hj ubah}(h]h ]h"]h$]h&]uh1j hjhhhhhNubj )}(hX**Step-wise:** The function returns success if the given index value is zero and ``EINVAL`` for any other index value. The ``v4l2_frmsizeenum.type`` field is set to ``V4L2_FRMSIZE_TYPE_STEPWISE`` by the driver. Of the union only the ``stepwise`` member is valid. h]h)}(hX**Step-wise:** The function returns success if the given index value is zero and ``EINVAL`` for any other index value. The ``v4l2_frmsizeenum.type`` field is set to ``V4L2_FRMSIZE_TYPE_STEPWISE`` by the driver. Of the union only the ``stepwise`` member is valid.h](j)}(h**Step-wise:**h]h Step-wise:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhC The function returns success if the given index value is zero and }(hjhhhNhNubj)}(h ``EINVAL``h]hEINVAL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh for any other index value. The }(hjhhhNhNubj)}(h``v4l2_frmsizeenum.type``h]hv4l2_frmsizeenum.type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field is set to }(hjhhhNhNubj)}(h``V4L2_FRMSIZE_TYPE_STEPWISE``h]hV4L2_FRMSIZE_TYPE_STEPWISE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& by the driver. Of the union only the }(hjhhhNhNubj)}(h ``stepwise``h]hstepwise}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh member is valid.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK6hj{ubah}(h]h ]h"]h$]h&]uh1j hjhhhhhNubj )}(hX}**Continuous:** This is a special case of the step-wise type above. The function returns success if the given index value is zero and ``EINVAL`` for any other index value. The ``v4l2_frmsizeenum.type`` field is set to ``V4L2_FRMSIZE_TYPE_CONTINUOUS`` by the driver. Of the union only the ``stepwise`` member is valid and the ``step_width`` and ``step_height`` values are set to 1. h]h)}(hX|**Continuous:** This is a special case of the step-wise type above. The function returns success if the given index value is zero and ``EINVAL`` for any other index value. The ``v4l2_frmsizeenum.type`` field is set to ``V4L2_FRMSIZE_TYPE_CONTINUOUS`` by the driver. Of the union only the ``stepwise`` member is valid and the ``step_width`` and ``step_height`` values are set to 1.h](j)}(h**Continuous:**h]h Continuous:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhw This is a special case of the step-wise type above. The function returns success if the given index value is zero and }(hjhhhNhNubj)}(h ``EINVAL``h]hEINVAL}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh for any other index value. The }(hjhhhNhNubj)}(h``v4l2_frmsizeenum.type``h]hv4l2_frmsizeenum.type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field is set to }(hjhhhNhNubj)}(h ``V4L2_FRMSIZE_TYPE_CONTINUOUS``h]hV4L2_FRMSIZE_TYPE_CONTINUOUS}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& by the driver. Of the union only the }(hjhhhNhNubj)}(h ``stepwise``h]hstepwise}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh member is valid and the }(hjhhhNhNubj)}(h``step_width``h]h step_width}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``step_height``h]h step_height}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh values are set to 1.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK denotes a value that has to be filled in by the application, }(hjhhhNhNubj)}(h*OUT*h]hOUT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhe denotes values that the driver fills in. The application should zero out all members except for the }(hjhhhNhNubj)}(h*IN*h]hIN}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh fields.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKVhjhhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"V4L.v4l2_frmsize_discrete (C type)c.V4L.v4l2_frmsize_discretehNtauh1jhjhhhNhNubj#)}(hhh](j()}(hv4l2_frmsize_discreteh]j.)}(htype v4l2_frmsize_discreteh](hdesc_sig_keyword)}(htypeh]htype}(hjWhhhNhNubah}(h]h ]kah"]h$]h&]uh1jUhjQhhhhhKZubhdesc_sig_space)}(h h]h }(hjhhhhNhNubah}(h]h ]wah"]h$]h&]uh1jfhjQhhhhhKZubj4)}(hv4l2_frmsize_discreteh]j:)}(hjOh]hv4l2_frmsize_discrete}(hj{hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j9hjwubah}(h]h ](jLjMeh"]h$]h&]hhuh1j3hjQhhhhhKZubeh}(h]h ]h"]h$]h&]hhjWuh1j-jXjYhjMhhhhhKZubah}(h]jHah ](j]j^eh"]h$]h&]jbjc)jdhuh1j'hhhKZhjJhhubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehjJhhhhhKZubeh}(h]h ](jstypeeh"]h$]h&]jxjsjyjjzjj{j|j}uh1j"hhhjhNhNubhtable)}(hhh](h)}(hstruct v4l2_frmsize_discreteh]hstruct v4l2_frmsize_discrete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK\hjubhtgroup)}(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&]uh1hhhhKahjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``width``h]j)}(hj h]hwidth}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKbhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hWidth of the frame [pixel].h]hWidth of the frame [pixel].}(hj(hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKchj%ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKdhjEubah}(h]h ]h"]h$]h&]uh1jhjBubj)}(hhh]h)}(h ``height``h]j)}(hjah]hheight}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1hhhhKehj\ubah}(h]h ]h"]h$]h&]uh1jhjBubj)}(hhh]h)}(hHeight of the frame [pixel].h]hHeight of the frame [pixel].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKfhj|ubah}(h]h ]h"]h$]h&]uh1jhjBubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubeh}(h]id1ah ]h"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"V4L.v4l2_frmsize_stepwise (C type)c.V4L.v4l2_frmsize_stepwisehNtauh1jhjhhhNhNubj#)}(hhh](j()}(hv4l2_frmsize_stepwiseh]j.)}(htype v4l2_frmsize_stepwiseh](jV)}(hjYh]htype}(hjhhhNhNubah}(h]h ]jbah"]h$]h&]uh1jUhjhhhhhKiubjg)}(h h]h }(hjhhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhjhhhhhKiubj4)}(hv4l2_frmsize_stepwiseh]j:)}(hjh]hv4l2_frmsize_stepwise}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j9hjubah}(h]h ](jLjMeh"]h$]h&]hhuh1j3hjhhhhhKiubeh}(h]h ]h"]h$]h&]hhjWuh1j-jXjYhjhhhhhKiubah}(h]jah ](j]j^eh"]h$]h&]jbjc)jdhuh1j'hhhKihjhhubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehjhhhhhKiubeh}(h]h ](jstypeeh"]h$]h&]jxjsjyjjzjj{j|j}uh1j"hhhjhNhNubj)}(hhh](h)}(hstruct v4l2_frmsize_stepwiseh]hstruct v4l2_frmsize_stepwise}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKkhjubj)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj%ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj%ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj%ubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKphjLubah}(h]h ]h"]h$]h&]uh1jhjIubj)}(hhh]h)}(h ``min_width``h]j)}(hjhh]h min_width}(hjjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjfubah}(h]h ]h"]h$]h&]uh1hhhhKqhjcubah}(h]h ]h"]h$]h&]uh1jhjIubj)}(hhh]h)}(hMinimum frame width [pixel].h]hMinimum frame width [pixel].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKrhjubah}(h]h ]h"]h$]h&]uh1jhjIubeh}(h]h ]h"]h$]h&]uh1jhjFubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKshjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``max_width``h]j)}(hjh]h max_width}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKthjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hMaximum frame width [pixel].h]hMaximum frame width [pixel].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKuhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjFubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKvhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``step_width``h]j)}(hjh]h step_width}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKwhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hFrame width step size [pixel].h]hFrame width step size [pixel].}(hj4hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKxhj1ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjFubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjThhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKyhjQubah}(h]h ]h"]h$]h&]uh1jhjNubj)}(hhh]h)}(h``min_height``h]j)}(hjmh]h min_height}(hjohhhNhNubah}(h]h ]h"]h$]h&]uh1jhjkubah}(h]h ]h"]h$]h&]uh1hhhhKzhjhubah}(h]h ]h"]h$]h&]uh1jhjNubj)}(hhh]h)}(hMinimum frame height [pixel].h]hMinimum frame height [pixel].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK{hjubah}(h]h ]h"]h$]h&]uh1jhjNubeh}(h]h ]h"]h$]h&]uh1jhjFubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK|hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``max_height``h]j)}(hjh]h max_height}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhK}hjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hMaximum frame height [pixel].h]hMaximum frame height [pixel].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK~hjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjFubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``step_height``h]j)}(hj h]h step_height}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hFrame height step size [pixel].h]hFrame height step size [pixel].}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj6 ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjFubeh}(h]h ]h"]h$]h&]uh1jhj%ubeh}(h]h ]h"]h$]h&]colsKuh1jhjubeh}(h]id2ah ]h"]h$]h&]uh1jhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jV4L.v4l2_frmsizeenum (C type)c.V4L.v4l2_frmsizeenumhNtauh1jhjhhhNhNubj#)}(hhh](j()}(hv4l2_frmsizeenumh]j.)}(htype v4l2_frmsizeenumh](jV)}(hjYh]htype}(hj hhhNhNubah}(h]h ]jbah"]h$]h&]uh1jUhj| hhhhhKubjg)}(h h]h }(hj hhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhj| hhhhhKubj4)}(hv4l2_frmsizeenumh]j:)}(hjz h]hv4l2_frmsizeenum}(hj hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j9hj ubah}(h]h ](jLjMeh"]h$]h&]hhuh1j3hj| hhhhhKubeh}(h]h ]h"]h$]h&]hhjWuh1j-jXjYhjx hhhhhKubah}(h]js ah ](j]j^eh"]h$]h&]jbjc)jdhuh1j'hhhKhju hhubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehju hhhhhKubeh}(h]h ](jstypeeh"]h$]h&]jxjsjyj jzj j{j|j}uh1j"hhhjhNhNubhtabular_col_spec)}(hhh]h}(h]h ]h"]h$]h&]spec|p{6.4cm}|p{2.8cm}|p{8.1cm}|uh1j hhhKhjhhubj)}(hhh](h)}(hstruct v4l2_frmsizeenumh]hstruct v4l2_frmsizeenum}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubj)}(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)}(h__u32h]h__u32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h ``index``h]j)}(hj/ h]hindex}(hj1 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj- ubah}(h]h ]h"]h$]h&]uh1hhhhKhj* ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h5IN: Index of the given frame size in the enumeration.h]h5IN: Index of the given frame size in the enumeration.}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjJ ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjm hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjj ubah}(h]h ]h"]h$]h&]uh1jhjg ubj)}(hhh]h)}(h``pixel_format``h]j)}(hj h]h pixel_format}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhjg ubj)}(hhh]h)}(h:IN: Pixel format for which the frame sizes are enumerated.h]h:IN: Pixel format for which the frame sizes are enumerated.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhjg ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h``type``h]j)}(hj h]htype}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h)OUT: Frame size type the device supports.h]h)OUT: Frame size type the device supports.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(hunion {h]hunion {}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h (anonymous)h]h (anonymous)}(hj2 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj/ ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h%OUT: Frame size with the given index.h]h%OUT: Frame size with the given index.}(hjI hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjF ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h&struct :c:type:`v4l2_frmsize_discrete`h](hstruct }(hji hhhNhNubh)}(h:c:type:`v4l2_frmsize_discrete`h]j)}(hjs h]hv4l2_frmsize_discrete}(hju hhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhjq ubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjjv4l2_frmsize_discreteuh1hhhhKhji ubeh}(h]h ]h"]h$]h&]uh1hhhhKhjf ubah}(h]h ]h"]h$]h&]uh1jhjc ubj)}(hhh]h)}(h ``discrete``h]j)}(hj h]hdiscrete}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhjc ubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjc ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h&struct :c:type:`v4l2_frmsize_stepwise`h](hstruct }(hj hhhNhNubh)}(h:c:type:`v4l2_frmsize_stepwise`h]j)}(hj h]hv4l2_frmsize_stepwise}(hj hhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjjv4l2_frmsize_stepwiseuh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h ``stepwise``h]j)}(hj h]hstepwise}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h}h]h}}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj6 ubah}(h]h ]h"]h$]h&]uh1jhj3 ubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhj3 ubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhj3 ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjh ubah}(h]h ]h"]h$]h&]uh1jhje ubj)}(hhh]h)}(h``reserved[2]``h]j)}(hj h]h reserved[2]}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhje ubj)}(hhh]h)}(hJReserved space for future use. Must be zeroed by drivers and applications.h]hJReserved space for future use. Must be zeroed by drivers and applications.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhje ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]colsKuh1jhj ubeh}(h]id3ah ]h"]h$]h&]uh1jhjhhhNhNubeh}(h]structsah ]h"]structsah$]h&]uh1hhhhhhhhKTubh)}(hhh](h)}(hEnumsh]hEnums}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhKubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jV4L.v4l2_frmsizetypes (C type)c.V4L.v4l2_frmsizetypeshNtauh1jhj hhhNhNubj#)}(hhh](j()}(hv4l2_frmsizetypesh]j.)}(htype v4l2_frmsizetypesh](jV)}(hjYh]htype}(hj hhhNhNubah}(h]h ]jbah"]h$]h&]uh1jUhj hhhhhKubjg)}(h h]h }(hj hhhNhNubah}(h]h ]jsah"]h$]h&]uh1jfhj hhhhhKubj4)}(hv4l2_frmsizetypesh]j:)}(hj h]hv4l2_frmsizetypes}(hj! hhhNhNubah}(h]h ]jEah"]h$]h&]uh1j9hj ubah}(h]h ](jLjMeh"]h$]h&]hhuh1j3hj hhhhhKubeh}(h]h ]h"]h$]h&]hhjWuh1j-jXjYhj hhhhhKubah}(h]j ah ](j]j^eh"]h$]h&]jbjc)jdhuh1j'hhhKhj hhubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehj hhhhhKubeh}(h]h ](jstypeeh"]h$]h&]jxjsjyjL jzjL j{j|j}uh1j"hhhj hNhNubj )}(hhh]h}(h]h ]h"]h$]h&]j |p{6.6cm}|p{2.2cm}|p{8.5cm}|uh1j hhhKhj hhubj)}(hhh](h)}(henum v4l2_frmsizetypesh]henum v4l2_frmsizetypes}(hj] hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjZ ubj)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjk ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjk ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjk ubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h``V4L2_FRMSIZE_TYPE_DISCRETE``h]j)}(hj h]hV4L2_FRMSIZE_TYPE_DISCRETE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h1h]h1}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hDiscrete frame size.h]hDiscrete frame size.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h ``V4L2_FRMSIZE_TYPE_CONTINUOUS``h]j)}(hj h]hV4L2_FRMSIZE_TYPE_CONTINUOUS}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h2h]h2}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hContinuous frame size.h]hContinuous frame size.}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h``V4L2_FRMSIZE_TYPE_STEPWISE``h]j)}(hjEh]hV4L2_FRMSIZE_TYPE_STEPWISE}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]uh1hhhhKhj@ubah}(h]h ]h"]h$]h&]uh1jhj=ubj)}(hhh]h)}(h3h]h3}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj`ubah}(h]h ]h"]h$]h&]uh1jhj=ubj)}(hhh]h)}(hStep-wise defined frame size.h]hStep-wise defined frame size.}(hjzhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjwubah}(h]h ]h"]h$]h&]uh1jhj=ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjk ubeh}(h]h ]h"]h$]h&]colsKuh1jhjZ ubeh}(h]id4ah ]h"]h$]h&]uh1jhj hhhNhNubeh}(h]enumsah ]h"]enumsah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Return Valueh]h Return Value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubh)}(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 }(hjhhhNhNubj)}(h ``errno``h]herrno}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhM variable is set appropriately. The generic error codes are described at the }(hjhhhNhNubh)}(h':ref:`Generic Error Codes `h]j)}(hjh]hGeneric Error Codes}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnj gen-errorsuh1hhhhKhjubh chapter.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjhhubeh}(h] return-valueah ]h"] return valueah$]h&]uh1hhhhhhhhKubeh}(h](ioctl-vidioc-enum-framesizesheh ]h"](ioctl vidioc_enum_framesizesvidioc_enum_framesizeseh$]h&]uh1hhhhhhhhKexpect_referenced_by_name}jhsexpect_referenced_by_id}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_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}(jhjjhhjjjjjjj j jjj ju nametypes}(jjhjjjj jj uh}(hhjhhhjjj j)jjjjj jjHjMjjjs jx jj j j jjjjjb jj j jjZ u footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}jJKsRparse_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.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]levelKtypeINFOlineKsourcehuh1jhj6 ubatransform_messages]j)}(hhh]h)}(hhh]h