€•ËeŒ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/vidioc-g-ctrl”Œ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/vidioc-g-ctrl”Œ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/vidioc-g-ctrl”Œ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/vidioc-g-ctrl”Œ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/vidioc-g-ctrl”Œ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/vidioc-g-ctrl”Œ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/vidioc-g-ctrl”Œ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/vidioc-g-ctrl.rst”h´KubhŒtarget”“”)”}”(hŒ.. _VIDIOC_G_CTRL:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œ vidioc-g-ctrl”uh1hÈh´Khhh²hh³hÇubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒ"ioctl VIDIOC_G_CTRL, VIDIOC_S_CTRL”h]”hŒ"ioctl VIDIOC_G_CTRL, VIDIOC_S_CTRL”…””}”(hhÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒName”h]”hŒName”…””}”(hhîh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhhëh²hh³hÇh´K ubhŒ paragraph”“”)”}”(hŒAVIDIOC_G_CTRL - VIDIOC_S_CTRL - Get or set the value of a control”h]”hŒAVIDIOC_G_CTRL - VIDIOC_S_CTRL - Get or set the value of a control”…””}”(hhþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K hhëh²hubeh}”(h]”Œname”ah ]”h"]”Œname”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K ubh×)”}”(hhh]”(hÜ)”}”(hŒSynopsis”h]”hŒSynopsis”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjh²hh³hÇh´KubhŒindex”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(Œsingle”ŒV4L.VIDIOC_G_CTRL (C macro)”Œc.V4L.VIDIOC_G_CTRL”hNt”auh1j%hjh²hh³Nh´NubhŒdesc”“”)”}”(hhh]”(hŒdesc_signature”“”)”}”(hŒ VIDIOC_G_CTRL”h]”hŒdesc_signature_line”“”)”}”(hŒ VIDIOC_G_CTRL”h]”hŒ desc_name”“”)”}”(hŒ VIDIOC_G_CTRL”h]”hŒ desc_sig_name”“”)”}”(hj?h]”hŒ VIDIOC_G_CTRL”…””}”(hjOh²hh³Nh´Nubah}”(h]”h ]”Œn”ah"]”h$]”h&]”uh1jMhjIubah}”(h]”h ]”(Œsig-name”Œdescname”eh"]”h$]”h&]”hÅhÆuh1jGhjCh²hh³hÇh´Kubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆŒ add_permalink”ˆuh1jAŒsphinx_line_type”Œ declarator”hj=h²hh³hÇh´Kubah}”(h]”j4ah ]”(Œsig”Œ sig-object”eh"]”h$]”h&]”Œ is_multiline”ˆŒ _toc_parts”)Œ _toc_name”huh1j;h³hÇh´Khj8h²hubhŒ desc_content”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jyhj8h²hh³hÇh´Kubeh}”(h]”h ]”(Œc”Œmacro”eh"]”h$]”h&]”Œdomain”j‡Œobjtype”jˆŒdesctype”jˆŒnoindex”‰Œ noindexentry”‰Œnocontentsentry”‰uh1j6h²hhjh³Nh´Nubhý)”}”(hŒ?``int ioctl(int fd, VIDIOC_G_CTRL, struct v4l2_control *argp)``”h]”hŒliteral”“”)”}”(hj”h]”hŒ;int ioctl(int fd, VIDIOC_G_CTRL, struct v4l2_control *argp)”…””}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj’ubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Khjh²hubj&)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(j2ŒV4L.VIDIOC_S_CTRL (C macro)”Œc.V4L.VIDIOC_S_CTRL”hNt”auh1j%hjh²hh³Nh´Nubj7)”}”(hhh]”(j<)”}”(hŒ VIDIOC_S_CTRL”h]”jB)”}”(hŒ VIDIOC_S_CTRL”h]”jH)”}”(hŒ VIDIOC_S_CTRL”h]”jN)”}”(hj¾h]”hŒ VIDIOC_S_CTRL”…””}”(hjÈh²hh³Nh´Nubah}”(h]”h ]”jYah"]”h$]”h&]”uh1jMhjÄubah}”(h]”h ]”(j`jaeh"]”h$]”h&]”hÅhÆuh1jGhjÀh²hh³hÇh´Kubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆjkˆuh1jAjljmhj¼h²hh³hÇh´Kubah}”(h]”j·ah ]”(jqjreh"]”h$]”h&]”jvˆjw)jxhuh1j;h³hÇh´Khj¹h²hubjz)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jyhj¹h²hh³hÇh´Kubeh}”(h]”h ]”(j‡Œmacro”eh"]”h$]”h&]”jŒj‡jjójŽjój‰j‰j‘‰uh1j6h²hhjh³Nh´Nubhý)”}”(hŒ?``int ioctl(int fd, VIDIOC_S_CTRL, struct v4l2_control *argp)``”h]”j—)”}”(hjùh]”hŒ;int ioctl(int fd, VIDIOC_S_CTRL, struct v4l2_control *argp)”…””}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj÷ubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Khjh²hubeh}”(h]”Œsynopsis”ah ]”h"]”Œsynopsis”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒ Arguments”h]”hŒ Arguments”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjh²hh³hÇh´KubhŒdefinition_list”“”)”}”(hhh]”(hŒdefinition_list_item”“”)”}”(hŒ5``fd`` File descriptor returned by :c:func:`open()`. ”h]”(hŒterm”“”)”}”(hŒ``fd``”h]”j—)”}”(hj6h]”hŒfd”…””}”(hj8h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj4ubah}”(h]”h ]”h"]”h$]”h&]”uh1j2h³hÇh´Khj.ubhŒ definition”“”)”}”(hhh]”hý)”}”(hŒ-File descriptor returned by :c:func:`open()`.”h]”(hŒFile descriptor returned by ”…””}”(hjPh²hh³Nh´Nubh)”}”(hŒ:c:func:`open()`”h]”j—)”}”(hjZh]”hŒopen()”…””}”(hj\h²hh³Nh´Nubah}”(h]”h ]”(Œxref”j‡Œc-func”eh"]”h$]”h&]”uh1j–hjXubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œ%userspace-api/media/v4l/vidioc-g-ctrl”Œ refdomain”j‡Œreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰Œ c:parent_key”Œsphinx.domains.c”Œ LookupKey”“”)”}”Œdata”]”jyŒ ASTIdentifier”“”)”}”Œ identifier”ŒV4L”sbN†”asbŒ reftarget”Œopen”uh1hh³hÇh´KhjPubhŒ.”…””}”(hjPh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KhjMubah}”(h]”h ]”h"]”h$]”h&]”uh1jKhj.ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j,h³hÇh´Khj)ubj-)”}”(hŒ3``argp`` Pointer to struct :c:type:`v4l2_control`. ”h]”(j3)”}”(hŒ``argp``”h]”j—)”}”(hj¥h]”hŒargp”…””}”(hj§h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj£ubah}”(h]”h ]”h"]”h$]”h&]”uh1j2h³hÇh´K!hjŸubjL)”}”(hhh]”hý)”}”(hŒ)Pointer to struct :c:type:`v4l2_control`.”h]”(hŒPointer to struct ”…””}”(hj½h²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_control`”h]”j—)”}”(hjÇh]”hŒ v4l2_control”…””}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”(jfj‡Œc-type”eh"]”h$]”h&]”uh1j–hjÅubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jxj|j‡Œ v4l2_control”uh1hh³hÇh´K!hj½ubhŒ.”…””}”(hj½h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K!hjºubah}”(h]”h ]”h"]”h$]”h&]”uh1jKhjŸubeh}”(h]”h ]”h"]”h$]”h&]”uh1j,h³hÇh´K!hj)h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j'hjh²hh³hÇh´Nubeh}”(h]”Œ arguments”ah ]”h"]”Œ arguments”ah$]”h&]”uh1hÖhhØh²hh³hÇh´Kubh×)”}”(hhh]”(hÜ)”}”(hŒ Description”h]”hŒ Description”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjh²hh³hÇh´K$ubhý)”}”(hX€To get the current value of a control applications initialize the ``id`` field of a struct :c:type:`v4l2_control` and call the :ref:`VIDIOC_G_CTRL ` ioctl with a pointer to this structure. To change the value of a control applications initialize the ``id`` and ``value`` fields of a struct :c:type:`v4l2_control` and call the :ref:`VIDIOC_S_CTRL ` ioctl.”h]”(hŒBTo get the current value of a control applications initialize the ”…””}”(hjh²hh³Nh´Nubj—)”}”(hŒ``id``”h]”hŒid”…””}”(hj!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒ field of a struct ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_control`”h]”j—)”}”(hj5h]”hŒ v4l2_control”…””}”(hj7h²hh³Nh´Nubah}”(h]”h ]”(jfj‡Œc-type”eh"]”h$]”h&]”uh1j–hj3ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jxj|j‡Œ v4l2_control”uh1hh³hÇh´K&hjubhŒ and call the ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ$:ref:`VIDIOC_G_CTRL `”h]”hŒinline”“”)”}”(hjXh]”hŒ VIDIOC_G_CTRL”…””}”(hj\h²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jZhjVubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”jfŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj‡Œ vidioc_g_ctrl”uh1hh³hÇh´K&hjubhŒf ioctl with a pointer to this structure. To change the value of a control applications initialize the ”…””}”(hjh²hh³Nh´Nubj—)”}”(hŒ``id``”h]”hŒid”…””}”(hj|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒ and ”…””}”(hjh²hh³Nh´Nubj—)”}”(hŒ ``value``”h]”hŒvalue”…””}”(hjŽh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒ fields of a struct ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_control`”h]”j—)”}”(hj¢h]”hŒ v4l2_control”…””}”(hj¤h²hh³Nh´Nubah}”(h]”h ]”(jfj‡Œc-type”eh"]”h$]”h&]”uh1j–hj ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jxj|j‡Œ v4l2_control”uh1hh³hÇh´K&hjubhŒ and call the ”…””}”hjsbh)”}”(hŒ$:ref:`VIDIOC_S_CTRL `”h]”j[)”}”(hjÅh]”hŒ VIDIOC_S_CTRL”…””}”(hjÇh²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jZhjÃubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”jÑŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj‡Œ vidioc_g_ctrl”uh1hh³hÇh´K&hjubhŒ ioctl.”…””}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K&hjh²hubhý)”}”(hXïWhen the ``id`` is invalid drivers return an ``EINVAL`` error code. When the ``value`` is out of bounds drivers can choose to take the closest valid value or return an ``ERANGE`` error code, whatever seems more appropriate. However, :ref:`VIDIOC_S_CTRL ` is a write-only ioctl, it does not return the actual new value. If the ``value`` is inappropriate for the control (e.g. if it refers to an unsupported menu index of a menu control), then EINVAL error code is returned as well.”h]”(hŒ When the ”…””}”(hjíh²hh³Nh´Nubj—)”}”(hŒ``id``”h]”hŒid”…””}”(hjõh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjíubhŒ is invalid drivers return an ”…””}”(hjíh²hh³Nh´Nubj—)”}”(hŒ ``EINVAL``”h]”hŒEINVAL”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjíubhŒ error code. When the ”…””}”(hjíh²hh³Nh´Nubj—)”}”(hŒ ``value``”h]”hŒvalue”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjíubhŒR is out of bounds drivers can choose to take the closest valid value or return an ”…””}”(hjíh²hh³Nh´Nubj—)”}”(hŒ ``ERANGE``”h]”hŒERANGE”…””}”(hj+h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjíubhŒ7 error code, whatever seems more appropriate. However, ”…””}”(hjíh²hh³Nh´Nubh)”}”(hŒ$:ref:`VIDIOC_S_CTRL `”h]”j[)”}”(hj?h]”hŒ VIDIOC_S_CTRL”…””}”(hjAh²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jZhj=ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”jKŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj‡Œ vidioc_g_ctrl”uh1hh³hÇh´K-hjíubhŒH is a write-only ioctl, it does not return the actual new value. If the ”…””}”(hjíh²hh³Nh´Nubj—)”}”(hŒ ``value``”h]”hŒvalue”…””}”(hjah²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjíubhŒ‘ is inappropriate for the control (e.g. if it refers to an unsupported menu index of a menu control), then EINVAL error code is returned as well.”…””}”(hjíh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K-hjh²hubhý)”}”(hŒéThese ioctls work only with user controls. For other control classes the :ref:`VIDIOC_G_EXT_CTRLS `, :ref:`VIDIOC_S_EXT_CTRLS ` or :ref:`VIDIOC_TRY_EXT_CTRLS ` must be used.”h]”(hŒIThese ioctls work only with user controls. For other control classes the ”…””}”(hjyh²hh³Nh´Nubh)”}”(hŒ.:ref:`VIDIOC_G_EXT_CTRLS `”h]”j[)”}”(hjƒh]”hŒVIDIOC_G_EXT_CTRLS”…””}”(hj…h²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jZhjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”jŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj‡Œvidioc_g_ext_ctrls”uh1hh³hÇh´K5hjyubhŒ, ”…””}”(hjyh²hh³Nh´Nubh)”}”(hŒ.:ref:`VIDIOC_S_EXT_CTRLS `”h]”j[)”}”(hj§h]”hŒVIDIOC_S_EXT_CTRLS”…””}”(hj©h²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jZhj¥ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j³Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj‡Œvidioc_g_ext_ctrls”uh1hh³hÇh´K5hjyubhŒ or ”…””}”(hjyh²hh³Nh´Nubh)”}”(hŒ0:ref:`VIDIOC_TRY_EXT_CTRLS `”h]”j[)”}”(hjËh]”hŒVIDIOC_TRY_EXT_CTRLS”…””}”(hjÍh²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jZhjÉubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j׌reftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj‡Œvidioc_g_ext_ctrls”uh1hh³hÇh´K5hjyubhŒ must be used.”…””}”(hjyh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K5hjh²hubj&)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(j2ŒV4L.v4l2_control (C type)”Œc.V4L.v4l2_control”hNt”auh1j%hjh²hh³Nh´Nubj7)”}”(hhh]”(j<)”}”(hŒ v4l2_control”h]”jB)”}”(hŒtype v4l2_control”h]”(hŒdesc_sig_keyword”“”)”}”(hŒtype”h]”hŒtype”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”Œk”ah"]”h$]”h&]”uh1j hjh²hh³hÇh´K:ubhŒdesc_sig_space”“”)”}”(hŒ ”h]”hŒ ”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”Œw”ah"]”h$]”h&]”uh1jhjh²hh³hÇh´K:ubjH)”}”(hŒ v4l2_control”h]”jN)”}”(hjh]”hŒ v4l2_control”…””}”(hj2h²hh³Nh´Nubah}”(h]”h ]”jYah"]”h$]”h&]”uh1jMhj.ubah}”(h]”h ]”(j`jaeh"]”h$]”h&]”hÅhÆuh1jGhjh²hh³hÇh´K:ubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆjkˆuh1jAjljmhjh²hh³hÇh´K:ubah}”(h]”jÿah ]”(jqjreh"]”h$]”h&]”jvˆjw)jxhuh1j;h³hÇh´K:hjh²hubjz)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jyhjh²hh³hÇh´K:ubeh}”(h]”h ]”(j‡Œtype”eh"]”h$]”h&]”jŒj‡jj]jŽj]j‰j‰j‘‰uh1j6h²hhjh³Nh´NubhŒtabular_col_spec”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œspec”Œ|p{4.4cm}|p{4.4cm}|p{8.5cm}|”uh1jah³hÇh´KhjpubhŒtgroup”“”)”}”(hhh]”(hŒcolspec”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1j†hjƒubj‡)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1j†hjƒubj‡)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1j†hjƒubhŒtbody”“”)”}”(hhh]”(hŒrow”“”)”}”(hhh]”(hŒentry”“”)”}”(hhh]”hý)”}”(hŒ__u32”h]”hŒ__u32”…””}”(hjµh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KChj²ubah}”(h]”h ]”h"]”h$]”h&]”uh1j°hj­ubj±)”}”(hhh]”hý)”}”(hŒ``id``”h]”j—)”}”(hjÎh]”hŒid”…””}”(hjÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjÌubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KDhjÉubah}”(h]”h ]”h"]”h$]”h&]”uh1j°hj­ubj±)”}”(hhh]”hý)”}”(hŒ/Identifies the control, set by the application.”h]”hŒ/Identifies the control, set by the application.”…””}”(hjìh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KEhjéubah}”(h]”h ]”h"]”h$]”h&]”uh1j°hj­ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j«hj¨ubj¬)”}”(hhh]”(j±)”}”(hhh]”hý)”}”(hŒ__s32”h]”hŒ__s32”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KFhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j°hjubj±)”}”(hhh]”hý)”}”(hŒ ``value``”h]”j—)”}”(hj%h]”hŒvalue”…””}”(hj'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj#ubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KGhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j°hjubj±)”}”(hhh]”hý)”}”(hŒNew value or current value.”h]”hŒNew value or current value.”…””}”(hjCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KHhj@ubah}”(h]”h ]”h"]”h$]”h&]”uh1j°hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1j«hj¨ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j¦hjƒubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jhjpubeh}”(h]”Œid1”ah ]”h"]”h$]”h&]”uh1jnhjh²hh³Nh´Nubeh}”(h]”Œ description”ah ]”h"]”Œ description”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K$ubh×)”}”(hhh]”(hÜ)”}”(hŒ Return Value”h]”hŒ Return Value”…””}”(hj|h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjyh²hh³hÇh´KKubhý)”}”(hŒ´On 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Šh²hh³Nh´Nubj—)”}”(hŒ ``errno``”h]”hŒerrno”…””}”(hj’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjŠubhŒM variable is set appropriately. The generic error codes are described at the ”…””}”(hjŠh²hh³Nh´Nubh)”}”(hŒ':ref:`Generic Error Codes `”h]”j[)”}”(hj¦h]”hŒGeneric Error Codes”…””}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jZhj¤ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j²Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj‡Œ gen-errors”uh1hh³hÇh´KMhjŠubhŒ chapter.”…””}”(hjŠh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KMhjyh²hubj()”}”(hhh]”(j-)”}”(hŒòEINVAL The struct :c:type:`v4l2_control` ``id`` is invalid or the ``value`` is inappropriate for the given control (i.e. if a menu item is selected that is not supported by the driver according to :ref:`VIDIOC_QUERYMENU `). ”h]”(j3)”}”(hŒEINVAL”h]”hŒEINVAL”…””}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j2h³hÇh´KUhjÑubjL)”}”(hhh]”hý)”}”(hŒêThe struct :c:type:`v4l2_control` ``id`` is invalid or the ``value`` is inappropriate for the given control (i.e. if a menu item is selected that is not supported by the driver according to :ref:`VIDIOC_QUERYMENU `).”h]”(hŒ The struct ”…””}”(hjæh²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_control`”h]”j—)”}”(hjðh]”hŒ v4l2_control”…””}”(hjòh²hh³Nh´Nubah}”(h]”h ]”(jfj‡Œc-type”eh"]”h$]”h&]”uh1j–hjîubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jxj|j‡Œ v4l2_control”uh1hh³hÇh´KRhjæubhŒ ”…””}”(hjæh²hh³Nh´Nubj—)”}”(hŒ``id``”h]”hŒid”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjæubhŒ is invalid or the ”…””}”(hjæh²hh³Nh´Nubj—)”}”(hŒ ``value``”h]”hŒvalue”…””}”(hj#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjæubhŒz is inappropriate for the given control (i.e. if a menu item is selected that is not supported by the driver according to ”…””}”(hjæh²hh³Nh´Nubh)”}”(hŒ*:ref:`VIDIOC_QUERYMENU `”h]”j[)”}”(hj7h]”hŒVIDIOC_QUERYMENU”…””}”(hj9h²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jZhj5ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”jCŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj‡Œvidioc_queryctrl”uh1hh³hÇh´KRhjæubhŒ).”…””}”(hjæh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KRhjãubah}”(h]”h ]”h"]”h$]”h&]”uh1jKhjÑubeh}”(h]”h ]”h"]”h$]”h&]”uh1j,h³hÇh´KUhjÎubj-)”}”(hŒEERANGE The struct :c:type:`v4l2_control` ``value`` is out of bounds. ”h]”(j3)”}”(hŒERANGE”h]”hŒERANGE”…””}”(hjoh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j2h³hÇh´KYhjkubjL)”}”(hhh]”hý)”}”(hŒ=The struct :c:type:`v4l2_control` ``value`` is out of bounds.”h]”(hŒ The struct ”…””}”(hj€h²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_control`”h]”j—)”}”(hjŠh]”hŒ v4l2_control”…””}”(hjŒh²hh³Nh´Nubah}”(h]”h ]”(jfj‡Œc-type”eh"]”h$]”h&]”uh1j–hjˆubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jxj|j‡Œ v4l2_control”uh1hh³hÇh´KXhj€ubhŒ ”…””}”(hj€h²hh³Nh´Nubj—)”}”(hŒ ``value``”h]”hŒvalue”…””}”(hj«h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj€ubhŒ is out of bounds.”…””}”(hj€h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KXhj}ubah}”(h]”h ]”h"]”h$]”h&]”uh1jKhjkubeh}”(h]”h ]”h"]”h$]”h&]”uh1j,h³hÇh´KYhjÎh²hubj-)”}”(hŒ™EBUSY The control is temporarily not changeable, possibly because another applications took over control of the device function this control belongs to. ”h]”(j3)”}”(hŒEBUSY”h]”hŒEBUSY”…””}”(hjÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j2h³hÇh´K^hjÏubjL)”}”(hhh]”hý)”}”(hŒ’The control is temporarily not changeable, possibly because another applications took over control of the device function this control belongs to.”h]”hŒ’The control is temporarily not changeable, possibly because another applications took over control of the device function this control belongs to.”…””}”(hjäh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K\hjáubah}”(h]”h ]”h"]”h$]”h&]”uh1jKhjÏubeh}”(h]”h ]”h"]”h$]”h&]”uh1j,h³hÇh´K^hjÎh²hubj-)”}”(hŒÙEACCES Attempt to set a read-only control or to get a write-only control. Or if there is an attempt to set an inactive control and the driver is not capable of caching the new value until the control is active again.”h]”(j3)”}”(hŒEACCES”h]”hŒEACCES”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j2h³hÇh´KchjþubjL)”}”(hhh]”(hý)”}”(hŒBAttempt to set a read-only control or to get a write-only control.”h]”hŒBAttempt to set a read-only control or to get a write-only control.”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Kahjubhý)”}”(hŒŽOr if there is an attempt to set an inactive control and the driver is not capable of caching the new value until the control is active again.”h]”hŒŽOr if there is an attempt to set an inactive control and the driver is not capable of caching the new value until the control is active again.”…””}”(hj!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Kchjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jKhjþubeh}”(h]”h ]”h"]”h$]”h&]”uh1j,h³hÇh´KchjÎh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j'hjyh²hh³hÇh´Nubeh}”(h]”Œ return-value”ah ]”h"]”Œ return value”ah$]”h&]”uh1hÖhhØh²hh³hÇh´KKubeh}”(h]”(Œ!ioctl-vidioc-g-ctrl-vidioc-s-ctrl”hÕeh ]”h"]”(Œ"ioctl vidioc_g_ctrl, vidioc_s_ctrl”Œ vidioc_g_ctrl”eh$]”h&]”uh1hÖhhh²hh³hÇh´KŒexpect_referenced_by_name”}”jOhÊ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”j°Œ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”jxŒ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”}”(jOhÕjNjKjjjjjjjvjsjFjCuŒ nametypes”}”(jOˆjN‰j‰j‰j‰jv‰jF‰uh}”(hÕhØjKhØjhëjjj4j=j·j¼jjjsjjÿjjCjyjljpuŒ 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”“”}”j†Ks…”R”Œparse_messages”]”Œtransform_messages”]”hŒsystem_message”“”)”}”(hhh]”hý)”}”(hhh]”hŒ3Hyperlink target "vidioc-g-ctrl" 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.