Classes | |
struct | video_state_s |
Macros | |
#define | BIH_FIELDS(bih) |
#define | BIH_FMT |
#define | MAX_DRIVERS |
#define | MAX_NAME |
#define | VFW_NUM_FORMATS |
Functions | |
int | _zbar_video_open (zbar_video_t *vdo, const char *dev) |
static ZTHREAD | vfw_capture_thread (void *arg) |
static int | vfw_cleanup (zbar_video_t *vdo) |
static zbar_image_t * | vfw_dq (zbar_video_t *vdo) |
static LRESULT CALLBACK | vfw_error_cb (HWND hwnd, int errid, const char *errmsg) |
static int | vfw_init (zbar_video_t *vdo, uint32_t fmt) |
static int | vfw_nq (zbar_video_t *vdo, zbar_image_t *img) |
static int | vfw_probe (zbar_video_t *vdo) |
static int | vfw_probe_format (zbar_video_t *vdo, uint32_t fmt) |
static int | vfw_set_format (zbar_video_t *vdo, uint32_t fmt) |
static int | vfw_start (zbar_video_t *vdo) |
static int | vfw_stop (zbar_video_t *vdo) |
static LRESULT CALLBACK | vfw_stream_cb (HWND hwnd, VIDEOHDR *hdr) |
Variables | |
static const uint32_t | vfw_formats [] |
#define BIH_FIELDS | ( | bih | ) |
Referenced by vfw_probe(), vfw_probe_format(), and vfw_set_format().
#define BIH_FMT |
Referenced by vfw_probe(), vfw_probe_format(), and vfw_set_format().
#define MAX_DRIVERS |
Referenced by _zbar_video_open().
#define MAX_NAME |
Referenced by _zbar_video_open().
#define VFW_NUM_FORMATS |
Referenced by vfw_probe().
int _zbar_video_open | ( | zbar_video_t * | vdo, |
const char * | dev | ||
) |
References __func__, _zbar_thread_self, _zbar_thread_start(), _zbar_thread_stop(), video_state_s::captured, err_capture_str(), video_state_s::hwnd, MAX_DRIVERS, MAX_NAME, name, null_error(), SEV_ERROR, video_state_s::thread, vfw_capture_thread(), vfw_probe(), zbar::ZBAR_ERR_INVALID, and zprintf.
Referenced by video_dq_image().
|
static |
References _zbar_event_trigger(), _zbar_mutex_lock, _zbar_mutex_unlock, _zbar_thread_self, zbar_thread_s::activity, video_state_s::hwnd, zbar_thread_s::notify, zbar_thread_s::running, zbar_thread_s::started, video_state_s::thread, and zprintf.
Referenced by _zbar_video_open().
|
static |
References _zbar_thread_stop(), video_state_s::captured, video_state_s::hwnd, and video_state_s::thread.
Referenced by vfw_probe().
|
static |
References _zbar_mutex_lock, _zbar_mutex_unlock, and video_unlock().
Referenced by vfw_probe().
|
static |
References _zbar_mutex_lock, _zbar_mutex_unlock, and zprintf.
Referenced by vfw_init().
|
static |
References __func__, err_capture(), video_state_s::hwnd, SEV_ERROR, SEV_WARNING, vfw_error_cb(), vfw_set_format(), vfw_stream_cb(), VIDEO_MMAP, zbar::ZBAR_ERR_BUSY, zbar::ZBAR_ERR_WINAPI, and zprintf.
Referenced by vfw_probe().
|
static |
References video_nq_image().
Referenced by vfw_probe().
|
static |
References __func__, video_state_s::bi_size, video_state_s::bih, BIH_FIELDS, BIH_FMT, err_capture(), video_state_s::hwnd, SEV_ERROR, vfw_cleanup(), vfw_dq(), vfw_formats, vfw_init(), vfw_nq(), VFW_NUM_FORMATS, vfw_probe_format(), vfw_start(), vfw_stop(), VIDEO_VFW, zbar::ZBAR_ERR_INVALID, and zprintf.
Referenced by _zbar_video_open().
|
static |
References _zbar_format_lookup(), video_state_s::bih, BIH_FIELDS, BIH_FMT, zbar_format_def_s::group, zbar_format_def_s::p, zbar_format_def_s::rgb, zbar_format_def_s::yuv, ZBAR_FMT_GRAY, ZBAR_FMT_RGB_PACKED, ZBAR_FMT_YUV_NV, ZBAR_FMT_YUV_PACKED, ZBAR_FMT_YUV_PLANAR, and zprintf.
Referenced by vfw_probe().
|
static |
References __func__, _zbar_format_lookup(), video_state_s::bih, BIH_FIELDS, BIH_FMT, err_capture(), err_capture_int(), zbar_format_def_s::format, zbar_format_def_s::group, zbar_format_def_s::p, zbar_format_def_s::rgb, SEV_ERROR, zbar_format_def_s::yuv, zbar::ZBAR_ERR_INVALID, ZBAR_FMT_GRAY, ZBAR_FMT_RGB_PACKED, ZBAR_FMT_YUV_NV, ZBAR_FMT_YUV_PACKED, ZBAR_FMT_YUV_PLANAR, and zprintf.
Referenced by vfw_init().
|
static |
References __func__, err_capture(), SEV_ERROR, and zbar::ZBAR_ERR_INVALID.
Referenced by vfw_probe().
|
static |
References __func__, _zbar_mutex_lock, _zbar_mutex_unlock, video_state_s::captured, err_capture(), video_state_s::hwnd, video_state_s::image, SEV_ERROR, and zbar::ZBAR_ERR_INVALID.
Referenced by vfw_probe().
|
static |
References _zbar_mutex_lock, _zbar_mutex_unlock, and video_dq_image().
Referenced by vfw_init().
|
static |
Referenced by vfw_probe().