ǧ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]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetB/translations/pt_BR/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_FRAMESIZEShNtauh1j%hjhhhNhNubhdesc)}(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}(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)}(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&]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&]refdoc.userspace-api/media/v4l/vidioc-enum-framesizes 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)}(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)}(hjBh]hargp}(hjDhhhNhNubah}(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 }(hjZhhhNhNubh)}(h:c:type:`v4l2_frmsizeenum`h]j)}(hjdh]hv4l2_frmsizeenum}(hjfhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$v4l2_frmsizeenumuh1hhhhKhjZubhO that contains an index and pixel format and receives a frame width and height.}(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 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 refexplicitrefwarnj$vidioc_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:}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1j'hj#ubh 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 }(hj#hhhNhNubj)}(h ``EINVAL``h]hEINVAL}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh is returned. The }(hj#hhhNhNubj)}(h``v4l2_frmsizeenum.type``h]hv4l2_frmsizeenum.type}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh field is set to }(hj#hhhNhNubj)}(h``V4L2_FRMSIZE_TYPE_DISCRETE``h]hV4L2_FRMSIZE_TYPE_DISCRETE}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh& by the driver. Of the union only the }(hj#hhhNhNubj)}(h ``discrete``h]hdiscrete}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj#ubh member is valid.}(hj#hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK/hjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(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&]uh1j'hjubhC 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&]uh1hhhhK6hjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubj)}(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&]uh1j'hjubhw 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}(hj)hhhNhNubah}(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}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh member is valid and the }(hjhhhNhNubj)}(h``step_width``h]h step_width}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh and }(hjhhhNhNubj)}(h``step_height``h]h step_height}(hjqhhhNhNubah}(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, }(hj hhhNhNubj)}(h*OUT*h]hOUT}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhe denotes values that the driver fills in. The application should zero out all members except for the }(hj hhhNhNubj)}(h*IN*h]hIN}(hj8hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh fields.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKVhjhhubj&)}(hhh]h}(h]h ]h"]h$]h&]entries](j2"V4L.v4l2_frmsize_discrete (C type)c.V4L.v4l2_frmsize_discretehNtauh1j%hjhhhNhNubj7)}(hhh](j<)}(hv4l2_frmsize_discreteh]jB)}(htype v4l2_frmsize_discreteh](hdesc_sig_keyword)}(htypeh]htype}(hjkhhhNhNubah}(h]h ]kah"]h$]h&]uh1jihjehhhhhKZubhdesc_sig_space)}(h h]h }(hj|hhhNhNubah}(h]h ]wah"]h$]h&]uh1jzhjehhhhhKZubjH)}(hv4l2_frmsize_discreteh]jN)}(hjch]hv4l2_frmsize_discrete}(hjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhjubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhjehhhhhKZubeh}(h]h ]h"]h$]h&]hhjkuh1jAjljmhjahhhhhKZubah}(h]j\ah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhKZhj^hhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhj^hhhhhKZubeh}(h]h ](jtypeeh"]h$]h&]jjjjjjjjjuh1j6hhhjhNhNubhtable)}(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)}(hjh]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&]uh1hhhhKchj9ubah}(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&]uh1hhhhKdhjYubah}(h]h ]h"]h$]h&]uh1jhjVubj)}(hhh]h)}(h ``height``h]j)}(hjuh]hheight}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjsubah}(h]h ]h"]h$]h&]uh1hhhhKehjpubah}(h]h ]h"]h$]h&]uh1jhjVubj)}(hhh]h)}(hHeight of the frame [pixel].h]hHeight of the frame [pixel].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKfhjubah}(h]h ]h"]h$]h&]uh1jhjVubeh}(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](j2"V4L.v4l2_frmsize_stepwise (C type)c.V4L.v4l2_frmsize_stepwisehNtauh1j%hjhhhNhNubj7)}(hhh](j<)}(hv4l2_frmsize_stepwiseh]jB)}(htype v4l2_frmsize_stepwiseh](jj)}(hjmh]htype}(hjhhhNhNubah}(h]h ]jvah"]h$]h&]uh1jihjhhhhhKiubj{)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhjhhhhhKiubjH)}(hv4l2_frmsize_stepwiseh]jN)}(hjh]hv4l2_frmsize_stepwise}(hjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhjubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhjhhhhhKiubeh}(h]h ]h"]h$]h&]hhjkuh1jAjljmhjhhhhhKiubah}(h]jah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhKihjhhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhjhhhhhKiubeh}(h]h ](jtypeeh"]h$]h&]jjjj$jj$jjjuh1j6hhhjhNhNubj)}(hhh](h)}(hstruct v4l2_frmsize_stepwiseh]hstruct v4l2_frmsize_stepwise}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKkhj(ubj)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj9ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj9ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj9ubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKphj`ubah}(h]h ]h"]h$]h&]uh1jhj]ubj)}(hhh]h)}(h ``min_width``h]j)}(hj|h]h min_width}(hj~hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]uh1hhhhKqhjwubah}(h]h ]h"]h$]h&]uh1jhj]ubj)}(hhh]h)}(hMinimum frame width [pixel].h]hMinimum frame width [pixel].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKrhjubah}(h]h ]h"]h$]h&]uh1jhj]ubeh}(h]h ]h"]h$]h&]uh1jhjZubj)}(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&]uh1jhjZubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKvhjubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h``step_width``h]j)}(hj*h]h step_width}(hj,hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj(ubah}(h]h ]h"]h$]h&]uh1hhhhKwhj%ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hFrame width step size [pixel].h]hFrame width step size [pixel].}(hjHhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKxhjEubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjZubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKyhjeubah}(h]h ]h"]h$]h&]uh1jhjbubj)}(hhh]h)}(h``min_height``h]j)}(hjh]h min_height}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKzhj|ubah}(h]h ]h"]h$]h&]uh1jhjbubj)}(hhh]h)}(hMinimum frame height [pixel].h]hMinimum frame height [pixel].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK{hjubah}(h]h ]h"]h$]h&]uh1jhjbubeh}(h]h ]h"]h$]h&]uh1jhjZubj)}(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&]uh1jhjZubj)}(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``step_height``h]j)}(hj/ h]h step_height}(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)}(hFrame height step size [pixel].h]hFrame height step size [pixel].}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjJ ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjZubeh}(h]h ]h"]h$]h&]uh1jhj9ubeh}(h]h ]h"]h$]h&]colsKuh1jhj(ubeh}(h]id2ah ]h"]h$]h&]uh1jhjhhhNhNubj&)}(hhh]h}(h]h ]h"]h$]h&]entries](j2V4L.v4l2_frmsizeenum (C type)c.V4L.v4l2_frmsizeenumhNtauh1j%hjhhhNhNubj7)}(hhh](j<)}(hv4l2_frmsizeenumh]jB)}(htype v4l2_frmsizeenumh](jj)}(hjmh]htype}(hj hhhNhNubah}(h]h ]jvah"]h$]h&]uh1jihj hhhhhKubj{)}(h h]h }(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhj hhhhhKubjH)}(hv4l2_frmsizeenumh]jN)}(hj h]hv4l2_frmsizeenum}(hj hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhj ubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhj hhhhhKubeh}(h]h ]h"]h$]h&]hhjkuh1jAjljmhj hhhhhKubah}(h]j ah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhKhj hhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhj hhhhhKubeh}(h]h ](jtypeeh"]h$]h&]jjjj jj jjjuh1j6hhhjhNhNubhtabular_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)}(hjC h]hindex}(hjE hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjA 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.}(hja 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__u32h]h__u32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj~ ubah}(h]h ]h"]h$]h&]uh1jhj{ 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&]uh1jhj{ 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&]uh1jhj{ 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)}(hjF hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjC 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.}(hj] hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjZ 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 }(hj} hhhNhNubh)}(h:c:type:`v4l2_frmsize_discrete`h]j)}(hj h]hv4l2_frmsize_discrete}(hj hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$v4l2_frmsize_discreteuh1hhhhKhj} ubeh}(h]h ]h"]h$]h&]uh1hhhhKhjz ubah}(h]h ]h"]h$]h&]uh1jhjw 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&]uh1jhjw ubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjw 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 ](jjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$v4l2_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}}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjJ ubah}(h]h ]h"]h$]h&]uh1jhjG ubj)}(hhh]h}(h]h ]h"]h$]h&]uh1jhjG ubj)}(hhh]h}(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&]uh1jhjy 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&]uh1jhjy 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&]uh1jhjy 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](j2V4L.v4l2_frmsizetypes (C type)c.V4L.v4l2_frmsizetypeshNtauh1j%hj hhhNhNubj7)}(hhh](j<)}(hv4l2_frmsizetypesh]jB)}(htype v4l2_frmsizetypesh](jj)}(hjmh]htype}(hj hhhNhNubah}(h]h ]jvah"]h$]h&]uh1jihj hhhhhKubj{)}(h h]h }(hj# hhhNhNubah}(h]h ]jah"]h$]h&]uh1jzhj hhhhhKubjH)}(hv4l2_frmsizetypesh]jN)}(hj h]hv4l2_frmsizetypes}(hj5 hhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhj1 ubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhj hhhhhKubeh}(h]h ]h"]h$]h&]hhjkuh1jAjljmhj hhhhhKubah}(h]j ah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhKhj hhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhj hhhhhKubeh}(h]h ](jtypeeh"]h$]h&]jjjj` jj` jjjuh1j6hhhj 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}(hjq hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjn ubj)}(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``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)}(hjh]hV4L2_FRMSIZE_TYPE_CONTINUOUS}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(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&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hContinuous frame size.h]hContinuous frame size.}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj4ubah}(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)}(hjYh]hV4L2_FRMSIZE_TYPE_STEPWISE}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1hhhhKhjTubah}(h]h ]h"]h$]h&]uh1jhjQubj)}(hhh]h)}(h3h]h3}(hjwhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjtubah}(h]h ]h"]h$]h&]uh1jhjQubj)}(hhh]h)}(hStep-wise defined frame size.h]hStep-wise defined frame size.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjQubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]colsKuh1jhjn 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}j'hsexpect_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_handlerjPerror_encodingutf-8error_encoding_error_handlerbackslashreplace language_codeenrecord_dependenciesNconfigN id_prefixhauto_id_prefixid dump_settingsNdump_internalsNdump_transformsNdump_pseudo_xmlNexpose_internalsNstrict_visitorN_disable_configN_sourcehnj _destinationN _config_files]7/var/lib/git/docbuild/linux/Documentation/docutils.confafile_insertion_enabled raw_enabledKline_length_limitM'pep_referencesN pep_base_urlhttps://peps.python.org/pep_file_url_templatepep-%04drfc_referencesN rfc_base_url&https://datatracker.ietf.org/doc/html/ tab_widthKtrim_footnote_reference_spacesyntax_highlightlong smart_quotessmartquotes_locales]character_level_inline_markupdoctitle_xform docinfo_xformKsectsubtitle_xform image_loadinglinkembed_stylesheetcloak_email_addressessection_self_linkenvNubreporterNindirect_targets]substitution_defs}substitution_names}refnames}refids}h]hasnameids}(j'hj&j#jjjjjjjjj j jjjju nametypes}(j'j&jjjjj jjuh}(hhj#hjhjjj4j=jjjjj jj\jajjj j jj j j jjjjjv j(j j jjn u footnote_refs} citation_refs} autofootnotes]autofootnote_refs]symbol_footnotes]symbol_footnote_refs] footnotes] citations]autofootnote_startKsymbol_footnote_startK id_counter collectionsCounter}j^KsRparse_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&]levelKtypeINFOlineKsourcehuh1jhjJ ubatransform_messages]j)}(hhh]h)}(hhh]h