Lines Matching +full:in +full:- +full:application
1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later
11 ``V4L2_CAP_STREAMING`` flag in the ``capabilities`` field of struct
19 methods. Buffers (planes) are allocated by the application itself, and
20 can reside for example in virtual or shared memory. Only pointers to
21 data are exchanged, these pointers and meta-information are passed in
22 struct :c:type:`v4l2_buffer` (or in struct
23 :c:type:`v4l2_plane` in the multi-planar API case). The
33 .. code-block:: c
41 if (ioctl (fd, VIDIOC_REQBUFS, &reqbuf) == -1) {
55 area of memory. This happens transparently to the application in the
57 swapped out to disk they are brought back and finally locked in physical
69 the application's free list and subsequently reused for other purposes,
74 application waits until a filled buffer can be dequeued, and re-enqueues
77 started. In the write loop, when the application runs out of free
79 Two methods exist to suspend execution of the application until one or
81 <VIDIOC_QBUF>` blocks when no buffer is in the outgoing queue. When the
85 <func-select>` or :c:func:`poll()` function are always
97 application needs to synchronize with another event it should examine
109 Anyway, the process of swapping, locking or generating scatter-gather
113 memory usage drivers can limit the number of buffers locked in
115 the pages of empty buffers in the incoming queue need not be saved to
117 because an application may share them with other processes.