summaryrefslogtreecommitdiffstats
path: root/src/v4l2.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4l2.h')
-rw-r--r--src/v4l2.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/v4l2.h b/src/v4l2.h
index 83523a5..6265ece 100644
--- a/src/v4l2.h
+++ b/src/v4l2.h
@@ -41,6 +41,8 @@ int v4l2_create_buffers(int video_fd, unsigned int type,
int v4l2_query_buffer(int video_fd, unsigned int type, unsigned int index,
unsigned int *lengths, unsigned int *offsets,
unsigned int buffers_count);
+int v4l2_request_buffers(int video_fd, unsigned int type,
+ unsigned int buffers_count);
int v4l2_queue_buffer(int video_fd, int request_fd, unsigned int type,
unsigned int index, unsigned int size,
unsigned int buffers_count);