sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget9/translations/zh_CN/userspace-api/media/v4l/vidioc-g-parmmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget9/translations/zh_TW/userspace-api/media/v4l/vidioc-g-parmmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget9/translations/it_IT/userspace-api/media/v4l/vidioc-g-parmmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget9/translations/ja_JP/userspace-api/media/v4l/vidioc-g-parmmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget9/translations/ko_KR/userspace-api/media/v4l/vidioc-g-parmmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget9/translations/sp_SP/userspace-api/media/v4l/vidioc-g-parmmodnameN 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:spacepreserveuh1hhhhhhS/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/vidioc-g-parm.rsthKubhtarget)}(h.. _VIDIOC_G_PARM:h]h}(h]h ]h"]h$]h&]refid vidioc-g-parmuh1hhKhhhhhhubhsection)}(hhh](htitle)}(h"ioctl VIDIOC_G_PARM, VIDIOC_S_PARMh]h"ioctl VIDIOC_G_PARM, VIDIOC_S_PARM}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNameh]hName}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh paragraph)}(h?VIDIOC_G_PARM - VIDIOC_S_PARM - Get or set streaming parametersh]h?VIDIOC_G_PARM - VIDIOC_S_PARM - Get or set streaming parameters}(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](singleV4L.VIDIOC_G_PARM (C macro)c.V4L.VIDIOC_G_PARMhNtauh1jhjhhhNhNubhdesc)}(hhh](hdesc_signature)}(h VIDIOC_G_PARMh]hdesc_signature_line)}(h VIDIOC_G_PARMh]h desc_name)}(h VIDIOC_G_PARMh]h desc_sig_name)}(hj+h]h VIDIOC_G_PARM}(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)}(h;``int ioctl(int fd, VIDIOC_G_PARM, v4l2_streamparm *argp)``h]hliteral)}(hjh]h7int ioctl(int fd, VIDIOC_G_PARM, v4l2_streamparm *argp)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jV4L.VIDIOC_S_PARM (C macro)c.V4L.VIDIOC_S_PARMhNtauh1jhjhhhNhNubj#)}(hhh](j()}(h VIDIOC_S_PARMh]j.)}(h VIDIOC_S_PARMh]j4)}(h VIDIOC_S_PARMh]j:)}(hjh]h VIDIOC_S_PARM}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j9hjubah}(h]h ](jLjMeh"]h$]h&]hhuh1j3hjhhhhhKubah}(h]h ]h"]h$]h&]hhjWuh1j-jXjYhjhhhhhKubah}(h]jah ](j]j^eh"]h$]h&]jbjc)jdhuh1j'hhhKhjhhubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehjhhhhhKubeh}(h]h ](jsmacroeh"]h$]h&]jxjsjyjjzjj{j|j}uh1j"hhhjhNhNubh)}(h;``int ioctl(int fd, VIDIOC_S_PARM, v4l2_streamparm *argp)``h]j)}(hjh]h7int ioctl(int fd, VIDIOC_S_PARM, v4l2_streamparm *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)}(hj"h]hfd}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1jhhhKhjubh definition)}(hhh]h)}(h-File descriptor returned by :c:func:`open()`.h](hFile descriptor returned by }(hj<hhhNhNubh)}(h:c:func:`open()`h]j)}(hjFh]hopen()}(hjHhhhNhNubah}(h]h ](xrefjsc-funceh"]h$]h&]uh1jhjDubah}(h]h ]h"]h$]h&]refdoc%userspace-api/media/v4l/vidioc-g-parm refdomainjsreftypefunc refexplicitrefwarn c:parent_keysphinx.domains.c LookupKey)}data]je ASTIdentifier)} identifierV4LsbNasb reftargetopenuh1hhhhKhj<ubh.}(hj<hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj9ubah}(h]h ]h"]h$]h&]uh1j7hjubeh}(h]h ]h"]h$]h&]uh1jhhhKhjubj)}(h6``argp`` Pointer to struct :c:type:`v4l2_streamparm`. h](j)}(h``argp``h]j)}(hjh]hargp}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhhhK!hjubj8)}(hhh]h)}(h,Pointer to struct :c:type:`v4l2_streamparm`.h](hPointer to struct }(hjhhhNhNubh)}(h:c:type:`v4l2_streamparm`h]j)}(hjh]hv4l2_streamparm}(hjhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjsv4l2_streamparmuh1hhhhK!hjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK!hjubah}(h]h ]h"]h$]h&]uh1j7hjubeh}(h]h ]h"]h$]h&]uh1jhhhK!hjhhubeh}(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)}(hApplications can request a different frame interval. The capture or output device will be reconfigured to support the requested frame interval if possible. Optionally drivers may choose to skip or repeat frames to achieve the requested frame interval.h]hApplications can request a different frame interval. The capture or output device will be reconfigured to support the requested frame interval if possible. Optionally drivers may choose to skip or repeat frames to achieve the requested frame interval.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK&hjhhubh)}(hFor stateful encoders (see :ref:`encoder`) this represents the frame interval that is typically embedded in the encoded video stream.h](hFor stateful encoders (see }(hjhhhNhNubh)}(h:ref:`encoder`h]hinline)}(hjh]hencoder}(hj!hhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainj+reftyperef refexplicitrefwarnjsencoderuh1hhhhK+hjubh\) this represents the frame interval that is typically embedded in the encoded video stream.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK+hjhhubh)}(hChanging the frame interval shall never change the format. Changing the format, on the other hand, may change the frame interval.h]hChanging the frame interval shall never change the format. Changing the format, on the other hand, may change the frame interval.}(hjGhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK.hjhhubh)}(hFurther these ioctls can be used to determine the number of buffers used internally by a driver in read/write mode. For implications see the section discussing the :c:func:`read()` function.h](hFurther these ioctls can be used to determine the number of buffers used internally by a driver in read/write mode. For implications see the section discussing the }(hjUhhhNhNubh)}(h:c:func:`read()`h]j)}(hj_h]hread()}(hjahhhNhNubah}(h]h ](jRjsc-funceh"]h$]h&]uh1jhj]ubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypefunc refexplicitrefwarnjdjhjsreaduh1hhhhK1hjUubh function.}(hjUhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK1hjhhubh)}(hX+To get and set the streaming parameters applications call the :ref:`VIDIOC_G_PARM ` and :ref:`VIDIOC_S_PARM ` ioctl, respectively. They take a pointer to a struct :c:type:`v4l2_streamparm` which contains a union holding separate parameters for input and output devices.h](h>To get and set the streaming parameters applications call the }(hjhhhNhNubh)}(h$:ref:`VIDIOC_G_PARM `h]j )}(hjh]h VIDIOC_G_PARM}(hjhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjreftyperef refexplicitrefwarnjs vidioc_g_parmuh1hhhhK5hjubh and }(hjhhhNhNubh)}(h$:ref:`VIDIOC_S_PARM `h]j )}(hjh]h VIDIOC_S_PARM}(hjhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjreftyperef refexplicitrefwarnjs vidioc_g_parmuh1hhhhK5hjubh6 ioctl, respectively. They take a pointer to a struct }(hjhhhNhNubh)}(h:c:type:`v4l2_streamparm`h]j)}(hjh]hv4l2_streamparm}(hjhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjsv4l2_streamparmuh1hhhhK5hjubhQ which contains a union holding separate parameters for input and output devices.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK5hjhhubhtabular_col_spec)}(hhh]h}(h]h ]h"]h$]h&]spec|p{3.7cm}|p{3.5cm}|p{10.1cm}|uh1jhhhK;hjhhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jV4L.v4l2_streamparm (C type)c.V4L.v4l2_streamparmhNtauh1jhjhhhNhNubj#)}(hhh](j()}(hv4l2_streamparmh]j.)}(htype v4l2_streamparmh](hdesc_sig_keyword)}(htypeh]htype}(hj'hhhNhNubah}(h]h ]kah"]h$]h&]uh1j%hj!hhhhhK=ubhdesc_sig_space)}(h h]h }(hj8hhhNhNubah}(h]h ]wah"]h$]h&]uh1j6hj!hhhhhK=ubj4)}(hv4l2_streamparmh]j:)}(hjh]hv4l2_streamparm}(hjKhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j9hjGubah}(h]h ](jLjMeh"]h$]h&]hhuh1j3hj!hhhhhK=ubeh}(h]h ]h"]h$]h&]hhjWuh1j-jXjYhjhhhhhK=ubah}(h]jah ](j]j^eh"]h$]h&]jbjc)jdhuh1j'hhhK=hjhhubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehjhhhhhK=ubeh}(h]h ](jstypeeh"]h$]h&]jxjsjyjvjzjvj{j|j}uh1j"hhhjhNhNubhtable)}(hhh](h)}(hstruct v4l2_streamparmh]hstruct v4l2_streamparm}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK?hj|ubhtgroup)}(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&]uh1hhhhKDhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``type``h]j)}(hjh]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKEhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h}The buffer (stream) type, same as struct :c:type:`v4l2_format` ``type``, set by the application. See :c:type:`v4l2_buf_type`.h](h)The buffer (stream) type, same as struct }(hjhhhNhNubh)}(h:c:type:`v4l2_format`h]j)}(hjh]h v4l2_format}(hjhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjs v4l2_formatuh1hhhhKFhjubh }(hjhhhNhNubj)}(h``type``h]htype}(hj#hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh, set by the application. See }(hjhhhNhNubh)}(h:c:type:`v4l2_buf_type`h]j)}(hj7h]h v4l2_buf_type}(hj9hhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjs v4l2_buf_typeuh1hhhhKFhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKFhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(hunion {h]hunion {}(hjphhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKIhjmubah}(h]h ]h"]h$]h&]uh1jhjjubj)}(hhh]h)}(h``parm``h]j)}(hjh]hparm}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKJhjubah}(h]h ]h"]h$]h&]morecolsKuh1jhjjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h!struct :c:type:`v4l2_captureparm`h](hstruct }(hjhhhNhNubh)}(h:c:type:`v4l2_captureparm`h]j)}(hjh]hv4l2_captureparm}(hjhhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjsv4l2_captureparmuh1hhhhKKhjubeh}(h]h ]h"]h$]h&]uh1hhhhKKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``capture``h]j)}(hjh]hcapture}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKLhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hParameters for capture devices, used when ``type`` is ``V4L2_BUF_TYPE_VIDEO_CAPTURE`` or ``V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE``.h](h*Parameters for capture devices, used when }(hjhhhNhNubj)}(h``type``h]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is }(hjhhhNhNubj)}(h``V4L2_BUF_TYPE_VIDEO_CAPTURE``h]hV4L2_BUF_TYPE_VIDEO_CAPTURE}(hj!hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh or }(hjhhhNhNubj)}(h&``V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE``h]h"V4L2_BUF_TYPE_VIDEO_CAPTURE_MPLANE}(hj3hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKMhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h struct :c:type:`v4l2_outputparm`h](hstruct }(hj]hhhNhNubh)}(h:c:type:`v4l2_outputparm`h]j)}(hjgh]hv4l2_outputparm}(hjihhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhjeubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjsv4l2_outputparmuh1hhhhKPhj]ubeh}(h]h ]h"]h$]h&]uh1hhhhKPhjZubah}(h]h ]h"]h$]h&]uh1jhjWubj)}(hhh]h)}(h ``output``h]j)}(hjh]houtput}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKQhjubah}(h]h ]h"]h$]h&]uh1jhjWubj)}(hhh]h)}(h}Parameters for output devices, used when ``type`` is ``V4L2_BUF_TYPE_VIDEO_OUTPUT`` or ``V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE``.h](h)Parameters for output devices, used when }(hjhhhNhNubj)}(h``type``h]htype}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh is }(hjhhhNhNubj)}(h``V4L2_BUF_TYPE_VIDEO_OUTPUT``h]hV4L2_BUF_TYPE_VIDEO_OUTPUT}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh or }(hjhhhNhNubj)}(h%``V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE``h]h!V4L2_BUF_TYPE_VIDEO_OUTPUT_MPLANE}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKRhjubah}(h]h ]h"]h$]h&]uh1jhjWubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u8h]h__u8}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKThjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``raw_data``\ [200]h](j)}(h ``raw_data``h]hraw_data}(hj$hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh [200]}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKUhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h%A place holder for future extensions.h]h%A place holder for future extensions.}(hjEhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKVhjBubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]j)}(hhh]h)}(h}h]h}}(hjehhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKWhjbubah}(h]h ]h"]h$]h&]morecolsKuh1jhj_ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhj|ubeh}(h]id1ah ]h"]h$]h&]uh1jzhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]j |p{4.4cm}|p{4.4cm}|p{8.5cm}|uh1jhhhKZhjhhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jV4L.v4l2_captureparm (C type)c.V4L.v4l2_captureparmhNtauh1jhjhhhNhNubj#)}(hhh](j()}(hv4l2_captureparmh]j.)}(htype v4l2_captureparmh](j&)}(hj)h]htype}(hjhhhNhNubah}(h]h ]j2ah"]h$]h&]uh1j%hjhhhhhK\ubj7)}(h h]h }(hjhhhNhNubah}(h]h ]jCah"]h$]h&]uh1j6hjhhhhhK\ubj4)}(hv4l2_captureparmh]j:)}(hjh]hv4l2_captureparm}(hjhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j9hjubah}(h]h ](jLjMeh"]h$]h&]hhuh1j3hjhhhhhK\ubeh}(h]h ]h"]h$]h&]hhjWuh1j-jXjYhjhhhhhK\ubah}(h]jah ](j]j^eh"]h$]h&]jbjc)jdhuh1j'hhhK\hjhhubjf)}(hhh]h}(h]h ]h"]h$]h&]uh1jehjhhhhhK\ubeh}(h]h ](jstypeeh"]h$]h&]jxjsjyjjzjj{j|j}uh1j"hhhjhNhNubj{)}(hhh](h)}(hstruct v4l2_captureparmh]hstruct v4l2_captureparm}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK^hjubj)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hj@hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKchj=ubah}(h]h ]h"]h$]h&]uh1jhj:ubj)}(hhh]h)}(h``capability``h]j)}(hjYh]h capability}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjWubah}(h]h ]h"]h$]h&]uh1hhhhKdhjTubah}(h]h ]h"]h$]h&]uh1jhj:ubj)}(hhh]h)}(hSee :ref:`parm-caps`.h](hSee }(hjwhhhNhNubh)}(h:ref:`parm-caps`h]j )}(hjh]h parm-caps}(hjhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjreftyperef refexplicitrefwarnjs parm-capsuh1hhhhKehjwubh.}(hjwhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKehjtubah}(h]h ]h"]h$]h&]uh1jhj:ubeh}(h]h ]h"]h$]h&]uh1jhj7ubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKfhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``capturemode``h]j)}(hjh]h capturemode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKghjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h7Set by drivers and applications, see :ref:`parm-flags`.h](h%Set by drivers and applications, see }(hjhhhNhNubh)}(h:ref:`parm-flags`h]j )}(hjh]h parm-flags}(hjhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainj reftyperef refexplicitrefwarnjs parm-flagsuh1hhhhKhhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj7ubj)}(hhh](j)}(hhh]h)}(hstruct :c:type:`v4l2_fract`h](hstruct }(hj6 hhhNhNubh)}(h:c:type:`v4l2_fract`h]j)}(hj@ h]h v4l2_fract}(hjB hhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhj> ubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjs v4l2_fractuh1hhhhKihj6 ubeh}(h]h ]h"]h$]h&]uh1hhhhKihj3 ubah}(h]h ]h"]h$]h&]uh1jhj0 ubj)}(hhh]h)}(h``timeperframe``h]j)}(hjn h]h timeperframe}(hjp hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjl ubah}(h]h ]h"]h$]h&]uh1hhhhKjhji ubah}(h]h ]h"]h$]h&]uh1jhj0 ubj)}(hhh]h)}(hXThis is the desired period between successive frames captured by the driver, in seconds.h]hXThis is the desired period between successive frames captured by the driver, in seconds.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKkhj ubah}(h]h ]h"]h$]h&]uh1jhj0 ubeh}(h]h ]h"]h$]h&]uh1jhj7ubj)}(hhh]j)}(hhh](h)}(h :cspan:`2`h]h}(h]h ]h"]h$]h&]uh1hhhhKmhj ubh)}(hThis will configure the speed at which the video source (e.g. a sensor) generates video frames. If the speed is fixed, then the driver may choose to skip or repeat frames in order to achieve the requested frame rate.h]hThis will configure the speed at which the video source (e.g. a sensor) generates video frames. If the speed is fixed, then the driver may choose to skip or repeat frames in order to achieve the requested frame rate.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKohj ubh)}(hFor stateful encoders (see :ref:`encoder`) this represents the frame interval that is typically embedded in the encoded video stream.h](hFor stateful encoders (see }(hj hhhNhNubh)}(h:ref:`encoder`h]j )}(hj h]hencoder}(hj hhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj^ refdomainj reftyperef refexplicitrefwarnjsencoderuh1hhhhKthj ubh\) this represents the frame interval that is typically embedded in the encoded video stream.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKthj ubh)}(hYApplications store here the desired frame period, drivers return the actual frame period.h]hYApplications store here the desired frame period, drivers return the actual frame period.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKwhj ubh)}(hChanging the video standard (also implicitly by switching the video input) may reset this parameter to the nominal frame period. To reset manually applications can just set this field to zero.h]hChanging the video standard (also implicitly by switching the video input) may reset this parameter to the nominal frame period. To reset manually applications can just set this field to zero.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKzhj ubh)}(hpDrivers support this function only when they set the ``V4L2_CAP_TIMEPERFRAME`` flag in the ``capability`` field.h](h5Drivers support this function only when they set the }(hj hhhNhNubj)}(h``V4L2_CAP_TIMEPERFRAME``h]hV4L2_CAP_TIMEPERFRAME}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh flag in the }(hj hhhNhNubj)}(h``capability``h]h capability}(hj, hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh field.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]morecolsKuh1jhj ubah}(h]h ]h"]h$]h&]uh1jhj7ubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjW hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjT ubah}(h]h ]h"]h$]h&]uh1jhjQ ubj)}(hhh]h)}(h``extendedmode``h]j)}(hjp h]h extendedmode}(hjr hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjn ubah}(h]h ]h"]h$]h&]uh1hhhhKhjk ubah}(h]h ]h"]h$]h&]uh1jhjQ ubj)}(hhh]h)}(hCustom (driver specific) streaming parameters. When unused, applications and drivers must set this field to zero. Applications using this field should check the driver name and version, see :ref:`querycap`.h](hCustom (driver specific) streaming parameters. When unused, applications and drivers must set this field to zero. Applications using this field should check the driver name and version, see }(hj hhhNhNubh)}(h:ref:`querycap`h]j )}(hj h]hquerycap}(hj hhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj^ refdomainj reftyperef refexplicitrefwarnjsquerycapuh1hhhhKhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhjQ ubeh}(h]h ]h"]h$]h&]uh1jhj7ubj)}(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``readbuffers``h]j)}(hj h]h readbuffers}(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)}(hX@Applications set this field to the desired number of buffers used internally by the driver in :c:func:`read()` mode. Drivers return the actual number of buffers. When an application requests zero buffers, drivers should just return the current setting rather than the minimum or an error code. For details see :ref:`rw`.h](h^Applications set this field to the desired number of buffers used internally by the driver in }(hj hhhNhNubh)}(h:c:func:`read()`h]j)}(hj h]hread()}(hj hhhNhNubah}(h]h ](jRjsc-funceh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypefunc refexplicitrefwarnjdjhjsreaduh1hhhhKhj ubh mode. Drivers return the actual number of buffers. When an application requests zero buffers, drivers should just return the current setting rather than the minimum or an error code. For details see }(hj hhhNhNubh)}(h :ref:`rw`h]j )}(hj6 h]hrw}(hj8 hhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhj4 ubah}(h]h ]h"]h$]h&]refdocj^ refdomainjB reftyperef refexplicitrefwarnjsrwuh1hhhhKhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj7ubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjp hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjm ubah}(h]h ]h"]h$]h&]uh1jhjj ubj)}(hhh]h)}(h``reserved``\ [4]h](j)}(h ``reserved``h]hreserved}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubh [4]}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhjj ubj)}(hhh]h)}(hTReserved for future extensions. Drivers and applications must set the array to zero.h]hTReserved for future extensions. Drivers and applications must set the array to zero.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhjj ubeh}(h]h ]h"]h$]h&]uh1jhj7ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubeh}(h]id2ah ]h"]h$]h&]uh1jzhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]j |p{4.4cm}|p{4.4cm}|p{8.5cm}|uh1jhhhKhjhhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jV4L.v4l2_outputparm (C type)c.V4L.v4l2_outputparmhNtauh1jhjhhhNhNubj#)}(hhh](j()}(hv4l2_outputparmh]j.)}(htype v4l2_outputparmh](j&)}(hj)h]htype}(hj hhhNhNubah}(h]h ]j2ah"]h$]h&]uh1j%hj hhhhhKubj7)}(h h]h }(hj hhhNhNubah}(h]h ]jCah"]h$]h&]uh1j6hj hhhhhKubj4)}(hv4l2_outputparmh]j:)}(hj h]hv4l2_outputparm}(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&]jxjsjyjG jzjG j{j|j}uh1j"hhhjhNhNubj{)}(hhh](h)}(hstruct v4l2_outputparmh]hstruct v4l2_outputparm}(hjN hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjK 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__u32h]h__u32}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h``capability``h]j)}(hj h]h capability}(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)}(hSee :ref:`parm-caps`.h](hSee }(hj hhhNhNubh)}(h:ref:`parm-caps`h]j )}(hj h]h parm-caps}(hj hhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj^ refdomainj reftyperef refexplicitrefwarnjs parm-capsuh1hhhhKhj ubh.}(hj hhhNhNubeh}(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``outputmode``h]j)}(hj h]h outputmode}(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)}(h7Set by drivers and applications, see :ref:`parm-flags`.h](h%Set by drivers and applications, see }(hj8 hhhNhNubh)}(h:ref:`parm-flags`h]j )}(hjB h]h parm-flags}(hjD hhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhj@ ubah}(h]h ]h"]h$]h&]refdocj^ refdomainjN reftyperef refexplicitrefwarnjs parm-flagsuh1hhhhKhj8 ubh.}(hj8 hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj5 ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj} ubj)}(hhh](j)}(hhh]h)}(hstruct :c:type:`v4l2_fract`h](hstruct }(hj| hhhNhNubh)}(h:c:type:`v4l2_fract`h]j)}(hj h]h v4l2_fract}(hj hhhNhNubah}(h]h ](jRjsc-typeeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypetype refexplicitrefwarnjdjhjs v4l2_fractuh1hhhhKhj| ubeh}(h]h ]h"]h$]h&]uh1hhhhKhjy ubah}(h]h ]h"]h$]h&]uh1jhjv ubj)}(hhh]h)}(h``timeperframe``h]j)}(hj h]h timeperframe}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhjv ubj)}(hhh]h)}(hVThis is the desired period between successive frames output by the driver, in seconds.h]hVThis is the desired period between successive frames output by the driver, in seconds.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhjv ubeh}(h]h ]h"]h$]h&]uh1jhj} ubj)}(hhh]j)}(hhh](h)}(h :cspan:`2`h]h}(h]h ]h"]h$]h&]uh1hhhhKhj ubh)}(hThe field is intended to repeat frames on the driver side in :c:func:`write()` mode (in streaming mode timestamps can be used to throttle the output), saving I/O bandwidth.h](h=The field is intended to repeat frames on the driver side in }(hj hhhNhNubh)}(h:c:func:`write()`h]j)}(hjh]hwrite()}(hjhhhNhNubah}(h]h ](jRjsc-funceh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypefunc refexplicitrefwarnjdjhjswriteuh1hhhhKhj ubh^ mode (in streaming mode timestamps can be used to throttle the output), saving I/O bandwidth.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubh)}(hFor stateful encoders (see :ref:`encoder`) this represents the frame interval that is typically embedded in the encoded video stream and it provides a hint to the encoder of the speed at which raw frames are queued up to the encoder.h](hFor stateful encoders (see }(hj-hhhNhNubh)}(h:ref:`encoder`h]j )}(hj7h]hencoder}(hj9hhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhj5ubah}(h]h ]h"]h$]h&]refdocj^ refdomainjCreftyperef refexplicitrefwarnjsencoderuh1hhhhKhj-ubh) this represents the frame interval that is typically embedded in the encoded video stream and it provides a hint to the encoder of the speed at which raw frames are queued up to the encoder.}(hj-hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubh)}(hYApplications store here the desired frame period, drivers return the actual frame period.h]hYApplications store here the desired frame period, drivers return the actual frame period.}(hj_hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubh)}(hChanging the video standard (also implicitly by switching the video output) may reset this parameter to the nominal frame period. To reset manually applications can just set this field to zero.h]hChanging the video standard (also implicitly by switching the video output) may reset this parameter to the nominal frame period. To reset manually applications can just set this field to zero.}(hjmhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubh)}(hpDrivers support this function only when they set the ``V4L2_CAP_TIMEPERFRAME`` flag in the ``capability`` field.h](h5Drivers support this function only when they set the }(hj{hhhNhNubj)}(h``V4L2_CAP_TIMEPERFRAME``h]hV4L2_CAP_TIMEPERFRAME}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh flag in the }(hj{hhhNhNubj)}(h``capability``h]h capability}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj{ubh field.}(hj{hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhj ubeh}(h]h ]h"]h$]h&]morecolsKuh1jhj ubah}(h]h ]h"]h$]h&]uh1jhj} ubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``extendedmode``h]j)}(hjh]h extendedmode}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hCustom (driver specific) streaming parameters. When unused, applications and drivers must set this field to zero. Applications using this field should check the driver name and version, see :ref:`querycap`.h](hCustom (driver specific) streaming parameters. When unused, applications and drivers must set this field to zero. Applications using this field should check the driver name and version, see }(hjhhhNhNubh)}(h:ref:`querycap`h]j )}(hjh]hquerycap}(hjhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainj reftyperef refexplicitrefwarnjsquerycapuh1hhhhKhjubh.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj} ubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hj;hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj8ubah}(h]h ]h"]h$]h&]uh1jhj5ubj)}(hhh]h)}(h``writebuffers``h]j)}(hjTh]h writebuffers}(hjVhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjRubah}(h]h ]h"]h$]h&]uh1hhhhKhjOubah}(h]h ]h"]h$]h&]uh1jhj5ubj)}(hhh]h)}(hXAApplications set this field to the desired number of buffers used internally by the driver in :c:func:`write()` mode. Drivers return the actual number of buffers. When an application requests zero buffers, drivers should just return the current setting rather than the minimum or an error code. For details see :ref:`rw`.h](h^Applications set this field to the desired number of buffers used internally by the driver in }(hjrhhhNhNubh)}(h:c:func:`write()`h]j)}(hj|h]hwrite()}(hj~hhhNhNubah}(h]h ](jRjsc-funceh"]h$]h&]uh1jhjzubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypefunc refexplicitrefwarnjdjhjswriteuh1hhhhKhjrubh mode. Drivers return the actual number of buffers. When an application requests zero buffers, drivers should just return the current setting rather than the minimum or an error code. For details see }(hjrhhhNhNubh)}(h :ref:`rw`h]j )}(hjh]hrw}(hjhhhNhNubah}(h]h ](jRstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjreftyperef refexplicitrefwarnjsrwuh1hhhhKhjrubh.}(hjrhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjoubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]uh1jhj} ubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``reserved``\ [4]h](j)}(h ``reserved``h]hreserved}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh [4]}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hTReserved for future extensions. Drivers and applications must set the array to zero.h]hTReserved for future extensions. Drivers and applications must set the array to zero.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj} ubeh}(h]h ]h"]h$]h&]uh1jhj\ ubeh}(h]h ]h"]h$]h&]colsKuh1jhjK ubeh}(h]id3ah ]h"]h$]h&]uh1jzhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]j |p{6.6cm}|p{2.2cm}|p{8.5cm}|uh1jhhhKhjhhubh)}(h.. _parm-caps:h]h}(h]h ]h"]h$]h&]h parm-capsuh1hhKhjhhhhubj{)}(hhh](h)}(h!Streaming Parameters Capabilitiesh]h!Streaming Parameters Capabilities}(hj[hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjXubj)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjiubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjiubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhjiubj)}(hhh]j)}(hhh](j)}(hhh]h)}(h``V4L2_CAP_TIMEPERFRAME``h]j)}(hjh]hV4L2_CAP_TIMEPERFRAME}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h0x1000h]h0x1000}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hGThe frame period can be modified by setting the ``timeperframe`` field.h](h0The frame period can be modified by setting the }(hjhhhNhNubj)}(h``timeperframe``h]h timeperframe}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhjiubeh}(h]h ]h"]h$]h&]colsKuh1jhjXubeh}(h](id4jWeh ]h"] parm-capsah$]h&]uh1jzhjhhhNhNexpect_referenced_by_name}jjMsexpect_referenced_by_id}jWjMsubj)}(hhh]h}(h]h ]h"]h$]h&]j |p{6.6cm}|p{2.2cm}|p{8.5cm}|uh1jhhhKhjhhubh)}(h.. _parm-flags:h]h}(h]h ]h"]h$]h&]h parm-flagsuh1hhKhjhhhhubj{)}(hhh](h)}(hCapture Parameters Flagsh]hCapture Parameters Flags}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj$ubj)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj5ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj5ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj5ubj)}(hhh]j)}(hhh](j)}(hhh]h)}(h``V4L2_MODE_HIGHQUALITY``h]j)}(hjah]hV4L2_MODE_HIGHQUALITY}(hjchhhNhNubah}(h]h ]h"]h$]h&]uh1jhj_ubah}(h]h ]h"]h$]h&]uh1hhhhKhj\ubah}(h]h ]h"]h$]h&]uh1jhjYubj)}(hhh]h)}(h0x0001h]h0x0001}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj|ubah}(h]h ]h"]h$]h&]uh1jhjYubj)}(hhh](h)}(hXHigh quality imaging mode. High quality mode is intended for still imaging applications. The idea is to get the best possible image quality that the hardware can deliver. It is not defined how the driver writer may achieve that; it will depend on the hardware and the ingenuity of the driver writer. High quality mode is a different mode from the regular motion video capture modes. In high quality mode:h]hXHigh quality imaging mode. High quality mode is intended for still imaging applications. The idea is to get the best possible image quality that the hardware can deliver. It is not defined how the driver writer may achieve that; it will depend on the hardware and the ingenuity of the driver writer. High quality mode is a different mode from the regular motion video capture modes. In high quality mode:}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubh bullet_list)}(hhh](h list_item)}(hNThe driver may be able to capture higher resolutions than for motion capture. h]h)}(hMThe driver may be able to capture higher resolutions than for motion capture.h]hMThe driver may be able to capture higher resolutions than for motion capture.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hQThe driver may support fewer pixel formats than motion capture (eg; true color). h]h)}(hPThe driver may support fewer pixel formats than motion capture (eg; true color).h]hPThe driver may support fewer pixel formats than motion capture (eg; true color).}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hThe driver may capture and arithmetically combine multiple successive fields or frames to remove color edge artifacts and reduce the noise in the video data. h]h)}(hThe driver may capture and arithmetically combine multiple successive fields or frames to remove color edge artifacts and reduce the noise in the video data.h]hThe driver may capture and arithmetically combine multiple successive fields or frames to remove color edge artifacts and reduce the noise in the video data.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hThe driver may capture images in slices like a scanner in order to handle larger format images than would otherwise be possible. h]h)}(hThe driver may capture images in slices like a scanner in order to handle larger format images than would otherwise be possible.h]hThe driver may capture images in slices like a scanner in order to handle larger format images than would otherwise be possible.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hLAn image capture operation may be significantly slower than motion capture. h]h)}(hKAn image capture operation may be significantly slower than motion capture.h]hKAn image capture operation may be significantly slower than motion capture.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(h>Moving objects in the image might have excessive motion blur. h]h)}(h=Moving objects in the image might have excessive motion blur.h]h=Moving objects in the image might have excessive motion blur.}(hj'hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhMhj#ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(h:Capture might only work through the :c:func:`read()` call.h]h)}(hj=h](h$Capture might only work through the }(hj?hhhNhNubh)}(h:c:func:`read()`h]j)}(hjHh]hread()}(hjJhhhNhNubah}(h]h ](jRjsc-funceh"]h$]h&]uh1jhjFubah}(h]h ]h"]h$]h&]refdocj^ refdomainjsreftypefunc refexplicitrefwarnjdjhjsreaduh1hhhhMhj?ubh call.}(hj?hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhMhj;ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]bullet-uh1jhhhKhjubeh}(h]h ]h"]h$]h&]uh1jhjYubeh}(h]h ]h"]h$]h&]uh1jhjVubah}(h]h ]h"]h$]h&]uh1jhj5ubeh}(h]h ]h"]h$]h&]colsKuh1jhj$ubeh}(h](id5j#eh ]h"] parm-flagsah$]h&]uh1jzhjhhhNhNj }jjsj }j#jsubeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhK$ubh)}(hhh](h)}(h Return Valueh]h Return Value}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhM ubh)}(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 ](jRstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj^ refdomainjreftyperef refexplicitrefwarnjs gen-errorsuh1hhhhM hjubh chapter.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhM hjhhubeh}(h] return-valueah ]h"] return valueah$]h&]uh1hhhhhhhhM ubeh}(h](!ioctl-vidioc-g-parm-vidioc-s-parmheh ]h"]("ioctl vidioc_g_parm, vidioc_s_parm vidioc_g_parmeh$]h&]uh1hhhhhhhhKj }j hsj }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_handlerj2error_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]hajW]jMaj#]jaunameids}(j hj jhhjjjjjjjjWjj#jju nametypes}(j j hjjjjjjuh}(hhjhhhjjj j)jjjjjjjjjjj j jWjXj#j$jjjj|j jj>jK jjXjj$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&]levelKtypeINFOlineKWsourcehuh1jhjbubatransform_messages](j)}(hhh]h)}(hhh]h3Hyperlink target "vidioc-g-parm" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]levelKtypejsourcehlineKuh1jubj)}(hhh]h)}(hhh]h/Hyperlink target "parm-caps" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]levelKtypejsourcehlineKuh1jubj)}(hhh]h)}(hhh]h0Hyperlink target "parm-flags" is not referenced.}hjsbah}(h]h ]h"]h$]h&]uh1hhjubah}(h]h ]h"]h$]h&]levelKtypejsourcehlineKuh1jube transformerN include_log] decorationNhhub.