volatile bool thread_running
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)
struct video_listener * cv_add_to_device(struct video_config_t *device, cv_function func)
pthread_cond_t img_available
struct video_listener * cv_add_to_device_async(struct video_config_t *device, cv_function func, int nice_level)
struct image_t *(* cv_function)(struct image_t *img)
volatile bool img_processed
pthread_mutex_t img_mutex
struct video_listener * next