€•D(Œsphinx.addnodes”Œdocument”“”)”}”(Œ rawsource”Œ”Œchildren”]”(Œ translations”Œ LanguagesNode”“”)”}”(hhh]”(hŒ pending_xref”“”)”}”(hhh]”Œdocutils.nodes”ŒText”“”ŒChinese (Simplified)”…””}”Œparent”hsbaŒ attributes”}”(Œids”]”Œclasses”]”Œnames”]”Œdupnames”]”Œbackrefs”]”Œ refdomain”Œstd”Œreftype”Œdoc”Œ reftarget”Œ9/translations/zh_CN/userspace-api/media/v4l/streaming-par”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ9/translations/zh_TW/userspace-api/media/v4l/streaming-par”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ9/translations/it_IT/userspace-api/media/v4l/streaming-par”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ9/translations/ja_JP/userspace-api/media/v4l/streaming-par”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ9/translations/ko_KR/userspace-api/media/v4l/streaming-par”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ9/translations/pt_BR/userspace-api/media/v4l/streaming-par”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ9/translations/sp_SP/userspace-api/media/v4l/streaming-par”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubeh}”(h]”h ]”h"]”h$]”h&]”Œcurrent_language”ŒEnglish”uh1h hhŒ _document”hŒsource”NŒline”NubhŒcomment”“”)”}”(hŒ8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later”h]”hŒ8SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later”…””}”hh·sbah}”(h]”h ]”h"]”h$]”h&]”Œ xml:space”Œpreserve”uh1hµhhh²hh³ŒS/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/streaming-par.rst”h´KubhŒtarget”“”)”}”(hŒ.. _streaming-par:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œ streaming-par”uh1hÈh´Khhh²hh³hÇubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒStreaming Parameters”h]”hŒStreaming Parameters”…””}”(hhÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhhØh²hh³hÇh´KubhŒ paragraph”“”)”}”(hŒËStreaming parameters are intended to optimize the video capture process as well as I/O. Presently applications can request a high quality capture mode with the :ref:`VIDIOC_S_PARM ` ioctl.”h]”(hŒ Streaming parameters are intended to optimize the video capture process as well as I/O. Presently applications can request a high quality capture mode with the ”…””}”(hhíh²hh³Nh´Nubh)”}”(hŒ$:ref:`VIDIOC_S_PARM `”h]”hŒinline”“”)”}”(hh÷h]”hŒ VIDIOC_S_PARM”…””}”(hhûh²hh³Nh´Nubah}”(h]”h ]”(Œxref”Œstd”Œstd-ref”eh"]”h$]”h&]”uh1hùhhõubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œ%userspace-api/media/v4l/streaming-par”Œ refdomain”jŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆŒ reftarget”Œ vidioc_g_parm”uh1hh³hÇh´K hhíubhŒ ioctl.”…””}”(hhíh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K hhØh²hubhì)”}”(hXŠThe current video standard determines a nominal number of frames per second. If less than this number of frames is to be captured or output, applications can request frame skipping or duplicating on the driver side. This is especially useful when using the :c:func:`read()` or :c:func:`write()`, which are not augmented by timestamps or sequence counters, and to avoid unnecessary data copying.”h]”(hXThe current video standard determines a nominal number of frames per second. If less than this number of frames is to be captured or output, applications can request frame skipping or duplicating on the driver side. This is especially useful when using the ”…””}”(hj$h²hh³Nh´Nubh)”}”(hŒ:c:func:`read()`”h]”hŒliteral”“”)”}”(hj.h]”hŒread()”…””}”(hj2h²hh³Nh´Nubah}”(h]”h ]”(jŒc”Œc-func”eh"]”h$]”h&]”uh1j0hj,ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j<Œreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰Œ c:parent_key”Œsphinx.domains.c”Œ LookupKey”“”)”}”Œdata”]”jNŒ ASTIdentifier”“”)”}”Œ identifier”ŒV4L”sbN†”asbjŒread”uh1hh³hÇh´Khj$ubhŒ or ”…””}”(hj$h²hh³Nh´Nubh)”}”(hŒ:c:func:`write()`”h]”j1)”}”(hjch]”hŒwrite()”…””}”(hjeh²hh³Nh´Nubah}”(h]”h ]”(jj<Œc-func”eh"]”h$]”h&]”uh1j0hjaubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j<Œreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰jMjQjŒwrite”uh1hh³hÇh´Khj$ubhŒd, which are not augmented by timestamps or sequence counters, and to avoid unnecessary data copying.”…””}”(hj$h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´KhhØh²hubhì)”}”(hŒ¾Finally 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]”(hŒ¤Finally 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 ”…””}”(hjŠh²hh³Nh´Nubh)”}”(hŒ:c:func:`read()`”h]”j1)”}”(hj”h]”hŒread()”…””}”(hj–h²hh³Nh´Nubah}”(h]”h ]”(jj<Œc-func”eh"]”h$]”h&]”uh1j0hj’ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j<Œreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰jMjQjŒread”uh1hh³hÇh´KhjŠubhŒ function.”…””}”(hjŠh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´KhhØh²hubhì)”}”(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 ”…””}”(hj»h²hh³Nh´Nubh)”}”(hŒ$:ref:`VIDIOC_G_PARM `”h]”hú)”}”(hjÅh]”hŒ VIDIOC_G_PARM”…””}”(hjÇh²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1hùhjÃubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jÑŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjŒ vidioc_g_parm”uh1hh³hÇh´Khj»ubhŒ and ”…””}”(hj»h²hh³Nh´Nubh)”}”(hŒ$:ref:`VIDIOC_S_PARM `”h]”hú)”}”(hjéh]”hŒ VIDIOC_S_PARM”…””}”(hjëh²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1hùhjçubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jõŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆjŒ vidioc_g_parm”uh1hh³hÇh´Khj»ubhŒ6 ioctl, respectively. They take a pointer to a struct ”…””}”(hj»h²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_streamparm`”h]”j1)”}”(hj h]”hŒv4l2_streamparm”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”(jj<Œc-type”eh"]”h$]”h&]”uh1j0hj ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j<Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jMjQjŒv4l2_streamparm”uh1hh³hÇh´Khj»ubhŒR, which contains a union holding separate parameters for input and output devices.”…””}”(hj»h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´KhhØh²hubhì)”}”(hŒiThese ioctls are optional, drivers need not implement them. If so, they return the ``EINVAL`` error code.”h]”(hŒSThese ioctls are optional, drivers need not implement them. If so, they return the ”…””}”(hj4h²hh³Nh´Nubj1)”}”(hŒ ``EINVAL``”h]”hŒEINVAL”…””}”(hj<h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j0hj4ubhŒ error code.”…””}”(hj4h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K!hhØh²hubeh}”(h]”(Œstreaming-parameters”hÕeh ]”h"]”(Œstreaming parameters”Œ streaming-par”eh$]”h&]”uh1hÖhhh²hh³hÇh´KŒexpect_referenced_by_name”}”jZhÊsŒexpect_referenced_by_id”}”hÕhÊsubeh}”(h]”h ]”h"]”h$]”h&]”Œsource”hÇuh1hŒcurrent_source”NŒ current_line”NŒsettings”Œdocutils.frontend”ŒValues”“”)”}”(hÛNŒ generator”NŒ datestamp”NŒ source_link”NŒ source_url”NŒ toc_backlinks”Œentry”Œfootnote_backlinks”KŒ sectnum_xform”KŒstrip_comments”NŒstrip_elements_with_classes”NŒ strip_classes”NŒ report_level”KŒ halt_level”KŒexit_status_level”KŒdebug”NŒwarning_stream”NŒ traceback”ˆŒinput_encoding”Œ utf-8-sig”Œinput_encoding_error_handler”Œstrict”Œoutput_encoding”Œutf-8”Œoutput_encoding_error_handler”j„Œerror_encoding”Œutf-8”Œerror_encoding_error_handler”Œbackslashreplace”Œ language_code”Œen”Œrecord_dependencies”NŒconfig”NŒ id_prefix”hŒauto_id_prefix”Œid”Œ dump_settings”NŒdump_internals”NŒdump_transforms”NŒdump_pseudo_xml”NŒexpose_internals”NŒstrict_visitor”NŒ_disable_config”NŒ_source”hÇŒ _destination”NŒ _config_files”]”Œ7/var/lib/git/docbuild/linux/Documentation/docutils.conf”aŒfile_insertion_enabled”ˆŒ raw_enabled”KŒline_length_limit”M'Œpep_references”NŒ pep_base_url”Œhttps://peps.python.org/”Œpep_file_url_template”Œpep-%04d”Œrfc_references”NŒ rfc_base_url”Œ&https://datatracker.ietf.org/doc/html/”Œ tab_width”KŒtrim_footnote_reference_space”‰Œsyntax_highlight”Œlong”Œ smart_quotes”ˆŒsmartquotes_locales”]”Œcharacter_level_inline_markup”‰Œdoctitle_xform”‰Œ docinfo_xform”KŒsectsubtitle_xform”‰Œ image_loading”Œlink”Œembed_stylesheet”‰Œcloak_email_addresses”ˆŒsection_self_link”‰Œenv”NubŒreporter”NŒindirect_targets”]”Œsubstitution_defs”}”Œsubstitution_names”}”Œrefnames”}”Œrefids”}”hÕ]”hÊasŒnameids”}”(jZhÕjYjVuŒ nametypes”}”(jZˆjY‰uh}”(hÕhØjVhØuŒ footnote_refs”}”Œ citation_refs”}”Œ autofootnotes”]”Œautofootnote_refs”]”Œsymbol_footnotes”]”Œsymbol_footnote_refs”]”Œ footnotes”]”Œ citations”]”Œautofootnote_start”KŒsymbol_footnote_start”KŒ id_counter”Œ collections”ŒCounter”“”}”…”R”Œparse_messages”]”Œtransform_messages”]”hŒsystem_message”“”)”}”(hhh]”hì)”}”(hhh]”hŒ3Hyperlink target "streaming-par" is not referenced.”…””}”hjîsbah}”(h]”h ]”h"]”h$]”h&]”uh1hëhjëubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œsource”hÇŒline”Kuh1jéubaŒ transformer”NŒ include_log”]”Œ decoration”Nh²hub.