ZBar Bar Code Reader Library  version 0.10
decoder.h File Reference
Include dependency graph for decoder.h:

Classes

struct  zbar_decoder_s
 

Macros

#define BUFFER_INCR
 
#define BUFFER_MAX
 
#define BUFFER_MIN
 
#define CFG(dcode, cfg)
 
#define DECODE_WINDOW
 
#define NUM_CFGS
 
#define TEST_CFG(config, cfg)
 

Functions

const char * _zbar_decoder_buf_dump (unsigned char *buf, unsigned int buflen)
 
static unsigned calc_s (const zbar_decoder_t *dcode, unsigned char offset, unsigned char n)
 
static int decode_e (unsigned e, unsigned s, unsigned n)
 
static char get_color (const zbar_decoder_t *dcode)
 
static char get_lock (zbar_decoder_t *dcode, zbar_symbol_type_t req)
 
static unsigned get_width (const zbar_decoder_t *dcode, unsigned char offset)
 
static unsigned pair_width (const zbar_decoder_t *dcode, unsigned char offset)
 
static char size_buf (zbar_decoder_t *dcode, unsigned len)
 

Macro Definition Documentation

#define BUFFER_INCR

Referenced by size_buf().

#define BUFFER_MAX

Referenced by size_buf().

#define DECODE_WINDOW

Referenced by get_width(), and zbar_decode_width().

#define NUM_CFGS
#define TEST_CFG (   config,
  cfg 
)

Function Documentation

const char* _zbar_decoder_buf_dump ( unsigned char *  buf,
unsigned int  buflen 
)
static unsigned calc_s ( const zbar_decoder_t *  dcode,
unsigned char  offset,
unsigned char  n 
)
inlinestatic

References get_width().

Referenced by aux_end().

Here is the call graph for this function:

Here is the caller graph for this function:

static int decode_e ( unsigned  e,
unsigned  s,
unsigned  n 
)
inlinestatic
static char get_lock ( zbar_decoder_t *  dcode,
zbar_symbol_type_t  req 
)
inlinestatic

Referenced by _zbar_decode_code128(), _zbar_decode_code39(), _zbar_decode_ean(), _zbar_decode_i25(), and pdf417_decode_start().

Here is the caller graph for this function:

static unsigned pair_width ( const zbar_decoder_t *  dcode,
unsigned char  offset 
)
inlinestatic

References get_width().

Referenced by _zbar_find_qr().

Here is the call graph for this function:

Here is the caller graph for this function:

static char size_buf ( zbar_decoder_t *  dcode,
unsigned  len 
)
inlinestatic

References _zbar_decoder_buf_dump(), zbar_decoder_s::buf, zbar_decoder_s::buf_alloc, BUFFER_INCR, BUFFER_MAX, zbar_decoder_s::buflen, and len.

Referenced by _zbar_decode_code128(), _zbar_decode_code39(), _zbar_decode_i25(), _zbar_decode_pdf417(), and postprocess_c().

Here is the call graph for this function:

Here is the caller graph for this function: