From becfda202621418f2304649249d4437481b691c1 Mon Sep 17 00:00:00 2001 From: Paul Elder Date: Wed, 23 Nov 2022 07:33:01 +0000 Subject: slideshow-source: add slideshow source class The slideshow_source class is an implementation of the video_source class that streams a set of images as video. Reviewed-by: Kieran Bingham Signed-off-by: Daniel Scally Signed-off-by: Paul Elder --- include/uvcgadget/slideshow-source.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 include/uvcgadget/slideshow-source.h (limited to 'include') diff --git a/include/uvcgadget/slideshow-source.h b/include/uvcgadget/slideshow-source.h new file mode 100644 index 0000000..9b1d9f9 --- /dev/null +++ b/include/uvcgadget/slideshow-source.h @@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ +/* + * Slideshow video source + * + * Copyright (C) 2018 Paul Elder + * + * Contact: Paul Elder + */ +#ifndef __SLIDESHOW_VIDEO_SOURCE_H__ +#define __SLIDESHOW_VIDEO_SOURCE_H__ + +#include "video-source.h" + +struct events; +struct video_source; + +struct video_source *slideshow_video_source_create(const char *img_dir); +void slideshow_video_source_init(struct video_source *src, struct events *events); + +#endif /* __SLIDESHOW_VIDEO_SOURCE_H__ */ -- cgit v1.2.3