€•QdŒ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”ŒB/translations/zh_CN/userspace-api/media/v4l/vidioc-subscribe-event”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒB/translations/zh_TW/userspace-api/media/v4l/vidioc-subscribe-event”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒB/translations/it_IT/userspace-api/media/v4l/vidioc-subscribe-event”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒB/translations/ja_JP/userspace-api/media/v4l/vidioc-subscribe-event”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒB/translations/ko_KR/userspace-api/media/v4l/vidioc-subscribe-event”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒB/translations/pt_BR/userspace-api/media/v4l/vidioc-subscribe-event”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”ŒB/translations/sp_SP/userspace-api/media/v4l/vidioc-subscribe-event”Œ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³Œ\/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/vidioc-subscribe-event.rst”h´KubhŒtarget”“”)”}”(hŒ.. _VIDIOC_SUBSCRIBE_EVENT:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œvidioc-subscribe-event”uh1hÈh´Khhh²hh³hÇubhÉ)”}”(hŒ.. _VIDIOC_UNSUBSCRIBE_EVENT:”h]”h}”(h]”h ]”h"]”h$]”h&]”hÔŒvidioc-unsubscribe-event”uh1hÈh´Khhh²hh³hÇŒexpect_referenced_by_name”}”Œvidioc_subscribe_event”hÊsŒexpect_referenced_by_id”}”hÕhÊsubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒ6ioctl VIDIOC_SUBSCRIBE_EVENT, VIDIOC_UNSUBSCRIBE_EVENT”h]”hŒ6ioctl VIDIOC_SUBSCRIBE_EVENT, VIDIOC_UNSUBSCRIBE_EVENT”…””}”(hhíh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëhhèh²hh³hÇh´K ubhç)”}”(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ŒRVIDIOC_SUBSCRIBE_EVENT - VIDIOC_UNSUBSCRIBE_EVENT - Subscribe or unsubscribe event”h]”hŒRVIDIOC_SUBSCRIBE_EVENT - VIDIOC_UNSUBSCRIBE_EVENT - Subscribe or unsubscribe event”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Khhûh²hubeh}”(h]”Œname”ah ]”h"]”Œname”ah$]”h&]”uh1hæhhèh²hh³hÇh´K ubhç)”}”(hhh]”(hì)”}”(hŒSynopsis”h]”hŒSynopsis”…””}”(hj'h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëhj$h²hh³hÇh´KubhŒindex”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(Œsingle”Œ$V4L.VIDIOC_SUBSCRIBE_EVENT (C macro)”Œc.V4L.VIDIOC_SUBSCRIBE_EVENT”hNt”auh1j5hj$h²hh³Nh´NubhŒdesc”“”)”}”(hhh]”(hŒdesc_signature”“”)”}”(hŒVIDIOC_SUBSCRIBE_EVENT”h]”hŒdesc_signature_line”“”)”}”(hŒVIDIOC_SUBSCRIBE_EVENT”h]”hŒ desc_name”“”)”}”(hŒVIDIOC_SUBSCRIBE_EVENT”h]”hŒ desc_sig_name”“”)”}”(hjOh]”hŒVIDIOC_SUBSCRIBE_EVENT”…””}”(hj_h²hh³Nh´Nubah}”(h]”h ]”Œn”ah"]”h$]”h&]”uh1j]hjYubah}”(h]”h ]”(Œsig-name”Œdescname”eh"]”h$]”h&]”hÅhÆuh1jWhjSh²hh³hÇh´Kubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆŒ add_permalink”ˆuh1jQŒsphinx_line_type”Œ declarator”hjMh²hh³hÇh´Kubah}”(h]”jDah ]”(Œsig”Œ sig-object”eh"]”h$]”h&]”Œ is_multiline”ˆŒ _toc_parts”)Œ _toc_name”huh1jKh³hÇh´KhjHh²hubhŒ desc_content”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1j‰hjHh²hh³hÇh´Kubeh}”(h]”h ]”(Œc”Œmacro”eh"]”h$]”h&]”Œdomain”j—Œobjtype”j˜Œdesctype”j˜Œnoindex”‰Œ noindexentry”‰Œnocontentsentry”‰uh1jFh²hhj$h³Nh´Nubj )”}”(hŒS``int ioctl(int fd, VIDIOC_SUBSCRIBE_EVENT, struct v4l2_event_subscription *argp)``”h]”hŒliteral”“”)”}”(hj¤h]”hŒOint ioctl(int fd, VIDIOC_SUBSCRIBE_EVENT, struct v4l2_event_subscription *argp)”…””}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¦hj¢ubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Khj$h²hubj6)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jBŒ&V4L.VIDIOC_UNSUBSCRIBE_EVENT (C macro)”Œc.V4L.VIDIOC_UNSUBSCRIBE_EVENT”hNt”auh1j5hj$h²hh³Nh´NubjG)”}”(hhh]”(jL)”}”(hŒVIDIOC_UNSUBSCRIBE_EVENT”h]”jR)”}”(hŒVIDIOC_UNSUBSCRIBE_EVENT”h]”jX)”}”(hŒVIDIOC_UNSUBSCRIBE_EVENT”h]”j^)”}”(hjÎh]”hŒVIDIOC_UNSUBSCRIBE_EVENT”…””}”(hjØh²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j]hjÔubah}”(h]”h ]”(jpjqeh"]”h$]”h&]”hÅhÆuh1jWhjÐh²hh³hÇh´Kubah}”(h]”h ]”h"]”h$]”h&]”hÅhÆj{ˆuh1jQj|j}hjÌh²hh³hÇh´Kubah}”(h]”jÇah ]”(jj‚eh"]”h$]”h&]”j†ˆj‡)jˆhuh1jKh³hÇh´KhjÉh²hubjŠ)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1j‰hjÉh²hh³hÇh´Kubeh}”(h]”h ]”(j—Œmacro”eh"]”h$]”h&]”jœj—jjjžjjŸ‰j ‰j¡‰uh1jFh²hhj$h³Nh´Nubj )”}”(hŒU``int ioctl(int fd, VIDIOC_UNSUBSCRIBE_EVENT, struct v4l2_event_subscription *argp)``”h]”j§)”}”(hj h]”hŒQint ioctl(int fd, VIDIOC_UNSUBSCRIBE_EVENT, struct v4l2_event_subscription *argp)”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¦hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Khj$h²hubeh}”(h]”Œsynopsis”ah ]”h"]”Œsynopsis”ah$]”h&]”uh1hæhhèh²hh³hÇh´Kubhç)”}”(hhh]”(hì)”}”(hŒ Arguments”h]”hŒ Arguments”…””}”(hj)h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëhj&h²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§)”}”(hjFh]”hŒfd”…””}”(hjHh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¦hjDubah}”(h]”h ]”h"]”h$]”h&]”uh1jBh³hÇh´Khj>ubhŒ definition”“”)”}”(hhh]”j )”}”(hŒ-File descriptor returned by :c:func:`open()`.”h]”(hŒFile descriptor returned by ”…””}”(hj`h²hh³Nh´Nubh)”}”(hŒ:c:func:`open()`”h]”j§)”}”(hjjh]”hŒopen()”…””}”(hjlh²hh³Nh´Nubah}”(h]”h ]”(Œxref”j—Œc-func”eh"]”h$]”h&]”uh1j¦hjhubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œ.userspace-api/media/v4l/vidioc-subscribe-event”Œ refdomain”j—Œreftype”Œfunc”Œ refexplicit”‰Œrefwarn”‰Œ c:parent_key”Œsphinx.domains.c”Œ LookupKey”“”)”}”Œdata”]”j‰Œ ASTIdentifier”“”)”}”Œ identifier”ŒV4L”sbN†”asbŒ reftarget”Œopen”uh1hh³hÇh´Khj`ubhŒ.”…””}”(hj`h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Khj]ubah}”(h]”h ]”h"]”h$]”h&]”uh1j[hj>ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j<h³hÇh´Khj9ubj=)”}”(hŒ>``argp`` Pointer to struct :c:type:`v4l2_event_subscription`. ”h]”(jC)”}”(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&]”uh1jBh³hÇh´K"hj¯ubj\)”}”(hhh]”j )”}”(hŒ4Pointer to struct :c:type:`v4l2_event_subscription`.”h]”(hŒPointer to struct ”…””}”(hjÍh²hh³Nh´Nubh)”}”(hŒ!:c:type:`v4l2_event_subscription`”h]”j§)”}”(hj×h]”hŒv4l2_event_subscription”…””}”(hjÙh²hh³Nh´Nubah}”(h]”h ]”(jvj—Œc-type”eh"]”h$]”h&]”uh1j¦hjÕubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j‚Œ refdomain”j—Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jˆjŒj—Œv4l2_event_subscription”uh1hh³hÇh´K"hjÍubhŒ.”…””}”(hjÍh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´K"hjÊubah}”(h]”h ]”h"]”h$]”h&]”uh1j[hj¯ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j<h³hÇh´K"hj9h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j7hj&h²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”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëhjh²hh³hÇh´K%ubj )”}”(hŒmSubscribe or unsubscribe V4L2 event. Subscribed events are dequeued by using the :ref:`VIDIOC_DQEVENT` ioctl.”h]”(hŒQSubscribe or unsubscribe V4L2 event. Subscribed events are dequeued by using the ”…””}”(hj)h²hh³Nh´Nubh)”}”(hŒ:ref:`VIDIOC_DQEVENT`”h]”hŒinline”“”)”}”(hj3h]”hŒVIDIOC_DQEVENT”…””}”(hj7h²hh³Nh´Nubah}”(h]”h ]”(jvŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j5hj1ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j‚Œ refdomain”jAŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj—Œvidioc_dqevent”uh1hh³hÇh´K'hj)ubhŒ ioctl.”…””}”(hj)h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´K'hjh²hubhŒtabular_col_spec”“”)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œspec”Œ|p{2.6cm}|p{4.4cm}|p{10.3cm}|”uh1j]h³hÇh´K*hjh²hubj6)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(jBŒ$V4L.v4l2_event_subscription (C type)”Œc.V4L.v4l2_event_subscription”hNt”auh1j5hjh²hh³Nh´NubjG)”}”(hhh]”(jL)”}”(hŒv4l2_event_subscription”h]”jR)”}”(hŒtype v4l2_event_subscription”h]”(hŒdesc_sig_keyword”“”)”}”(hŒtype”h]”hŒtype”…””}”(hj…h²hh³Nh´Nubah}”(h]”h ]”Œk”ah"]”h$]”h&]”uh1jƒhjh²hh³hÇh´K,ubhŒdesc_sig_space”“”)”}”(hŒ ”h]”hŒ ”…””}”(hj–h²hh³Nh´Nubah}”(h]”h ]”Œw”ah"]”h$]”h&]”uh1j”hjh²hh³hÇh´K,ubjX)”}”(hŒv4l2_event_subscription”h]”j^)”}”(hj}h]”hŒv4l2_event_subscription”…””}”(hj©h²hh³Nh´Nubah}”(h]”h ]”jiah"]”h$]”h&]”uh1j]hj¥ubah}”(h]”h ]”(jpjqeh"]”h$]”h&]”hÅhÆuh1jWhjh²hh³hÇh´K,ubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆj{ˆuh1jQj|j}hj{h²hh³hÇh´K,ubah}”(h]”jvah ]”(jj‚eh"]”h$]”h&]”j†ˆj‡)jˆhuh1jKh³hÇh´K,hjxh²hubjŠ)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1j‰hjxh²hh³hÇh´K,ubeh}”(h]”h ]”(j—Œtype”eh"]”h$]”h&]”jœj—jjÔjžjÔjŸ‰j ‰j¡‰uh1jFh²hhjh³Nh´NubhŒtable”“”)”}”(hhh]”(hì)”}”(hŒstruct v4l2_event_subscription”h]”hŒstruct v4l2_event_subscription”…””}”(hjÝh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´K.hjÚubhŒ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]”j )”}”(hŒ__u32”h]”hŒ__u32”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´K3hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)”}”(hhh]”j )”}”(hŒ``type``”h]”j§)”}”(hj8h]”hŒtype”…””}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¦hj6ubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´K4hj3ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)”}”(hhh]”(j )”}”(hŒ)Type of the event, see :ref:`event-type`.”h]”(hŒType of the event, see ”…””}”(hjVh²hh³Nh´Nubh)”}”(hŒ:ref:`event-type`”h]”j6)”}”(hj`h]”hŒ event-type”…””}”(hjbh²hh³Nh´Nubah}”(h]”h ]”(jvŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j5hj^ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j‚Œ refdomain”jlŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj—Œ event-type”uh1hh³hÇh´K5hjVubhŒ.”…””}”(hjVh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´K5hjSubhŒnote”“”)”}”(hŒ‚``V4L2_EVENT_ALL`` can be used with :ref:`VIDIOC_UNSUBSCRIBE_EVENT ` for unsubscribing all events at once.”h]”j )”}”(hŒ‚``V4L2_EVENT_ALL`` can be used with :ref:`VIDIOC_UNSUBSCRIBE_EVENT ` for unsubscribing all events at once.”h]”(j§)”}”(hŒ``V4L2_EVENT_ALL``”h]”hŒV4L2_EVENT_ALL”…””}”(hj’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¦hjŽubhŒ can be used with ”…””}”(hjŽh²hh³Nh´Nubh)”}”(hŒ8:ref:`VIDIOC_UNSUBSCRIBE_EVENT `”h]”j6)”}”(hj¦h]”hŒVIDIOC_UNSUBSCRIBE_EVENT”…””}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”(jvŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j5hj¤ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j‚Œ refdomain”j²Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj—Œvidioc_subscribe_event”uh1hh³hÇh´K9hjŽubhŒ& for unsubscribing all events at once.”…””}”(hjŽh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´K9hjŠubah}”(h]”h ]”h"]”h$]”h&]”uh1jˆhjSubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)”}”(hhh]”(j)”}”(hhh]”j )”}”(hŒ__u32”h]”hŒ__u32”…””}”(hjæh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Khjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjàubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)”}”(hhh]”(j)”}”(hhh]”j )”}”(hŒ__u32”h]”hŒ__u32”…””}”(hj=h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´KAhj:ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj7ubj)”}”(hhh]”j )”}”(hŒ ``flags``”h]”j§)”}”(hjVh]”hŒflags”…””}”(hjXh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¦hjTubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´KBhjQubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj7ubj)”}”(hhh]”j )”}”(hŒ$Event flags, see :ref:`event-flags`.”h]”(hŒEvent flags, see ”…””}”(hjth²hh³Nh´Nubh)”}”(hŒ:ref:`event-flags`”h]”j6)”}”(hj~h]”hŒ event-flags”…””}”(hj€h²hh³Nh´Nubah}”(h]”h ]”(jvŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j5hj|ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j‚Œ refdomain”jŠŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj—Œ event-flags”uh1hh³hÇh´KChjtubhŒ.”…””}”(hjth²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´KChjqubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj7ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjubj)”}”(hhh]”(j)”}”(hhh]”j )”}”(hŒ__u32”h]”hŒ__u32”…””}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´KDhjµubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj²ubj)”}”(hhh]”j )”}”(hŒ``reserved``\ [5]”h]”(j§)”}”(hŒ ``reserved``”h]”hŒreserved”…””}”(hjÓh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¦hjÏubhŒ [5]”…””}”(hjÏh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´KEhjÌubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj²ubj)”}”(hhh]”j )”}”(hŒTReserved for future extensions. Drivers and applications must set the array to zero.”h]”hŒTReserved for future extensions. Drivers and applications must set the array to zero.”…””}”(hjôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´KFhjñubah}”(h]”h ]”h"]”h$]”h&]”uh1jhj²ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjíubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jëhjÚubeh}”(h]”Œid1”ah ]”h"]”h$]”h&]”uh1jØhjh²hh³Nh´Nubj^)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”jhŒ|p{7.5cm}|p{2.0cm}|p{7.8cm}|”uh1j]h³hÇh´KJhjh²hubhÉ)”}”(hŒ.. _event-flags:”h]”h}”(h]”h ]”h"]”h$]”h&]”hÔŒ event-flags”uh1hÈh´KLhjh²hh³hÇubjÙ)”}”(hhh]”(hì)”}”(hŒ Event Flags”h]”hŒ Event Flags”…””}”(hj:h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hëh³hÇh´KNhj7ubjì)”}”(hhh]”(jñ)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jðhjHubjñ)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jðhjHubjñ)”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jðhjHubj)”}”(hhh]”(j)”}”(hhh]”(j)”}”(hhh]”j )”}”(hŒ"``V4L2_EVENT_SUB_FL_SEND_INITIAL``”h]”j§)”}”(hjth]”hŒV4L2_EVENT_SUB_FL_SEND_INITIAL”…””}”(hjvh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¦hjrubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´KShjoubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjlubj)”}”(hhh]”j )”}”(hŒ0x0001”h]”hŒ0x0001”…””}”(hj’h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´KThjubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjlubj)”}”(hhh]”j )”}”(hŒâWhen this event is subscribed an initial event will be sent containing the current status. This only makes sense for events that are triggered by a status change such as ``V4L2_EVENT_CTRL``. Other events will ignore this flag.”h]”(hŒªWhen this event is subscribed an initial event will be sent containing the current status. This only makes sense for events that are triggered by a status change such as ”…””}”(hj©h²hh³Nh´Nubj§)”}”(hŒ``V4L2_EVENT_CTRL``”h]”hŒV4L2_EVENT_CTRL”…””}”(hj±h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¦hj©ubhŒ%. Other events will ignore this flag.”…””}”(hj©h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´KUhj¦ubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjlubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjiubj)”}”(hhh]”(j)”}”(hhh]”j )”}”(hŒ$``V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK``”h]”j§)”}”(hjÝh]”hŒ V4L2_EVENT_SUB_FL_ALLOW_FEEDBACK”…””}”(hjßh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j¦hjÛubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´KYhjØubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÕubj)”}”(hhh]”j )”}”(hŒ0x0002”h]”hŒ0x0002”…””}”(hjûh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´KZhjøubah}”(h]”h ]”h"]”h$]”h&]”uh1jhjÕubj)”}”(hhh]”(j )”}”(hXÚIf set, then events directly caused by an ioctl will also be sent to the filehandle that called that ioctl. For example, changing a control using :ref:`VIDIOC_S_CTRL ` will cause a V4L2_EVENT_CTRL to be sent back to that same filehandle. Normally such events are suppressed to prevent feedback loops where an application changes a control to a one value and then another, and then receives an event telling it that that control has changed to the first value.”h]”(hŒ’If set, then events directly caused by an ioctl will also be sent to the filehandle that called that ioctl. For example, changing a control using ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ$:ref:`VIDIOC_S_CTRL `”h]”j6)”}”(hjh]”hŒ VIDIOC_S_CTRL”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”(jvŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j5hjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j‚Œ refdomain”j(Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj—Œ vidioc_g_ctrl”uh1hh³hÇh´K[hjubhX$ will cause a V4L2_EVENT_CTRL to be sent back to that same filehandle. Normally such events are suppressed to prevent feedback loops where an application changes a control to a one value and then another, and then receives an event telling it that that control has changed to the first value.”…””}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´K[hjubj )”}”(hŒÕSince it can't tell whether that event was caused by another application or by the :ref:`VIDIOC_S_CTRL ` call it is hard to decide whether to set the control to the value in the event, or ignore it.”h]”(hŒUSince it can’t tell whether that event was caused by another application or by the ”…””}”(hjDh²hh³Nh´Nubh)”}”(hŒ$:ref:`VIDIOC_S_CTRL `”h]”j6)”}”(hjNh]”hŒ VIDIOC_S_CTRL”…””}”(hjPh²hh³Nh´Nubah}”(h]”h ]”(jvŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j5hjLubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j‚Œ refdomain”jZŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj—Œ vidioc_g_ctrl”uh1hh³hÇh´KdhjDubhŒ^ call it is hard to decide whether to set the control to the value in the event, or ignore it.”…””}”(hjDh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Kdhjubj )”}”(hŒRThink carefully when you set this flag so you won't get into situations like that.”h]”hŒTThink carefully when you set this flag so you won’t get into situations like that.”…””}”(hjvh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Kihjubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjÕubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjiubeh}”(h]”h ]”h"]”h$]”h&]”uh1jhjHubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1jëhj7ubeh}”(h]”(Œid2”j6eh ]”h"]”Œ event-flags”ah$]”h&]”uh1jØhjh²hh³Nh´Nhá}”j¢j,shä}”j6j,subeh}”(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ëhj¯h²hh³hÇh´Kmubj )”}”(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]”j6)”}”(hjÜh]”hŒGeneric Error Codes”…””}”(hjÞh²hh³Nh´Nubah}”(h]”h ]”(jvŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j5hjÚubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”j‚Œ refdomain”jèŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj—Œ gen-errors”uh1hh³hÇh´KohjÀubhŒ chapter.”…””}”(hjÀh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1j h³hÇh´Kohj¯h²hubeh}”(h]”Œ return-value”ah ]”h"]”Œ return value”ah$]”h&]”uh1hæhhèh²hh³hÇh´Kmubeh}”(h]”(Œ5ioctl-vidioc-subscribe-event-vidioc-unsubscribe-event”hàhÕeh ]”h"]”(Œ6ioctl vidioc_subscribe_event, vidioc_unsubscribe_event”Œvidioc_unsubscribe_event”hãeh$]”h&]”uh1hæhhh²hh³hÇh´K há}”(jhÖhãhÊuhä}”(hàhÖhÕhÊuubeh}”(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”j9Œ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Êahà]”hÖaj6]”j,auŒnameids”}”(hãhÕjhàjjj!jj#j jjj¬j©j¢j6j juŒ nametypes”}”(hãˆjˆj‰j!‰j#‰j‰j¬‰j¢ˆj ‰uh}”(hÕhèhàhèjhèjhûj j$jDjMjÇjÌjj&j©jjvj{j6j7jj¯jjÚjŸj7uŒ 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”“”}”jGKs…”R”Œparse_messages”]”Œtransform_messages”]”(hŒsystem_message”“”)”}”(hhh]”j )”}”(hhh]”hŒHyperlink target "vidioc-unsubscribe-event" is not referenced.”…””}”hjÀsbah}”(h]”h ]”h"]”h$]”h&]”uh1j hj½ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jºŒsource”hÇŒline”Kuh1j ubj¡)”}”(hhh]”j )”}”(hhh]”hŒ1Hyperlink target "event-flags" is not referenced.”…””}”hjÚsbah}”(h]”h ]”h"]”h$]”h&]”uh1j hj×ubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”jºŒsource”hÇŒline”KLuh1j ubeŒ transformer”NŒ include_log”]”Œ decoration”Nh²hub.