ZBar Bar Code Reader Library  version 0.10
ean.h File Reference

Classes

struct  ean_decoder_s
 
struct  ean_pass_s
 

Macros

#define STATE_ADDON
 
#define STATE_IDX
 

Typedefs

typedef struct ean_decoder_s ean_decoder_t
 
typedef struct ean_pass_s ean_pass_t
 

Functions

zbar_symbol_type_t _zbar_decode_ean (zbar_decoder_t *dcode)
 
static unsigned ean_get_config (ean_decoder_t *ean, zbar_symbol_type_t sym)
 
static void ean_new_scan (ean_decoder_t *ean)
 
static void ean_reset (ean_decoder_t *ean)
 

Macro Definition Documentation

#define STATE_ADDON

Referenced by aux_start().

#define STATE_IDX

Referenced by decode_pass().

Typedef Documentation

typedef struct ean_decoder_s ean_decoder_t
typedef struct ean_pass_s ean_pass_t

Function Documentation

zbar_symbol_type_t _zbar_decode_ean ( zbar_decoder_t *  dcode)

References decode_pass(), dprintf, get_lock(), get_width(), integrate_partial(), postprocess(), ean_pass_s::state, zbar::ZBAR_EAN13, zbar::ZBAR_NONE, and zbar::ZBAR_PARTIAL.

Referenced by ean_get_config(), and zbar_decode_width().

Here is the call graph for this function:

Here is the caller graph for this function:

static unsigned ean_get_config ( ean_decoder_t ean,
zbar_symbol_type_t  sym 
)
inlinestatic
static void ean_new_scan ( ean_decoder_t ean)
inlinestatic

References ean_decoder_s::pass, ean_decoder_s::s4, and ean_pass_s::state.

Referenced by ean_reset(), and zbar_decoder_new_scan().

Here is the caller graph for this function:

static void ean_reset ( ean_decoder_t ean)
inlinestatic

References ean_decoder_s::addon, ean_new_scan(), ean_decoder_s::left, ean_decoder_s::right, and zbar::ZBAR_NONE.

Referenced by zbar_decoder_reset().

Here is the call graph for this function:

Here is the caller graph for this function: