zint/backend
gitlost fab7435fac Performance improvements for linear encoding and raster output
- use fixed-length string tables (mostly) instead of (char *) pointer ones
   (saves ~40K)
 - re-use C128Table for CODABLOCKF and CODE16K
   (required removal of Stop character and extra CODE16K-only entry)
 - use pointer to destination and copy (memcpy/strcpy(), bin_append_posn())
   instead of concatenating (strcat()) (mostly)
 - replace last remaining bin_append()s with bin_append_posn();
   bin_append() removed
 - add length arg to toupper() and expand() (avoids strlen())
 - change is_sane() to use table-based flags (avoids an iteration)
 - rename lookup() to is_sane_lookup() and change to check and return posns
   and use in pointer to destination loops (avoids strcat()s)
 - remove special case PHARMA in expand() (dealt with in pharma())
 - make #define SILVER/CALCIUM/TECHNETIUM/KRSET etc static strings
 - replace strchr() -> posn()
 - CODE128: populate destination once in checksum loop; re-use and export
   some more routines (c128_set_a/b/c(), c128_put_in_set()) for sharing;
   prefix defines (SHIFTA -> C128_SHIFTA etc) and existing exported routines
 - use factor XOR toggle trick in checksum calcs (avoids branch)
 - raster.c: fill out single 1-pixel row and copy using new draw_bar_line(),
   copy_bar_line() routines; similarly in buffer_plot compare previous line &
   copy if same (same technique as used to improve non-half-integer scaling,
   significant performance increase, (c) codemonkey82);
   also done for PNG (BMP/GIF/PCX/TIFF not done)
 - raster/vector/output.c: shorten "output_" prefix -> "out_";
   sync vector to other raster changes to try to keep source files similar
 - 2of5.c: prefix "c25_"
JAPANPOST: return error if input data truncated (backward incompatible)
DAFT: max chars 50 -> 100
common.c: istwodigit() -> is_twodigit()
common.c/emf.c/output.c: use some further stripf()s (MSVC6 float variations)
library.c: new check_output_args() helper
zint.h: add BARCODE_LAST marker and use in library.c
QRCODE: remove a NOLINT (requires clang-tidy-13), one remaining
CMake: separate no-optimize from ZINT_DEBUG into new ZINT_NOOPT option
2021-10-20 23:05:30 +01:00
..
fonts raster: fix text not scaling for half_int_scaling; UPCEAN font 2020-09-13 13:37:15 +01:00
tests Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
tools Update gen_gs1_lint.php re new Digital Link dlpkey in gs1-format-spec.txt 2021-03-15 15:27:20 +00:00
2of5.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
auspost.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
aztec.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
aztec.h testcommon: fix sizeof bug; AZTEC/QR: suppress cppcheck warnings (#233) 2021-07-06 12:13:34 +01:00
big5.h eci: Add support for all ECIs (Big5, Korean, UCS-2BE) 2021-01-11 18:11:41 +00:00
bmp.c CMakeLists.txt: cmake min required 3.13 -> 3.5 using CMAKE_REQUIRED_LIBRARIES; add ZINT_COVERAGE option 2021-07-26 15:29:05 +01:00
bmp.h raster.c: need ceilf(large_bar_height * si) to avoid zero height rows; 2021-09-26 23:55:16 +01:00
channel_precalcs.h Add Structured Append support for AZTEC, CODEONE, DATAMATRIX, DOTCODE, 2021-09-28 21:42:44 +01:00
CMakeLists.txt cmake min 3.9 -> 3.13 so LINK_LIBRARIES available in try_compile() 2021-07-19 15:58:44 +01:00
codablock.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
code1.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
code1.h Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
code16k.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
code49.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
code49.h Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
code128.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
code128.h Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
code.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
common.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
common.h Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
composite.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
composite.h PDF417/raster: performance large data; common.h inline, module_colour_is_set(); #209 2020-11-01 18:32:55 +00:00
DEVELOPER Update version to 2.6.1 2017-08-27 09:31:02 +01:00
dllversion.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
dmatrix.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
dmatrix.h AZTEC: fix bit-stuffing; AZTECRUNE: fix >= 128; DATAMATRIX: eod shift -> 0 pad; Qt6 2020-10-26 12:21:43 +00:00
dotcode.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
eci_sb.h eci: Add support for all ECIs (Big5, Korean, UCS-2BE) 2021-01-11 18:11:41 +00:00
eci.c get_best_eci: check UTF-8 before returning 26; move is_valid_utf8 to common 2021-03-21 17:35:52 +00:00
eci.h DATAMATRIX: make EOD encodation strictly ISO 16022 compliant 2021-02-23 00:01:15 +00:00
emf.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
emf.h Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
font.h Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
gb2312.c eci: Add support for all ECIs (Big5, Korean, UCS-2BE) 2021-01-11 18:11:41 +00:00
gb2312.h eci: Add support for all ECIs (Big5, Korean, UCS-2BE) 2021-01-11 18:11:41 +00:00
gb18030.c CMakeLists.txt: cmake min required 3.13 -> 3.5 using CMAKE_REQUIRED_LIBRARIES; add ZINT_COVERAGE option 2021-07-26 15:29:05 +01:00
gb18030.h eci: Add support for all ECIs (Big5, Korean, UCS-2BE) 2021-01-11 18:11:41 +00:00
general_field.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
general_field.h #209 rss.c, composite.c; DBAR_EXP encodation methods; symbol NO_PNG out.gif 2020-12-21 19:30:07 +00:00
gif.c - raster.c: Need ceilf(symbol->height * si) to avoid heap-buffer-overflow; 2021-09-20 14:56:27 +01:00
gridmtx.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
gridmtx.h Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
gs1_lint.h Update gs1_lint.h re initial index in gs1-format-spec.txt 2021-02-22 19:05:24 +00:00
gs1.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
gs1.h C25/DBAR: use new func gs1_check_digit() for common GS1 check digit calc 2021-06-27 11:47:55 +01:00
hanxin.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
hanxin.h Remove spaces before EOL 2017-10-25 17:23:57 +01:00
imail.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
iso3166.h gs1_verify: validate AIs from BWIPP gs1-format-spec.txt 2021-01-18 20:10:52 +00:00
iso4217.h gs1_verify: validate AIs from BWIPP gs1-format-spec.txt 2021-01-18 20:10:52 +00:00
ksx1001.h eci: Add support for all ECIs (Big5, Korean, UCS-2BE) 2021-01-11 18:11:41 +00:00
large.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
large.h #209 large.c fix oversized arrays by 0-filling; const args, casts 2021-02-11 13:51:07 +00:00
library.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
libzint.rc Bump version to 2.10.0.9 (dev) 2021-08-14 16:11:25 +01:00
LICENSE license changed with permission of original copyright holders (see mailing list for details) 2013-05-16 19:26:22 +02:00
mailmark.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
Makefile.mingw raster.c: need ceilf(large_bar_height * si) to avoid zero height rows; 2021-09-26 23:55:16 +01:00
maxicode.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
maxicode.h Make data types for tables consistent across symbologies 2017-08-09 09:13:37 +01:00
medical.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
ms_stdint.h Remove spaces before EOL 2017-10-25 17:23:57 +01:00
output.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
output.h Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
pcx.c CMakeLists.txt: cmake min required 3.13 -> 3.5 using CMAKE_REQUIRED_LIBRARIES; add ZINT_COVERAGE option 2021-07-26 15:29:05 +01:00
pcx.h Remove spaces before EOL 2017-10-25 17:23:57 +01:00
pdf417.c Add compliant height, using ZINT_COMPLIANT_HEIGHT flag for back-compatibility 2021-10-09 00:13:39 +01:00
pdf417.h Add Structured Append support for AZTEC, CODEONE, DATAMATRIX, DOTCODE, 2021-09-28 21:42:44 +01:00
plessey.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
png.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
postal.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
ps.c vector: Add width to struct zint_vector_circle & use for MaxiCode bullseye 2021-08-22 13:59:01 +01:00
qr.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
qr.h CODABLOCKF: prevent cols > 62; fix pTestList buffer overflow 2021-08-10 12:04:25 +01:00
raster.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
reedsol_logs.h Add Structured Append support for AZTEC, CODEONE, DATAMATRIX, DOTCODE, 2021-09-28 21:42:44 +01:00
reedsol.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
reedsol.h malloc/calloc: check for NULL always (11.1.0 gcc -fanalyzer -c backend/*.c) 2021-06-29 15:43:42 +01:00
rss.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
rss.h rss.c: some fixes for separators, allow check digit, refactoring; bwipp_dump.ps 2020-07-10 19:39:32 +01:00
sjis.c raster.c: need ceilf(large_bar_height * si) to avoid zero height rows; 2021-09-26 23:55:16 +01:00
sjis.h eci: Add support for all ECIs (Big5, Korean, UCS-2BE) 2021-01-11 18:11:41 +00:00
stdint_msvc.h Remove spaces before EOL 2017-10-25 17:23:57 +01:00
svg.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
telepen.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
tif_lzw.h raster.c: need ceilf(large_bar_height * si) to avoid zero height rows; 2021-09-26 23:55:16 +01:00
tif.c Suppress some pedantic warnings, props codemonkey82 (#204) 2021-09-12 23:37:44 +01:00
tif.h tif.c: Use palette/bilevel/LZW to reduce file size, alpha/CMYK support 2021-03-19 13:09:21 +00:00
ultra.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
upcean.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
vector.c Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
zfiletypes.h Add GS1PARENS_MODE (input_mode) to allow inputting GS1 AIs in parentheses 2021-05-15 12:23:46 +01:00
zint.h Performance improvements for linear encoding and raster output 2021-10-20 23:05:30 +01:00
zintconfig.h Bump version to 2.10.0.9 (dev) 2021-08-14 16:11:25 +01:00
zintconfig.h.in backend/CMakeLists.txt: output dir for zintconfig.h, props Andre Maute (#238); copyright/guard 2021-07-12 16:57:32 +01:00