diff options
author | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2020-07-13 10:46:26 +0100 |
---|---|---|
committer | Kieran Bingham <kieran.bingham@ideasonboard.com> | 2024-06-10 14:19:28 +0100 |
commit | cdcd507396373bb3310a0c8428222379ac3e920b (patch) | |
tree | 669f4b9e60e2c9164a62b36a0c6b176e99354390 /src/ipa/rpi/cam_helper/cam_helper_imx290.cpp | |
parent | c2616fb8bbcd2845e210b7b4b221a4df0e71bf0d (diff) |
libcamera: pipeline: vivid: Buffer handling and stream control
We can now add buffer management, and connect up our bufferReady signal
to a callback.
Note that we provide the ability to export buffers from our capture
device (data->video_) using the exportBuffers() functionality from the
V4L2VideoDevice which allows a FrameBufferAllocater to obtain buffers
from this device.
When buffers are obtained through the exportFrameBuffers API, they are
orphaned and left unassociated with the device, and must be reimported
at start() time anyway. This allows the same interface to be used
whether internal buffers, or external buffers are used for the stream.
When a buffer completes, we call the buffer completion handler on the
pipeline handler, and because we have only a single stream, we can also
immediately complete the request.
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
Diffstat (limited to 'src/ipa/rpi/cam_helper/cam_helper_imx290.cpp')
0 files changed, 0 insertions, 0 deletions