Lines Matching +full:queue +full:- +full:sizes
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
13 VIDIOC_CREATE_BUFS - Create buffers for Memory Mapped or User Pointer or DMA Buffer I/O
39 create buffers of different sizes.
53 ``type`` field the requested buffer size (for single-planar) or plane
54 sizes (for multi-planar formats) will be used for the allocated buffers.
63 it is larger, then the value will be used as-is. In other words, the
77 .. flat-table:: struct v4l2_create_buffers
78 :header-rows: 0
79 :stub-columns: 0
82 * - __u32
83 - ``index``
84 - The starting buffer index, returned by the driver.
85 * - __u32
86 - ``count``
87 - The number of buffers requested or granted. If count == 0, then
90 ``format.type``. If those are invalid -1 is returned and errno is
94 * - __u32
95 - ``memory``
96 - Applications set this field to ``V4L2_MEMORY_MMAP``,
99 * - struct :c:type:`v4l2_format`
100 - ``format``
101 - Filled in by the application, preserved by the driver.
102 * - __u32
103 - ``capabilities``
104 - Set by the driver. If 0, then the driver doesn't support
108 capabilities. See :ref:`here <v4l2-buf-capabilities>` for a list of the
115 * - __u32
116 - ``flags``
117 - Specifies additional buffer management attributes.
118 See :ref:`memory-flags`.
119 * - __u32
120 - ``max_num_buffers``
121 - If the V4L2_BUF_CAP_SUPPORTS_MAX_NUM_BUFFERS capability flag is set
123 for this queue.
124 * - __u32
125 - ``reserved``\ [5]
126 - A place holder for future extensions. Drivers and applications
132 On success 0 is returned, on error -1 and the ``errno`` variable is set
134 :ref:`Generic Error Codes <gen-errors>` chapter.