Home
last modified time | relevance | path

Searched refs:VIDIOC_QBUF (Results 1 – 25 of 28) sorted by relevance

12

/linux/Documentation/userspace-api/media/v4l/
H A Ddmabuf.rst62 :ref:`VIDIOC_QBUF <VIDIOC_QBUF>` ioctl. In case of multiplanar
65 a different DMABUF descriptor at each :ref:`VIDIOC_QBUF <VIDIOC_QBUF>` call.
82 if (ioctl(v4lfd, VIDIOC_QBUF, &buf) == -1) {
83 perror("VIDIOC_QBUF");
113 if (ioctl(v4lfd, VIDIOC_QBUF, &buf) == -1) {
114 perror("VIDIOC_QBUF");
122 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl. The driver can unlock the
137 <VIDIOC_QBUF>` blocks when no buffer is in the outgoing queue. When the
139 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` returns immediately with an ``EAGAIN``
158 :ref:`VIDIOC_REQBUFS <VIDIOC_REQBUFS>`, :ref:`VIDIOC_QBUF <VIDIOC_QBUF>`,
[all …]
H A Duserp.rst51 :ref:`VIDIOC_QBUF <VIDIOC_QBUF>` ioctl. Although buffers are commonly
53 :ref:`VIDIOC_QBUF <VIDIOC_QBUF>` call. If required by the hardware the
61 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl. The driver can unlock the
81 <VIDIOC_QBUF>` blocks when no buffer is in the outgoing queue. When the
83 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` returns immediately with an ``EAGAIN``
102 :ref:`VIDIOC_REQBUFS <VIDIOC_REQBUFS>`, :ref:`VIDIOC_QBUF <VIDIOC_QBUF>`,
103 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>`, :ref:`VIDIOC_STREAMON <VIDIOC_STREAMON>`
H A Dvidioc-qbuf.rst7 ioctl VIDIOC_QBUF, VIDIOC_DQBUF
13 VIDIOC_QBUF - VIDIOC_DQBUF - Exchange a buffer with the driver
18 .. c:macro:: VIDIOC_QBUF
20 ``int ioctl(int fd, VIDIOC_QBUF, struct v4l2_buffer *argp)``
38 Applications call the ``VIDIOC_QBUF`` ioctl to enqueue an empty
64 ``memory`` field to ``V4L2_MEMORY_MMAP``. When ``VIDIOC_QBUF`` is called
75 instead. When ``VIDIOC_QBUF`` is called with a pointer to this structure
90 ``VIDIOC_QBUF`` is called with a pointer to this structure the driver
101 The ``request_fd`` field can be used with the ``VIDIOC_QBUF`` ioctl to specify
137 with a file descriptor numerically the same as the one given to ``VIDIOC_QBUF``
H A Dfunc-poll.rst37 the :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl. For output devices this
39 queued up with the :ref:`VIDIOC_QBUF <VIDIOC_QBUF>` ioctl for
56 hasn't yet called :ref:`VIDIOC_QBUF <VIDIOC_QBUF>`, the
H A Dmmap.rst235 :ref:`VIDIOC_QBUF <VIDIOC_QBUF>` and :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>`
239 buffers can be dequeued. By default :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>`
242 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` returns immediately with an ``EAGAIN``
259 <VIDIOC_QUERYBUF>`, :ref:`VIDIOC_QBUF <VIDIOC_QBUF>`, :ref:`VIDIOC_DQBUF
260 <VIDIOC_QBUF>`, :ref:`VIDIOC_STREAMON <VIDIOC_STREAMON>`
269 accordingly when calling :ref:`VIDIOC_QBUF` etc.,
H A Dbuffer.rst17 :ref:`VIDIOC_QBUF <VIDIOC_QBUF>` and
95 #. VIDIOC_QBUF
114 :c:func:`VIDIOC_QBUF` ioctl to return a ``EINVAL`` error.
124 #. VIDIOC_QBUF
299 :ref:`ioctl VIDIOC_QBUF <VIDIOC_QBUF>` and ignored by other ioctls that
303 other than :ref:`VIDIOC_QBUF <VIDIOC_QBUF>`.
469 :ref:`VIDIOC_QBUF` or
482 the ``VIDIOC_QBUF``\ ioctl it is always set and after
553 :ref:`VIDIOC_PREPARE_BUF <VIDIOC_QBUF>`,
554 :ref:`VIDIOC_QBUF <VIDIOC_QBUF>` or
[all …]
H A Dplanar-apis.rst54 :ref:`VIDIOC_QBUF <VIDIOC_QBUF>`, :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>`, :ref:`VIDIOC_QUERYBUF <VIDIOC_…
H A Dcapture.c.rst134 if (-1 == xioctl(fd, VIDIOC_QBUF, &buf))
135 errno_exit("VIDIOC_QBUF");
168 if (-1 == xioctl(fd, VIDIOC_QBUF, &buf))
169 errno_exit("VIDIOC_QBUF");
252 if (-1 == xioctl(fd, VIDIOC_QBUF, &buf))
253 errno_exit("VIDIOC_QBUF");
271 if (-1 == xioctl(fd, VIDIOC_QBUF, &buf))
272 errno_exit("VIDIOC_QBUF");
H A Dvidioc-prepare-buf.rst36 using the :ref:`VIDIOC_QBUF <VIDIOC_QBUF>` ioctl, and to prepare it for future I/O. Such
H A Dfunc-select.rst53 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl. When buffers are already in
60 :ref:`VIDIOC_QBUF` or
63 or ``writefds``, but subsequent :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>`
H A Dselection-api-vs-crop-api.rst25 :ref:`VIDIOC_QBUF <VIDIOC_QBUF>`. Those operations should be avoided
H A Dv4l2grab.c.rst122 xioctl(fd, VIDIOC_QBUF, &buf);
159 xioctl(fd, VIDIOC_QBUF, &buf);
H A Dfunc-open.rst36 function and the :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl will
H A Dvidioc-streamon.rst63 If buffers have been queued with :ref:`VIDIOC_QBUF` and
H A Ddev-sliced-vbi.rst193 :ref:`VIDIOC_QBUF` and
194 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl. Drivers set this field
352 the :ref:`VIDIOC_QBUF` ioctl must return an ``EINVAL``
H A Ddiff-v4l.rst553 :ref:`VIDIOC_QBUF` enqueues any empty buffer into
555 queue with the :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctl. To wait
H A Dhist-v4l2.rst72 are gone. VIDIOC_QBUF takes a v4l2_buffer as a parameter. Added
707 4. The documentation of the :ref:`VIDIOC_QBUF` and
708 :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>` ioctls did not mention the
H A Ddev-stateless-decoder.rst256 the decoding request, using :c:func:`VIDIOC_QBUF`.
/linux/Documentation/userspace-api/media/mediactl/
H A Dmedia-ioc-request-alloc.rst40 can be passed to the :ref:`VIDIOC_QBUF <VIDIOC_QBUF>`,
H A Drequest-api.rst159 if (ioctl(codec_fd, VIDIOC_QBUF, &buf))
175 regular :ref:`VIDIOC_DQBUF <VIDIOC_QBUF>`:
242 if (ioctl(camera_fd, VIDIOC_QBUF, &buf))
/linux/drivers/media/v4l2-core/
H A Dv4l2-compat-ioctl32.c891 return VIDIOC_QBUF; in v4l2_compat_translate_cmd()
900 return VIDIOC_QBUF; in v4l2_compat_translate_cmd()
H A Dv4l2-ioctl.c2909 IOCTL_INFO(VIDIOC_QBUF, v4l_qbuf, v4l_print_buffer, INFO_FL_QUEUE),
3131 (cmd == VIDIOC_QBUF || cmd == VIDIOC_DQBUF)) in __video_do_ioctl()
3163 case VIDIOC_QBUF: in check_array_args()
3244 return VIDIOC_QBUF; in video_translate_cmd()
3469 else if (cmd == VIDIOC_QBUF) in video_usercopy()
H A Dv4l2-dev.c718 SET_VALID_IOCTL(ops, VIDIOC_QBUF, vidioc_qbuf); in determine_valid_ioctls()
/linux/Documentation/driver-api/media/
H A Dv4l2-dev.rst280 0x08 Log the read and write file operations and the VIDIOC_QBUF and
/linux/include/uapi/linux/
H A Dvideodev2.h2700 #define VIDIOC_QBUF _IOWR('V', 15, struct v4l2_buffer) macro

12