ZBar Bar Code Reader Library  version 0.10
code39.c File Reference
Include dependency graph for code39.c:

Classes

struct  char39_s
 

Macros

#define NUM_CHARS
 

Typedefs

typedef struct char39_s char39_t
 

Functions

zbar_symbol_type_t _zbar_decode_code39 (zbar_decoder_t *dcode)
 
static unsigned char code39_decode1 (unsigned char enc, unsigned e, unsigned s)
 
static signed char code39_decode9 (zbar_decoder_t *dcode)
 
static signed char code39_decode_start (zbar_decoder_t *dcode)
 
static void code39_postprocess (zbar_decoder_t *dcode)
 

Variables

static const unsigned char code39_characters [(0x2c)]
 
static const char39_t code39_encodings [(0x2c)]
 
static const unsigned char code39_hi [32]
 

Macro Definition Documentation

#define NUM_CHARS

Typedef Documentation

typedef struct char39_s char39_t

Function Documentation

static unsigned char code39_decode1 ( unsigned char  enc,
unsigned  e,
unsigned  s 
)
inlinestatic

References decode_e(), and dprintf.

Referenced by code39_decode9().

Here is the call graph for this function:

Here is the caller graph for this function:

static signed char code39_decode9 ( zbar_decoder_t *  dcode)
inlinestatic

References char39_s::chk, code39_decode1(), code39_hi, code39_decoder_s::direction, dprintf, char39_s::fwd, get_width(), idx, char39_s::rev, code39_decoder_s::s9, code39_decoder_s::width, and zassert.

Referenced by _zbar_decode_code39(), and code39_decode_start().

Here is the call graph for this function:

Here is the caller graph for this function:

static signed char code39_decode_start ( zbar_decoder_t *  dcode)
inlinestatic

References code39_decoder_s::character, code39_decode9(), code39_decoder_s::direction, dprintf, code39_decoder_s::element, get_width(), quiet, zbar::ZBAR_NONE, and zbar::ZBAR_PARTIAL.

Referenced by _zbar_decode_code39().

Here is the call graph for this function:

Here is the caller graph for this function:

static void code39_postprocess ( zbar_decoder_t *  dcode)
inlinestatic

References code39_decoder_s::character, code39_characters, code39_decoder_s::direction, and dprintf.

Referenced by _zbar_decode_code39().

Here is the caller graph for this function:

Variable Documentation

const unsigned char code39_characters[(0x2c)]
static

Referenced by code39_postprocess().

const char39_t code39_encodings[(0x2c)]
static
const unsigned char code39_hi[32]
static

Referenced by code39_decode9().