Macros | |
#define | FWD |
#define | PDF417_COLS |
#define | PDF417_ROWS |
#define | PDF417_START |
#define | PDF417_STOP |
#define | REV |
Typedefs | |
typedef enum code128_char_e | code128_char_t |
Enumerations | |
enum | code128_char_e { FNC3, FNC2, SHIFT, CODE_C, CODE_B, CODE_A, FNC1, START_A, START_B, START_C, STOP, FNC3, FNC2, SHIFT, CODE_C, CODE_B, CODE_A, FNC1, START_A, START_B, START_C, STOP_FWD, STOP_REV, FNC4 } |
Functions | |
static void | calc_ean_parity (unsigned char *data, int n) |
static int | calc_ind417 (int mod, int r, int cols) |
static void | encode (uint64_t units, int fwd) |
static void | encode_char39 (unsigned char c, unsigned ics) |
static void | encode_code128b (unsigned char *data) |
static void | encode_code128c (unsigned char *data) |
static void | encode_code39 (unsigned char *data) |
static void | encode_ean13 (unsigned char *data) |
static void | encode_ean8 (unsigned char *data) |
static void | encode_i25 (unsigned char *data, int dir) |
static void | encode_junk (int n) |
static void | encode_pdf417 (unsigned char *data) |
static void | encode_row417 (int r, const unsigned *cws, int cols, int dir) |
int | main (int argc, char **argv) |
static void | symbol_handler (zbar_decoder_t *decoder) |
Variables | |
static const unsigned int | code128 [107] |
static const unsigned int | code39 [91-32] |
zbar_decoder_t * | decoder |
static const unsigned int | ean_digits [10] |
static const unsigned int | ean_guard [] |
static const unsigned char | ean_parity_encode [] |
static const unsigned char | i25 [10] |
static const unsigned | pdf417_msg [3][3] |
#define FWD |
Referenced by encode_ean13(), encode_ean8(), and main().
#define PDF417_COLS |
Referenced by encode_pdf417().
#define PDF417_ROWS |
Referenced by calc_ind417(), and encode_pdf417().
#define PDF417_START |
Referenced by encode_row417().
#define PDF417_STOP |
Referenced by encode_row417().
#define REV |
Referenced by encode_char39(), encode_ean13(), encode_ean8(), and main().
typedef enum code128_char_e code128_char_t |
enum code128_char_e |
|
static |
|
static |
|
static |
References decoder, and zbar_decode_width().
Referenced by encode_char39(), encode_code128b(), encode_code128c(), encode_code39(), encode_ean13(), encode_ean8(), encode_i25(), encode_pdf417(), and encode_row417().
|
static |
References code39, encode(), scan_image::raw, and REV.
Referenced by encode_code39().
|
static |
|
static |
|
static |
References encode(), and encode_char39().
Referenced by main().
|
static |
References ean_digits, ean_guard, ean_parity_encode, encode(), FWD, and REV.
Referenced by main().
|
static |
|
static |
|
static |
References decoder, and zbar_decode_width().
Referenced by main().
|
static |
References encode(), encode_row417(), PDF417_COLS, pdf417_msg, and PDF417_ROWS.
Referenced by main().
|
static |
References calc_ind417(), encode(), pdf417_encode, PDF417_START, and PDF417_STOP.
Referenced by encode_pdf417().
int main | ( | int | argc, |
char ** | argv | ||
) |
References calc_ean_parity(), test_zbar::data, decoder, encode_code128b(), encode_code128c(), encode_code39(), encode_ean13(), encode_ean8(), encode_i25(), encode_junk(), encode_pdf417(), FWD, REV, symbol_handler(), zbar::ZBAR_CFG_MIN_LEN, zbar_decoder_create(), zbar_decoder_destroy(), zbar_decoder_set_config(), and zbar_decoder_set_handler().
|
static |
References zbar_decoder_get_data(), zbar_decoder_get_type(), zbar_get_addon_name(), zbar_get_symbol_name(), and zbar::ZBAR_PARTIAL.
Referenced by main().
|
static |
Referenced by encode_code128b(), and encode_code128c().
|
static |
Referenced by encode_char39().
zbar_decoder_t* decoder |
Referenced by encode(), encode_junk(), and main().
|
static |
Referenced by encode_ean13(), and encode_ean8().
|
static |
Referenced by encode_ean13(), and encode_ean8().
|
static |
Referenced by encode_ean13().
|
static |
Referenced by encode_i25().
|
static |
Referenced by encode_pdf417().