sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftargetF/translations/zh_CN/userspace-api/media/v4l/vidioc-enum-frameintervalsmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetF/translations/zh_TW/userspace-api/media/v4l/vidioc-enum-frameintervalsmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetF/translations/it_IT/userspace-api/media/v4l/vidioc-enum-frameintervalsmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetF/translations/ja_JP/userspace-api/media/v4l/vidioc-enum-frameintervalsmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetF/translations/ko_KR/userspace-api/media/v4l/vidioc-enum-frameintervalsmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hPortuguese (Brazilian)}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetF/translations/pt_BR/userspace-api/media/v4l/vidioc-enum-frameintervalsmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftargetF/translations/sp_SP/userspace-api/media/v4l/vidioc-enum-frameintervalsmodnameN 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-frameintervals.rsthKubhtarget)}(h.. _VIDIOC_ENUM_FRAMEINTERVALS:h]h}(h]h ]h"]h$]h&]refidvidioc-enum-frameintervalsuh1hhKhhhhhhubhsection)}(hhh](htitle)}(h ioctl VIDIOC_ENUM_FRAMEINTERVALSh]h ioctl VIDIOC_ENUM_FRAMEINTERVALS}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNameh]hName}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh paragraph)}(h6VIDIOC_ENUM_FRAMEINTERVALS - Enumerate frame intervalsh]h6VIDIOC_ENUM_FRAMEINTERVALS - Enumerate frame intervals}(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_FRAMEINTERVALS (C macro) c.V4L.VIDIOC_ENUM_FRAMEINTERVALShNtauh1j%hjhhhNhNubhdesc)}(hhh](hdesc_signature)}(hVIDIOC_ENUM_FRAMEINTERVALSh]hdesc_signature_line)}(hVIDIOC_ENUM_FRAMEINTERVALSh]h desc_name)}(hVIDIOC_ENUM_FRAMEINTERVALSh]h desc_sig_name)}(hj?h]hVIDIOC_ENUM_FRAMEINTERVALS}(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)}(hP``int ioctl(int fd, VIDIOC_ENUM_FRAMEINTERVALS, struct v4l2_frmivalenum *argp)``h]hliteral)}(hjh]hLint ioctl(int fd, VIDIOC_ENUM_FRAMEINTERVALS, struct v4l2_frmivalenum *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&]refdoc2userspace-api/media/v4l/vidioc-enum-frameintervals 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_frmivalenum` that contains a pixel format and size and receives a frame interval. 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)}(hqPointer to struct :c:type:`v4l2_frmivalenum` that contains a pixel format and size and receives a frame interval.h](hPointer to struct }(hjZhhhNhNubh)}(h:c:type:`v4l2_frmivalenum`h]j)}(hjdh]hv4l2_frmivalenum}(hjfhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjbubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$v4l2_frmivalenumuh1hhhhKhjZubhE that contains a pixel format and size and receives a frame interval.}(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 intervals that the device supports for the given pixel format and frame size.h]hThis ioctl allows applications to enumerate all frame intervals that the device supports for the given pixel format and frame size.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK#hjhhubh)}(hThe supported pixel formats and frame sizes can be obtained by using the :ref:`VIDIOC_ENUM_FMT` and :ref:`VIDIOC_ENUM_FRAMESIZES` functions.h](hIThe supported pixel formats and frame sizes 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 and }(hjhhhNhNubh)}(h:ref:`VIDIOC_ENUM_FRAMESIZES`h]j)}(hjh]hVIDIOC_ENUM_FRAMESIZES}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnj$vidioc_enum_framesizesuh1hhhhK&hjubh functions.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK&hjhhubh)}(hThe return value and the content of the ``v4l2_frmivalenum.type`` field depend on the type of frame intervals 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_frmivalenum.type``h]hv4l2_frmivalenum.type}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field depend on the type of frame intervals 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)}(hXB**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_frmivalenum.type` field is set to `V4L2_FRMIVAL_TYPE_DISCRETE` by the driver. Of the union only the `discrete` member is valid. h]h)}(hXA**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_frmivalenum.type` field is set to `V4L2_FRMIVAL_TYPE_DISCRETE` by the driver. Of the union only the `discrete` member is valid.h](hstrong)}(h **Discrete:**h]h Discrete:}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jKhjGubh 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 }(hjGhhhNhNubj)}(h ``EINVAL``h]hEINVAL}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjGubh is returned. The }(hjGhhhNhNubhtitle_reference)}(h`v4l2_frmivalenum.type`h]hv4l2_frmivalenum.type}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jqhjGubh field is set to }(hjGhhhNhNubjr)}(h`V4L2_FRMIVAL_TYPE_DISCRETE`h]hV4L2_FRMIVAL_TYPE_DISCRETE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jqhjGubh& by the driver. Of the union only the }(hjGhhhNhNubjr)}(h `discrete`h]hdiscrete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jqhjGubh member is valid.}(hjGhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK.hjCubah}(h]h ]h"]h$]h&]uh1jAhj>hhhhhNubjB)}(hX**Step-wise:** The function returns success if the given index value is zero and ``EINVAL`` for any other index value. The ``v4l2_frmivalenum.type`` field is set to ``V4L2_FRMIVAL_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_frmivalenum.type`` field is set to ``V4L2_FRMIVAL_TYPE_STEPWISE`` by the driver. Of the union only the ``stepwise`` member is valid.h](jL)}(h**Step-wise:**h]h Step-wise:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jKhjubhC 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_frmivalenum.type``h]hv4l2_frmivalenum.type}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field is set to }(hjhhhNhNubj)}(h``V4L2_FRMIVAL_TYPE_STEPWISE``h]hV4L2_FRMIVAL_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&]uh1hhhhK5hjubah}(h]h ]h"]h$]h&]uh1jAhj>hhhhhNubjB)}(hXa**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_frmivalenum.type`` field is set to ``V4L2_FRMIVAL_TYPE_CONTINUOUS`` by the driver. Of the union only the ``stepwise`` member is valid and the ``step`` value is 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_frmivalenum.type`` field is set to ``V4L2_FRMIVAL_TYPE_CONTINUOUS`` by the driver. Of the union only the ``stepwise`` member is valid and the ``step`` value is set to 1.h](jL)}(h**Continuous:**h]h Continuous:}(hj+hhhNhNubah}(h]h ]h"]h$]h&]uh1jKhj'ubhw This is a special case of the step-wise type above. The function returns success if the given index value is zero and }(hj'hhhNhNubj)}(h ``EINVAL``h]hEINVAL}(hj=hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh for any other index value. The }(hj'hhhNhNubj)}(h``v4l2_frmivalenum.type``h]hv4l2_frmivalenum.type}(hjOhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh field is set to }(hj'hhhNhNubj)}(h ``V4L2_FRMIVAL_TYPE_CONTINUOUS``h]hV4L2_FRMIVAL_TYPE_CONTINUOUS}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh& by the driver. Of the union only the }(hj'hhhNhNubj)}(h ``stepwise``h]hstepwise}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh member is valid and the }(hj'hhhNhNubj)}(h``step``h]hstep}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj'ubh value is set to 1.}(hj'hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK;hj#ubah}(h]h ]h"]h$]h&]uh1jAhj>hhhhhNubeh}(h]h ]h"]h$]h&]bullet-uh1j<hhhK.hjhhubh)}(hX#When the application calls the function with index zero, it must check the ``type`` field to determine the type of frame interval enumeration the device supports. Only for the ``V4L2_FRMIVAL_TYPE_DISCRETE`` type does it make sense to increase the index value to receive more frame intervals.h](hKWhen the application calls the function with index zero, it must check the }(hjhhhNhNubj)}(h``type``h]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh] field to determine the type of frame interval enumeration the device supports. Only for the }(hjhhhNhNubj)}(h``V4L2_FRMIVAL_TYPE_DISCRETE``h]hV4L2_FRMIVAL_TYPE_DISCRETE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubhU type does it make sense to increase the index value to receive more frame intervals.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKBhjhhubhnote)}(hThe order in which the frame intervals are returned has no special meaning. In particular does it not say anything about potential default frame intervals.h]h)}(hThe order in which the frame intervals are returned has no special meaning. In particular does it not say anything about potential default frame intervals.h]hThe order in which the frame intervals are returned has no special meaning. In particular does it not say anything about potential default frame intervals.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKJhjubah}(h]h ]h"]h$]h&]uh1jhjhhhhhNubh)}(hXApplications can assume that the enumeration data does not change without any interaction from the application itself. This means that the enumeration data is consistent if the application does not perform any other ioctl calls while it runs the frame interval enumeration.h]hXApplications can assume that the enumeration data does not change without any interaction from the application itself. This means that the enumeration data is consistent if the application does not perform any other ioctl calls while it runs the frame interval enumeration.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKNhjhhubj)}(h**Frame intervals and frame rates:** The V4L2 API uses frame intervals instead of frame rates. Given the frame interval the frame rate can be computed as follows: :: frame_rate = 1 / frame_intervalh](h)}(h**Frame intervals and frame rates:** The V4L2 API uses frame intervals instead of frame rates. Given the frame interval the frame rate can be computed as follows:h](jL)}(h$**Frame intervals and frame rates:**h]h Frame intervals and frame rates:}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jKhj ubh~ The V4L2 API uses frame intervals instead of frame rates. Given the frame interval the frame rate can be computed as follows:}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKUhjubh literal_block)}(hframe_rate = 1 / frame_intervalh]hframe_rate = 1 / frame_interval}hj'sbah}(h]h ]h"]h$]h&]hhuh1j%hhhK[hjubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhK!ubh)}(hhh](h)}(hStructsh]hStructs}(hjFhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjChhhhhK^ubh)}(hIn the structs below, *IN* denotes a value that has to be filled in by the application, *OUT* denotes values that the driver fills in. The application should zero out all members except for the *IN* fields.h](hIn the structs below, }(hjThhhNhNubhemphasis)}(h*IN*h]hIN}(hj^hhhNhNubah}(h]h ]h"]h$]h&]uh1j\hjTubh> denotes a value that has to be filled in by the application, }(hjThhhNhNubj])}(h*OUT*h]hOUT}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1j\hjTubhe denotes values that the driver fills in. The application should zero out all members except for the }(hjThhhNhNubj])}(h*IN*h]hIN}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j\hjTubh fields.}(hjThhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK`hjChhubj&)}(hhh]h}(h]h ]h"]h$]h&]entries](j2"V4L.v4l2_frmival_stepwise (C type)c.V4L.v4l2_frmival_stepwisehNtauh1j%hjChhhNhNubj7)}(hhh](j<)}(hv4l2_frmival_stepwiseh]jB)}(htype v4l2_frmival_stepwiseh](hdesc_sig_keyword)}(htypeh]htype}(hjhhhNhNubah}(h]h ]kah"]h$]h&]uh1jhjhhhhhKdubhdesc_sig_space)}(h h]h }(hjhhhNhNubah}(h]h ]wah"]h$]h&]uh1jhjhhhhhKdubjH)}(hv4l2_frmival_stepwiseh]jN)}(hjh]hv4l2_frmival_stepwise}(hjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhjubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhjhhhhhKdubeh}(h]h ]h"]h$]h&]hhjkuh1jAjljmhjhhhhhKdubah}(h]jah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhKdhjhhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhjhhhhhKdubeh}(h]h ](jtypeeh"]h$]h&]jjjjjjjjjuh1j6hhhjChNhNubhtable)}(hhh](h)}(hstruct v4l2_frmival_stepwiseh]hstruct v4l2_frmival_stepwise}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKfhj ubhtgroup)}(hhh](hcolspec)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j hjubj!)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j hjubj!)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j hjubhtbody)}(hhh](hrow)}(hhh](hentry)}(hhh]h)}(hstruct :c:type:`v4l2_fract`h](hstruct }(hjOhhhNhNubh)}(h:c:type:`v4l2_fract`h]j)}(hjYh]h v4l2_fract}(hj[hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$ v4l2_fractuh1hhhhKkhjOubeh}(h]h ]h"]h$]h&]uh1hhhhKkhjLubah}(h]h ]h"]h$]h&]uh1jJhjGubjK)}(hhh]h)}(h``min``h]j)}(hjh]hmin}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKlhjubah}(h]h ]h"]h$]h&]uh1jJhjGubjK)}(hhh]h)}(hMinimum frame interval [s].h]hMinimum frame interval [s].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKmhjubah}(h]h ]h"]h$]h&]uh1jJhjGubeh}(h]h ]h"]h$]h&]uh1jEhjBubjF)}(hhh](jK)}(hhh]h)}(hstruct :c:type:`v4l2_fract`h](hstruct }(hjhhhNhNubh)}(h:c:type:`v4l2_fract`h]j)}(hjh]h v4l2_fract}(hjhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$ v4l2_fractuh1hhhhKnhjubeh}(h]h ]h"]h$]h&]uh1hhhhKnhjubah}(h]h ]h"]h$]h&]uh1jJhjubjK)}(hhh]h)}(h``max``h]j)}(hjh]hmax}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKohjubah}(h]h ]h"]h$]h&]uh1jJhjubjK)}(hhh]h)}(hMaximum frame interval [s].h]hMaximum frame interval [s].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKphjubah}(h]h ]h"]h$]h&]uh1jJhjubeh}(h]h ]h"]h$]h&]uh1jEhjBubjF)}(hhh](jK)}(hhh]h)}(hstruct :c:type:`v4l2_fract`h](hstruct }(hj;hhhNhNubh)}(h:c:type:`v4l2_fract`h]j)}(hjEh]h v4l2_fract}(hjGhhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$ v4l2_fractuh1hhhhKqhj;ubeh}(h]h ]h"]h$]h&]uh1hhhhKqhj8ubah}(h]h ]h"]h$]h&]uh1jJhj5ubjK)}(hhh]h)}(h``step``h]j)}(hjsh]hstep}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hhhhKrhjnubah}(h]h ]h"]h$]h&]uh1jJhj5ubjK)}(hhh]h)}(hFrame interval step size [s].h]hFrame interval step size [s].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKshjubah}(h]h ]h"]h$]h&]uh1jJhj5ubeh}(h]h ]h"]h$]h&]uh1jEhjBubeh}(h]h ]h"]h$]h&]uh1j@hjubeh}(h]h ]h"]h$]h&]colsKuh1jhj ubeh}(h]id1ah ]h"]h$]h&]uh1jhjChhhNhNubj&)}(hhh]h}(h]h ]h"]h$]h&]entries](j2V4L.v4l2_frmivalenum (C type)c.V4L.v4l2_frmivalenumhNtauh1j%hjChhhNhNubj7)}(hhh](j<)}(hv4l2_frmivalenumh]jB)}(htype v4l2_frmivalenumh](j)}(hjh]htype}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhhhKvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhhhKvubjH)}(hv4l2_frmivalenumh]jN)}(hjh]hv4l2_frmivalenum}(hjhhhNhNubah}(h]h ]jYah"]h$]h&]uh1jMhjubah}(h]h ](j`jaeh"]h$]h&]hhuh1jGhjhhhhhKvubeh}(h]h ]h"]h$]h&]hhjkuh1jAjljmhjhhhhhKvubah}(h]jah ](jqjreh"]h$]h&]jvjw)jxhuh1j;hhhKvhjhhubjz)}(hhh]h}(h]h ]h"]h$]h&]uh1jyhjhhhhhKvubeh}(h]h ](jtypeeh"]h$]h&]jjjj"jj"jjjuh1j6hhhjChNhNubhtabular_col_spec)}(hhh]h}(h]h ]h"]h$]h&]spec|p{4.9cm}|p{3.3cm}|p{9.1cm}|uh1j&hhhKxhjChhubj )}(hhh](h)}(hstruct v4l2_frmivalenumh]hstruct v4l2_frmivalenum}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKzhj3ubj)}(hhh](j!)}(hhh]h}(h]h ]h"]h$]h&]colwidthK!uh1j hjDubj!)}(hhh]h}(h]h ]h"]h$]h&]colwidthK!uh1j hjDubj!)}(hhh]h}(h]h ]h"]h$]h&]colwidthK!uh1j hjDubjA)}(hhh](jF)}(hhh](jK)}(hhh]h)}(h__u32h]h__u32}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK~hjkubah}(h]h ]h"]h$]h&]uh1jJhjhubjK)}(hhh]h)}(h ``index``h]j)}(hjh]hindex}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jJhjhubjK)}(hhh]h)}(h9IN: Index of the given frame interval in the enumeration.h]h9IN: Index of the given frame interval in the enumeration.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jJhjhubeh}(h]h ]h"]h$]h&]uh1jEhjeubjF)}(hhh](jK)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jJhjubjK)}(hhh]h)}(h``pixel_format``h]j)}(hjh]h pixel_format}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jJhjubjK)}(hhh]h)}(h>IN: Pixel format for which the frame intervals are enumerated.h]h>IN: Pixel format for which the frame intervals are enumerated.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jJhjubeh}(h]h ]h"]h$]h&]uh1jEhjeubjF)}(hhh](jK)}(hhh]h)}(h__u32h]h__u32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jJhj ubjK)}(hhh]h)}(h ``width``h]j)}(hj5 h]hwidth}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3 ubah}(h]h ]h"]h$]h&]uh1hhhhKhj0 ubah}(h]h ]h"]h$]h&]uh1jJhj ubjK)}(hhh]h)}(h=IN: Frame width for which the frame intervals are enumerated.h]h=IN: Frame width for which the frame intervals are enumerated.}(hjS hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjP ubah}(h]h ]h"]h$]h&]uh1jJhj ubeh}(h]h ]h"]h$]h&]uh1jEhjeubjF)}(hhh](jK)}(hhh]h)}(h__u32h]h__u32}(hjs hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjp ubah}(h]h ]h"]h$]h&]uh1jJhjm ubjK)}(hhh]h)}(h ``height``h]j)}(hj h]hheight}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jJhjm ubjK)}(hhh]h)}(h>IN: Frame height for which the frame intervals are enumerated.h]h>IN: Frame height for which the frame intervals are enumerated.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jJhjm ubeh}(h]h ]h"]h$]h&]uh1jEhjeubjF)}(hhh](jK)}(hhh]h)}(h__u32h]h__u32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jJhj ubjK)}(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&]uh1jJhj ubjK)}(hhh]h)}(h-OUT: Frame interval type the device supports.h]h-OUT: Frame interval type the device supports.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jJhj ubeh}(h]h ]h"]h$]h&]uh1jEhjeubjF)}(hhh](jK)}(hhh]h)}(hunion {h]hunion {}(hj! hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jJhj ubjK)}(hhh]h)}(h (anonymous)h]h (anonymous)}(hj8 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj5 ubah}(h]h ]h"]h$]h&]uh1jJhj ubjK)}(hhh]h)}(h)OUT: Frame interval with the given index.h]h)OUT: Frame interval with the given index.}(hjO hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjL ubah}(h]h ]h"]h$]h&]uh1jJhj ubeh}(h]h ]h"]h$]h&]uh1jEhjeubjF)}(hhh](jK)}(hhh]h)}(hstruct :c:type:`v4l2_fract`h](hstruct }(hjo hhhNhNubh)}(h:c:type:`v4l2_fract`h]j)}(hjy h]h v4l2_fract}(hj{ hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhjw ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$ v4l2_fractuh1hhhhKhjo ubeh}(h]h ]h"]h$]h&]uh1hhhhKhjl ubah}(h]h ]h"]h$]h&]uh1jJhji ubjK)}(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&]uh1jJhji ubjK)}(hhh]h)}(hFrame interval [s].h]hFrame interval [s].}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jJhji ubeh}(h]h ]h"]h$]h&]uh1jEhjeubjF)}(hhh](jK)}(hhh]h)}(h&struct :c:type:`v4l2_frmival_stepwise`h](hstruct }(hj hhhNhNubh)}(h:c:type:`v4l2_frmival_stepwise`h]j)}(hj h]hv4l2_frmival_stepwise}(hj hhhNhNubah}(h]h ](jjc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftypetype refexplicitrefwarnjjj$v4l2_frmival_stepwiseuh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jJhj ubjK)}(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&]uh1jJhj ubjK)}(hhh]h}(h]h ]h"]h$]h&]uh1jJhj ubeh}(h]h ]h"]h$]h&]uh1jEhjeubjF)}(hhh](jK)}(hhh]h)}(h}h]h}}(hjM hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjJ ubah}(h]h ]h"]h$]h&]uh1jJhjG ubjK)}(hhh]h}(h]h ]h"]h$]h&]uh1jJhjG ubjK)}(hhh]h}(h]h ]h"]h$]h&]uh1jJhjG ubeh}(h]h ]h"]h$]h&]uh1jEhjeubjF)}(hhh](jK)}(hhh]h)}(h__u32h]h__u32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj| ubah}(h]h ]h"]h$]h&]uh1jJhjy ubjK)}(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&]uh1jJhjy ubjK)}(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&]uh1jJhjy ubeh}(h]h ]h"]h$]h&]uh1jEhjeubeh}(h]h ]h"]h$]h&]uh1j@hjDubeh}(h]h ]h"]h$]h&]colsKuh1jhj3ubeh}(h]id2ah ]h"]h$]h&]uh1jhjChhhNhNubeh}(h]structsah ]h"]structsah$]h&]uh1hhhhhhhhK^ubh)}(hhh](h)}(hEnumsh]hEnums}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhKubj&)}(hhh]h}(h]h ]h"]h$]h&]entries](j2V4L.v4l2_frmivaltypes (C type)c.V4L.v4l2_frmivaltypeshNtauh1j%hj hhhNhNubj7)}(hhh](j<)}(hv4l2_frmivaltypesh]jB)}(htype v4l2_frmivaltypesh](j)}(hjh]htype}(hj hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhhhKubj)}(h h]h }(hj# hhhNhNubah}(h]h ]jah"]h$]h&]uh1jhj hhhhhKubjH)}(hv4l2_frmivaltypesh]jN)}(hj h]hv4l2_frmivaltypes}(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&]j1|p{6.6cm}|p{2.2cm}|p{8.5cm}|uh1j&hhhKhj hhubj )}(hhh](h)}(henum v4l2_frmivaltypesh]henum v4l2_frmivaltypes}(hjq hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjn ubj)}(hhh](j!)}(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 ubjA)}(hhh](jF)}(hhh](jK)}(hhh]h)}(h``V4L2_FRMIVAL_TYPE_DISCRETE``h]j)}(hj h]hV4L2_FRMIVAL_TYPE_DISCRETE}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jJhj ubjK)}(hhh]h)}(h1h]h1}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jJhj ubjK)}(hhh]h)}(hDiscrete frame interval.h]hDiscrete frame interval.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jJhj ubeh}(h]h ]h"]h$]h&]uh1jEhj ubjF)}(hhh](jK)}(hhh]h)}(h ``V4L2_FRMIVAL_TYPE_CONTINUOUS``h]j)}(hj h]hV4L2_FRMIVAL_TYPE_CONTINUOUS}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jJhj ubjK)}(hhh]h)}(h2h]h2}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jJhj ubjK)}(hhh]h)}(hContinuous frame interval.h]hContinuous frame interval.}(hj7 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj4 ubah}(h]h ]h"]h$]h&]uh1jJhj ubeh}(h]h ]h"]h$]h&]uh1jEhj ubjF)}(hhh](jK)}(hhh]h)}(h``V4L2_FRMIVAL_TYPE_STEPWISE``h]j)}(hjY h]hV4L2_FRMIVAL_TYPE_STEPWISE}(hj[ hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjW ubah}(h]h ]h"]h$]h&]uh1hhhhKhjT ubah}(h]h ]h"]h$]h&]uh1jJhjQ ubjK)}(hhh]h)}(h3h]h3}(hjw hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjt ubah}(h]h ]h"]h$]h&]uh1jJhjQ ubjK)}(hhh]h)}(h!Step-wise defined frame interval.h]h!Step-wise defined frame interval.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jJhjQ ubeh}(h]h ]h"]h$]h&]uh1jEhj ubeh}(h]h ]h"]h$]h&]uh1j@hj ubeh}(h]h ]h"]h$]h&]colsKuh1jhjn ubeh}(h]id3ah ]h"]h$]h&]uh1jhj hhhNhNubeh}(h]enumsah ]h"]enumsah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Return Valueh]h Return Value}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj hhhhhKubh)}(hOn success 0 is returned, on error -1 and the ``errno`` variable is set appropriately. The generic error codes are described at the :ref:`Generic Error Codes ` chapter.h](h.On success 0 is returned, on error -1 and the }(hj hhhNhNubj)}(h ``errno``h]herrno}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubhM variable is set appropriately. The generic error codes are described at the }(hj hhhNhNubh)}(h':ref:`Generic Error Codes `h]j)}(hj h]hGeneric Error Codes}(hj hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainj reftyperef refexplicitrefwarnj$ gen-errorsuh1hhhhKhj ubh chapter.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj hhubeh}(h] return-valueah ]h"] return valueah$]h&]uh1hhhhhhhhKubeh}(h]( ioctl-vidioc-enum-frameintervalsheh ]h"]( ioctl vidioc_enum_frameintervalsvidioc_enum_frameintervalseh$]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_backlinksjJfootnote_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#jjjjjjj@j=j j j j jju nametypes}(j'j&jjjj@j j juh}(hhj#hjhjjj4j=jjj=jj jCjjjjj j j j jj jj j j3j jn 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@Hyperlink target "vidioc-enum-frameintervals" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]levelKtypejsourcehnjlineKuh1juba transformerN include_log] decorationNhhub.