Functions | |
void | _zbar_event_destroy (zbar_event_t *event) |
int | _zbar_event_init (zbar_event_t *event) |
void | _zbar_event_trigger (zbar_event_t *event) |
int | _zbar_event_wait (zbar_event_t *event, zbar_mutex_t *lock, zbar_timer_t *timeout) |
int | _zbar_processor_cleanup (zbar_processor_t *proc) |
int | _zbar_processor_enable (zbar_processor_t *proc) |
int | _zbar_processor_init (zbar_processor_t *proc) |
int | _zbar_processor_input_wait (zbar_processor_t *proc, zbar_event_t *event, int timeout) |
static void | proc_cache_polling (processor_state_t *state) |
static int | proc_kick_handler (zbar_processor_t *proc, int i) |
static int | proc_poll_inputs (zbar_processor_t *proc, int timeout) |
static int | proc_sleep (int timeout) |
static int | proc_video_handler (zbar_processor_t *proc, int i) |
void _zbar_event_destroy | ( | zbar_event_t * | event | ) |
int _zbar_event_init | ( | zbar_event_t * | event | ) |
void _zbar_event_trigger | ( | zbar_event_t * | event | ) |
References _zbar_event_destroy(), _zbar_event_init(), _zbar_event_wait(), _zbar_mutex_lock, _zbar_mutex_unlock, _zbar_thread_start(), _zbar_thread_stop(), zbar_thread_s::activity, zbar_thread_s::notify, zbar_event_s::pollfd, proc, zbar_thread_s::running, zbar_thread_s::started, zbar_event_s::state, and zbar_thread_s::tid.
int _zbar_event_wait | ( | zbar_event_t * | event, |
zbar_mutex_t * | lock, | ||
zbar_timer_t * | timeout | ||
) |
References _zbar_timer_check(), and proc_sleep().
Referenced by _zbar_event_trigger().
int _zbar_processor_cleanup | ( | zbar_processor_t * | proc | ) |
int _zbar_processor_enable | ( | zbar_processor_t * | proc | ) |
int _zbar_processor_init | ( | zbar_processor_t * | proc | ) |
int _zbar_processor_input_wait | ( | zbar_processor_t * | proc, |
zbar_event_t * | event, | ||
int | timeout | ||
) |
Referenced by _zbar_processor_handle_input(), and proc_wait_unthreaded().
|
inlinestatic |
Referenced by _zbar_processor_init(), and proc_kick_handler().
|
static |
References _zbar_mutex_lock, _zbar_mutex_unlock, processor_state_s::kick_fds, proc_cache_polling(), and zprintf.
Referenced by _zbar_processor_init().
|
inlinestatic |
References processor_state_s::pre_poll_handler, and proc.
Referenced by _zbar_processor_input_wait().
|
inlinestatic |
Referenced by _zbar_event_wait(), and _zbar_processor_input_wait().
|
static |
References _zbar_mutex_lock, _zbar_mutex_unlock, _zbar_process_image(), _zbar_processor_lock(), _zbar_processor_unlock(), zbar_image_destroy(), and zbar_video_next_image().
Referenced by _zbar_processor_enable().