diff options
author | Paul Elder <paul.elder@ideasonboard.com> | 2022-11-23 07:33:01 +0000 |
---|---|---|
committer | Daniel Scally <dan.scally@ideasonboard.com> | 2022-12-06 14:42:12 +0000 |
commit | becfda202621418f2304649249d4437481b691c1 (patch) | |
tree | 2196fccbcb9390763803dee88c5f9fa1454ccb12 /include/uvcgadget/slideshow-source.h | |
parent | 434ad5255f28a0a2fe847e8504d18aa5ef10b2c9 (diff) |
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 <kieran.bingham@ideasonboard.com>
Signed-off-by: Daniel Scally <dan.scally@ideasonboard.com>
Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
Diffstat (limited to 'include/uvcgadget/slideshow-source.h')
-rw-r--r-- | include/uvcgadget/slideshow-source.h | 20 |
1 files changed, 20 insertions, 0 deletions
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 <paul.elder@ideasonboard.com> + */ +#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__ */ |