€•Ê$Œ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”Œ2/translations/zh_CN/userspace-api/media/v4l/common”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ2/translations/zh_TW/userspace-api/media/v4l/common”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ2/translations/it_IT/userspace-api/media/v4l/common”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ2/translations/ja_JP/userspace-api/media/v4l/common”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ2/translations/ko_KR/userspace-api/media/v4l/common”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ2/translations/pt_BR/userspace-api/media/v4l/common”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ2/translations/sp_SP/userspace-api/media/v4l/common”Œ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³ŒL/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/common.rst”h´KubhŒtarget”“”)”}”(hŒ .. _common:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œcommon”uh1hÈh´Khhh²hh³hÇubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒCommon API Elements”h]”hŒCommon API Elements”…””}”(hhÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhhØh²hh³hÇh´KubhŒ paragraph”“”)”}”(hŒ2Programming a V4L2 device consists of these steps:”h]”hŒ2Programming a V4L2 device consists of these steps:”…””}”(hhíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K hhØh²hubhŒ bullet_list”“”)”}”(hhh]”(hŒ list_item”“”)”}”(hŒOpening the device ”h]”hì)”}”(hŒOpening the device”h]”hŒOpening the device”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhýh²hh³hÇh´Nubj)”}”(hŒhChanging device properties, selecting a video and audio input, video standard, picture brightness a. o. ”h]”hì)”}”(hŒgChanging device properties, selecting a video and audio input, video standard, picture brightness a. o.”h]”hŒgChanging device properties, selecting a video and audio input, video standard, picture brightness a. o.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhýh²hh³hÇh´Nubj)”}”(hŒNegotiating a data format ”h]”hì)”}”(hŒNegotiating a data format”h]”hŒNegotiating a data format”…””}”(hj6h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Khj2ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhýh²hh³hÇh´Nubj)”}”(hŒ#Negotiating an input/output method ”h]”hì)”}”(hŒ"Negotiating an input/output method”h]”hŒ"Negotiating an input/output method”…””}”(hjNh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´KhjJubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhýh²hh³hÇh´Nubj)”}”(hŒThe actual input/output loop ”h]”hì)”}”(hŒThe actual input/output loop”h]”hŒThe actual input/output loop”…””}”(hjfh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Khjbubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhýh²hh³hÇh´Nubj)”}”(hŒClosing the device ”h]”hì)”}”(hŒClosing the device”h]”hŒClosing the device”…””}”(hj~h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´Khjzubah}”(h]”h ]”h"]”h$]”h&]”uh1jhhýh²hh³hÇh´Nubeh}”(h]”h ]”h"]”h$]”h&]”Œbullet”Œ-”uh1hûh³hÇh´K hhØh²hubhì)”}”(hŒéIn practice most steps are optional and can be executed out of order. It depends on the V4L2 device type, you can read about the details in :ref:`devices`. In this chapter we will discuss the basic concepts applicable to all devices.”h]”(hŒŒIn practice most steps are optional and can be executed out of order. It depends on the V4L2 device type, you can read about the details in ”…””}”(hjšh²hh³Nh´Nubh)”}”(hŒ:ref:`devices`”h]”hŒinline”“”)”}”(hj¤h]”hŒdevices”…””}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”(Œxref”Œstd”Œstd-ref”eh"]”h$]”h&]”uh1j¦hj¢ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œuserspace-api/media/v4l/common”Œ refdomain”j³Œreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆŒ reftarget”Œdevices”uh1hh³hÇh´KhjšubhŒO. In this chapter we will discuss the basic concepts applicable to all devices.”…””}”(hjšh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´KhhØh²hubhŒcompound”“”)”}”(hhh]”hŒtoctree”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”hj¿Œentries”]”(NŒuserspace-api/media/v4l/open”†”NŒ userspace-api/media/v4l/querycap”†”NŒuserspace-api/media/v4l/app-pri”†”NŒuserspace-api/media/v4l/video”†”NŒuserspace-api/media/v4l/audio”†”NŒuserspace-api/media/v4l/tuner”†”NŒ userspace-api/media/v4l/standard”†”NŒ"userspace-api/media/v4l/dv-timings”†”NŒuserspace-api/media/v4l/control”†”NŒ)userspace-api/media/v4l/extended-controls”†”NŒ(userspace-api/media/v4l/ext-ctrls-camera”†”NŒ'userspace-api/media/v4l/ext-ctrls-flash”†”NŒ.userspace-api/media/v4l/ext-ctrls-image-source”†”NŒ/userspace-api/media/v4l/ext-ctrls-image-process”†”NŒ'userspace-api/media/v4l/ext-ctrls-codec”†”NŒ1userspace-api/media/v4l/ext-ctrls-codec-stateless”†”NŒ&userspace-api/media/v4l/ext-ctrls-jpeg”†”NŒ$userspace-api/media/v4l/ext-ctrls-dv”†”NŒ*userspace-api/media/v4l/ext-ctrls-rf-tuner”†”NŒ'userspace-api/media/v4l/ext-ctrls-fm-tx”†”NŒ'userspace-api/media/v4l/ext-ctrls-fm-rx”†”NŒ(userspace-api/media/v4l/ext-ctrls-detect”†”NŒ-userspace-api/media/v4l/ext-ctrls-colorimetry”†”NŒuserspace-api/media/v4l/fourcc”†”NŒuserspace-api/media/v4l/format”†”NŒ#userspace-api/media/v4l/planar-apis”†”NŒ%userspace-api/media/v4l/selection-api”†”NŒuserspace-api/media/v4l/crop”†”NŒ%userspace-api/media/v4l/streaming-par”†”eŒ includefiles”]”(jãjåjçjéjëjíjïjñjójõj÷jùjûjýjÿjjjjj j j jjjjjjjeŒmaxdepth”KŒcaption”NŒglob”‰Œhidden”‰Œ includehidden”‰Œnumbered”KŒ titlesonly”‰Œ rawentries”]”uh1jÖh³hÇh´KhjÓubah}”(h]”h ]”Œtoctree-wrapper”ah"]”h$]”h&]”uh1jÑhhØh²hh³hÇh´Nubeh}”(h]”(Œcommon-api-elements”hÕeh ]”h"]”(Œcommon api elements”Œcommon”eh$]”h&]”uh1hÖhhh²hh³hÇh´KŒexpect_referenced_by_name”}”j5hÊ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”}”(j5hÕj4j1uŒ nametypes”}”(j5ˆj4‰uh}”(hÕhØj1hØ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Œ,Hyperlink target "common" 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.