volatile bool thread_running
struct video_listener * cv_add_to_device(struct video_config_t *device, cv_function func, uint16_t fps)
void cv_run_device(struct video_config_t *device, struct image_t *img)
volatile int thread_priority
bool add_video_device(struct video_config_t *device)
Keep track of video devices added by modules.
pthread_cond_t img_available
struct video_listener * cv_add_to_device_async(struct video_config_t *device, cv_function func, int nice_level, uint16_t fps)
struct image_t *(* cv_function)(struct image_t *img)
volatile bool img_processed
pthread_mutex_t img_mutex
struct video_listener * next