Lines Matching +full:closed +full:- +full:loop
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
30 devices, which may be V4L devices or other video-related devices (e.g.
34 such file descriptor are exchanged. The descriptors and meta-information
36 :c:type:`v4l2_plane` in the multi-planar API case). The
43 .. code-block:: c
52 if (ioctl(fd, VIDIOC_REQBUFS, &reqbuf) == -1) {
70 .. code-block:: c
82 if (ioctl(v4lfd, VIDIOC_QBUF, &buf) == -1) {
84 return -1;
93 .. code-block:: c
113 if (ioctl(v4lfd, VIDIOC_QBUF, &buf) == -1) {
115 return -1;
126 :ref:`VIDIOC_REQBUFS <VIDIOC_REQBUFS>`, or when the device is closed.
129 buffers, to start capturing and enter the read loop. Here the
130 application waits until a filled buffer can be dequeued, and re-enqueues
133 started. In the write loop, when the application runs out of free