Macros | |
#define | EXT_STYLE |
#define | WIN_STYLE |
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_close (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) |
int | _zbar_processor_invalidate (zbar_processor_t *proc) |
int | _zbar_processor_open (zbar_processor_t *proc, char *title, unsigned width, unsigned height) |
int | _zbar_processor_set_size (zbar_processor_t *proc, unsigned width, unsigned height) |
int | _zbar_processor_set_visible (zbar_processor_t *proc, int visible) |
int | _zbar_thread_start (zbar_thread_t *thr, zbar_thread_proc_t *proc, void *arg, zbar_mutex_t *lock) |
int | _zbar_thread_stop (zbar_thread_t *thr, zbar_mutex_t *lock) |
static LRESULT CALLBACK | win_handle_event (HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam) |
static int | win_handle_events (zbar_processor_t *proc) |
static ATOM | win_register_class (HINSTANCE hmod) |
#define EXT_STYLE |
Referenced by _zbar_processor_open().
#define WIN_STYLE |
Referenced by _zbar_processor_open().
void _zbar_event_destroy | ( | zbar_event_t * | event | ) |
Referenced by _zbar_thread_start(), _zbar_thread_stop(), and zbar_processor_destroy().
int _zbar_event_init | ( | zbar_event_t * | event | ) |
Referenced by _zbar_thread_start(), and proc_waiter_queue().
void _zbar_event_trigger | ( | zbar_event_t * | event | ) |
int _zbar_event_wait | ( | zbar_event_t * | event, |
zbar_mutex_t * | lock, | ||
zbar_timer_t * | timeout | ||
) |
References _zbar_mutex_lock, _zbar_mutex_unlock, and _zbar_timer_check().
Referenced by _zbar_processor_handle_input(), _zbar_processor_lock(), _zbar_processor_wait(), _zbar_thread_start(), and _zbar_thread_stop().
int _zbar_processor_cleanup | ( | zbar_processor_t * | proc | ) |
References processor_state_s::kick_fds.
int _zbar_processor_close | ( | zbar_processor_t * | proc | ) |
int _zbar_processor_enable | ( | zbar_processor_t * | proc | ) |
int _zbar_processor_init | ( | zbar_processor_t * | proc | ) |
References __func__, err_capture(), processor_state_s::kick_fds, proc_cache_polling(), proc_kick_handler(), SEV_FATAL, and zbar::ZBAR_ERR_SYSTEM.
int _zbar_processor_input_wait | ( | zbar_processor_t * | proc, |
zbar_event_t * | event, | ||
int | timeout | ||
) |
References _zbar_mutex_lock, _zbar_mutex_unlock, processor_state_s::kick_fds, proc_poll_inputs(), proc_sleep(), and win_handle_events().
int _zbar_processor_invalidate | ( | zbar_processor_t * | proc | ) |
int _zbar_processor_open | ( | zbar_processor_t * | proc, |
char * | title, | ||
unsigned | width, | ||
unsigned | height | ||
) |
References __func__, err_capture(), EXT_STYLE, SEV_ERROR, scan_image::width, win_register_class(), WIN_STYLE, and zbar::ZBAR_ERR_WINAPI.
int _zbar_processor_set_size | ( | zbar_processor_t * | proc, |
unsigned | width, | ||
unsigned | height | ||
) |
References scan_image::width.
int _zbar_processor_set_visible | ( | zbar_processor_t * | proc, |
int | visible | ||
) |
int _zbar_thread_start | ( | zbar_thread_t * | thr, |
zbar_thread_proc_t * | proc, | ||
void * | arg, | ||
zbar_mutex_t * | lock | ||
) |
References _zbar_event_destroy(), _zbar_event_init(), _zbar_event_wait(), zbar_thread_s::activity, zbar_thread_s::notify, zbar_thread_s::running, and zbar_thread_s::started.
Referenced by _zbar_event_trigger(), _zbar_video_open(), and zbar_processor_init().
int _zbar_thread_stop | ( | zbar_thread_t * | thr, |
zbar_mutex_t * | lock | ||
) |
References _zbar_event_destroy(), _zbar_event_trigger(), _zbar_event_wait(), zbar_thread_s::activity, zbar_thread_s::notify, zbar_thread_s::running, and zbar_thread_s::started.
Referenced by _zbar_event_trigger(), _zbar_video_open(), vfw_cleanup(), and zbar_processor_init().
|
static |
References _zbar_processor_handle_input(), proc, zbar_window_attach(), zbar_window_redraw(), zbar_window_resize(), and zprintf.
Referenced by win_register_class().
|
inlinestatic |
References __func__, err_capture(), SEV_ERROR, and zbar::ZBAR_ERR_WINAPI.
Referenced by _zbar_processor_input_wait().
|
inlinestatic |
References win_handle_event().
Referenced by _zbar_processor_open().