sphinx.addnodesdocument)}( rawsourcechildren]( translations LanguagesNode)}(hhh](h pending_xref)}(hhh]docutils.nodesTextChinese (Simplified)}parenthsba attributes}(ids]classes]names]dupnames]backrefs] refdomainstdreftypedoc reftarget>/translations/zh_CN/userspace-api/media/v4l/vidioc-g-enc-indexmodnameN classnameN refexplicitutagnamehhh ubh)}(hhh]hChinese (Traditional)}hh2sbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget>/translations/zh_TW/userspace-api/media/v4l/vidioc-g-enc-indexmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hItalian}hhFsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget>/translations/it_IT/userspace-api/media/v4l/vidioc-g-enc-indexmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hJapanese}hhZsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget>/translations/ja_JP/userspace-api/media/v4l/vidioc-g-enc-indexmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hKorean}hhnsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget>/translations/ko_KR/userspace-api/media/v4l/vidioc-g-enc-indexmodnameN classnameN refexplicituh1hhh ubh)}(hhh]hSpanish}hhsbah}(h]h ]h"]h$]h&] refdomainh)reftypeh+ reftarget>/translations/sp_SP/userspace-api/media/v4l/vidioc-g-enc-indexmodnameN 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:spacepreserveuh1hhhhhhX/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/vidioc-g-enc-index.rsthKubhtarget)}(h.. _VIDIOC_G_ENC_INDEX:h]h}(h]h ]h"]h$]h&]refidvidioc-g-enc-indexuh1hhKhhhhhhubhsection)}(hhh](htitle)}(hioctl VIDIOC_G_ENC_INDEXh]hioctl VIDIOC_G_ENC_INDEX}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(hNameh]hName}(hhhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhhhhhK ubh paragraph)}(hBVIDIOC_G_ENC_INDEX - Get meta data about a compressed video streamh]hBVIDIOC_G_ENC_INDEX - Get meta data about a compressed video stream}(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_G_ENC_INDEX (C macro)c.V4L.VIDIOC_G_ENC_INDEXhNtauh1jhjhhhNhNubhdesc)}(hhh](hdesc_signature)}(hVIDIOC_G_ENC_INDEXh]hdesc_signature_line)}(hVIDIOC_G_ENC_INDEXh]h desc_name)}(hVIDIOC_G_ENC_INDEXh]h desc_sig_name)}(hj+h]hVIDIOC_G_ENC_INDEX}(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)}(hD``int ioctl(int fd, VIDIOC_G_ENC_INDEX, struct v4l2_enc_idx *argp)``h]hliteral)}(hjh]h@int ioctl(int fd, VIDIOC_G_ENC_INDEX, struct v4l2_enc_idx *argp)}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj~ubah}(h]h ]h"]h$]h&]uh1hhhhKhjhhubeh}(h]synopsisah ]h"]synopsisah$]h&]uh1hhhhhhhhKubh)}(hhh](h)}(h Argumentsh]h Arguments}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhjhhhhhKubhdefinition_list)}(hhh](hdefinition_list_item)}(h5``fd`` File descriptor returned by :c:func:`open()`. h](hterm)}(h``fd``h]j)}(hjh]hfd}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1jhhhKhjubh definition)}(hhh]h)}(h-File descriptor returned by :c:func:`open()`.h](hFile descriptor returned by }(hjhhhNhNubh)}(h:c:func:`open()`h]j)}(hjh]hopen()}(hjhhhNhNubah}(h]h ](xrefjsc-funceh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdoc*userspace-api/media/v4l/vidioc-g-enc-index 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)}(h3``argp`` Pointer to struct :c:type:`v4l2_enc_idx`. h](j)}(h``argp``h]j)}(hj.h]hargp}(hj0hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj,ubah}(h]h ]h"]h$]h&]uh1jhhhKhj(ubj)}(hhh]h)}(h)Pointer to struct :c:type:`v4l2_enc_idx`.h](hPointer to struct }(hjFhhhNhNubh)}(h:c:type:`v4l2_enc_idx`h]j)}(hjPh]h v4l2_enc_idx}(hjRhhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhjNubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjj v4l2_enc_idxuh1hhhhKhjFubh.}(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)}(hThe :ref:`VIDIOC_G_ENC_INDEX ` ioctl provides meta data about a compressed video stream the same or another application currently reads from the driver, which is useful for random access into the stream without decoding it.h](hThe }(hjhhhNhNubh)}(h.:ref:`VIDIOC_G_ENC_INDEX `h]hinline)}(hjh]hVIDIOC_G_ENC_INDEX}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnjvidioc_g_enc_indexuh1hhhhK"hjubh ioctl provides meta data about a compressed video stream the same or another application currently reads from the driver, which is useful for random access into the stream without decoding it.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK"hjhhubh)}(hX%To read the data applications must call :ref:`VIDIOC_G_ENC_INDEX ` with a pointer to a struct :c:type:`v4l2_enc_idx`. On success the driver fills the ``entry`` array, stores the number of elements written in the ``entries`` field, and initializes the ``entries_cap`` field.h](h(To read the data applications must call }(hjhhhNhNubh)}(h.:ref:`VIDIOC_G_ENC_INDEX `h]j)}(hjh]hVIDIOC_G_ENC_INDEX}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnjvidioc_g_enc_indexuh1hhhhK'hjubh with a pointer to a struct }(hjhhhNhNubh)}(h:c:type:`v4l2_enc_idx`h]j)}(hjh]h v4l2_enc_idx}(hjhhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjj v4l2_enc_idxuh1hhhhK'hjubh". On success the driver fills the }(hjhhhNhNubj)}(h ``entry``h]hentry}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh5 array, stores the number of elements written in the }(hjhhhNhNubj)}(h ``entries``h]hentries}(hj7hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field, and initializes the }(hjhhhNhNubj)}(h``entries_cap``h]h entries_cap}(hjIhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh field.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK'hjhhubh)}(hXEach element of the ``entry`` array contains meta data about one picture. A :ref:`VIDIOC_G_ENC_INDEX ` call reads up to ``V4L2_ENC_IDX_ENTRIES`` entries from a driver buffer, which can hold up to ``entries_cap`` entries. This number can be lower or higher than ``V4L2_ENC_IDX_ENTRIES``, but not zero. When the application fails to read the meta data in time the oldest entries will be lost. When the buffer is empty or no capturing/encoding is in progress, ``entries`` will be zero.h](hEach element of the }(hjahhhNhNubj)}(h ``entry``h]hentry}(hjihhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh/ array contains meta data about one picture. A }(hjahhhNhNubh)}(h.:ref:`VIDIOC_G_ENC_INDEX `h]j)}(hj}h]hVIDIOC_G_ENC_INDEX}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhj{ubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnjvidioc_g_enc_indexuh1hhhhK-hjaubh call reads up to }(hjahhhNhNubj)}(h``V4L2_ENC_IDX_ENTRIES``h]hV4L2_ENC_IDX_ENTRIES}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh4 entries from a driver buffer, which can hold up to }(hjahhhNhNubj)}(h``entries_cap``h]h entries_cap}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh2 entries. This number can be lower or higher than }(hjahhhNhNubj)}(h``V4L2_ENC_IDX_ENTRIES``h]hV4L2_ENC_IDX_ENTRIES}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh, but not zero. When the application fails to read the meta data in time the oldest entries will be lost. When the buffer is empty or no capturing/encoding is in progress, }(hjahhhNhNubj)}(h ``entries``h]hentries}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjaubh will be zero.}(hjahhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK-hjhhubh)}(h]Currently this ioctl is only defined for MPEG-2 program streams and video elementary streams.h]h]Currently this ioctl is only defined for MPEG-2 program streams and video elementary streams.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK6hjhhubhtabular_col_spec)}(hhh]h}(h]h ]h"]h$]h&]spec|p{4.2cm}|p{6.2cm}|p{6.9cm}|uh1jhhhK9hjhhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jV4L.v4l2_enc_idx (C type)c.V4L.v4l2_enc_idxhNtauh1jhjhhhNhNubj#)}(hhh](j()}(h v4l2_enc_idxh]j.)}(htype v4l2_enc_idxh](hdesc_sig_keyword)}(htypeh]htype}(hj#hhhNhNubah}(h]h ]kah"]h$]h&]uh1j!hjhhhhhK;ubhdesc_sig_space)}(h h]h }(hj4hhhNhNubah}(h]h ]wah"]h$]h&]uh1j2hjhhhhhK;ubj4)}(h v4l2_enc_idxh]j:)}(hjh]h v4l2_enc_idx}(hjGhhhNhNubah}(h]h ]jEah"]h$]h&]uh1j9hjCubah}(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&]jxjsjyjrjzjrj{j|j}uh1j"hhhjhNhNubhtable)}(hhh](h)}(hstruct v4l2_enc_idxh]hstruct v4l2_enc_idx}(hj{hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK=hjxubhtgroup)}(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&]uh1hhhhKBhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``entries``h]j)}(hjh]hentries}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKChjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h?The number of entries the driver stored in the ``entry`` array.h](h/The number of entries the driver stored in the }(hjhhhNhNubj)}(h ``entry``h]hentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh array.}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKDhjubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hj&hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKEhj#ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h``entries_cap``h]j)}(hj?h]h entries_cap}(hjAhhhNhNubah}(h]h ]h"]h$]h&]uh1jhj=ubah}(h]h ]h"]h$]h&]uh1hhhhKFhj:ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hGThe number of entries the driver can buffer. Must be greater than zero.h]hGThe number of entries the driver can buffer. Must be greater than zero.}(hj]hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKGhjZubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hj}hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKIhjzubah}(h]h ]h"]h$]h&]uh1jhjwubj)}(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&]uh1hhhhKJhjubah}(h]h ]h"]h$]h&]uh1jhjwubj)}(hhh]h)}(hCReserved for future extensions. Drivers must set the array to zero.h]hCReserved for future extensions. Drivers must set the array to zero.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKKhjubah}(h]h ]h"]h$]h&]uh1jhjwubeh}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh](j)}(hhh]h)}(h#struct :c:type:`v4l2_enc_idx_entry`h](hstruct }(hjhhhNhNubh)}(h:c:type:`v4l2_enc_idx_entry`h]j)}(hjh]hv4l2_enc_idx_entry}(hjhhhNhNubah}(h]h ](jjsc-typeeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjsreftypetype refexplicitrefwarnjjjv4l2_enc_idx_entryuh1hhhhKMhjubeh}(h]h ]h"]h$]h&]uh1hhhhKMhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h%``entry``\ [``V4L2_ENC_IDX_ENTRIES``]h](j)}(h ``entry``h]hentry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh [}(hjhhhNhNubj)}(h``V4L2_ENC_IDX_ENTRIES``h]hV4L2_ENC_IDX_ENTRIES}(hj%hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubh]}(hjhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKNhj ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hMeta data about a compressed video stream. Each element of the array corresponds to one picture, sorted in ascending order by their ``offset``.h](hMeta data about a compressed video stream. Each element of the array corresponds to one picture, sorted in ascending order by their }(hjFhhhNhNubj)}(h ``offset``h]hoffset}(hjNhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjFubh.}(hjFhhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKOhjCubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjxubeh}(h]id1ah ]h"]h$]h&]uh1jvhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]j|p{4.4cm}|p{4.4cm}|p{8.5cm}|uh1jhhhKThjhhubj)}(hhh]h}(h]h ]h"]h$]h&]entries](jV4L.v4l2_enc_idx_entry (C type)c.V4L.v4l2_enc_idx_entryhNtauh1jhjhhhNhNubj#)}(hhh](j()}(hv4l2_enc_idx_entryh]j.)}(htype v4l2_enc_idx_entryh](j")}(hj%h]htype}(hjhhhNhNubah}(h]h ]j.ah"]h$]h&]uh1j!hjhhhhhKVubj3)}(h h]h }(hjhhhNhNubah}(h]h ]j?ah"]h$]h&]uh1j2hjhhhhhKVubj4)}(hv4l2_enc_idx_entryh]j:)}(hjh]hv4l2_enc_idx_entry}(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"hhhjhNhNubjw)}(hhh](h)}(hstruct v4l2_enc_idx_entryh]hstruct v4l2_enc_idx_entry}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKXhjubj)}(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__u64h]h__u64}(hj2hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK]hj/ubah}(h]h ]h"]h$]h&]uh1jhj,ubj)}(hhh]h)}(h ``offset``h]j)}(hjKh]hoffset}(hjMhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjIubah}(h]h ]h"]h$]h&]uh1hhhhK^hjFubah}(h]h ]h"]h$]h&]uh1jhj,ubj)}(hhh]h)}(hXThe offset in bytes from the beginning of the compressed video stream to the beginning of this picture, that is a *PES packet header* as defined in :ref:`mpeg2part1` or a *picture header* as defined in :ref:`mpeg2part2`. When the encoder is stopped, the driver resets the offset to zero.h](hrThe offset in bytes from the beginning of the compressed video stream to the beginning of this picture, that is a }(hjihhhNhNubhemphasis)}(h*PES packet header*h]hPES packet header}(hjshhhNhNubah}(h]h ]h"]h$]h&]uh1jqhjiubh as defined in }(hjihhhNhNubh)}(h:ref:`mpeg2part1`h]j)}(hjh]h mpeg2part1}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnj mpeg2part1uh1hhhhK_hjiubh or a }(hjihhhNhNubjr)}(h*picture header*h]hpicture header}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jqhjiubh as defined in }(hjihhhNhNubh)}(h:ref:`mpeg2part2`h]j)}(hjh]h mpeg2part2}(hjhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]refdocj refdomainjreftyperef refexplicitrefwarnj mpeg2part2uh1hhhhK_hjiubhD. When the encoder is stopped, the driver resets the offset to zero.}(hjihhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhK_hjfubah}(h]h ]h"]h$]h&]uh1jhj,ubeh}(h]h ]h"]h$]h&]uh1jhj)ubj)}(hhh](j)}(hhh]h)}(h__u64h]h__u64}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKdhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h``pts``h]j)}(hjh]hpts}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKehj ubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hUThe 33 bit *Presentation Time Stamp* of this picture as defined in :ref:`mpeg2part1`.h](h The 33 bit }(hj.hhhNhNubjr)}(h*Presentation Time Stamp*h]hPresentation Time Stamp}(hj6hhhNhNubah}(h]h ]h"]h$]h&]uh1jqhj.ubh of this picture as defined in }(hj.hhhNhNubh)}(h:ref:`mpeg2part1`h]j)}(hjJh]h mpeg2part1}(hjLhhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhjHubah}(h]h ]h"]h$]h&]refdocj refdomainjVreftyperef refexplicitrefwarnj mpeg2part1uh1hhhhKfhj.ubh.}(hj.hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKfhj+ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)ubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhhjubah}(h]h ]h"]h$]h&]uh1jhj~ubj)}(hhh]h)}(h ``length``h]j)}(hjh]hlength}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKihjubah}(h]h ]h"]h$]h&]uh1jhj~ubj)}(hhh]h)}(h$The length of this picture in bytes.h]h$The length of this picture in bytes.}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKjhjubah}(h]h ]h"]h$]h&]uh1jhj~ubeh}(h]h ]h"]h$]h&]uh1jhj)ubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKkhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(h ``flags``h]j)}(hjh]hflags}(hjhhhNhNubah}(h]h ]h"]h$]h&]uh1jhjubah}(h]h ]h"]h$]h&]uh1hhhhKlhjubah}(h]h ]h"]h$]h&]uh1jhjubj)}(hhh]h)}(hKFlags containing the coding type of this picture, see :ref:`enc-idx-flags`.h](h6Flags containing the coding type of this picture, see }(hj hhhNhNubh)}(h:ref:`enc-idx-flags`h]j)}(hj h]h enc-idx-flags}(hj hhhNhNubah}(h]h ](jstdstd-refeh"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]refdocj refdomainj( reftyperef refexplicitrefwarnj enc-idx-flagsuh1hhhhKmhj ubh.}(hj hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKmhj ubah}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]uh1jhj)ubj)}(hhh](j)}(hhh]h)}(h__u32h]h__u32}(hjV hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKohjS ubah}(h]h ]h"]h$]h&]uh1jhjP ubj)}(hhh]h)}(h``reserved``\ [2]h](j)}(h ``reserved``h]hreserved}(hjq hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjm ubh [2]}(hjm hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKphjj ubah}(h]h ]h"]h$]h&]uh1jhjP ubj)}(hhh]h)}(hCReserved for future extensions. Drivers must set the array to zero.h]hCReserved for future extensions. Drivers must set the array to zero.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKqhj ubah}(h]h ]h"]h$]h&]uh1jhjP ubeh}(h]h ]h"]h$]h&]uh1jhj)ubeh}(h]h ]h"]h$]h&]uh1jhjubeh}(h]h ]h"]h$]h&]colsKuh1jhjubeh}(h]id2ah ]h"]h$]h&]uh1jvhjhhhNhNubj)}(hhh]h}(h]h ]h"]h$]h&]j|p{6.6cm}|p{2.2cm}|p{8.5cm}|uh1jhhhKthjhhubh)}(h.. _enc-idx-flags:h]h}(h]h ]h"]h$]h&]h enc-idx-flagsuh1hhKvhjhhhhubjw)}(hhh](h)}(hIndex Entry Flagsh]hIndex Entry Flags}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKxhj ubj)}(hhh](j)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj ubj)}(hhh]h}(h]h ]h"]h$]h&]colwidthKuh1jhj ubj)}(hhh](j)}(hhh](j)}(hhh]h)}(h``V4L2_ENC_IDX_FRAME_I``h]j)}(hj h]hV4L2_ENC_IDX_FRAME_I}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1jhj ubah}(h]h ]h"]h$]h&]uh1hhhhK}hj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h0x00h]h0x00}(hj0 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhK~hj- ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hThis is an Intra-coded picture.h]hThis is an Intra-coded picture.}(hjG hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhjD ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h``V4L2_ENC_IDX_FRAME_P``h]j)}(hji h]hV4L2_ENC_IDX_FRAME_P}(hjk hhhNhNubah}(h]h ]h"]h$]h&]uh1jhjg ubah}(h]h ]h"]h$]h&]uh1hhhhKhjd ubah}(h]h ]h"]h$]h&]uh1jhja ubj)}(hhh]h)}(h0x01h]h0x01}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhja ubj)}(hhh]h)}(h#This is a Predictive-coded picture.h]h#This is a Predictive-coded picture.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhja ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h``V4L2_ENC_IDX_FRAME_B``h]j)}(hj h]hV4L2_ENC_IDX_FRAME_B}(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)}(h0x02h]h0x02}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(h3This is a Bidirectionally predictive-coded picture.h]h3This is a Bidirectionally predictive-coded picture.}(hj hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh](j)}(hhh]h)}(h``V4L2_ENC_IDX_FRAME_MASK``h]j)}(hj h]hV4L2_ENC_IDX_FRAME_MASK}(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)}(h0x0Fh]h0x0F}(hj5 hhhNhNubah}(h]h ]h"]h$]h&]uh1hhhhKhj2 ubah}(h]h ]h"]h$]h&]uh1jhj ubj)}(hhh]h)}(hG*AND* the flags field with this mask to obtain the picture coding type.h](jr)}(h*AND*h]hAND}(hjP hhhNhNubah}(h]h ]h"]h$]h&]uh1jqhjL ubhB the flags field with this mask to obtain the picture coding type.}(hjL hhhNhNubeh}(h]h ]h"]h$]h&]uh1hhhhKhjI ubah}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]uh1jhj ubeh}(h]h ]h"]h$]h&]colsKuh1jhj ubeh}(h](id3j eh ]h"] enc-idx-flagsah$]h&]uh1jvhjhhhNhNexpect_referenced_by_name}j j sexpect_referenced_by_id}j j subeh}(h] descriptionah ]h"] descriptionah$]h&]uh1hhhhhhhhK ubh)}(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-g-enc-indexheh ]h"](ioctl vidioc_g_enc_indexvidioc_g_enc_indexeh$]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_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]haj ]j aunameids}(j hj j hhjjjjj j j j j j u nametypes}(j j hjjj j j uh}(hhj hhhjjj j)jjj jjjjjj j j j jjxj jj j 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]transform_messages](hsystem_message)}(hhh]h)}(hhh]h8Hyperlink target "vidioc-g-enc-index" is not referenced.}hj sbah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]levelKtypeINFOsourcehlineKuh1j ubj )}(hhh]h)}(hhh]h3Hyperlink target "enc-idx-flags" is not referenced.}hj sbah}(h]h ]h"]h$]h&]uh1hhj ubah}(h]h ]h"]h$]h&]levelKtypej sourcehlineKvuh1j ube transformerN include_log] decorationNhhub.