Encoder header.
More...
Go to the source code of this file.
|
|
#define | FP0_CORE_COLOR 1 |
| | Finder pattern core color index in default palette.
|
| |
|
#define | FP1_CORE_COLOR 2 |
| |
|
#define | FP2_CORE_COLOR 5 |
| |
|
#define | FP3_CORE_COLOR 6 |
| |
|
#define | AP0_CORE_COLOR 0 |
| | Alignment pattern core color index in default palette.
|
| |
|
#define | AP1_CORE_COLOR 0 |
| |
|
#define | AP2_CORE_COLOR 0 |
| |
|
#define | AP3_CORE_COLOR 0 |
| |
|
#define | APX_CORE_COLOR 7 |
| |
|
#define | FP0 0 |
| | Finder pattern types.
|
| |
|
#define | FP1 1 |
| |
|
#define | FP2 2 |
| |
|
#define | FP3 3 |
| |
|
#define | AP0 0 |
| | Alignment pattern types.
|
| |
|
#define | AP1 1 |
| |
|
#define | AP2 2 |
| |
|
#define | AP3 3 |
| |
|
#define | APX 4 |
| |
Encoder 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@s.nosp@m.it.f.nosp@m.raunh.nosp@m.ofer.nosp@m..de Waldemar Berchtold walde.nosp@m.mar..nosp@m.berch.nosp@m.told.nosp@m.@sit..nosp@m.frau.nosp@m.nhofe.nosp@m.r.de
| 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.
- Parameters
-
| 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 |
In-place interleaving.
- Parameters
-
| data | the input data to be interleaved |
Mask modules.
- Parameters
-
| enc | the encode parameters |
| cp | the code parameters |
- Returns
- the mask pattern reference | -1 if fails
| void maskSymbols |
( |
jab_encode * |
enc, |
|
|
jab_int32 |
mask_type, |
|
|
jab_int32 * |
masked, |
|
|
jab_code * |
cp |
|
) |
| |
Mask the data modules in symbols.
- Parameters
-
| enc | the encode parameters |
| mask_type | the mask pattern reference |
| masked | the masked symbol matrix |
| cp | the code parameters |