From 3a4e214882b362dc6dccd28d0862a258af75cf33 Mon Sep 17 00:00:00 2001 From: Daniel Scally Date: Tue, 10 Jan 2023 12:06:21 +0000 Subject: lib/stream: Add and handle new VIDEO_SOURCE_ENCODED type Add functions to handle a new entry into video_source_type, representing data with an encoding step between the source and sink. When running through this route, buffers are allocated and mmaped on both the source and the sink, then imported to the source to be filled before being queued to the sink. Reviewed-by: Kieran Bingham Signed-off-by: Daniel Scally --- include/uvcgadget/video-source.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include') diff --git a/include/uvcgadget/video-source.h b/include/uvcgadget/video-source.h index 61aeaf7..3497c49 100644 --- a/include/uvcgadget/video-source.h +++ b/include/uvcgadget/video-source.h @@ -44,6 +44,7 @@ typedef void(*video_source_buffer_handler_t)(void *, struct video_source *, enum video_source_type { VIDEO_SOURCE_DMABUF, VIDEO_SOURCE_STATIC, + VIDEO_SOURCE_ENCODED, }; struct video_source { -- cgit v1.2.3