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]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_FRAMEINTERVALShNtauh1jhjhhhNhNubhdesc)}(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}(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)}(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&]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&]refdoc2userspace-api/media/v4l/vidioc-enum-frameintervals 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_frmivalenum` that contains a pixel format and size and receives a frame interval. 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)}(hqPointer to struct :c:type:`v4l2_frmivalenum` that contains a pixel format and size and receives a frame interval.h](hPointer to struct }(hjFhhhNhNubh)}(h:c:type:`v4l2_frmivalenum`h]j)}(hjPh]hv4l2_frmivalenum}(hjRhhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjjv4l2_frmivalenumuh1hhhhKhjFubhE that contains a pixel format and size and receives a frame interval.}(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 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 refexplicitrefwarnjvidioc_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 refexplicitrefwarnjvidioc_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}(hjhhhNhNubah}(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:}(hj9hhhNhNubah}(h]h ]h"]h$]h&]uh1j7hj3ubh 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 }(hj3hhhNhNubj)}(h ``EINVAL``h]hEINVAL}(hjKhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj3ubh is returned. The }(hj3hhhNhNubhtitle_reference)}(h`v4l2_frmivalenum.type`h]hv4l2_frmivalenum.type}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1j]hj3ubh field is set to }(hj3hhhNhNubj^)}(h`V4L2_FRMIVAL_TYPE_DISCRETE`h]hV4L2_FRMIVAL_TYPE_DISCRETE}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1j]hj3ubh& by the driver. Of the union only the }(hj3hhhNhNubj^)}(h `discrete`h]hdiscrete}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j]hj3ubh member is valid.}(hj3hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK.hj/ubah}(h]h ]h"]h$]h&]uh1j-hj*hhhhhNubj.)}(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](j8)}(h**Step-wise:**h]h Step-wise:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j7hjubhC 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&]uh1j-hj*hhhhhNubj.)}(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](j8)}(h**Continuous:**h]h Continuous:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j7hjubhw 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}(hj)hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh for any other index value. The }(hjhhhNhNubj)}(h``v4l2_frmivalenum.type``h]hv4l2_frmivalenum.type}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field is set to }(hjhhhNhNubj)}(h ``V4L2_FRMIVAL_TYPE_CONTINUOUS``h]hV4L2_FRMIVAL_TYPE_CONTINUOUS}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh& by the driver. Of the union only the }(hjhhhNhNubj)}(h ``stepwise``h]hstepwise}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh member is valid and the }(hjhhhNhNubj)}(h``step``h]hstep}(hjqhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh value is set to 1.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK;hjubah}(h]h ]h"]h$]h&]uh1j-hj*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](j8)}(h$**Frame intervals and frame rates:**h]h Frame intervals and frame rates:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1j7hjubh~ The V4L2 API uses frame intervals instead of frame rates. Given the frame interval the frame rate can be computed as follows:}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKUhjubh literal_block)}(hframe_rate = 1 / frame_intervalh]hframe_rate = 1 / frame_interval}hjsbah}(h]h ]h"]h$]h&]hhuh1jhhhK[hjubeh}(h]h ]h"]h$]h&]uh1jhjhhhhhNubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhK!ubh)}(hhh](h)}(hStructsh]hStructs}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhj/hhhhhK^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, }(hj@hhhNhNubhemphasis)}(h*IN*h]hIN}(hjJhhhNhNubah}(h]h ]h"]h$]h&]uh1jHhj@ubh> denotes a value that has to be filled in by the application, }(hj@hhhNhNubjI)}(h*OUT*h]hOUT}(hj\hhhNhNubah}(h]h ]h"]h$]h&]uh1jHhj@ubhe denotes values that the driver fills in. The application should zero out all members except for the }(hj@hhhNhNubjI)}(h*IN*h]hIN}(hjnhhhNhNubah}(h]h ]h"]h$]h&]uh1jHhj@ubh fields.}(hj@hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK`hj/hhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](j"V4L.v4l2_frmival_stepwise (C type)c.V4L.v4l2_frmival_stepwisehNtauh1jhj/hhhNhNubj#)}(hhh](j()}(hv4l2_frmival_stepwiseh]j.)}(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&]uh1jhjhhhhhKdubj4)}(hv4l2_frmival_stepwiseh]j:)}(hjh]hv4l2_frmival_stepwise}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j9hjubah}(h]h ](jLjMeh"]h$]h&]hhuh1j3hjhhhhhKdubeh}(h]h ]h"]h$]h&]hhjWuh1j-jXjYhjhhhhhKdubah}(h]jah ](j]j^eh"]h$]h&]jbjc)jdhuh1j'hhhKdhjhhubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehjhhhhhKdubeh}(h]h ](jstypeeh"]h$]h&]jxjsjyjjzjj{j|j}uh1j"hhhj/hNhNubhtable)}(hhh](h)}(hstruct v4l2_frmival_stepwiseh]hstruct v4l2_frmival_stepwise}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKfhjubhtgroup)}(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)}(hstruct :c:type:`v4l2_fract`h](hstruct }(hj;hhhNhNubh)}(h:c:type:`v4l2_fract`h]j)}(hjEh]h v4l2_fract}(hjGhhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhjCubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjj v4l2_fractuh1hhhhKkhj;ubeh}(h]h ]h"]h$]h&]uh1hhhhKkhj8ubah}(h]h ]h"]h$]h&]uh1j6hj3ubj7)}(hhh]h)}(h``min``h]j)}(hjsh]hmin}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hhhhKlhjnubah}(h]h ]h"]h$]h&]uh1j6hj3ubj7)}(hhh]h)}(hMinimum frame interval [s].h]hMinimum frame interval [s].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKmhjubah}(h]h ]h"]h$]h&]uh1j6hj3ubeh}(h]h ]h"]h$]h&]uh1j1hj.ubj2)}(hhh](j7)}(hhh]h)}(hstruct :c:type:`v4l2_fract`h](hstruct }(hjhhhNhNubh)}(h:c:type:`v4l2_fract`h]j)}(hjh]h v4l2_fract}(hjhhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjj v4l2_fractuh1hhhhKnhjubeh}(h]h ]h"]h$]h&]uh1hhhhKnhjubah}(h]h ]h"]h$]h&]uh1j6hjubj7)}(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&]uh1j6hjubj7)}(hhh]h)}(hMaximum frame interval [s].h]hMaximum frame interval [s].}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKphjubah}(h]h ]h"]h$]h&]uh1j6hjubeh}(h]h ]h"]h$]h&]uh1j1hj.ubj2)}(hhh](j7)}(hhh]h)}(hstruct :c:type:`v4l2_fract`h](hstruct }(hj'hhhNhNubh)}(h:c:type:`v4l2_fract`h]j)}(hj1h]h v4l2_fract}(hj3hhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhj/ubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjj v4l2_fractuh1hhhhKqhj'ubeh}(h]h ]h"]h$]h&]uh1hhhhKqhj$ubah}(h]h ]h"]h$]h&]uh1j6hj!ubj7)}(hhh]h)}(h``step``h]j)}(hj_h]hstep}(hjahhhNhNubah}(h]h ]h"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]uh1hhhhKrhjZubah}(h]h ]h"]h$]h&]uh1j6hj!ubj7)}(hhh]h)}(hFrame interval step size [s].h]hFrame interval step size [s].}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKshjzubah}(h]h ]h"]h$]h&]uh1j6hj!ubeh}(h]h ]h"]h$]h&]uh1j1hj.ubeh}(h]h ]h"]h$]h&]uh1j,hj ubeh}(h]h ]h"]h$]h&]colsKuh1jhjubeh}(h]id1ah ]h"]h$]h&]uh1jhj/hhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jV4L.v4l2_frmivalenum (C type)c.V4L.v4l2_frmivalenumhNtauh1jhj/hhhNhNubj#)}(hhh](j()}(hv4l2_frmivalenumh]j.)}(htype v4l2_frmivalenumh](j)}(hjh]htype}(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhhhKvubj)}(h h]h }(hjhhhNhNubah}(h]h ]jah"]h$]h&]uh1jhjhhhhhKvubj4)}(hv4l2_frmivalenumh]j:)}(hjh]hv4l2_frmivalenum}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j9hjubah}(h]h ](jLjMeh"]h$]h&]hhuh1j3hjhhhhhKvubeh}(h]h ]h"]h$]h&]hhjWuh1j-jXjYhjhhhhhKvubah}(h]jah ](j]j^eh"]h$]h&]jbjc)jdhuh1j'hhhKvhjhhubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehjhhhhhKvubeh}(h]h ](jstypeeh"]h$]h&]jxjsjyjjzjj{j|j}uh1j"hhhj/hNhNubhtabular_col_spec)}(hhh]h}(h]h ]h"]h$]h&]spec|p{4.9cm}|p{3.3cm}|p{9.1cm}|uh1jhhhKxhj/hhubj)}(hhh](h)}(hstruct v4l2_frmivalenumh]hstruct v4l2_frmivalenum}(hj"hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKzhjubj)}(hhh](j )}(hhh]h}(h]h ]h"]h$]h&]colwidthK!uh1j hj0ubj )}(hhh]h}(h]h ]h"]h$]h&]colwidthK!uh1j hj0ubj )}(hhh]h}(h]h ]h"]h$]h&]colwidthK!uh1j hj0ubj-)}(hhh](j2)}(hhh](j7)}(hhh]h)}(h__u32h]h__u32}(hjZhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK~hjWubah}(h]h ]h"]h$]h&]uh1j6hjTubj7)}(hhh]h)}(h ``index``h]j)}(hjsh]hindex}(hjuhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjqubah}(h]h ]h"]h$]h&]uh1hhhhKhjnubah}(h]h ]h"]h$]h&]uh1j6hjTubj7)}(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&]uh1j6hjTubeh}(h]h ]h"]h$]h&]uh1j1hjQubj2)}(hhh](j7)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1j6hjubj7)}(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&]uh1j6hjubj7)}(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&]uh1j6hjubeh}(h]h ]h"]h$]h&]uh1j1hjQubj2)}(hhh](j7)}(hhh]h)}(h__u32h]h__u32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j6hj ubj7)}(hhh]h)}(h ``width``h]j)}(hj! h]hwidth}(hj# hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j6hj ubj7)}(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.}(hj? hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj< ubah}(h]h ]h"]h$]h&]uh1j6hj ubeh}(h]h ]h"]h$]h&]uh1j1hjQubj2)}(hhh](j7)}(hhh]h)}(h__u32h]h__u32}(hj_ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj\ ubah}(h]h ]h"]h$]h&]uh1j6hjY ubj7)}(hhh]h)}(h ``height``h]j)}(hjx h]hheight}(hjz hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjv ubah}(h]h ]h"]h$]h&]uh1hhhhKhjs ubah}(h]h ]h"]h$]h&]uh1j6hjY ubj7)}(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&]uh1j6hjY ubeh}(h]h ]h"]h$]h&]uh1j1hjQubj2)}(hhh](j7)}(hhh]h)}(h__u32h]h__u32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j6hj ubj7)}(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&]uh1j6hj ubj7)}(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&]uh1j6hj ubeh}(h]h ]h"]h$]h&]uh1j1hjQubj2)}(hhh](j7)}(hhh]h)}(hunion {h]hunion {}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j6hj ubj7)}(hhh]h)}(h (anonymous)h]h (anonymous)}(hj$ hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj! ubah}(h]h ]h"]h$]h&]uh1j6hj ubj7)}(hhh]h)}(h)OUT: Frame interval with the given index.h]h)OUT: Frame interval with the given index.}(hj; hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj8 ubah}(h]h ]h"]h$]h&]uh1j6hj ubeh}(h]h ]h"]h$]h&]uh1j1hjQubj2)}(hhh](j7)}(hhh]h)}(hstruct :c:type:`v4l2_fract`h](hstruct }(hj[ hhhNhNubh)}(h:c:type:`v4l2_fract`h]j)}(hje h]h v4l2_fract}(hjg hhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhjc ubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjj v4l2_fractuh1hhhhKhj[ ubeh}(h]h ]h"]h$]h&]uh1hhhhKhjX ubah}(h]h ]h"]h$]h&]uh1j6hjU ubj7)}(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&]uh1j6hjU ubj7)}(hhh]h)}(hFrame interval [s].h]hFrame interval [s].}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j6hjU ubeh}(h]h ]h"]h$]h&]uh1j1hjQubj2)}(hhh](j7)}(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 ](jjsc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjjv4l2_frmival_stepwiseuh1hhhhKhj ubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j6hj ubj7)}(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&]uh1j6hj ubj7)}(hhh]h}(h]h ]h"]h$]h&]uh1j6hj ubeh}(h]h ]h"]h$]h&]uh1j1hjQubj2)}(hhh](j7)}(hhh]h)}(h}h]h}}(hj9 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj6 ubah}(h]h ]h"]h$]h&]uh1j6hj3 ubj7)}(hhh]h}(h]h ]h"]h$]h&]uh1j6hj3 ubj7)}(hhh]h}(h]h ]h"]h$]h&]uh1j6hj3 ubeh}(h]h ]h"]h$]h&]uh1j1hjQubj2)}(hhh](j7)}(hhh]h)}(h__u32h]h__u32}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjh ubah}(h]h ]h"]h$]h&]uh1j6hje ubj7)}(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&]uh1j6hje ubj7)}(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&]uh1j6hje ubeh}(h]h ]h"]h$]h&]uh1j1hjQubeh}(h]h ]h"]h$]h&]uh1j,hj0ubeh}(h]h ]h"]h$]h&]colsKuh1jhjubeh}(h]id2ah ]h"]h$]h&]uh1jhj/hhhNhNubeh}(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](jV4L.v4l2_frmivaltypes (C type)c.V4L.v4l2_frmivaltypeshNtauh1jhj hhhNhNubj#)}(hhh](j()}(hv4l2_frmivaltypesh]j.)}(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 hhhhhKubj4)}(hv4l2_frmivaltypesh]j:)}(hj h]hv4l2_frmivaltypes}(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}|uh1jhhhKhj hhubj)}(hhh](h)}(henum v4l2_frmivaltypesh]henum v4l2_frmivaltypes}(hj] hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjZ ubj)}(hhh](j )}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j hjk ubj )}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j hjk ubj )}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1j hjk ubj-)}(hhh](j2)}(hhh](j7)}(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&]uh1j6hj ubj7)}(hhh]h)}(h1h]h1}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j6hj ubj7)}(hhh]h)}(hDiscrete frame interval.h]hDiscrete frame interval.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j6hj ubeh}(h]h ]h"]h$]h&]uh1j1hj ubj2)}(hhh](j7)}(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&]uh1j6hj ubj7)}(hhh]h)}(h2h]h2}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j6hj ubj7)}(hhh]h)}(hContinuous frame interval.h]hContinuous frame interval.}(hj# hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1j6hj ubeh}(h]h ]h"]h$]h&]uh1j1hj ubj2)}(hhh](j7)}(hhh]h)}(h``V4L2_FRMIVAL_TYPE_STEPWISE``h]j)}(hjE h]hV4L2_FRMIVAL_TYPE_STEPWISE}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjC ubah}(h]h ]h"]h$]h&]uh1hhhhKhj@ ubah}(h]h ]h"]h$]h&]uh1j6hj= ubj7)}(hhh]h)}(h3h]h3}(hjc hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj` ubah}(h]h ]h"]h$]h&]uh1j6hj= ubj7)}(hhh]h)}(h!Step-wise defined frame interval.h]h!Step-wise defined frame interval.}(hjz hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjw ubah}(h]h ]h"]h$]h&]uh1j6hj= ubeh}(h]h ]h"]h$]h&]uh1j1hj ubeh}(h]h ]h"]h$]h&]uh1j,hjk ubeh}(h]h ]h"]h$]h&]colsKuh1jhjZ 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}jhsexpect_referenced_by_id}hhsubeh}(h]h ]h"]h$]h&]sourcehuh1hcurrent_sourceN current_lineNsettingsdocutils.frontendValues)}(hN generatorN datestampN source_linkN source_urlN toc_backlinksj6footnote_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}(jhjjhhjjjjj,j)j j j j j ju nametypes}(jjhjjj,j j j uh}(hhjhhhjjj j)jjj)jj j/jjjjj j j j jj jjj jj jZ 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@Hyperlink target "vidioc-enum-frameintervals" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]levelKtypejsourcehlineKuh1juba transformerN include_log] decorationNhhub.