diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2019-02-04 12:48:45 +0100 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2019-02-06 06:49:35 +0200 |
commit | dffbde33b8a7a26e5bd0a840837af647b6317534 (patch) | |
tree | d5f4a658532db0d299432fe58034b7897d39cdff /test/v4l2_device/v4l2_device_test.h | |
parent | 2843f951d5d9504f403c20e383f1d2bf69cc309e (diff) |
libcamera: v4l2_device: Implement queue/dequeue operations
Provide queueBuffer() and dequeueBuffer() methods to interact with the
V4L2Device.
Buffers will be directly referenced from the bufferPool of the
V4L2Device based on the index in the pool.
The V4L2Device is now opened in non-blocking mode in order to avoid
blocking the dequeueBuffer() method. A signal is emitted when a buffer
is ready and has been dequeued.
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Signed-off-by: Jacopo Mondi <jacopo@jmondi.org>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Diffstat (limited to 'test/v4l2_device/v4l2_device_test.h')
0 files changed, 0 insertions, 0 deletions