v4l2: Add helper for exporting with dma-buf
Signed-off-by: Paul Kocialkowski <paul.kocialkowski@bootlin.com>
This commit is contained in:
@@ -46,6 +46,9 @@ int v4l2_queue_buffer(int video_fd, int request_fd, unsigned int type,
|
||||
unsigned int buffers_count);
|
||||
int v4l2_dequeue_buffer(int video_fd, int request_fd, unsigned int type,
|
||||
unsigned int index, unsigned int buffers_count);
|
||||
int v4l2_export_buffer(int video_fd, unsigned int type, unsigned int index,
|
||||
unsigned int flags, int *export_fds,
|
||||
unsigned int export_fds_count);
|
||||
int v4l2_set_control(int video_fd, int request_fd, unsigned int id, void *data,
|
||||
unsigned int size);
|
||||
int v4l2_set_stream(int video_fd, unsigned int type, bool enable);
|
||||
|
||||
Reference in New Issue
Block a user