€•®]Œ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”Œ;/translations/zh_CN/userspace-api/media/v4l/vidioc-streamon”Œmodname”NŒ classname”NŒ refexplicit”ˆuŒtagname”hhh ubh)”}”(hhh]”hŒChinese (Traditional)”…””}”hh2sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ;/translations/zh_TW/userspace-api/media/v4l/vidioc-streamon”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒItalian”…””}”hhFsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ;/translations/it_IT/userspace-api/media/v4l/vidioc-streamon”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒJapanese”…””}”hhZsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ;/translations/ja_JP/userspace-api/media/v4l/vidioc-streamon”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒKorean”…””}”hhnsbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ;/translations/ko_KR/userspace-api/media/v4l/vidioc-streamon”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒPortuguese (Brazilian)”…””}”hh‚sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ;/translations/pt_BR/userspace-api/media/v4l/vidioc-streamon”Œmodname”NŒ classname”NŒ refexplicit”ˆuh1hhh ubh)”}”(hhh]”hŒSpanish”…””}”hh–sbah}”(h]”h ]”h"]”h$]”h&]”Œ refdomain”h)Œreftype”h+Œ reftarget”Œ;/translations/sp_SP/userspace-api/media/v4l/vidioc-streamon”Œ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³ŒU/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/vidioc-streamon.rst”h´KubhŒtarget”“”)”}”(hŒ.. _VIDIOC_STREAMON:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œvidioc-streamon”uh1hÈh´Khhh²hh³hÇubhŒsection”“”)”}”(hhh]”(hŒtitle”“”)”}”(hŒ'ioctl VIDIOC_STREAMON, VIDIOC_STREAMOFF”h]”hŒ'ioctl VIDIOC_STREAMON, VIDIOC_STREAMOFF”…””}”(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Œ@VIDIOC_STREAMON - VIDIOC_STREAMOFF - Start or stop streaming I/O”h]”hŒ@VIDIOC_STREAMON - VIDIOC_STREAMOFF - Start or stop streaming I/O”…””}”(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_STREAMON (C macro)”Œc.V4L.VIDIOC_STREAMON”hNt”auh1j%hjh²hh³Nh´NubhŒdesc”“”)”}”(hhh]”(hŒdesc_signature”“”)”}”(hŒVIDIOC_STREAMON”h]”hŒdesc_signature_line”“”)”}”(hŒVIDIOC_STREAMON”h]”hŒ desc_name”“”)”}”(hŒVIDIOC_STREAMON”h]”hŒ desc_sig_name”“”)”}”(hj?h]”hŒVIDIOC_STREAMON”…””}”(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Œ7``int ioctl(int fd, VIDIOC_STREAMON, const int *argp)``”h]”hŒliteral”“”)”}”(hj”h]”hŒ3int ioctl(int fd, VIDIOC_STREAMON, const int *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_STREAMOFF (C macro)”Œc.V4L.VIDIOC_STREAMOFF”hNt”auh1j%hjh²hh³Nh´Nubj7)”}”(hhh]”(j<)”}”(hŒVIDIOC_STREAMOFF”h]”jB)”}”(hŒVIDIOC_STREAMOFF”h]”jH)”}”(hŒVIDIOC_STREAMOFF”h]”jN)”}”(hj¾h]”hŒVIDIOC_STREAMOFF”…””}”(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Œ8``int ioctl(int fd, VIDIOC_STREAMOFF, const int *argp)``”h]”j—)”}”(hjùh]”hŒ4int ioctl(int fd, VIDIOC_STREAMOFF, const int *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-streamon”Œ 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Œ ``argp`` Pointer to an integer. ”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 an integer.”h]”hŒPointer to an integer.”…””}”(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²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Ûhjåh²hh³hÇh´K$ubhý)”}”(hŒÏThe ``VIDIOC_STREAMON`` and ``VIDIOC_STREAMOFF`` ioctl start and stop the capture or output process during streaming (:ref:`memory mapping `, :ref:`user pointer ` or :ref:`DMABUF `) I/O.”h]”(hŒThe ”…””}”(hjöh²hh³Nh´Nubj—)”}”(hŒ``VIDIOC_STREAMON``”h]”hŒVIDIOC_STREAMON”…””}”(hjþh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjöubhŒ and ”…””}”(hjöh²hh³Nh´Nubj—)”}”(hŒ``VIDIOC_STREAMOFF``”h]”hŒVIDIOC_STREAMOFF”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjöubhŒF ioctl start and stop the capture or output process during streaming (”…””}”(hjöh²hh³Nh´Nubh)”}”(hŒ:ref:`memory mapping `”h]”hŒinline”“”)”}”(hj$h]”hŒmemory mapping”…””}”(hj(h²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j&hj"ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j2Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj‡Œmmap”uh1hh³hÇh´K&hjöubhŒ, ”…””}”(hjöh²hh³Nh´Nubh)”}”(hŒ:ref:`user pointer `”h]”j')”}”(hjJh]”hŒ user pointer”…””}”(hjLh²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j&hjHubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”jVŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj‡Œuserp”uh1hh³hÇh´K&hjöubhŒ or ”…””}”(hjöh²hh³Nh´Nubh)”}”(hŒ:ref:`DMABUF `”h]”j')”}”(hjnh]”hŒDMABUF”…””}”(hjph²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j&hjlubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”jzŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj‡Œdmabuf”uh1hh³hÇh´K&hjöubhŒ) I/O.”…””}”(hjöh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K&hjåh²hubhý)”}”(hXCapture hardware is disabled and no input buffers are filled (if there are any empty buffers in the incoming queue) until ``VIDIOC_STREAMON`` has been called. Output hardware is disabled and no video signal is produced until ``VIDIOC_STREAMON`` has been called.”h]”(hŒzCapture hardware is disabled and no input buffers are filled (if there are any empty buffers in the incoming queue) until ”…””}”(hj–h²hh³Nh´Nubj—)”}”(hŒ``VIDIOC_STREAMON``”h]”hŒVIDIOC_STREAMON”…””}”(hjžh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj–ubhŒT has been called. Output hardware is disabled and no video signal is produced until ”…””}”(hj–h²hh³Nh´Nubj—)”}”(hŒ``VIDIOC_STREAMON``”h]”hŒVIDIOC_STREAMON”…””}”(hj°h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj–ubhŒ has been called.”…””}”(hj–h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K+hjåh²hubhý)”}”(hŒMemory-to-memory devices will not start until ``VIDIOC_STREAMON`` has been called for both the capture and output stream types.”h]”(hŒ.Memory-to-memory devices will not start until ”…””}”(hjÈh²hh³Nh´Nubj—)”}”(hŒ``VIDIOC_STREAMON``”h]”hŒVIDIOC_STREAMON”…””}”(hjÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjÈubhŒ> has been called for both the capture and output stream types.”…””}”(hjÈh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K0hjåh²hubhý)”}”(hŒPIf ``VIDIOC_STREAMON`` fails then any already queued buffers will remain queued.”h]”(hŒIf ”…””}”(hjèh²hh³Nh´Nubj—)”}”(hŒ``VIDIOC_STREAMON``”h]”hŒVIDIOC_STREAMON”…””}”(hjðh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjèubhŒ: fails then any already queued buffers will remain queued.”…””}”(hjèh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K3hjåh²hubhý)”}”(hX»The ``VIDIOC_STREAMOFF`` ioctl, apart of aborting or finishing any DMA in progress, unlocks any user pointer buffers locked in physical memory, and it removes all buffers from the incoming and outgoing queues. That means all images captured but not dequeued yet will be lost, likewise all images enqueued for output but not transmitted yet. I/O returns to the same state as after calling :ref:`VIDIOC_REQBUFS` and can be restarted accordingly.”h]”(hŒThe ”…””}”(hjh²hh³Nh´Nubj—)”}”(hŒ``VIDIOC_STREAMOFF``”h]”hŒVIDIOC_STREAMOFF”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhXl ioctl, apart of aborting or finishing any DMA in progress, unlocks any user pointer buffers locked in physical memory, and it removes all buffers from the incoming and outgoing queues. That means all images captured but not dequeued yet will be lost, likewise all images enqueued for output but not transmitted yet. I/O returns to the same state as after calling ”…””}”(hjh²hh³Nh´Nubh)”}”(hŒ:ref:`VIDIOC_REQBUFS`”h]”j')”}”(hj$h]”hŒVIDIOC_REQBUFS”…””}”(hj&h²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j&hj"ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”j0Œreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj‡Œvidioc_reqbufs”uh1hh³hÇh´K6hjubhŒ" and can be restarted accordingly.”…””}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K6hjåh²hubhý)”}”(hX=If buffers have been queued with :ref:`VIDIOC_QBUF` and ``VIDIOC_STREAMOFF`` is called without ever having called ``VIDIOC_STREAMON``, then those queued buffers will also be removed from the incoming queue and all are returned to the same state as after calling :ref:`VIDIOC_REQBUFS` and can be restarted accordingly.”h]”(hŒ!If buffers have been queued with ”…””}”(hjLh²hh³Nh´Nubh)”}”(hŒ:ref:`VIDIOC_QBUF`”h]”j')”}”(hjVh]”hŒ VIDIOC_QBUF”…””}”(hjXh²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j&hjTubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”jbŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj‡Œ vidioc_qbuf”uh1hh³hÇh´K?hjLubhŒ and ”…””}”(hjLh²hh³Nh´Nubj—)”}”(hŒ``VIDIOC_STREAMOFF``”h]”hŒVIDIOC_STREAMOFF”…””}”(hjxh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjLubhŒ& is called without ever having called ”…””}”(hjLh²hh³Nh´Nubj—)”}”(hŒ``VIDIOC_STREAMON``”h]”hŒVIDIOC_STREAMON”…””}”(hjŠh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjLubhŒ, then those queued buffers will also be removed from the incoming queue and all are returned to the same state as after calling ”…””}”(hjLh²hh³Nh´Nubh)”}”(hŒ:ref:`VIDIOC_REQBUFS`”h]”j')”}”(hjžh]”hŒVIDIOC_REQBUFS”…””}”(hj h²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j&hjœubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”jªŒreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj‡Œvidioc_reqbufs”uh1hh³hÇh´K?hjLubhŒ" and can be restarted accordingly.”…””}”(hjLh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K?hjåh²hubhý)”}”(hŒBoth ioctls take a pointer to an integer, the desired buffer or stream type. This is the same as struct :c:type:`v4l2_requestbuffers` ``type``.”h]”(hŒhBoth ioctls take a pointer to an integer, the desired buffer or stream type. This is the same as struct ”…””}”(hjÆh²hh³Nh´Nubh)”}”(hŒ:c:type:`v4l2_requestbuffers`”h]”j—)”}”(hjÐh]”hŒv4l2_requestbuffers”…””}”(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_requestbuffers”uh1hh³hÇh´KFhjÆubhŒ ”…””}”(hjÆh²hh³Nh´Nubj—)”}”(hŒ``type``”h]”hŒtype”…””}”(hjñh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjÆubhŒ.”…””}”(hjÆh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KFhjåh²hubhý)”}”(hX7If ``VIDIOC_STREAMON`` is called when streaming is already in progress, or if ``VIDIOC_STREAMOFF`` is called when streaming is already stopped, then 0 is returned. Nothing happens in the case of ``VIDIOC_STREAMON``, but ``VIDIOC_STREAMOFF`` will return queued buffers to their starting state as mentioned above.”h]”(hŒIf ”…””}”(hj h²hh³Nh´Nubj—)”}”(hŒ``VIDIOC_STREAMON``”h]”hŒVIDIOC_STREAMON”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj ubhŒ8 is called when streaming is already in progress, or if ”…””}”(hj h²hh³Nh´Nubj—)”}”(hŒ``VIDIOC_STREAMOFF``”h]”hŒVIDIOC_STREAMOFF”…””}”(hj#h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj ubhŒa is called when streaming is already stopped, then 0 is returned. Nothing happens in the case of ”…””}”(hj h²hh³Nh´Nubj—)”}”(hŒ``VIDIOC_STREAMON``”h]”hŒVIDIOC_STREAMON”…””}”(hj5h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj ubhŒ, but ”…””}”(hj h²hh³Nh´Nubj—)”}”(hŒ``VIDIOC_STREAMOFF``”h]”hŒVIDIOC_STREAMOFF”…””}”(hjGh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj ubhŒG will return queued buffers to their starting state as mentioned above.”…””}”(hj h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KJhjåh²hubhŒnote”“”)”}”(hŒðApplications can be preempted for unknown periods right before or after the ``VIDIOC_STREAMON`` or ``VIDIOC_STREAMOFF`` calls, there is no notion of starting or stopping "now". Buffer timestamps can be used to synchronize with other events.”h]”hý)”}”(hŒðApplications can be preempted for unknown periods right before or after the ``VIDIOC_STREAMON`` or ``VIDIOC_STREAMOFF`` calls, there is no notion of starting or stopping "now". Buffer timestamps can be used to synchronize with other events.”h]”(hŒLApplications can be preempted for unknown periods right before or after the ”…””}”(hjeh²hh³Nh´Nubj—)”}”(hŒ``VIDIOC_STREAMON``”h]”hŒVIDIOC_STREAMON”…””}”(hjmh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjeubhŒ or ”…””}”(hjeh²hh³Nh´Nubj—)”}”(hŒ``VIDIOC_STREAMOFF``”h]”hŒVIDIOC_STREAMOFF”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjeubhŒ} calls, there is no notion of starting or stopping “nowâ€. Buffer timestamps can be used to synchronize with other events.”…””}”(hjeh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KRhjaubah}”(h]”h ]”h"]”h$]”h&]”uh1j_hjåh²hh³hÇh´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Ûhj¥h²hh³hÇh´KXubhý)”}”(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&]”uh1j&hjÐubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”jÞŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj‡Œ gen-errors”uh1hh³hÇh´KZhj¶ubhŒ chapter.”…””}”(hj¶h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KZhj¥h²hubj()”}”(hhh]”(j-)”}”(hŒzEINVAL The buffer ``type`` is not supported, or no buffers have been allocated (memory mapping) or enqueued (output) yet. ”h]”(j3)”}”(hŒEINVAL”h]”hŒEINVAL”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j2h³hÇh´K`hjýubjL)”}”(hhh]”hý)”}”(hŒrThe buffer ``type`` is not supported, or no buffers have been allocated (memory mapping) or enqueued (output) yet.”h]”(hŒ The buffer ”…””}”(hjh²hh³Nh´Nubj—)”}”(hŒ``type``”h]”hŒtype”…””}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒ_ is not supported, or no buffers have been allocated (memory mapping) or enqueued (output) yet.”…””}”(hjh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K_hjubah}”(h]”h ]”h"]”h$]”h&]”uh1jKhjýubeh}”(h]”h ]”h"]”h$]”h&]”uh1j,h³hÇh´K`hjúubj-)”}”(hŒEPIPE The driver implements :ref:`pad-level format configuration ` and the pipeline configuration is invalid. ”h]”(j3)”}”(hŒEPIPE”h]”hŒEPIPE”…””}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j2h³hÇh´Kehj>ubjL)”}”(hhh]”hý)”}”(hŒzThe driver implements :ref:`pad-level format configuration ` and the pipeline configuration is invalid.”h]”(hŒThe driver implements ”…””}”(hjSh²hh³Nh´Nubh)”}”(hŒ9:ref:`pad-level format configuration `”h]”j')”}”(hj]h]”hŒpad-level format configuration”…””}”(hj_h²hh³Nh´Nubah}”(h]”h ]”(jfŒstd”Œstd-ref”eh"]”h$]”h&]”uh1j&hj[ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jrŒ refdomain”jiŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj‡Œpad-level-formats”uh1hh³hÇh´KchjSubhŒ+ and the pipeline configuration is invalid.”…””}”(hjSh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KchjPubah}”(h]”h ]”h"]”h$]”h&]”uh1jKhj>ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j,h³hÇh´Kehjúh²hubj-)”}”(hŒhENOLINK The driver implements Media Controller interface and the pipeline link configuration is invalid.”h]”(j3)”}”(hŒENOLINK”h]”hŒENOLINK”…””}”(hj•h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j2h³hÇh´Khhj‘ubjL)”}”(hhh]”hý)”}”(hŒ`The driver implements Media Controller interface and the pipeline link configuration is invalid.”h]”hŒ`The driver implements Media Controller interface and the pipeline link configuration is invalid.”…””}”(hj¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Khhj£ubah}”(h]”h ]”h"]”h$]”h&]”uh1jKhj‘ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j,h³hÇh´Khhjúh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1j'hj¥h²hh³hÇh´Nubeh}”(h]”Œ return-value”ah ]”h"]”Œ return value”ah$]”h&]”uh1hÖhhØh²hh³hÇh´KXubeh}”(h]”(Œ&ioctl-vidioc-streamon-vidioc-streamoff”hÕeh ]”h"]”(Œ'ioctl vidioc_streamon, vidioc_streamoff”Œvidioc_streamon”eh$]”h&]”uh1hÖhhh²hh³hÇh´KŒexpect_referenced_by_name”}”jÔhÊ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”}”(jÔhÕjÓjÐjjjjjâjßj¢jŸjËjÈuŒ nametypes”}”(jÔˆjÓ‰j‰j‰jâ‰j¢‰jˉuh}”(hÕhØjÐhØjhëjjj4j=j·j¼jßjjŸjåjÈj¥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Œ5Hyperlink target "vidioc-streamon" is not referenced.”…””}”hjhsbah}”(h]”h ]”h"]”h$]”h&]”uh1hühjeubah}”(h]”h ]”h"]”h$]”h&]”Œlevel”KŒtype”ŒINFO”Œsource”hÇŒline”Kuh1jcubaŒ transformer”NŒ include_log”]”Œ decoration”Nh²hub.