Macros | |
#define | _qrcode_util_H |
#define | QR_CLAMP255(_x) |
#define | QR_CLAMPI(_a, _b, _c) |
#define | QR_COPYSIGNI(_a, _b) |
#define | QR_DIVROUND(_x, _y) |
#define | QR_EXTMUL(_a, _b, _r) |
#define | QR_FIXMUL(_a, _b, _r, _s) |
#define | QR_FLIPSIGNI(_a, _b) |
#define | QR_ILOG(_v) |
#define | QR_ILOG0(_v) |
#define | QR_ILOG1(_v) |
#define | QR_ILOG2(_v) |
#define | QR_ILOG3(_v) |
#define | QR_ILOG4(_v) |
#define | QR_MAXI(_a, _b) |
#define | QR_MINI(_a, _b) |
#define | QR_SIGNI(_x) |
#define | QR_SIGNMASK(_x) |
#define | QR_SORT2I(_a, _b) |
Functions | |
unsigned | qr_ihypot (int _x, int _y) |
int | qr_ilog (unsigned _val) |
unsigned | qr_isqrt (unsigned _val) |
#define _qrcode_util_H |
#define QR_CLAMP255 | ( | _x | ) |
#define QR_CLAMPI | ( | _a, | |
_b, | |||
_c | |||
) |
Referenced by qr_img_get_bit(), qr_sampling_grid_clear(), and qr_sampling_grid_init().
#define QR_COPYSIGNI | ( | _a, | |
_b | |||
) |
#define QR_DIVROUND | ( | _x, | |
_y | |||
) |
#define QR_EXTMUL | ( | _a, | |
_b, | |||
_r | |||
) |
Referenced by qr_hom_fit(), and qr_hom_init().
#define QR_FIXMUL | ( | _a, | |
_b, | |||
_r, | |||
_s | |||
) |
Referenced by qr_hom_cell_init(), and qr_hom_init().
#define QR_FLIPSIGNI | ( | _a, | |
_b | |||
) |
Referenced by qr_hom_cell_init().
#define QR_ILOG | ( | _v | ) |
#define QR_ILOG0 | ( | _v | ) |
#define QR_ILOG1 | ( | _v | ) |
#define QR_ILOG2 | ( | _v | ) |
#define QR_ILOG3 | ( | _v | ) |
#define QR_ILOG4 | ( | _v | ) |
#define QR_MAXI | ( | _a, | |
_b | |||
) |
#define QR_MINI | ( | _a, | |
_b | |||
) |
Referenced by qr_binarize(), qr_finder_centers_locate(), qr_hom_fit(), qr_line_fit_points(), qr_samples_unpack(), and qr_sampling_grid_init().
#define QR_SIGNI | ( | _x | ) |
#define QR_SIGNMASK | ( | _x | ) |
Referenced by qr_hom_fit().
#define QR_SORT2I | ( | _a, | |
_b | |||
) |
Referenced by qr_sampling_grid_init().
unsigned qr_ihypot | ( | int | _x, |
int | _y | ||
) |
References qr_ilog(), QR_MAXI, x, and y.
Referenced by qr_line_fit().
int qr_ilog | ( | unsigned | _val | ) |
References main(), and qr_isqrt().
Referenced by qr_aff_line_step(), qr_hom_cell_init(), qr_hom_fit(), qr_hom_init(), qr_ihypot(), qr_img_get_bit(), qr_line_fit(), qr_line_fit_points(), and qr_reader_try_configuration().
unsigned qr_isqrt | ( | unsigned | _val | ) |
References g.
Referenced by qr_finder_ransac(), and qr_ilog().