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] |
|
static |
References bch15_5_calc_omega(), gf16_exp, gf16_hmul(), and gf16_log.
Referenced by bch15_5_correct().
|
static |
References gf16_div(), and gf16_mul().
Referenced by bch15_5_calc_epos().
|
static |
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().
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().
|
static |
References gf16_exp, and gf16_log.
Referenced by bch15_5_calc_omega().
|
static |
References gf16_exp, and gf16_log.
Referenced by bch15_5_calc_epos().
|
static |
References gf16_exp, and gf16_log.
Referenced by bch15_5_calc_omega().
|
static |
Referenced by bch15_5_calc_epos(), bch15_5_calc_syndrome(), gf16_div(), gf16_hmul(), and gf16_mul().
|
static |
Referenced by bch15_5_calc_epos(), gf16_div(), gf16_hmul(), and gf16_mul().