libcamera: v4l2_device: importBuffers support

Provide the ability to import a BufferPool into the V4L2Device allowing
external dmabuf backed buffers to be queued.

Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Kieran Bingham <kieran.bingham@ideasonboard.com>
This commit is contained in:
Kieran Bingham
2019-02-13 15:58:06 +00:00
parent 03fcc154eb
commit 819eb422b3
2 changed files with 45 additions and 1 deletions
+1
View File
@@ -100,6 +100,7 @@ public:
int setFormat(V4L2DeviceFormat *format);
int exportBuffers(BufferPool *pool);
int importBuffers(BufferPool *pool);
int releaseBuffers();
int queueBuffer(Buffer *buffer);