| jabcode
    | 
Decoder header. More...
Go to the source code of this file.
| Enumerations | |
| enum | jab_encode_mode { None = -1, Upper = 0, Lower, Numeric, Punct, Mixed, Alphanumeric, Byte, ECI, FNC1 } | 
| Encoding mode. | |
| Functions | |
| jab_int32 | decodeMaster (jab_bitmap *matrix, jab_decoded_symbol *symbol) | 
| Decode master symbol.  More... | |
| jab_int32 | decodeSlave (jab_bitmap *matrix, jab_decoded_symbol *symbol) | 
| Decode slave symbol.  More... | |
| jab_data * | decodeData (jab_data *bits) | 
| Interpret decoded bits.  More... | |
| void | deinterleaveData (jab_data *data, jab_float *p) | 
| In-place deinterleaving.  More... | |
| void | getNextMetadataModuleInMaster (jab_int32 matrix_height, jab_int32 matrix_width, jab_int32 next_module_count, jab_int32 *x, jab_int32 *y) | 
| Get the coordinate of the next metadata module in master symbol.  More... | |
| void | demaskSymbol (jab_data *data, jab_byte *data_map, jab_vector2d symbol_size, jab_int32 mask_type, jab_int32 color_number) | 
| Demask modules.  More... | |
| jab_int32 | readColorPaletteInMaster (jab_bitmap *matrix, jab_decoded_symbol *symbol, jab_byte *data_map, jab_int32 *module_count, jab_int32 *x, jab_int32 *y) | 
| Read the color palettes in master symbol.  More... | |
| jab_int32 | readColorPaletteInSlave (jab_bitmap *matrix, jab_decoded_symbol *symbol, jab_byte *data_map) | 
| Read the color palettes in master symbol.  More... | |
Decoder header.
libjabcode - JABCode Encoding/Decoding Library
Copyright 2016 by Fraunhofer SIT. All rights reserved. See LICENSE file for full terms of use and distribution.
Contact: Huajian Liu liu@sit.fraunhofer.de Waldemar Berchtold waldemar.berchtold@sit.fraunhofer.de
Interpret decoded bits.
| bits | the input bits | 
| jab_int32 decodeMaster | ( | jab_bitmap * | matrix, | 
| jab_decoded_symbol * | symbol | ||
| ) | 
Decode master symbol.
| matrix | the symbol matrix | 
| symbol | the master symbol | 
| jab_int32 decodeSlave | ( | jab_bitmap * | matrix, | 
| jab_decoded_symbol * | symbol | ||
| ) | 
Decode slave symbol.
| matrix | the symbol matrix | 
| symbol | the slave symbol | 
| void deinterleaveData | ( | jab_data * | data, | 
| jab_float * | p | ||
| ) | 
In-place deinterleaving.
| data | the first input data to be deinterleaved | 
| p | the second input data to be deinterleaved | 
| void demaskSymbol | ( | jab_data * | data, | 
| jab_byte * | data_map, | ||
| jab_vector2d | symbol_size, | ||
| jab_int32 | mask_type, | ||
| jab_int32 | color_number | ||
| ) | 
Demask modules.
| data | the decoded data module values | 
| data_map | the data module positions | 
| symbol_size | the symbol size in module | 
| mask_type | the mask pattern reference | 
| color_number | the number of module colors | 
| void getNextMetadataModuleInMaster | ( | jab_int32 | matrix_height, | 
| jab_int32 | matrix_width, | ||
| jab_int32 | next_module_count, | ||
| jab_int32 * | x, | ||
| jab_int32 * | y | ||
| ) | 
Get the coordinate of the next metadata module in master symbol.
| matrix_height | the height of the matrix | 
| matrix_width | the width of the matrix | 
| next_module_count | the index number of the next module | 
| x | the x coordinate of the current and the next module | 
| y | the y coordinate of the current and the next module | 
| jab_int32 readColorPaletteInMaster | ( | jab_bitmap * | matrix, | 
| jab_decoded_symbol * | symbol, | ||
| jab_byte * | data_map, | ||
| jab_int32 * | module_count, | ||
| jab_int32 * | x, | ||
| jab_int32 * | y | ||
| ) | 
Read the color palettes in master symbol.
| matrix | the symbol matrix | 
| symbol | the master symbol | 
| data_map | the data module positions | 
| module_count | the start module index | 
| x | the x coordinate of the start module | 
| y | the y coordinate of the start module | 
| jab_int32 readColorPaletteInSlave | ( | jab_bitmap * | matrix, | 
| jab_decoded_symbol * | symbol, | ||
| jab_byte * | data_map | ||
| ) | 
Read the color palettes in master symbol.
| matrix | the symbol matrix | 
| symbol | the slave symbol | 
| data_map | the data module positions |