diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2020-01-27 10:07:03 -0500 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2020-03-07 01:58:08 +0200 |
commit | 6d0cf98bb1a808e767f7d0fe91599848ce955227 (patch) | |
tree | 6decfb1d7de07b68a269840612bc031a9aca5f98 /test/v4l2_videodevice/capture_async.cpp | |
parent | a801f5e4f670475fdea3028f247a4aa3774b801e (diff) |
gst: libcamerasrc: Allocate and release buffers
Setup the allocation and the release of buffers in the
element. We have one pooling GstAllocator that wraps the
FrameBufferAllocator and tracks the lifetime of FrameBuffer
objects. Then, for each pad we have a GstBufferPool object
which is only used to avoid re-allocating the GstBuffer
structure every time we push a buffer.
Signed-off-by: Nicolas Dufresne <nicolas.dufresne@collabora.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'test/v4l2_videodevice/capture_async.cpp')
0 files changed, 0 insertions, 0 deletions