30 #ifndef VIDEO_THREAD_H
31 #define VIDEO_THREAD_H
void video_thread_take_shot(bool_t take)
Take a shot and save it This will only work when the streaming is enabled.
void video_thread_periodic(void)
A dummy for now.
volatile bool_t is_running
When the device is running.
uint16_t shot_number
The last shot number.
struct video_thread_t video_thread
Dummy C implementation for simulation The V4L2 could also work in simulation, but must be adapted a b...
void video_thread_init(void)
Initialize the view video.
volatile bool_t take_shot
Wether to take an image.
uint8_t fps
The amount of frames per second.
struct v4l2_device * dev
The V4L2 device that is used for the video stream.
void video_thread_stop(void)
Stops the streaming This could take some time, because the thread is stopped asynchronous.
void video_thread_start(void)
Start with streaming.