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

Functions

static int bch15_5_calc_epos (unsigned _epos[3], unsigned _s[3])
 
static int bch15_5_calc_omega (unsigned _o[3], unsigned _s[3])
 
static int bch15_5_calc_syndrome (unsigned _s[3], unsigned _y)
 
int bch15_5_correct (unsigned *_y)
 
unsigned bch15_5_encode (unsigned _x)
 
static unsigned gf16_div (unsigned _a, unsigned _b)
 
static unsigned gf16_hmul (unsigned _a, unsigned _logb)
 
static unsigned gf16_mul (unsigned _a, unsigned _b)
 

Variables

static const unsigned char gf16_exp [31]
 
static const signed char gf16_log [16]
 

Function Documentation

static int bch15_5_calc_epos ( unsigned  _epos[3],
unsigned  _s[3] 
)
static

References bch15_5_calc_omega(), gf16_exp, gf16_hmul(), and gf16_log.

Referenced by bch15_5_correct().

Here is the call graph for this function:

Here is the caller graph for this function:

static int bch15_5_calc_omega ( unsigned  _o[3],
unsigned  _s[3] 
)
static

References gf16_div(), and gf16_mul().

Referenced by bch15_5_calc_epos().

Here is the call graph for this function:

Here is the caller graph for this function:

static int bch15_5_calc_syndrome ( unsigned  _s[3],
unsigned  _y 
)
static

References gf16_exp.

Referenced by bch15_5_correct().

Here is the caller graph for this function:

int bch15_5_correct ( unsigned *  _y)

References bch15_5_calc_epos(), bch15_5_calc_syndrome(), bch15_5_encode(), and y.

Referenced by bch15_5_encode(), and qr_finder_fmt_info_decode().

Here is the call graph for this function:

Here is the caller graph for this function:

unsigned bch15_5_encode ( unsigned  _x)

References bch15_5_correct(), bch15_5_encode(), main(), and y.

Referenced by bch15_5_correct(), and bch15_5_encode().

Here is the call graph for this function:

Here is the caller graph for this function:

static unsigned gf16_div ( unsigned  _a,
unsigned  _b 
)
static

References gf16_exp, and gf16_log.

Referenced by bch15_5_calc_omega().

Here is the caller graph for this function:

static unsigned gf16_hmul ( unsigned  _a,
unsigned  _logb 
)
static

References gf16_exp, and gf16_log.

Referenced by bch15_5_calc_epos().

Here is the caller graph for this function:

static unsigned gf16_mul ( unsigned  _a,
unsigned  _b 
)
static

References gf16_exp, and gf16_log.

Referenced by bch15_5_calc_omega().

Here is the caller graph for this function:

Variable Documentation

const unsigned char gf16_exp[31]
static
const signed char gf16_log[16]
static