gst: Add getters for Stream and FrameBuffer
This adds getters on pad/pool/allocator so that we can retrieve the Stream or FrameBuffer. 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>
This commit is contained in:
committed by
Laurent Pinchart
parent
6d0cf98bb1
commit
db50b1072a
@@ -27,4 +27,6 @@ bool gst_libcamera_allocator_prepare_buffer(GstLibcameraAllocator *self,
|
||||
gsize gst_libcamera_allocator_get_pool_size(GstLibcameraAllocator *allocator,
|
||||
libcamera::Stream *stream);
|
||||
|
||||
libcamera::FrameBuffer *gst_libcamera_memory_get_frame_buffer(GstMemory *mem);
|
||||
|
||||
#endif /* __GST_LIBCAMERA_ALLOCATOR_H__ */
|
||||
|
||||
Reference in New Issue
Block a user