€•G‹Œ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-create-bufs”Œ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-create-bufs”Œ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-create-bufs”Œ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-create-bufs”Œ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-create-bufs”Œ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-create-bufs”Œ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-create-bufs”Œ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³ŒX/var/lib/git/docbuild/linux/Documentation/userspace-api/media/v4l/vidioc-create-bufs.rst”h´KubhŒtarget”“”)�”}”(hŒ.. _VIDIOC_CREATE_BUFS:”h]”h}”(h]”h ]”h"]”h$]”h&]”Œrefid”Œvidioc-create-bufs”uh1hÈh´Khhh²hh³hÇubhŒsection”“”)�”}”(hhh]”(hŒtitle”“”)�”}”(hŒioctl VIDIOC_CREATE_BUFS”h]”hŒioctl VIDIOC_CREATE_BUFS”…”�”}”(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ŒWVIDIOC_CREATE_BUFS - Create buffers for Memory Mapped or User Pointer or DMA Buffer I/O”h]”hŒWVIDIOC_CREATE_BUFS - Create buffers for Memory Mapped or User Pointer or DMA Buffer 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_CREATE_BUFS (C macro)”Œc.V4L.VIDIOC_CREATE_BUFS”hNt”auh1j%hjh²hh³Nh´NubhŒdesc”“”)�”}”(hhh]”(hŒdesc_signature”“”)�”}”(hŒVIDIOC_CREATE_BUFS”h]”hŒdesc_signature_line”“”)�”}”(hŒVIDIOC_CREATE_BUFS”h]”hŒ desc_name”“”)�”}”(hŒVIDIOC_CREATE_BUFS”h]”hŒ desc_sig_name”“”)�”}”(hj?h]”hŒVIDIOC_CREATE_BUFS”…”�”}”(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ŒK``int ioctl(int fd, VIDIOC_CREATE_BUFS, struct v4l2_create_buffers *argp)``”h]”hŒliteral”“”)�”}”(hj”h]”hŒGint ioctl(int fd, VIDIOC_CREATE_BUFS, struct v4l2_create_buffers *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”…”�”}”(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—)�”}”(hjÓh]”hŒfd”…”�”}”(hjÕh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjÑubah}”(h]”h ]”h"]”h$]”h&]”uh1jÏh³hÇh´KhjËubhŒ definition”“”)�”}”(hhh]”hý)�”}”(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—)�”}”(hj÷h]”hŒopen()”…”�”}”(hjùh²hh³Nh´Nubah}”(h]”h ]”(Œxref”j‡Œc-func”eh"]”h$]”h&]”uh1j–hjõubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”Œ*userspace-api/media/v4l/vidioc-create-bufs”Œ 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&]”uh1hüh³hÇh´Khjêubah}”(h]”h ]”h"]”h$]”h&]”uh1jèhjËubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÇh´KhjÆubjÊ)�”}”(hŒ:``argp`` Pointer to struct :c:type:`v4l2_create_buffers`. ”h]”(jÐ)�”}”(hŒ``argp``”h]”j—)�”}”(hjBh]”hŒargp”…”�”}”(hjDh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj@ubah}”(h]”h ]”h"]”h$]”h&]”uh1jÏh³hÇh´Khj<ubjé)�”}”(hhh]”hý)�”}”(hŒ0Pointer to struct :c:type:`v4l2_create_buffers`.”h]”(hŒPointer to struct ”…”�”}”(hjZh²hh³Nh´Nubh)�”}”(hŒ:c:type:`v4l2_create_buffers`”h]”j—)�”}”(hjdh]”hŒv4l2_create_buffers”…”�”}”(hjfh²hh³Nh´Nubah}”(h]”h ]”(jj‡Œc-type”eh"]”h$]”h&]”uh1j–hjbubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jjj$Œv4l2_create_buffers”uh1hh³hÇh´KhjZubhŒ.”…”�”}”(hjZh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KhjWubah}”(h]”h ]”h"]”h$]”h&]”uh1jèhj<ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÇh´KhjÆh²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÄhj³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”…”�”}”(hj¨h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhj¥h²hh³hÇh´K ubhý)�”}”(hXYThis ioctl is used to create buffers for :ref:`memory mapped ` or :ref:`user pointer ` or :ref:`DMA buffer ` I/O. It can be used as an alternative or in addition to the :ref:`VIDIOC_REQBUFS` ioctl, when a tighter control over buffers is required. This ioctl can be called multiple times to create buffers of different sizes.”h]”(hŒ)This ioctl is used to create buffers for ”…”�”}”(hj¶h²hh³Nh´Nubh)�”}”(hŒ:ref:`memory mapped `”h]”hŒinline”“”)�”}”(hjÀh]”hŒ memory mapped”…”�”}”(hjÄh²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jÂhj¾ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jÎŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj$Œmmap”uh1hh³hÇh´K"hj¶ubhŒ or ”…”�”}”(hj¶h²hh³Nh´Nubh)�”}”(hŒ:ref:`user pointer `”h]”jÃ)�”}”(hjæh]”hŒ user pointer”…”�”}”(hjèh²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jÂhjäubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jòŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj$Œuserp”uh1hh³hÇh´K"hj¶ubhŒ or ”…”�”}”(hj¶h²hh³Nh´Nubh)�”}”(hŒ:ref:`DMA buffer `”h]”jÃ)�”}”(hj h]”hŒ DMA buffer”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jÂhjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj$Œdmabuf”uh1hh³hÇh´K"hj¶ubhŒ= I/O. It can be used as an alternative or in addition to the ”…”�”}”(hj¶h²hh³Nh´Nubh)�”}”(hŒ:ref:`VIDIOC_REQBUFS`”h]”jÃ)�”}”(hj.h]”hŒVIDIOC_REQBUFS”…”�”}”(hj0h²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jÂhj,ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j:Œreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj$Œvidioc_reqbufs”uh1hh³hÇh´K"hj¶ubhŒ† ioctl, when a tighter control over buffers is required. This ioctl can be called multiple times to create buffers of different sizes.”…”�”}”(hj¶h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K"hj¥h²hubhý)�”}”(hX-To allocate the device buffers applications must initialize the relevant fields of the struct :c:type:`v4l2_create_buffers` structure. The ``count`` field must be set to the number of requested buffers, the ``memory`` field specifies the requested I/O method and the ``reserved`` array must be zeroed.”h]”(hŒ^To allocate the device buffers applications must initialize the relevant fields of the struct ”…”�”}”(hjVh²hh³Nh´Nubh)�”}”(hŒ:c:type:`v4l2_create_buffers`”h]”j—)�”}”(hj`h]”hŒv4l2_create_buffers”…”�”}”(hjbh²hh³Nh´Nubah}”(h]”h ]”(jj‡Œc-type”eh"]”h$]”h&]”uh1j–hj^ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jjj$Œv4l2_create_buffers”uh1hh³hÇh´K)hjVubhŒ structure. The ”…”�”}”(hjVh²hh³Nh´Nubj—)�”}”(hŒ ``count``”h]”hŒcount”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjVubhŒ; field must be set to the number of requested buffers, the ”…”�”}”(hjVh²hh³Nh´Nubj—)�”}”(hŒ ``memory``”h]”hŒmemory”…”�”}”(hj“h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjVubhŒ2 field specifies the requested I/O method and the ”…”�”}”(hjVh²hh³Nh´Nubj—)�”}”(hŒ ``reserved``”h]”hŒreserved”…”�”}”(hj¥h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjVubhŒ array must be zeroed.”…”�”}”(hjVh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K)hj¥h²hubhý)�”}”(hXkThe ``format`` field specifies the image format that the buffers must be able to handle. The application has to fill in this struct :c:type:`v4l2_format`. Usually this will be done using the :ref:`VIDIOC_TRY_FMT ` or :ref:`VIDIOC_G_FMT ` ioctls to ensure that the requested format is supported by the driver. Based on the format's ``type`` field the requested buffer size (for single-planar) or plane sizes (for multi-planar formats) will be used for the allocated buffers. The driver may return an error if the size(s) are not supported by the hardware (usually because they are too small).”h]”(hŒThe ”…”�”}”(hj½h²hh³Nh´Nubj—)�”}”(hŒ ``format``”h]”hŒformat”…”�”}”(hjÅh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj½ubhŒv field specifies the image format that the buffers must be able to handle. The application has to fill in this struct ”…”�”}”(hj½h²hh³Nh´Nubh)�”}”(hŒ:c:type:`v4l2_format`”h]”j—)�”}”(hjÙh]”hŒ v4l2_format”…”�”}”(hjÛh²hh³Nh´Nubah}”(h]”h ]”(jj‡Œc-type”eh"]”h$]”h&]”uh1j–hj×ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jjj$Œ v4l2_format”uh1hh³hÇh´K/hj½ubhŒ&. Usually this will be done using the ”…”�”}”(hj½h²hh³Nh´Nubh)�”}”(hŒ$:ref:`VIDIOC_TRY_FMT `”h]”jÃ)�”}”(hjüh]”hŒVIDIOC_TRY_FMT”…”�”}”(hjþh²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jÂhjúubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj$Œ vidioc_g_fmt”uh1hh³hÇh´K/hj½ubhŒ or ”…”�”}”(hj½h²hh³Nh´Nubh)�”}”(hŒ":ref:`VIDIOC_G_FMT `”h]”jÃ)�”}”(hj h]”hŒ VIDIOC_G_FMT”…”�”}”(hj"h²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jÂhjubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j,Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj$Œ vidioc_g_fmt”uh1hh³hÇh´K/hj½ubhŒ` ioctls to ensure that the requested format is supported by the driver. Based on the format’s ”…”�”}”(hj½h²hh³Nh´Nubj—)�”}”(hŒ``type``”h]”hŒtype”…”�”}”(hjBh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj½ubhŒü field the requested buffer size (for single-planar) or plane sizes (for multi-planar formats) will be used for the allocated buffers. The driver may return an error if the size(s) are not supported by the hardware (usually because they are too small).”…”�”}”(hj½h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K/hj¥h²hubhý)�”}”(hXThe buffers created by this ioctl will have as minimum size the size defined by the ``format.pix.sizeimage`` field (or the corresponding fields for other format types). Usually if the ``format.pix.sizeimage`` field is less than the minimum required for the given format, then an error will be returned since drivers will typically not allow this. If it is larger, then the value will be used as-is. In other words, the driver may reject the requested size, but if it is accepted the driver will use it unchanged.”h]”(hŒTThe buffers created by this ioctl will have as minimum size the size defined by the ”…”�”}”(hjZh²hh³Nh´Nubj—)�”}”(hŒ``format.pix.sizeimage``”h]”hŒformat.pix.sizeimage”…”�”}”(hjbh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjZubhŒL field (or the corresponding fields for other format types). Usually if the ”…”�”}”(hjZh²hh³Nh´Nubj—)�”}”(hŒ``format.pix.sizeimage``”h]”hŒformat.pix.sizeimage”…”�”}”(hjth²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjZubhX0 field is less than the minimum required for the given format, then an error will be returned since drivers will typically not allow this. If it is larger, then the value will be used as-is. In other words, the driver may reject the requested size, but if it is accepted the driver will use it unchanged.”…”�”}”(hjZh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K:hj¥h²hubhý)�”}”(hX6When the ioctl is called with a pointer to this structure the driver will attempt to allocate up to the requested number of buffers and store the actual number allocated and the starting index in the ``count`` and the ``index`` fields respectively. On return ``count`` can be smaller than the number requested.”h]”(hŒÈWhen the ioctl is called with a pointer to this structure the driver will attempt to allocate up to the requested number of buffers and store the actual number allocated and the starting index in the ”…”�”}”(hjŒh²hh³Nh´Nubj—)�”}”(hŒ ``count``”h]”hŒcount”…”�”}”(hj”h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjŒubhŒ and the ”…”�”}”(hjŒh²hh³Nh´Nubj—)�”}”(hŒ ``index``”h]”hŒindex”…”�”}”(hj¦h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjŒubhŒ fields respectively. On return ”…”�”}”(hjŒh²hh³Nh´Nubj—)�”}”(hŒ ``count``”h]”hŒcount”…”�”}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjŒubhŒ* can be smaller than the number requested.”…”�”}”(hjŒh²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KChj¥h²hubj&)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œentries”]”(j2Œ V4L.v4l2_create_buffers (C type)”Œc.V4L.v4l2_create_buffers”hNt”auh1j%hj¥h²hh³Nh´Nubj7)�”}”(hhh]”(j<)�”}”(hŒv4l2_create_buffers”h]”jB)�”}”(hŒtype v4l2_create_buffers”h]”(hŒdesc_sig_keyword”“”)�”}”(hŒtype”h]”hŒtype”…”�”}”(hjëh²hh³Nh´Nubah}”(h]”h ]”Œk”ah"]”h$]”h&]”uh1jéhjåh²hh³hÇh´KIubhŒdesc_sig_space”“”)�”}”(hŒ ”h]”hŒ ”…”�”}”(hjüh²hh³Nh´Nubah}”(h]”h ]”Œw”ah"]”h$]”h&]”uh1júhjåh²hh³hÇh´KIubjH)�”}”(hŒv4l2_create_buffers”h]”jN)�”}”(hjãh]”hŒv4l2_create_buffers”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”jYah"]”h$]”h&]”uh1jMhj ubah}”(h]”h ]”(j`jaeh"]”h$]”h&]”hÅhÆuh1jGhjåh²hh³hÇh´KIubeh}”(h]”h ]”h"]”h$]”h&]”hÅhÆjkˆuh1jAjljmhjáh²hh³hÇh´KIubah}”(h]”jÜah ]”(jqjreh"]”h$]”h&]”jvˆjw)jxhuh1j;h³hÇh´KIhjÞh²hubjz)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”uh1jyhjÞh²hh³hÇh´KIubeh}”(h]”h ]”(j‡Œtype”eh"]”h$]”h&]”jŒj‡j�j:jŽj:j�‰j�‰j‘‰uh1j6h²hhj¥h³Nh´NubhŒtabular_col_spec”“”)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œspec”Œ|p{4.4cm}|p{4.4cm}|p{8.5cm}|”uh1j>h³hÇh´KKhj¥h²hubhŒtable”“”)�”}”(hhh]”(hÜ)�”}”(hŒstruct v4l2_create_buffers”h]”hŒstruct v4l2_create_buffers”…”�”}”(hjPh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛh³hÇh´KMhjMubhŒtgroup”“”)�”}”(hhh]”(hŒcolspec”“”)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj`ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj`ubjd)�”}”(hhh]”h}”(h]”h ]”h"]”h$]”h&]”Œcolwidth”Kuh1jchj`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´KRhj�ubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjŠubjŽ)�”}”(hhh]”hý)�”}”(hŒ ``index``”h]”j—)�”}”(hj«h]”hŒindex”…”�”}”(hj­h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj©ubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KShj¦ubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjŠubjŽ)�”}”(hhh]”hý)�”}”(hŒ2The starting buffer index, returned by the driver.”h]”hŒ2The starting buffer index, returned by the driver.”…”�”}”(hjÉh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KThjÆubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjŠubeh}”(h]”h ]”h"]”h$]”h&]”uh1jˆhj…ubj‰)�”}”(hhh]”(jŽ)�”}”(hhh]”hý)�”}”(hŒ__u32”h]”hŒ__u32”…”�”}”(hjéh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KUhjæubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjãubjŽ)�”}”(hhh]”hý)�”}”(hŒ ``count``”h]”j—)�”}”(hjh]”hŒcount”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KVhjýubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjãubjŽ)�”}”(hhh]”hý)�”}”(hXŸThe number of buffers requested or granted. If count == 0, then :ref:`VIDIOC_CREATE_BUFS` will set ``index`` to the current number of created buffers, and it will check the validity of ``memory`` and ``format.type``. If those are invalid -1 is returned and errno is set to ``EINVAL`` error code, otherwise :ref:`VIDIOC_CREATE_BUFS` returns 0. It will never set errno to ``EBUSY`` error code in this particular case.”h]”(hŒ@The number of buffers requested or granted. If count == 0, then ”…”�”}”(hj h²hh³Nh´Nubh)�”}”(hŒ:ref:`VIDIOC_CREATE_BUFS`”h]”jÃ)�”}”(hj*h]”hŒVIDIOC_CREATE_BUFS”…”�”}”(hj,h²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jÂhj(ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j6Œreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj$Œvidioc_create_bufs”uh1hh³hÇh´KWhj ubhŒ will set ”…”�”}”(hj h²hh³Nh´Nubj—)�”}”(hŒ ``index``”h]”hŒindex”…”�”}”(hjLh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj ubhŒM to the current number of created buffers, and it will check the validity of ”…”�”}”(hj h²hh³Nh´Nubj—)�”}”(hŒ ``memory``”h]”hŒmemory”…”�”}”(hj^h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj ubhŒ and ”…”�”}”(hj h²hh³Nh´Nubj—)�”}”(hŒ``format.type``”h]”hŒ format.type”…”�”}”(hjph²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj ubhŒ:. If those are invalid -1 is returned and errno is set to ”…”�”}”(hj h²hh³Nh´Nubj—)�”}”(hŒ ``EINVAL``”h]”hŒEINVAL”…”�”}”(hj‚h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj ubhŒ error code, otherwise ”…”�”}”(hj h²hh³Nh´Nubh)�”}”(hŒ:ref:`VIDIOC_CREATE_BUFS`”h]”jÃ)�”}”(hj–h]”hŒVIDIOC_CREATE_BUFS”…”�”}”(hj˜h²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jÂhj”ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j¢Œreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj$Œvidioc_create_bufs”uh1hh³hÇh´KWhj ubhŒ' returns 0. It will never set errno to ”…”�”}”(hj h²hh³Nh´Nubj—)�”}”(hŒ ``EBUSY``”h]”hŒEBUSY”…”�”}”(hj¸h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj ubhŒ$ error code in this particular case.”…”�”}”(hj h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KWhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjãubeh}”(h]”h ]”h"]”h$]”h&]”uh1jˆhj…ubj‰)�”}”(hhh]”(jŽ)�”}”(hhh]”hý)�”}”(hŒ__u32”h]”hŒ__u32”…”�”}”(hjâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K^hjßubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjÜubjŽ)�”}”(hhh]”hý)�”}”(hŒ ``memory``”h]”j—)�”}”(hjûh]”hŒmemory”…”�”}”(hjýh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjùubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K_hjöubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjÜubjŽ)�”}”(hhh]”hý)�”}”(hŒ�Applications set this field to ``V4L2_MEMORY_MMAP``, ``V4L2_MEMORY_DMABUF`` or ``V4L2_MEMORY_USERPTR``. See :c:type:`v4l2_memory`”h]”(hŒApplications set this field to ”…”�”}”(hjh²hh³Nh´Nubj—)�”}”(hŒ``V4L2_MEMORY_MMAP``”h]”hŒV4L2_MEMORY_MMAP”…”�”}”(hj!h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒ, ”…”�”}”(hjh²hh³Nh´Nubj—)�”}”(hŒ``V4L2_MEMORY_DMABUF``”h]”hŒV4L2_MEMORY_DMABUF”…”�”}”(hj3h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒ or ”…”�”}”(hjh²hh³Nh´Nubj—)�”}”(hŒ``V4L2_MEMORY_USERPTR``”h]”hŒV4L2_MEMORY_USERPTR”…”�”}”(hjEh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubhŒ. See ”…”�”}”(hjh²hh³Nh´Nubh)�”}”(hŒ:c:type:`v4l2_memory`”h]”j—)�”}”(hjYh]”hŒ v4l2_memory”…”�”}”(hj[h²hh³Nh´Nubah}”(h]”h ]”(jj‡Œc-type”eh"]”h$]”h&]”uh1j–hjWubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jjj$Œ v4l2_memory”uh1hh³hÇh´K`hjubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K`hjubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjÜubeh}”(h]”h ]”h"]”h$]”h&]”uh1jˆhj…ubj‰)�”}”(hhh]”(jŽ)�”}”(hhh]”hý)�”}”(hŒstruct :c:type:`v4l2_format`”h]”(hŒstruct ”…”�”}”(hjŽh²hh³Nh´Nubh)�”}”(hŒ:c:type:`v4l2_format`”h]”j—)�”}”(hj˜h]”hŒ v4l2_format”…”�”}”(hjšh²hh³Nh´Nubah}”(h]”h ]”(jj‡Œc-type”eh"]”h$]”h&]”uh1j–hj–ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jjj$Œ v4l2_format”uh1hh³hÇh´KchjŽubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Kchj‹ubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjˆubjŽ)�”}”(hhh]”hý)�”}”(hŒ ``format``”h]”j—)�”}”(hjÆh]”hŒformat”…”�”}”(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Œ6Filled in by the application, preserved by the driver.”h]”hŒ6Filled in by the application, preserved by the driver.”…”�”}”(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Œ__u32”h]”hŒ__u32”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Kfhjubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjþubjŽ)�”}”(hhh]”hý)�”}”(hŒ``capabilities``”h]”j—)�”}”(hjh]”hŒ capabilities”…”�”}”(hjh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Kghjubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjþubjŽ)�”}”(hhh]”(hý)�”}”(hXLSet by the driver. If 0, then the driver doesn't support capabilities. In that case all you know is that the driver is guaranteed to support ``V4L2_MEMORY_MMAP`` and *might* support other :c:type:`v4l2_memory` types. It will not support any other capabilities. See :ref:`here ` for a list of the capabilities.”h]”(hŒ�Set by the driver. If 0, then the driver doesn’t support capabilities. In that case all you know is that the driver is guaranteed to support ”…”�”}”(hj;h²hh³Nh´Nubj—)�”}”(hŒ``V4L2_MEMORY_MMAP``”h]”hŒV4L2_MEMORY_MMAP”…”�”}”(hjCh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj;ubhŒ and ”…”�”}”(hj;h²hh³Nh´NubhŒemphasis”“”)�”}”(hŒ*might*”h]”hŒmight”…”�”}”(hjWh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jUhj;ubhŒ support other ”…”�”}”(hj;h²hh³Nh´Nubh)�”}”(hŒ:c:type:`v4l2_memory`”h]”j—)�”}”(hjkh]”hŒ v4l2_memory”…”�”}”(hjmh²hh³Nh´Nubah}”(h]”h ]”(jj‡Œc-type”eh"]”h$]”h&]”uh1j–hjiubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j‡Œreftype”Œtype”Œ refexplicit”‰Œrefwarn”‰jjj$Œ v4l2_memory”uh1hh³hÇh´Khhj;ubhŒ8 types. It will not support any other capabilities. See ”…”�”}”(hj;h²hh³Nh´Nubh)�”}”(hŒ#:ref:`here `”h]”jÃ)�”}”(hjŽh]”hŒhere”…”�”}”(hj�h²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jÂhjŒubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jšŒreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj$Œv4l2-buf-capabilities”uh1hh³hÇh´Khhj;ubhŒ for a list of the capabilities.”…”�”}”(hj;h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Khhj8ubhý)�”}”(hŒ°If you want to just query the capabilities without making any other changes, then set ``count`` to 0, ``memory`` to ``V4L2_MEMORY_MMAP`` and ``format.type`` to the buffer type.”h]”(hŒVIf you want to just query the capabilities without making any other changes, then set ”…”�”}”(hj¶h²hh³Nh´Nubj—)�”}”(hŒ ``count``”h]”hŒcount”…”�”}”(hj¾h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj¶ubhŒ to 0, ”…”�”}”(hj¶h²hh³Nh´Nubj—)�”}”(hŒ ``memory``”h]”hŒmemory”…”�”}”(hjÐh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj¶ubhŒ to ”…”�”}”(hj¶h²hh³Nh´Nubj—)�”}”(hŒ``V4L2_MEMORY_MMAP``”h]”hŒV4L2_MEMORY_MMAP”…”�”}”(hjâh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj¶ubhŒ and ”…”�”}”(hj¶h²hh³Nh´Nubj—)�”}”(hŒ``format.type``”h]”hŒ format.type”…”�”}”(hjôh²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj¶ubhŒ to the buffer type.”…”�”}”(hj¶h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Kohj8ubeh}”(h]”h ]”h"]”h$]”h&]”uh1j�hjþubeh}”(h]”h ]”h"]”h$]”h&]”uh1jˆhj…ubj‰)�”}”(hhh]”(jŽ)�”}”(hhh]”hý)�”}”(hŒ__u32”h]”hŒ__u32”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Kshj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj ubjŽ)�”}”(hhh]”hý)�”}”(hŒ ``flags``”h]”j—)�”}”(hj7 h]”hŒflags”…”�”}”(hj9 h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj5 ubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Kthj2 ubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj ubjŽ)�”}”(hhh]”hý)�”}”(hŒKSpecifies additional buffer management attributes. See :ref:`memory-flags`.”h]”(hŒ7Specifies additional buffer management attributes. See ”…”�”}”(hjU h²hh³Nh´Nubh)�”}”(hŒ:ref:`memory-flags`”h]”jÃ)�”}”(hj_ h]”hŒ memory-flags”…”�”}”(hja h²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jÂhj] ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jk Œreftype”Œref”Œ refexplicit”‰Œrefwarn”ˆj$Œ memory-flags”uh1hh³hÇh´KuhjU ubhŒ.”…”�”}”(hjU h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KuhjR ubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jˆhj…ubj‰)�”}”(hhh]”(jŽ)�”}”(hhh]”hý)�”}”(hŒ__u32”h]”hŒ__u32”…”�”}”(hj™ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Kwhj– ubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj“ ubjŽ)�”}”(hhh]”hý)�”}”(hŒ``max_num_buffers``”h]”j—)�”}”(hj² h]”hŒmax_num_buffers”…”�”}”(hj´ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj° ubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´Kxhj­ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj“ ubjŽ)�”}”(hhh]”hý)�”}”(hŒ�If the V4L2_BUF_CAP_SUPPORTS_MAX_NUM_BUFFERS capability flag is set this field indicates the maximum possible number of buffers for this queue.”h]”hŒ�If the V4L2_BUF_CAP_SUPPORTS_MAX_NUM_BUFFERS capability flag is set this field indicates the maximum possible number of buffers for this queue.”…”�”}”(hjÐ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KyhjÍ ubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hj“ ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jˆhj…ubj‰)�”}”(hhh]”(jŽ)�”}”(hhh]”hý)�”}”(hŒ__u32”h]”hŒ__u32”…”�”}”(hjð h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K|hjí ubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjê ubjŽ)�”}”(hhh]”hý)�”}”(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&]”uh1hüh³hÇh´K}hj ubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjê ubjŽ)�”}”(hhh]”hý)�”}”(hŒZA place holder for future extensions. Drivers and applications must set the array to zero.”h]”hŒZA place holder for future extensions. Drivers and applications must set the array to zero.”…”�”}”(hj, h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K~hj) ubah}”(h]”h ]”h"]”h$]”h&]”uh1j�hjê ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jˆhj…ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jƒhj`ubeh}”(h]”h ]”h"]”h$]”h&]”Œcols”Kuh1j^hjMubeh}”(h]”Œid1”ah ]”h"]”h$]”h&]”uh1jKhj¥h²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”…”�”}”(hje h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1hÛhjb h²hh³hÇh´K‚ubhý)�”}”(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 ”…”�”}”(hjs h²hh³Nh´Nubj—)�”}”(hŒ ``errno``”h]”hŒerrno”…”�”}”(hj{ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hjs ubhŒM variable is set appropriately. The generic error codes are described at the ”…”�”}”(hjs h²hh³Nh´Nubh)�”}”(hŒ':ref:`Generic Error Codes `”h]”jÃ)�”}”(hj� h]”hŒGeneric Error Codes”…”�”}”(hj‘ h²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jÂhj� ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”j› Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj$Œ gen-errors”uh1hh³hÇh´K„hjs ubhŒ chapter.”…”�”}”(hjs h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K„hjb h²hubjÅ)�”}”(hhh]”(jÊ)�”}”(hŒJENOMEM No memory to allocate buffers for :ref:`memory mapped ` I/O. ”h]”(jÐ)�”}”(hŒENOMEM”h]”hŒENOMEM”…”�”}”(hj¾ h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÏh³hÇh´K‰hjº ubjé)�”}”(hhh]”hý)�”}”(hŒBNo memory to allocate buffers for :ref:`memory mapped ` I/O.”h]”(hŒ"No memory to allocate buffers for ”…”�”}”(hjÏ h²hh³Nh´Nubh)�”}”(hŒ:ref:`memory mapped `”h]”jÃ)�”}”(hjÙ h]”hŒ memory mapped”…”�”}”(hjÛ h²hh³Nh´Nubah}”(h]”h ]”(jŒstd”Œstd-ref”eh"]”h$]”h&]”uh1jÂhj× ubah}”(h]”h ]”h"]”h$]”h&]”Œrefdoc”jŒ refdomain”jå Œreftype”Œref”Œ refexplicit”ˆŒrefwarn”ˆj$Œmmap”uh1hh³hÇh´K‰hjÏ ubhŒ I/O.”…”�”}”(hjÏ h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´K‰hjÌ ubah}”(h]”h ]”h"]”h$]”h&]”uh1jèhjº ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÇh´K‰hj· ubjÊ)�”}”(hŒ|EINVAL The buffer type (``format.type`` field), requested I/O method (``memory``) or format (``format`` field) is not valid.”h]”(jÐ)�”}”(hŒEINVAL”h]”hŒEINVAL”…”�”}”(hj h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1jÏh³hÇh´KŒhj ubjé)�”}”(hhh]”hý)�”}”(hŒuThe buffer type (``format.type`` field), requested I/O method (``memory``) or format (``format`` field) is not valid.”h]”(hŒThe buffer type (”…”�”}”(hj" h²hh³Nh´Nubj—)�”}”(hŒ``format.type``”h]”hŒ format.type”…”�”}”(hj* h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj" ubhŒ field), requested I/O method (”…”�”}”(hj" h²hh³Nh´Nubj—)�”}”(hŒ ``memory``”h]”hŒmemory”…”�”}”(hj< h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj" ubhŒ ) or format (”…”�”}”(hj" h²hh³Nh´Nubj—)�”}”(hŒ ``format``”h]”hŒformat”…”�”}”(hjN h²hh³Nh´Nubah}”(h]”h ]”h"]”h$]”h&]”uh1j–hj" ubhŒ field) is not valid.”…”�”}”(hj" h²hh³Nh´Nubeh}”(h]”h ]”h"]”h$]”h&]”uh1hüh³hÇh´KŒhj ubah}”(h]”h ]”h"]”h$]”h&]”uh1jèhj ubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÉh³hÇh´KŒhj· h²hubeh}”(h]”h ]”h"]”h$]”h&]”uh1jÄhjb h²hh³hÇh´Nubeh}”(h]”Œ return-value”ah ]”h"]”Œ return value”ah$]”h&]”uh1hÖhhØh²hh³hÇh´K‚ubeh}”(h]”(Œioctl-vidioc-create-bufs”hÕeh ]”h"]”(Œioctl vidioc_create_bufs”Œvidioc_create_bufs”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”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”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‚ jjj°j­j¢jŸj_ j\ j} jz uŒ nametypes”}”(j† ˆj… ‰j‰j°‰j¢‰j_ ‰j} ‰uh}”(hÕhØj‚ hØjhëj­jj4j=jŸj³j\ j¥jÜjájz jb jU jMuŒ 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Œ8Hyperlink target "vidioc-create-bufs" 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.