Home
last modified time | relevance | path

Searched refs:VIDIOC_REQBUFS (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.1.9/Documentation/userspace-api/media/v4l/
Ddmabuf.rst26 determined by calling the :ref:`VIDIOC_REQBUFS <VIDIOC_REQBUFS>`
38 :ref:`VIDIOC_REQBUFS <VIDIOC_REQBUFS>` with the desired buffer type.
52 if (ioctl(fd, VIDIOC_REQBUFS, &reqbuf) == -1) {
56 perror("VIDIOC_REQBUFS");
126 :ref:`VIDIOC_REQBUFS <VIDIOC_REQBUFS>`, or when the device is closed.
158 :ref:`VIDIOC_REQBUFS <VIDIOC_REQBUFS>`, :ref:`VIDIOC_QBUF <VIDIOC_QBUF>`,
Dvidioc-reqbufs.rst7 ioctl VIDIOC_REQBUFS
13 VIDIOC_REQBUFS - Initiate Memory Mapping, User Pointer I/O or DMA buffer I/O
18 .. c:macro:: VIDIOC_REQBUFS
20 ``int ioctl(int fd, VIDIOC_REQBUFS, struct v4l2_requestbuffers *argp)``
61 Applications can call :ref:`VIDIOC_REQBUFS` again to change the number of
63 then :ref:`VIDIOC_REQBUFS` can only succeed if the
65 :ref:`VIDIOC_REQBUFS` will return the ``EBUSY`` error code.
151 - The kernel allows calling :ref:`VIDIOC_REQBUFS` while buffers are still
Duserp.rst15 must be determined by calling the :ref:`VIDIOC_REQBUFS` ioctl
25 :ref:`VIDIOC_REQBUFS` with the desired buffer type.
41 if (ioctl (fd, VIDIOC_REQBUFS, &reqbuf) == -1) {
45 perror ("VIDIOC_REQBUFS");
65 :ref:`VIDIOC_REQBUFS`, or when the device is closed.
102 :ref:`VIDIOC_REQBUFS <VIDIOC_REQBUFS>`, :ref:`VIDIOC_QBUF <VIDIOC_QBUF>`,
Dmmap.rst15 supported applications must call the :ref:`VIDIOC_REQBUFS` ioctl
33 :ref:`VIDIOC_REQBUFS` ioctl with the desired number
73 if (-1 == ioctl (fd, VIDIOC_REQBUFS, &reqbuf)) {
77 perror("VIDIOC_REQBUFS");
146 if (ioctl(fd, VIDIOC_REQBUFS, &reqbuf) < 0) {
150 perror("VIDIOC_REQBUFS");
258 :ref:`VIDIOC_REQBUFS <VIDIOC_REQBUFS>`, :ref:`VIDIOC_QUERYBUF
Dio.rst20 :ref:`VIDIOC_REQBUFS` ioctl.
34 :ref:`VIDIOC_S_FMT <VIDIOC_G_FMT>` and :ref:`VIDIOC_REQBUFS` would permit this to some
Dvidioc-expbuf.rst38 :ref:`VIDIOC_REQBUFS` ioctl.
46 :ref:`VIDIOC_REQBUFS` (struct
133 :ref:`VIDIOC_REQBUFS` and/or
Dplanar-apis.rst60 :ref:`VIDIOC_REQBUFS <VIDIOC_REQBUFS>`
Dvidioc-querybuf.rst36 been allocated with the :ref:`VIDIOC_REQBUFS` ioctl.
44 :ref:`VIDIOC_REQBUFS` (struct
Dvidioc-streamon.rst60 :ref:`VIDIOC_REQBUFS` and can be restarted
67 calling :ref:`VIDIOC_REQBUFS` and can be restarted
Dvidioc-qbuf.rst48 :ref:`VIDIOC_REQBUFS` (struct
82 :ref:`VIDIOC_REQBUFS` ioctl is called, or until the
98 :ref:`VIDIOC_REQBUFS` ioctl is called, or until the
116 :ref:`VIDIOC_STREAMOFF <VIDIOC_STREAMON>` or calling :ref:`VIDIOC_REQBUFS`
Dcapture.c.rst333 if (-1 == xioctl(fd, VIDIOC_REQBUFS, &req)) {
339 errno_exit("VIDIOC_REQBUFS");
391 if (-1 == xioctl(fd, VIDIOC_REQBUFS, &req)) {
397 errno_exit("VIDIOC_REQBUFS");
Dfunc-mmap.rst108 allocated with the :ref:`VIDIOC_REQBUFS` ioctl
133 :ref:`VIDIOC_REQBUFS` ioctl.
Dbuffer.rst84 and free all buffers with the :c:func:`VIDIOC_REQBUFS` ioctl if they are
91 #. VIDIOC_REQBUFS(0)
94 #. VIDIOC_REQBUFS(n)
98 The second :c:func:`VIDIOC_REQBUFS` call will take the new format and control
174 allocated with the :ref:`VIDIOC_REQBUFS` ioctl
284 :ref:`VIDIOC_REQBUFS` and/or
343 :ref:`VIDIOC_REQBUFS` and/or
Ddev-stateless-decoder.rst26 ``OUTPUT`` queue when :c:func:`VIDIOC_REQBUFS` or :c:func:`VIDIOC_CREATE_BUFS`
169 6. Allocate source (bytestream) buffers via :c:func:`VIDIOC_REQBUFS` on
193 7. Allocate destination (raw format) buffers via :c:func:`VIDIOC_REQBUFS` on the
406 4. Free all ``CAPTURE`` buffers by calling :c:func:`VIDIOC_REQBUFS` on the
Dv4l2grab.c.rst94 xioctl(fd, VIDIOC_REQBUFS, &req);
Dformat.rst55 with the :ref:`VIDIOC_REQBUFS` ioctl or implicit
Dvidioc-create-bufs.rst37 :ref:`VIDIOC_REQBUFS` ioctl, when a tighter control
Ddev-decoder.rst208 Seek -> Initialization [ label = "VIDIOC_REQBUFS(OUTPUT, 0)" ];
300 2. Allocate source (bytestream) buffers via :c:func:`VIDIOC_REQBUFS` on
373 :c:func:`VIDIOC_TRY_FMT` or :c:func:`VIDIOC_REQBUFS` on the ``CAPTURE``
605 buffers using :c:func:`VIDIOC_REQBUFS`.
618 10. Allocate ``CAPTURE`` buffers via :c:func:`VIDIOC_REQBUFS` on the
649 ``count`` field to :c:func:`VIDIOC_REQBUFS`.
Ddev-encoder.rst78 Reset -> Initialization [ label = "VIDIOC_REQBUFS(OUTPUT, 0)" ];
376 :c:func:`VIDIOC_REQBUFS`. This may be performed in any order.
407 ``count`` field to :c:func:`VIDIOC_REQBUFS`.
Dopen.rst192 streaming data (by calling the :ref:`VIDIOC_REQBUFS`
Ddiff-v4l.rst532 - The :ref:`VIDIOC_REQBUFS` ioctl allocates the
/linux-6.1.9/drivers/media/v4l2-core/
Dv4l2-dev.c713 SET_VALID_IOCTL(ops, VIDIOC_REQBUFS, vidioc_reqbufs); in determine_valid_ioctls()
/linux-6.1.9/Documentation/driver-api/media/
Dv4l2-dev.rst73 is used for the queuing ioctls (``VIDIOC_REQBUFS``, ``CREATE_BUFS``,
Dv4l2-videobuf.rst292 So, for example, a VIDIOC_REQBUFS call turns into a call to the driver's
/linux-6.1.9/include/uapi/linux/
Dvideodev2.h2585 #define VIDIOC_REQBUFS _IOWR('V', 8, struct v4l2_requestbuffers) macro

12