diff options
Diffstat (limited to 'include/uvcgadget')
-rw-r--r-- | include/uvcgadget/jpg-source.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/include/uvcgadget/jpg-source.h b/include/uvcgadget/jpg-source.h new file mode 100644 index 0000000..2c0b6ea --- /dev/null +++ b/include/uvcgadget/jpg-source.h @@ -0,0 +1,20 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ +/* + * JPEG still image video source + * + * Copyright (C) 2018 Paul Elder + * + * Contact: Paul Elder <paul.elder@ideasonboard.com> + */ +#ifndef __JPG_VIDEO_SOURCE_H__ +#define __JPG_VIDEO_SOURCE_H__ + +#include "video-source.h" + +struct events; +struct video_source; + +struct video_source *jpg_video_source_create(const char *img_path); +void jpg_video_source_init(struct video_source *src, struct events *events); + +#endif /* __JPG_VIDEO_SOURCE_H__ */ |