Functions | |
const char * | _zbar_decoder_buf_dump (unsigned char *buf, unsigned int buflen) |
static int | decoder_set_config_bool (zbar_decoder_t *dcode, zbar_symbol_type_t sym, zbar_config_t cfg, int val) |
static int | decoder_set_config_int (zbar_decoder_t *dcode, zbar_symbol_type_t sym, zbar_config_t cfg, int val) |
zbar_symbol_type_t | zbar_decode_width (zbar_decoder_t *dcode, unsigned w) |
zbar_decoder_t * | zbar_decoder_create () |
constructor. More... | |
void | zbar_decoder_destroy (zbar_decoder_t *dcode) |
zbar_color_t | zbar_decoder_get_color (const zbar_decoder_t *dcode) |
const char * | zbar_decoder_get_data (const zbar_decoder_t *dcode) |
unsigned int | zbar_decoder_get_data_length (const zbar_decoder_t *dcode) |
zbar_symbol_type_t | zbar_decoder_get_type (const zbar_decoder_t *dcode) |
void * | zbar_decoder_get_userdata (const zbar_decoder_t *dcode) |
void | zbar_decoder_new_scan (zbar_decoder_t *dcode) |
void | zbar_decoder_reset (zbar_decoder_t *dcode) |
int | zbar_decoder_set_config (zbar_decoder_t *dcode, zbar_symbol_type_t sym, zbar_config_t cfg, int val) |
zbar_decoder_handler_t * | zbar_decoder_set_handler (zbar_decoder_t *dcode, zbar_decoder_handler_t handler) |
void | zbar_decoder_set_userdata (zbar_decoder_t *dcode, void *userdata) |
Variables | |
static char * | decoder_dump |
static unsigned | decoder_dumplen |
const char* _zbar_decoder_buf_dump | ( | unsigned char * | buf, |
unsigned int | buflen | ||
) |
References decoder_dump, and decoder_dumplen.
Referenced by _zbar_decode_code128(), _zbar_decode_pdf417(), ean_verify_checksum(), isbn10_calc_checksum(), pdf417_decode8(), postprocess(), postprocess_c(), size_buf(), and validate_checksum().
|
inlinestatic |
References TEST_CFG, zbar::ZBAR_CFG_ENABLE, zbar::ZBAR_CFG_NUM, zbar::ZBAR_CODE128, zbar::ZBAR_CODE39, zbar::ZBAR_EAN13, zbar::ZBAR_EAN8, zbar::ZBAR_I25, zbar::ZBAR_ISBN10, zbar::ZBAR_ISBN13, zbar::ZBAR_PDF417, zbar::ZBAR_QRCODE, zbar::ZBAR_UPCA, and zbar::ZBAR_UPCE.
Referenced by zbar_decoder_set_config().
|
inlinestatic |
References CFG, zbar::ZBAR_CODE128, zbar::ZBAR_CODE39, zbar::ZBAR_I25, and zbar::ZBAR_PDF417.
Referenced by zbar_decoder_set_config().
zbar_symbol_type_t zbar_decode_width | ( | zbar_decoder_t * | dcode, |
unsigned | w | ||
) |
References _zbar_decode_code128(), _zbar_decode_code39(), _zbar_decode_ean(), _zbar_decode_i25(), _zbar_decode_pdf417(), _zbar_find_qr(), DECODE_WINDOW, dprintf, TEST_CFG, zbar::ZBAR_CFG_ENABLE, zbar::ZBAR_NONE, and zbar::ZBAR_PARTIAL.
Referenced by decoder_decode_width(), encode(), encode_junk(), process_edge(), and zbar_scanner_flush().
zbar_decoder_t* zbar_decoder_create | ( | void | ) |
constructor.
References BUFFER_MIN, CFG, zbar::ZBAR_CFG_EMIT_CHECK, zbar::ZBAR_CFG_ENABLE, zbar::ZBAR_CFG_MIN_LEN, and zbar_decoder_reset().
Referenced by zbar::Decoder::Decoder(), decoder_new(), main(), and zbar_image_scanner_create().
void zbar_decoder_destroy | ( | zbar_decoder_t * | dcode | ) |
Referenced by decoder_dealloc(), main(), and zbar_image_scanner_destroy().
zbar_color_t zbar_decoder_get_color | ( | const zbar_decoder_t * | dcode | ) |
References get_color().
Referenced by decoder_get_color().
const char* zbar_decoder_get_data | ( | const zbar_decoder_t * | dcode | ) |
unsigned int zbar_decoder_get_data_length | ( | const zbar_decoder_t * | dcode | ) |
zbar_symbol_type_t zbar_decoder_get_type | ( | const zbar_decoder_t * | dcode | ) |
void* zbar_decoder_get_userdata | ( | const zbar_decoder_t * | dcode | ) |
void zbar_decoder_new_scan | ( | zbar_decoder_t * | dcode | ) |
References code128_reset(), code39_reset(), ean_new_scan(), i25_reset(), pdf417_reset(), and qr_finder_reset().
Referenced by decoder_new_scan(), and zbar_scanner_new_scan().
void zbar_decoder_reset | ( | zbar_decoder_t * | dcode | ) |
References code128_reset(), code39_reset(), ean_reset(), i25_reset(), pdf417_reset(), and qr_finder_reset().
Referenced by decoder_reset(), zbar_decoder_create(), and zbar_scanner_reset().
int zbar_decoder_set_config | ( | zbar_decoder_t * | dcode, |
zbar_symbol_type_t | sym, | ||
zbar_config_t | cfg, | ||
int | val | ||
) |
References decoder_set_config_bool(), decoder_set_config_int(), zbar::ZBAR_CFG_MAX_LEN, zbar::ZBAR_CFG_MIN_LEN, zbar::ZBAR_CFG_NUM, zbar::ZBAR_CODE128, zbar::ZBAR_CODE39, zbar::ZBAR_EAN13, zbar::ZBAR_EAN8, zbar::ZBAR_I25, zbar::ZBAR_ISBN10, zbar::ZBAR_ISBN13, zbar::ZBAR_NONE, zbar::ZBAR_PDF417, zbar::ZBAR_QRCODE, zbar::ZBAR_UPCA, and zbar::ZBAR_UPCE.
Referenced by decoder_set_config(), main(), and zbar_image_scanner_set_config().
zbar_decoder_handler_t* zbar_decoder_set_handler | ( | zbar_decoder_t * | dcode, |
zbar_decoder_handler_t | handler | ||
) |
References result.
Referenced by decoder_clear(), decoder_set_handler(), main(), and zbar_image_scanner_create().
References userdata.
Referenced by decoder_clear(), decoder_new(), and zbar_image_scanner_create().
|
static |
Referenced by _zbar_decoder_buf_dump().
|
static |
Referenced by _zbar_decoder_buf_dump().