nbis-wrapper-js 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +102 -0
- package/dist/scripts/test-nbis-versions.js +17 -0
- package/dist/src/an2ktool.d.ts +14 -0
- package/dist/src/an2ktool.js +48 -0
- package/dist/src/bozorth3.d.ts +43 -0
- package/dist/src/bozorth3.js +145 -0
- package/dist/src/chkan2k.d.ts +14 -0
- package/dist/src/chkan2k.js +34 -0
- package/dist/src/cjp2k.d.ts +21 -0
- package/dist/src/cjp2k.js +54 -0
- package/dist/src/cjpeg.d.ts +24 -0
- package/dist/src/cjpeg.js +60 -0
- package/dist/src/cjpegb.d.ts +19 -0
- package/dist/src/cjpegb.js +47 -0
- package/dist/src/cjpegl.d.ts +24 -0
- package/dist/src/cjpegl.js +54 -0
- package/dist/src/cwsq.d.ts +18 -0
- package/dist/src/cwsq.js +44 -0
- package/dist/src/datainfo.d.ts +8 -0
- package/dist/src/datainfo.js +20 -0
- package/dist/src/djp2k.d.ts +20 -0
- package/dist/src/djp2k.js +53 -0
- package/dist/src/djpeg.d.ts +25 -0
- package/dist/src/djpeg.js +63 -0
- package/dist/src/djpegb.d.ts +14 -0
- package/dist/src/djpegb.js +39 -0
- package/dist/src/djpegl.d.ts +14 -0
- package/dist/src/djpegl.js +39 -0
- package/dist/src/dwsq.d.ts +13 -0
- package/dist/src/dwsq.js +36 -0
- package/dist/src/index.d.ts +26 -0
- package/dist/src/index.js +57 -0
- package/dist/src/intr2not.d.ts +22 -0
- package/dist/src/intr2not.js +48 -0
- package/dist/src/jpegtran.d.ts +24 -0
- package/dist/src/jpegtran.js +88 -0
- package/dist/src/mindtct.d.ts +24 -0
- package/dist/src/mindtct.js +45 -0
- package/dist/src/nbis-runtime.d.ts +23 -0
- package/dist/src/nbis-runtime.js +111 -0
- package/dist/src/nfiq.d.ts +36 -0
- package/dist/src/nfiq.js +93 -0
- package/dist/src/not2intr.d.ts +22 -0
- package/dist/src/not2intr.js +48 -0
- package/dist/src/rdjpgcom.d.ts +11 -0
- package/dist/src/rdjpgcom.js +27 -0
- package/dist/src/rdwsqcom.d.ts +8 -0
- package/dist/src/rdwsqcom.js +20 -0
- package/dist/src/rgb2ycc.d.ts +23 -0
- package/dist/src/rgb2ycc.js +51 -0
- package/dist/src/wrjpgcom.d.ts +20 -0
- package/dist/src/wrjpgcom.js +41 -0
- package/dist/src/wrwsqcom.d.ts +15 -0
- package/dist/src/wrwsqcom.js +27 -0
- package/dist/src/ycc2rgb.d.ts +23 -0
- package/dist/src/ycc2rgb.js +51 -0
- package/dist/test/nbis-versions.test.d.ts +1 -0
- package/dist/test/nbis-versions.test.js +37 -0
- package/libnbis/nbis_arm64_darwin/bin/an2k2iaf +0 -0
- package/libnbis/nbis_arm64_darwin/bin/an2k2txt +0 -0
- package/libnbis/nbis_arm64_darwin/bin/an2ktool +0 -0
- package/libnbis/nbis_arm64_darwin/bin/asc2bin +0 -0
- package/libnbis/nbis_arm64_darwin/bin/bin2asc +0 -0
- package/libnbis/nbis_arm64_darwin/bin/bozorth3 +0 -0
- package/libnbis/nbis_arm64_darwin/bin/chgdesc +0 -0
- package/libnbis/nbis_arm64_darwin/bin/chkan2k +0 -0
- package/libnbis/nbis_arm64_darwin/bin/cjp2k +0 -0
- package/libnbis/nbis_arm64_darwin/bin/cjpeg +0 -0
- package/libnbis/nbis_arm64_darwin/bin/cjpegb +0 -0
- package/libnbis/nbis_arm64_darwin/bin/cjpegl +0 -0
- package/libnbis/nbis_arm64_darwin/bin/cmbmcs +0 -0
- package/libnbis/nbis_arm64_darwin/bin/cropcoeff +0 -0
- package/libnbis/nbis_arm64_darwin/bin/cwsq +0 -0
- package/libnbis/nbis_arm64_darwin/bin/datainfo +0 -0
- package/libnbis/nbis_arm64_darwin/bin/diffbyts +0 -0
- package/libnbis/nbis_arm64_darwin/bin/djp2k +0 -0
- package/libnbis/nbis_arm64_darwin/bin/djpeg +0 -0
- package/libnbis/nbis_arm64_darwin/bin/djpegb +0 -0
- package/libnbis/nbis_arm64_darwin/bin/djpegl +0 -0
- package/libnbis/nbis_arm64_darwin/bin/djpeglsd +0 -0
- package/libnbis/nbis_arm64_darwin/bin/dlwsqcom +0 -0
- package/libnbis/nbis_arm64_darwin/bin/dpyan2k +0 -0
- package/libnbis/nbis_arm64_darwin/bin/dpyimage +0 -0
- package/libnbis/nbis_arm64_darwin/bin/dwsq +0 -0
- package/libnbis/nbis_arm64_darwin/bin/dwsq14 +0 -0
- package/libnbis/nbis_arm64_darwin/bin/eva_evt +0 -0
- package/libnbis/nbis_arm64_darwin/bin/fing2pat +0 -0
- package/libnbis/nbis_arm64_darwin/bin/fixwts +0 -0
- package/libnbis/nbis_arm64_darwin/bin/histogen +0 -0
- package/libnbis/nbis_arm64_darwin/bin/iaf2an2k +0 -0
- package/libnbis/nbis_arm64_darwin/bin/intr2not +0 -0
- package/libnbis/nbis_arm64_darwin/bin/jpegtran +0 -0
- package/libnbis/nbis_arm64_darwin/bin/kltran +0 -0
- package/libnbis/nbis_arm64_darwin/bin/lintran +0 -0
- package/libnbis/nbis_arm64_darwin/bin/meancov +0 -0
- package/libnbis/nbis_arm64_darwin/bin/mindtct +0 -0
- package/libnbis/nbis_arm64_darwin/bin/mkoas +0 -0
- package/libnbis/nbis_arm64_darwin/bin/mktran +0 -0
- package/libnbis/nbis_arm64_darwin/bin/mlp +0 -0
- package/libnbis/nbis_arm64_darwin/bin/mlpfeats +0 -0
- package/libnbis/nbis_arm64_darwin/bin/nfiq +0 -0
- package/libnbis/nbis_arm64_darwin/bin/nfseg +0 -0
- package/libnbis/nbis_arm64_darwin/bin/not2intr +0 -0
- package/libnbis/nbis_arm64_darwin/bin/oas2pics +0 -0
- package/libnbis/nbis_arm64_darwin/bin/optosf +0 -0
- package/libnbis/nbis_arm64_darwin/bin/optrws +0 -0
- package/libnbis/nbis_arm64_darwin/bin/optrwsgw +0 -0
- package/libnbis/nbis_arm64_darwin/bin/pcasys +0 -0
- package/libnbis/nbis_arm64_darwin/bin/pcasysx +0 -0
- package/libnbis/nbis_arm64_darwin/bin/rdimgwh +0 -0
- package/libnbis/nbis_arm64_darwin/bin/rdjpgcom +0 -0
- package/libnbis/nbis_arm64_darwin/bin/rdwsqcom +0 -0
- package/libnbis/nbis_arm64_darwin/bin/rgb2ycc +0 -0
- package/libnbis/nbis_arm64_darwin/bin/rwpics +0 -0
- package/libnbis/nbis_arm64_darwin/bin/sd_rfmt +0 -0
- package/libnbis/nbis_arm64_darwin/bin/stackms +0 -0
- package/libnbis/nbis_arm64_darwin/bin/txt2an2k +0 -0
- package/libnbis/nbis_arm64_darwin/bin/wrjpgcom +0 -0
- package/libnbis/nbis_arm64_darwin/bin/wrwsqcom +0 -0
- package/libnbis/nbis_arm64_darwin/bin/ycc2rgb +0 -0
- package/libnbis/nbis_arm64_darwin/bin/znormdat +0 -0
- package/libnbis/nbis_arm64_darwin/bin/znormpat +0 -0
- package/libnbis/nbis_arm64_darwin/include/an2k.h +885 -0
- package/libnbis/nbis_arm64_darwin/include/an2k.h.src +885 -0
- package/libnbis/nbis_arm64_darwin/include/an2kseg.h +77 -0
- package/libnbis/nbis_arm64_darwin/include/binops.h +94 -0
- package/libnbis/nbis_arm64_darwin/include/bitmasks.h +50 -0
- package/libnbis/nbis_arm64_darwin/include/bits.h +63 -0
- package/libnbis/nbis_arm64_darwin/include/bozorth.h +295 -0
- package/libnbis/nbis_arm64_darwin/include/bz_array.h +141 -0
- package/libnbis/nbis_arm64_darwin/include/cderror.h +132 -0
- package/libnbis/nbis_arm64_darwin/include/cdjpeg.h +184 -0
- package/libnbis/nbis_arm64_darwin/include/chkan2k.h +338 -0
- package/libnbis/nbis_arm64_darwin/include/computil.h +53 -0
- package/libnbis/nbis_arm64_darwin/include/crc32.h +441 -0
- package/libnbis/nbis_arm64_darwin/include/datafile.h +95 -0
- package/libnbis/nbis_arm64_darwin/include/dataio.h +70 -0
- package/libnbis/nbis_arm64_darwin/include/deflate.h +331 -0
- package/libnbis/nbis_arm64_darwin/include/defs.h +82 -0
- package/libnbis/nbis_arm64_darwin/include/dilate.h +57 -0
- package/libnbis/nbis_arm64_darwin/include/display.h +255 -0
- package/libnbis/nbis_arm64_darwin/include/dpy.h +71 -0
- package/libnbis/nbis_arm64_darwin/include/dpyan2k.h +72 -0
- package/libnbis/nbis_arm64_darwin/include/dpydepth.h +78 -0
- package/libnbis/nbis_arm64_darwin/include/dpyimage.h +110 -0
- package/libnbis/nbis_arm64_darwin/include/dpyx.h +107 -0
- package/libnbis/nbis_arm64_darwin/include/event.h +62 -0
- package/libnbis/nbis_arm64_darwin/include/f2c.h +271 -0
- package/libnbis/nbis_arm64_darwin/include/fet.h +96 -0
- package/libnbis/nbis_arm64_darwin/include/findblob.h +116 -0
- package/libnbis/nbis_arm64_darwin/include/fixup.h +52 -0
- package/libnbis/nbis_arm64_darwin/include/gr_cm.h +51 -0
- package/libnbis/nbis_arm64_darwin/include/grp4comp.h +185 -0
- package/libnbis/nbis_arm64_darwin/include/grp4deco.h +157 -0
- package/libnbis/nbis_arm64_darwin/include/grphcs.h +91 -0
- package/libnbis/nbis_arm64_darwin/include/histogen.h +99 -0
- package/libnbis/nbis_arm64_darwin/include/ihead.h +169 -0
- package/libnbis/nbis_arm64_darwin/include/img_io.h +89 -0
- package/libnbis/nbis_arm64_darwin/include/imgavg.h +52 -0
- package/libnbis/nbis_arm64_darwin/include/imgboost.h +55 -0
- package/libnbis/nbis_arm64_darwin/include/imgdec.h +58 -0
- package/libnbis/nbis_arm64_darwin/include/imgdecod.h +65 -0
- package/libnbis/nbis_arm64_darwin/include/imgsnip.h +56 -0
- package/libnbis/nbis_arm64_darwin/include/imgtype.h +85 -0
- package/libnbis/nbis_arm64_darwin/include/imgutil.h +80 -0
- package/libnbis/nbis_arm64_darwin/include/inffast.h +11 -0
- package/libnbis/nbis_arm64_darwin/include/inffixed.h +94 -0
- package/libnbis/nbis_arm64_darwin/include/inflate.h +115 -0
- package/libnbis/nbis_arm64_darwin/include/inftrees.h +55 -0
- package/libnbis/nbis_arm64_darwin/include/intrlv.h +68 -0
- package/libnbis/nbis_arm64_darwin/include/invbyte.h +45 -0
- package/libnbis/nbis_arm64_darwin/include/ioutil.h +76 -0
- package/libnbis/nbis_arm64_darwin/include/jchuff.h +47 -0
- package/libnbis/nbis_arm64_darwin/include/jconfig.h +89 -0
- package/libnbis/nbis_arm64_darwin/include/jdct.h +176 -0
- package/libnbis/nbis_arm64_darwin/include/jdhuff.h +201 -0
- package/libnbis/nbis_arm64_darwin/include/jerror.h +335 -0
- package/libnbis/nbis_arm64_darwin/include/jinclude.h +91 -0
- package/libnbis/nbis_arm64_darwin/include/jmemsys.h +198 -0
- package/libnbis/nbis_arm64_darwin/include/jmorecfg.h +407 -0
- package/libnbis/nbis_arm64_darwin/include/jpeg2k.h +95 -0
- package/libnbis/nbis_arm64_darwin/include/jpegb.h +95 -0
- package/libnbis/nbis_arm64_darwin/include/jpegint.h +392 -0
- package/libnbis/nbis_arm64_darwin/include/jpegl.h +303 -0
- package/libnbis/nbis_arm64_darwin/include/jpeglib.h +1096 -0
- package/libnbis/nbis_arm64_darwin/include/jpeglsd4.h +55 -0
- package/libnbis/nbis_arm64_darwin/include/jversion.h +14 -0
- package/libnbis/nbis_arm64_darwin/include/lfs.h +1249 -0
- package/libnbis/nbis_arm64_darwin/include/little.h +81 -0
- package/libnbis/nbis_arm64_darwin/include/log.h +69 -0
- package/libnbis/nbis_arm64_darwin/include/masks.h +45 -0
- package/libnbis/nbis_arm64_darwin/include/memalloc.h +88 -0
- package/libnbis/nbis_arm64_darwin/include/mlp/fmt_msgs.h +57 -0
- package/libnbis/nbis_arm64_darwin/include/mlp/get_phr.h +54 -0
- package/libnbis/nbis_arm64_darwin/include/mlp/lbfgs_dr.h +51 -0
- package/libnbis/nbis_arm64_darwin/include/mlp/lims.h +51 -0
- package/libnbis/nbis_arm64_darwin/include/mlp/macros.h +53 -0
- package/libnbis/nbis_arm64_darwin/include/mlp/mtch_pnm.h +61 -0
- package/libnbis/nbis_arm64_darwin/include/mlp/rd_words.h +51 -0
- package/libnbis/nbis_arm64_darwin/include/mlp/scg.h +55 -0
- package/libnbis/nbis_arm64_darwin/include/mlp/tda.h +69 -0
- package/libnbis/nbis_arm64_darwin/include/mlp.h +545 -0
- package/libnbis/nbis_arm64_darwin/include/mlpcla.h +77 -0
- package/libnbis/nbis_arm64_darwin/include/morph.h +60 -0
- package/libnbis/nbis_arm64_darwin/include/mytime.h +106 -0
- package/libnbis/nbis_arm64_darwin/include/nfiq.h +100 -0
- package/libnbis/nbis_arm64_darwin/include/nfseg.h +154 -0
- package/libnbis/nbis_arm64_darwin/include/nistcom.h +108 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/bio.h +134 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/cidx_manager.h +68 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/cio.h +399 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/dwt.h +122 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/event.h +102 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/function_list.h +131 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/image.h +68 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/indexbox_manager.h +148 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/invert.h +64 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/j2k.h +842 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/jp2.h +500 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/mct.h +155 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/mqc.h +207 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/openjpeg.h +1563 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/opj_clock.h +59 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/opj_codec.h +165 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/opj_includes.h +180 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/opj_intmath.h +178 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/opj_inttypes.h +48 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/opj_malloc.h +185 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/opj_stdint.h +52 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/pi.h +188 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/raw.h +106 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/t1.h +163 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/t1_luts.h +143 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/t2.h +133 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/tcd.h +354 -0
- package/libnbis/nbis_arm64_darwin/include/openjp2/tgt.h +146 -0
- package/libnbis/nbis_arm64_darwin/include/optrws_r.h +59 -0
- package/libnbis/nbis_arm64_darwin/include/parsargs.h +60 -0
- package/libnbis/nbis_arm64_darwin/include/pca.h +262 -0
- package/libnbis/nbis_arm64_darwin/include/png.h +3544 -0
- package/libnbis/nbis_arm64_darwin/include/png_dec.h +74 -0
- package/libnbis/nbis_arm64_darwin/include/pngconf.h +1487 -0
- package/libnbis/nbis_arm64_darwin/include/rgb_ycc.h +85 -0
- package/libnbis/nbis_arm64_darwin/include/sunrast.h +97 -0
- package/libnbis/nbis_arm64_darwin/include/swap.h +137 -0
- package/libnbis/nbis_arm64_darwin/include/swapbyte.h +53 -0
- package/libnbis/nbis_arm64_darwin/include/table.h +58 -0
- package/libnbis/nbis_arm64_darwin/include/thresh.h +51 -0
- package/libnbis/nbis_arm64_darwin/include/transupp.h +135 -0
- package/libnbis/nbis_arm64_darwin/include/trees.h +128 -0
- package/libnbis/nbis_arm64_darwin/include/usagemcs.h +93 -0
- package/libnbis/nbis_arm64_darwin/include/usebsd.h +78 -0
- package/libnbis/nbis_arm64_darwin/include/util.h +98 -0
- package/libnbis/nbis_arm64_darwin/include/version.h +55 -0
- package/libnbis/nbis_arm64_darwin/include/wsq.h +340 -0
- package/libnbis/nbis_arm64_darwin/include/zconf.h +332 -0
- package/libnbis/nbis_arm64_darwin/include/zconf.in.h +332 -0
- package/libnbis/nbis_arm64_darwin/include/zlib.h +1357 -0
- package/libnbis/nbis_arm64_darwin/include/zutil.h +269 -0
- package/libnbis/nbis_arm64_darwin/lib/libnbis.a +0 -0
- package/libnbis/nbis_arm64_darwin/man/man1/an2k2iaf.1 +69 -0
- package/libnbis/nbis_arm64_darwin/man/man1/an2k2txt.1 +129 -0
- package/libnbis/nbis_arm64_darwin/man/man1/an2ktool.1 +267 -0
- package/libnbis/nbis_arm64_darwin/man/man1/asc2bin.1 +38 -0
- package/libnbis/nbis_arm64_darwin/man/man1/bin2asc.1 +39 -0
- package/libnbis/nbis_arm64_darwin/man/man1/bozorth3.1 +246 -0
- package/libnbis/nbis_arm64_darwin/man/man1/chgdesc.1 +54 -0
- package/libnbis/nbis_arm64_darwin/man/man1/chkan2k.1 +426 -0
- package/libnbis/nbis_arm64_darwin/man/man1/cjp2k.1 +20 -0
- package/libnbis/nbis_arm64_darwin/man/man1/cjpeg.1 +296 -0
- package/libnbis/nbis_arm64_darwin/man/man1/cjpegb.1 +188 -0
- package/libnbis/nbis_arm64_darwin/man/man1/cjpegl.1 +234 -0
- package/libnbis/nbis_arm64_darwin/man/man1/cmbmcs.1 +85 -0
- package/libnbis/nbis_arm64_darwin/man/man1/cropcoeff.1 +70 -0
- package/libnbis/nbis_arm64_darwin/man/man1/cwsq.1 +145 -0
- package/libnbis/nbis_arm64_darwin/man/man1/datainfo.1 +59 -0
- package/libnbis/nbis_arm64_darwin/man/man1/diffbyts.1 +71 -0
- package/libnbis/nbis_arm64_darwin/man/man1/djp2k.1 +21 -0
- package/libnbis/nbis_arm64_darwin/man/man1/djpeg.1 +257 -0
- package/libnbis/nbis_arm64_darwin/man/man1/djpegb.1 +140 -0
- package/libnbis/nbis_arm64_darwin/man/man1/djpegl.1 +143 -0
- package/libnbis/nbis_arm64_darwin/man/man1/djpeglsd.1 +158 -0
- package/libnbis/nbis_arm64_darwin/man/man1/dpyan2k.1 +179 -0
- package/libnbis/nbis_arm64_darwin/man/man1/dpyimage.1 +233 -0
- package/libnbis/nbis_arm64_darwin/man/man1/dwsq.1 +112 -0
- package/libnbis/nbis_arm64_darwin/man/man1/dwsq14.1 +120 -0
- package/libnbis/nbis_arm64_darwin/man/man1/eva_evt.1 +77 -0
- package/libnbis/nbis_arm64_darwin/man/man1/fing2pat.1 +61 -0
- package/libnbis/nbis_arm64_darwin/man/man1/fixwts.1 +46 -0
- package/libnbis/nbis_arm64_darwin/man/man1/histogen.1 +67 -0
- package/libnbis/nbis_arm64_darwin/man/man1/iaf2an2k.1 +63 -0
- package/libnbis/nbis_arm64_darwin/man/man1/imgcmp.1 +66 -0
- package/libnbis/nbis_arm64_darwin/man/man1/imginfo.1 +43 -0
- package/libnbis/nbis_arm64_darwin/man/man1/intr2not.1 +147 -0
- package/libnbis/nbis_arm64_darwin/man/man1/jp2codec.1 +240 -0
- package/libnbis/nbis_arm64_darwin/man/man1/jpegtran.1 +242 -0
- package/libnbis/nbis_arm64_darwin/man/man1/kltran.1 +92 -0
- package/libnbis/nbis_arm64_darwin/man/man1/lintran.1 +92 -0
- package/libnbis/nbis_arm64_darwin/man/man1/meancov.1 +92 -0
- package/libnbis/nbis_arm64_darwin/man/man1/mindtct.1 +240 -0
- package/libnbis/nbis_arm64_darwin/man/man1/mkoas.1 +194 -0
- package/libnbis/nbis_arm64_darwin/man/man1/mktran.1 +72 -0
- package/libnbis/nbis_arm64_darwin/man/man1/mlp.1 +680 -0
- package/libnbis/nbis_arm64_darwin/man/man1/mlpfeats.1 +52 -0
- package/libnbis/nbis_arm64_darwin/man/man1/nfiq.1 +131 -0
- package/libnbis/nbis_arm64_darwin/man/man1/nfseg.1 +232 -0
- package/libnbis/nbis_arm64_darwin/man/man1/not2intr.1 +150 -0
- package/libnbis/nbis_arm64_darwin/man/man1/oas2pics.1 +55 -0
- package/libnbis/nbis_arm64_darwin/man/man1/optosf.1 +131 -0
- package/libnbis/nbis_arm64_darwin/man/man1/optrws.1 +213 -0
- package/libnbis/nbis_arm64_darwin/man/man1/pcasys.1 +244 -0
- package/libnbis/nbis_arm64_darwin/man/man1/pcasysx.1 +149 -0
- package/libnbis/nbis_arm64_darwin/man/man1/rdimgwh.1 +74 -0
- package/libnbis/nbis_arm64_darwin/man/man1/rdjpgcom.1 +57 -0
- package/libnbis/nbis_arm64_darwin/man/man1/rdwsqcom.1 +43 -0
- package/libnbis/nbis_arm64_darwin/man/man1/record_selector.1 +386 -0
- package/libnbis/nbis_arm64_darwin/man/man1/rgb2ycc.1 +175 -0
- package/libnbis/nbis_arm64_darwin/man/man1/rwpics.1 +104 -0
- package/libnbis/nbis_arm64_darwin/man/man1/sd_rfmt.1 +88 -0
- package/libnbis/nbis_arm64_darwin/man/man1/stackms.1 +68 -0
- package/libnbis/nbis_arm64_darwin/man/man1/txt2an2k.1 +130 -0
- package/libnbis/nbis_arm64_darwin/man/man1/wrjpgcom.1 +107 -0
- package/libnbis/nbis_arm64_darwin/man/man1/wrwsqcom.1 +51 -0
- package/libnbis/nbis_arm64_darwin/man/man1/ycc2rgb.1 +183 -0
- package/libnbis/nbis_arm64_darwin/man/man1/znormdat.1 +50 -0
- package/libnbis/nbis_arm64_darwin/man/man1/znormpat.1 +51 -0
- package/libnbis/nbis_arm64_darwin/nbis/an2k/chkan2k/default.conf +451 -0
- package/libnbis/nbis_arm64_darwin/nbis/an2k/chkan2k/nist-samples.conf +39 -0
- package/libnbis/nbis_arm64_darwin/nbis/nfiq/spec +428 -0
- package/libnbis/nbis_arm64_darwin/nbis/nfiq/znorm.dat +11 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/a.pct +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/a_c.pct +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/biga.pct +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/bigl.pct +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/bigr.pct +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/bigs.pct +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/bigt.pct +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/bigw.pct +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/conf.pct +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/digits.pct +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/h_c.pct +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/l.pct +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/note.txt +2 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/pcasys.pct +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/point.pct +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/r.pct +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/s.pct +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/sub_0.pct +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/sub_1.pct +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/t.pct +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/w.pct +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/all.txt +2700 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/all_with_class.txt +2700 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/first10.txt +10 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/first20.txt +20 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/first30.txt +30 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/first50.txt +50 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/mkoas.prs +15 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/note.txt +31 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/oas.prs +54 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/optosf.prs +29 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/optrws.prs +57 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/pcasys.mlp +120 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/pcasys.pnn +120 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/pcasys.prs +120 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/pcasysx.prs +25 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/weights/mlp/mlp_tmat.bin +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/weights/mlp/mlp_wts.bin +3523 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/weights/mlp/note.txt +7 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/weights/pnn/note.txt +6 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/weights/pnn/pnn_tmat.bin +0 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/weights/pnn/procls.asc +24311 -0
- package/libnbis/nbis_arm64_darwin/nbis/pcasys/weights/pnn/profvs.bin +0 -0
- package/libnbis/nbis_x86-64_linux/bin/an2k2iaf +0 -0
- package/libnbis/nbis_x86-64_linux/bin/an2k2txt +0 -0
- package/libnbis/nbis_x86-64_linux/bin/an2ktool +0 -0
- package/libnbis/nbis_x86-64_linux/bin/asc2bin +0 -0
- package/libnbis/nbis_x86-64_linux/bin/bin2asc +0 -0
- package/libnbis/nbis_x86-64_linux/bin/bozorth3 +0 -0
- package/libnbis/nbis_x86-64_linux/bin/chgdesc +0 -0
- package/libnbis/nbis_x86-64_linux/bin/chkan2k +0 -0
- package/libnbis/nbis_x86-64_linux/bin/cjp2k +0 -0
- package/libnbis/nbis_x86-64_linux/bin/cjpeg +0 -0
- package/libnbis/nbis_x86-64_linux/bin/cjpegb +0 -0
- package/libnbis/nbis_x86-64_linux/bin/cjpegl +0 -0
- package/libnbis/nbis_x86-64_linux/bin/cmbmcs +0 -0
- package/libnbis/nbis_x86-64_linux/bin/cropcoeff +0 -0
- package/libnbis/nbis_x86-64_linux/bin/cwsq +0 -0
- package/libnbis/nbis_x86-64_linux/bin/datainfo +0 -0
- package/libnbis/nbis_x86-64_linux/bin/diffbyts +0 -0
- package/libnbis/nbis_x86-64_linux/bin/djp2k +0 -0
- package/libnbis/nbis_x86-64_linux/bin/djpeg +0 -0
- package/libnbis/nbis_x86-64_linux/bin/djpegb +0 -0
- package/libnbis/nbis_x86-64_linux/bin/djpegl +0 -0
- package/libnbis/nbis_x86-64_linux/bin/djpeglsd +0 -0
- package/libnbis/nbis_x86-64_linux/bin/dlwsqcom +0 -0
- package/libnbis/nbis_x86-64_linux/bin/dpyan2k +0 -0
- package/libnbis/nbis_x86-64_linux/bin/dpyimage +0 -0
- package/libnbis/nbis_x86-64_linux/bin/dwsq +0 -0
- package/libnbis/nbis_x86-64_linux/bin/dwsq14 +0 -0
- package/libnbis/nbis_x86-64_linux/bin/eva_evt +0 -0
- package/libnbis/nbis_x86-64_linux/bin/fing2pat +0 -0
- package/libnbis/nbis_x86-64_linux/bin/fixwts +0 -0
- package/libnbis/nbis_x86-64_linux/bin/histogen +0 -0
- package/libnbis/nbis_x86-64_linux/bin/iaf2an2k +0 -0
- package/libnbis/nbis_x86-64_linux/bin/intr2not +0 -0
- package/libnbis/nbis_x86-64_linux/bin/jpegtran +0 -0
- package/libnbis/nbis_x86-64_linux/bin/kltran +0 -0
- package/libnbis/nbis_x86-64_linux/bin/lintran +0 -0
- package/libnbis/nbis_x86-64_linux/bin/meancov +0 -0
- package/libnbis/nbis_x86-64_linux/bin/mindtct +0 -0
- package/libnbis/nbis_x86-64_linux/bin/mkoas +0 -0
- package/libnbis/nbis_x86-64_linux/bin/mktran +0 -0
- package/libnbis/nbis_x86-64_linux/bin/mlp +0 -0
- package/libnbis/nbis_x86-64_linux/bin/mlpfeats +0 -0
- package/libnbis/nbis_x86-64_linux/bin/nfiq +0 -0
- package/libnbis/nbis_x86-64_linux/bin/nfseg +0 -0
- package/libnbis/nbis_x86-64_linux/bin/not2intr +0 -0
- package/libnbis/nbis_x86-64_linux/bin/oas2pics +0 -0
- package/libnbis/nbis_x86-64_linux/bin/optosf +0 -0
- package/libnbis/nbis_x86-64_linux/bin/optrws +0 -0
- package/libnbis/nbis_x86-64_linux/bin/optrwsgw +0 -0
- package/libnbis/nbis_x86-64_linux/bin/pcasys +0 -0
- package/libnbis/nbis_x86-64_linux/bin/pcasysx +0 -0
- package/libnbis/nbis_x86-64_linux/bin/rdimgwh +0 -0
- package/libnbis/nbis_x86-64_linux/bin/rdjpgcom +0 -0
- package/libnbis/nbis_x86-64_linux/bin/rdwsqcom +0 -0
- package/libnbis/nbis_x86-64_linux/bin/rgb2ycc +0 -0
- package/libnbis/nbis_x86-64_linux/bin/rwpics +0 -0
- package/libnbis/nbis_x86-64_linux/bin/sd_rfmt +0 -0
- package/libnbis/nbis_x86-64_linux/bin/stackms +0 -0
- package/libnbis/nbis_x86-64_linux/bin/txt2an2k +0 -0
- package/libnbis/nbis_x86-64_linux/bin/wrjpgcom +0 -0
- package/libnbis/nbis_x86-64_linux/bin/wrwsqcom +0 -0
- package/libnbis/nbis_x86-64_linux/bin/ycc2rgb +0 -0
- package/libnbis/nbis_x86-64_linux/bin/znormdat +0 -0
- package/libnbis/nbis_x86-64_linux/bin/znormpat +0 -0
- package/libnbis/nbis_x86-64_linux/include/an2k.h +885 -0
- package/libnbis/nbis_x86-64_linux/include/an2k.h.src +885 -0
- package/libnbis/nbis_x86-64_linux/include/an2kseg.h +77 -0
- package/libnbis/nbis_x86-64_linux/include/binops.h +94 -0
- package/libnbis/nbis_x86-64_linux/include/bitmasks.h +50 -0
- package/libnbis/nbis_x86-64_linux/include/bits.h +63 -0
- package/libnbis/nbis_x86-64_linux/include/bozorth.h +295 -0
- package/libnbis/nbis_x86-64_linux/include/bz_array.h +141 -0
- package/libnbis/nbis_x86-64_linux/include/cderror.h +132 -0
- package/libnbis/nbis_x86-64_linux/include/cdjpeg.h +184 -0
- package/libnbis/nbis_x86-64_linux/include/chkan2k.h +338 -0
- package/libnbis/nbis_x86-64_linux/include/computil.h +53 -0
- package/libnbis/nbis_x86-64_linux/include/crc32.h +441 -0
- package/libnbis/nbis_x86-64_linux/include/datafile.h +95 -0
- package/libnbis/nbis_x86-64_linux/include/dataio.h +70 -0
- package/libnbis/nbis_x86-64_linux/include/deflate.h +331 -0
- package/libnbis/nbis_x86-64_linux/include/defs.h +82 -0
- package/libnbis/nbis_x86-64_linux/include/dilate.h +57 -0
- package/libnbis/nbis_x86-64_linux/include/display.h +255 -0
- package/libnbis/nbis_x86-64_linux/include/dpy.h +71 -0
- package/libnbis/nbis_x86-64_linux/include/dpyan2k.h +72 -0
- package/libnbis/nbis_x86-64_linux/include/dpydepth.h +78 -0
- package/libnbis/nbis_x86-64_linux/include/dpyimage.h +110 -0
- package/libnbis/nbis_x86-64_linux/include/dpyx.h +107 -0
- package/libnbis/nbis_x86-64_linux/include/event.h +62 -0
- package/libnbis/nbis_x86-64_linux/include/f2c.h +271 -0
- package/libnbis/nbis_x86-64_linux/include/fet.h +96 -0
- package/libnbis/nbis_x86-64_linux/include/findblob.h +116 -0
- package/libnbis/nbis_x86-64_linux/include/fixup.h +52 -0
- package/libnbis/nbis_x86-64_linux/include/gr_cm.h +51 -0
- package/libnbis/nbis_x86-64_linux/include/grp4comp.h +185 -0
- package/libnbis/nbis_x86-64_linux/include/grp4deco.h +157 -0
- package/libnbis/nbis_x86-64_linux/include/grphcs.h +91 -0
- package/libnbis/nbis_x86-64_linux/include/histogen.h +99 -0
- package/libnbis/nbis_x86-64_linux/include/ihead.h +169 -0
- package/libnbis/nbis_x86-64_linux/include/img_io.h +89 -0
- package/libnbis/nbis_x86-64_linux/include/imgavg.h +52 -0
- package/libnbis/nbis_x86-64_linux/include/imgboost.h +55 -0
- package/libnbis/nbis_x86-64_linux/include/imgdec.h +58 -0
- package/libnbis/nbis_x86-64_linux/include/imgdecod.h +65 -0
- package/libnbis/nbis_x86-64_linux/include/imgsnip.h +56 -0
- package/libnbis/nbis_x86-64_linux/include/imgtype.h +85 -0
- package/libnbis/nbis_x86-64_linux/include/imgutil.h +80 -0
- package/libnbis/nbis_x86-64_linux/include/inffast.h +11 -0
- package/libnbis/nbis_x86-64_linux/include/inffixed.h +94 -0
- package/libnbis/nbis_x86-64_linux/include/inflate.h +115 -0
- package/libnbis/nbis_x86-64_linux/include/inftrees.h +55 -0
- package/libnbis/nbis_x86-64_linux/include/intrlv.h +68 -0
- package/libnbis/nbis_x86-64_linux/include/invbyte.h +45 -0
- package/libnbis/nbis_x86-64_linux/include/ioutil.h +76 -0
- package/libnbis/nbis_x86-64_linux/include/jchuff.h +47 -0
- package/libnbis/nbis_x86-64_linux/include/jconfig.h +89 -0
- package/libnbis/nbis_x86-64_linux/include/jdct.h +176 -0
- package/libnbis/nbis_x86-64_linux/include/jdhuff.h +201 -0
- package/libnbis/nbis_x86-64_linux/include/jerror.h +335 -0
- package/libnbis/nbis_x86-64_linux/include/jinclude.h +91 -0
- package/libnbis/nbis_x86-64_linux/include/jmemsys.h +198 -0
- package/libnbis/nbis_x86-64_linux/include/jmorecfg.h +407 -0
- package/libnbis/nbis_x86-64_linux/include/jpeg2k.h +95 -0
- package/libnbis/nbis_x86-64_linux/include/jpegb.h +95 -0
- package/libnbis/nbis_x86-64_linux/include/jpegint.h +392 -0
- package/libnbis/nbis_x86-64_linux/include/jpegl.h +303 -0
- package/libnbis/nbis_x86-64_linux/include/jpeglib.h +1096 -0
- package/libnbis/nbis_x86-64_linux/include/jpeglsd4.h +55 -0
- package/libnbis/nbis_x86-64_linux/include/jversion.h +14 -0
- package/libnbis/nbis_x86-64_linux/include/lfs.h +1249 -0
- package/libnbis/nbis_x86-64_linux/include/little.h +81 -0
- package/libnbis/nbis_x86-64_linux/include/log.h +69 -0
- package/libnbis/nbis_x86-64_linux/include/masks.h +45 -0
- package/libnbis/nbis_x86-64_linux/include/memalloc.h +88 -0
- package/libnbis/nbis_x86-64_linux/include/mlp/fmt_msgs.h +57 -0
- package/libnbis/nbis_x86-64_linux/include/mlp/get_phr.h +54 -0
- package/libnbis/nbis_x86-64_linux/include/mlp/lbfgs_dr.h +51 -0
- package/libnbis/nbis_x86-64_linux/include/mlp/lims.h +51 -0
- package/libnbis/nbis_x86-64_linux/include/mlp/macros.h +53 -0
- package/libnbis/nbis_x86-64_linux/include/mlp/mtch_pnm.h +61 -0
- package/libnbis/nbis_x86-64_linux/include/mlp/rd_words.h +51 -0
- package/libnbis/nbis_x86-64_linux/include/mlp/scg.h +55 -0
- package/libnbis/nbis_x86-64_linux/include/mlp/tda.h +69 -0
- package/libnbis/nbis_x86-64_linux/include/mlp.h +545 -0
- package/libnbis/nbis_x86-64_linux/include/mlpcla.h +77 -0
- package/libnbis/nbis_x86-64_linux/include/morph.h +60 -0
- package/libnbis/nbis_x86-64_linux/include/mytime.h +106 -0
- package/libnbis/nbis_x86-64_linux/include/nfiq.h +100 -0
- package/libnbis/nbis_x86-64_linux/include/nfseg.h +154 -0
- package/libnbis/nbis_x86-64_linux/include/nistcom.h +108 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/bio.h +134 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/cidx_manager.h +68 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/cio.h +399 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/dwt.h +122 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/event.h +102 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/function_list.h +131 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/image.h +68 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/indexbox_manager.h +148 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/invert.h +64 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/j2k.h +842 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/jp2.h +500 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/mct.h +155 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/mqc.h +207 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/openjpeg.h +1563 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/opj_clock.h +59 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/opj_codec.h +165 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/opj_includes.h +180 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/opj_intmath.h +178 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/opj_inttypes.h +48 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/opj_malloc.h +185 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/opj_stdint.h +52 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/pi.h +188 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/raw.h +106 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/t1.h +163 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/t1_luts.h +143 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/t2.h +133 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/tcd.h +354 -0
- package/libnbis/nbis_x86-64_linux/include/openjp2/tgt.h +146 -0
- package/libnbis/nbis_x86-64_linux/include/optrws_r.h +59 -0
- package/libnbis/nbis_x86-64_linux/include/parsargs.h +60 -0
- package/libnbis/nbis_x86-64_linux/include/pca.h +262 -0
- package/libnbis/nbis_x86-64_linux/include/png.h +3544 -0
- package/libnbis/nbis_x86-64_linux/include/png_dec.h +74 -0
- package/libnbis/nbis_x86-64_linux/include/pngconf.h +1479 -0
- package/libnbis/nbis_x86-64_linux/include/rgb_ycc.h +85 -0
- package/libnbis/nbis_x86-64_linux/include/sunrast.h +97 -0
- package/libnbis/nbis_x86-64_linux/include/swap.h +137 -0
- package/libnbis/nbis_x86-64_linux/include/swapbyte.h +53 -0
- package/libnbis/nbis_x86-64_linux/include/table.h +58 -0
- package/libnbis/nbis_x86-64_linux/include/thresh.h +51 -0
- package/libnbis/nbis_x86-64_linux/include/transupp.h +135 -0
- package/libnbis/nbis_x86-64_linux/include/trees.h +128 -0
- package/libnbis/nbis_x86-64_linux/include/usagemcs.h +93 -0
- package/libnbis/nbis_x86-64_linux/include/usebsd.h +78 -0
- package/libnbis/nbis_x86-64_linux/include/util.h +98 -0
- package/libnbis/nbis_x86-64_linux/include/version.h +55 -0
- package/libnbis/nbis_x86-64_linux/include/wsq.h +340 -0
- package/libnbis/nbis_x86-64_linux/include/zconf.h +332 -0
- package/libnbis/nbis_x86-64_linux/include/zconf.in.h +332 -0
- package/libnbis/nbis_x86-64_linux/include/zlib.h +1357 -0
- package/libnbis/nbis_x86-64_linux/include/zutil.h +269 -0
- package/libnbis/nbis_x86-64_linux/lib/libnbis.a +0 -0
- package/libnbis/nbis_x86-64_linux/man/man1/an2k2iaf.1 +69 -0
- package/libnbis/nbis_x86-64_linux/man/man1/an2k2txt.1 +129 -0
- package/libnbis/nbis_x86-64_linux/man/man1/an2ktool.1 +267 -0
- package/libnbis/nbis_x86-64_linux/man/man1/asc2bin.1 +38 -0
- package/libnbis/nbis_x86-64_linux/man/man1/bin2asc.1 +39 -0
- package/libnbis/nbis_x86-64_linux/man/man1/bozorth3.1 +246 -0
- package/libnbis/nbis_x86-64_linux/man/man1/chgdesc.1 +54 -0
- package/libnbis/nbis_x86-64_linux/man/man1/chkan2k.1 +426 -0
- package/libnbis/nbis_x86-64_linux/man/man1/cjp2k.1 +20 -0
- package/libnbis/nbis_x86-64_linux/man/man1/cjpeg.1 +296 -0
- package/libnbis/nbis_x86-64_linux/man/man1/cjpegb.1 +188 -0
- package/libnbis/nbis_x86-64_linux/man/man1/cjpegl.1 +234 -0
- package/libnbis/nbis_x86-64_linux/man/man1/cmbmcs.1 +85 -0
- package/libnbis/nbis_x86-64_linux/man/man1/cropcoeff.1 +70 -0
- package/libnbis/nbis_x86-64_linux/man/man1/cwsq.1 +145 -0
- package/libnbis/nbis_x86-64_linux/man/man1/datainfo.1 +59 -0
- package/libnbis/nbis_x86-64_linux/man/man1/diffbyts.1 +71 -0
- package/libnbis/nbis_x86-64_linux/man/man1/djp2k.1 +21 -0
- package/libnbis/nbis_x86-64_linux/man/man1/djpeg.1 +257 -0
- package/libnbis/nbis_x86-64_linux/man/man1/djpegb.1 +140 -0
- package/libnbis/nbis_x86-64_linux/man/man1/djpegl.1 +143 -0
- package/libnbis/nbis_x86-64_linux/man/man1/djpeglsd.1 +158 -0
- package/libnbis/nbis_x86-64_linux/man/man1/dpyan2k.1 +179 -0
- package/libnbis/nbis_x86-64_linux/man/man1/dpyimage.1 +233 -0
- package/libnbis/nbis_x86-64_linux/man/man1/dwsq.1 +112 -0
- package/libnbis/nbis_x86-64_linux/man/man1/dwsq14.1 +120 -0
- package/libnbis/nbis_x86-64_linux/man/man1/eva_evt.1 +77 -0
- package/libnbis/nbis_x86-64_linux/man/man1/fing2pat.1 +61 -0
- package/libnbis/nbis_x86-64_linux/man/man1/fixwts.1 +46 -0
- package/libnbis/nbis_x86-64_linux/man/man1/histogen.1 +67 -0
- package/libnbis/nbis_x86-64_linux/man/man1/iaf2an2k.1 +63 -0
- package/libnbis/nbis_x86-64_linux/man/man1/imgcmp.1 +66 -0
- package/libnbis/nbis_x86-64_linux/man/man1/imginfo.1 +43 -0
- package/libnbis/nbis_x86-64_linux/man/man1/intr2not.1 +147 -0
- package/libnbis/nbis_x86-64_linux/man/man1/jp2codec.1 +240 -0
- package/libnbis/nbis_x86-64_linux/man/man1/jpegtran.1 +242 -0
- package/libnbis/nbis_x86-64_linux/man/man1/kltran.1 +92 -0
- package/libnbis/nbis_x86-64_linux/man/man1/lintran.1 +92 -0
- package/libnbis/nbis_x86-64_linux/man/man1/meancov.1 +92 -0
- package/libnbis/nbis_x86-64_linux/man/man1/mindtct.1 +240 -0
- package/libnbis/nbis_x86-64_linux/man/man1/mkoas.1 +194 -0
- package/libnbis/nbis_x86-64_linux/man/man1/mktran.1 +72 -0
- package/libnbis/nbis_x86-64_linux/man/man1/mlp.1 +680 -0
- package/libnbis/nbis_x86-64_linux/man/man1/mlpfeats.1 +52 -0
- package/libnbis/nbis_x86-64_linux/man/man1/nfiq.1 +131 -0
- package/libnbis/nbis_x86-64_linux/man/man1/nfseg.1 +232 -0
- package/libnbis/nbis_x86-64_linux/man/man1/not2intr.1 +150 -0
- package/libnbis/nbis_x86-64_linux/man/man1/oas2pics.1 +55 -0
- package/libnbis/nbis_x86-64_linux/man/man1/optosf.1 +131 -0
- package/libnbis/nbis_x86-64_linux/man/man1/optrws.1 +213 -0
- package/libnbis/nbis_x86-64_linux/man/man1/pcasys.1 +244 -0
- package/libnbis/nbis_x86-64_linux/man/man1/pcasysx.1 +149 -0
- package/libnbis/nbis_x86-64_linux/man/man1/rdimgwh.1 +74 -0
- package/libnbis/nbis_x86-64_linux/man/man1/rdjpgcom.1 +57 -0
- package/libnbis/nbis_x86-64_linux/man/man1/rdwsqcom.1 +43 -0
- package/libnbis/nbis_x86-64_linux/man/man1/record_selector.1 +386 -0
- package/libnbis/nbis_x86-64_linux/man/man1/rgb2ycc.1 +175 -0
- package/libnbis/nbis_x86-64_linux/man/man1/rwpics.1 +104 -0
- package/libnbis/nbis_x86-64_linux/man/man1/sd_rfmt.1 +88 -0
- package/libnbis/nbis_x86-64_linux/man/man1/stackms.1 +68 -0
- package/libnbis/nbis_x86-64_linux/man/man1/txt2an2k.1 +130 -0
- package/libnbis/nbis_x86-64_linux/man/man1/wrjpgcom.1 +107 -0
- package/libnbis/nbis_x86-64_linux/man/man1/wrwsqcom.1 +51 -0
- package/libnbis/nbis_x86-64_linux/man/man1/ycc2rgb.1 +183 -0
- package/libnbis/nbis_x86-64_linux/man/man1/znormdat.1 +50 -0
- package/libnbis/nbis_x86-64_linux/man/man1/znormpat.1 +51 -0
- package/libnbis/nbis_x86-64_linux/nbis/an2k/chkan2k/default.conf +451 -0
- package/libnbis/nbis_x86-64_linux/nbis/an2k/chkan2k/nist-samples.conf +39 -0
- package/libnbis/nbis_x86-64_linux/nbis/nfiq/spec +428 -0
- package/libnbis/nbis_x86-64_linux/nbis/nfiq/znorm.dat +11 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/a.pct +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/a_c.pct +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/biga.pct +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/bigl.pct +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/bigr.pct +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/bigs.pct +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/bigt.pct +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/bigw.pct +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/conf.pct +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/digits.pct +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/h_c.pct +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/l.pct +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/note.txt +2 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/pcasys.pct +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/point.pct +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/r.pct +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/s.pct +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/sub_0.pct +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/sub_1.pct +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/t.pct +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/w.pct +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/all.txt +2700 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/all_with_class.txt +2700 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/first10.txt +10 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/first20.txt +20 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/first30.txt +30 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/first50.txt +50 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/mkoas.prs +15 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/note.txt +31 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/oas.prs +54 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/optosf.prs +29 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/optrws.prs +57 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/pcasys.mlp +120 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/pcasys.pnn +120 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/pcasys.prs +120 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/pcasysx.prs +25 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/weights/mlp/mlp_tmat.bin +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/weights/mlp/mlp_wts.bin +3523 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/weights/mlp/note.txt +7 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/weights/pnn/note.txt +6 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/weights/pnn/pnn_tmat.bin +0 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/weights/pnn/procls.asc +24311 -0
- package/libnbis/nbis_x86-64_linux/nbis/pcasys/weights/pnn/profvs.bin +0 -0
- package/package.json +51 -0
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
/*******************************************************************************
|
|
2
|
+
|
|
3
|
+
License:
|
|
4
|
+
This software and/or related materials was developed at the National Institute
|
|
5
|
+
of Standards and Technology (NIST) by employees of the Federal Government
|
|
6
|
+
in the course of their official duties. Pursuant to title 17 Section 105
|
|
7
|
+
of the United States Code, this software is not subject to copyright
|
|
8
|
+
protection and is in the public domain.
|
|
9
|
+
|
|
10
|
+
This software and/or related materials have been determined to be not subject
|
|
11
|
+
to the EAR (see Part 734.3 of the EAR for exact details) because it is
|
|
12
|
+
a publicly available technology and software, and is freely distributed
|
|
13
|
+
to any interested party with no licensing requirements. Therefore, it is
|
|
14
|
+
permissible to distribute this software as a free download from the internet.
|
|
15
|
+
|
|
16
|
+
Disclaimer:
|
|
17
|
+
This software and/or related materials was developed to promote biometric
|
|
18
|
+
standards and biometric technology testing for the Federal Government
|
|
19
|
+
in accordance with the USA PATRIOT Act and the Enhanced Border Security
|
|
20
|
+
and Visa Entry Reform Act. Specific hardware and software products identified
|
|
21
|
+
in this software were used in order to perform the software development.
|
|
22
|
+
In no case does such identification imply recommendation or endorsement
|
|
23
|
+
by the National Institute of Standards and Technology, nor does it imply that
|
|
24
|
+
the products and equipment identified are necessarily the best available
|
|
25
|
+
for the purpose.
|
|
26
|
+
|
|
27
|
+
This software and/or related materials are provided "AS-IS" without warranty
|
|
28
|
+
of any kind including NO WARRANTY OF PERFORMANCE, MERCHANTABILITY,
|
|
29
|
+
NO WARRANTY OF NON-INFRINGEMENT OF ANY 3RD PARTY INTELLECTUAL PROPERTY
|
|
30
|
+
or FITNESS FOR A PARTICULAR PURPOSE or for any purpose whatsoever, for the
|
|
31
|
+
licensed product, however used. In no event shall NIST be liable for any
|
|
32
|
+
damages and/or costs, including but not limited to incidental or consequential
|
|
33
|
+
damages of any kind, including economic damage or injury to property and lost
|
|
34
|
+
profits, regardless of whether NIST shall be advised, have reason to know,
|
|
35
|
+
or in fact shall know of the possibility.
|
|
36
|
+
|
|
37
|
+
By using this software, you agree to bear all risk relating to quality,
|
|
38
|
+
use and performance of the software and/or related materials. You agree
|
|
39
|
+
to hold the Government harmless from any claim arising from your use
|
|
40
|
+
of the software.
|
|
41
|
+
|
|
42
|
+
*******************************************************************************/
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
#ifndef _WSQ_H
|
|
46
|
+
#define _WSQ_H
|
|
47
|
+
|
|
48
|
+
#ifndef _STDIO_H
|
|
49
|
+
#include <stdio.h>
|
|
50
|
+
#endif
|
|
51
|
+
|
|
52
|
+
#ifndef _IHEAD_H
|
|
53
|
+
#include <ihead.h>
|
|
54
|
+
#endif
|
|
55
|
+
|
|
56
|
+
#ifndef _JPEGL_H
|
|
57
|
+
#include <jpegl.h>
|
|
58
|
+
#endif
|
|
59
|
+
|
|
60
|
+
#ifndef TRUE
|
|
61
|
+
#define TRUE 1
|
|
62
|
+
#define FALSE 0
|
|
63
|
+
#endif
|
|
64
|
+
|
|
65
|
+
/* WSQ Marker Definitions */
|
|
66
|
+
#define SOI_WSQ 0xffa0
|
|
67
|
+
#define EOI_WSQ 0xffa1
|
|
68
|
+
#define SOF_WSQ 0xffa2
|
|
69
|
+
#define SOB_WSQ 0xffa3
|
|
70
|
+
#define DTT_WSQ 0xffa4
|
|
71
|
+
#define DQT_WSQ 0xffa5
|
|
72
|
+
#define DHT_WSQ 0xffa6
|
|
73
|
+
#define DRT_WSQ 0xffa7
|
|
74
|
+
#define COM_WSQ 0xffa8
|
|
75
|
+
/* Case for getting ANY marker. */
|
|
76
|
+
#define ANY_WSQ 0xffff
|
|
77
|
+
#define TBLS_N_SOB (TBLS_N_SOF + 2)
|
|
78
|
+
|
|
79
|
+
/* Filter Bank Definitions */
|
|
80
|
+
#ifdef FILTBANK_EVEN_8X8_1
|
|
81
|
+
#define MAX_HIFILT 8
|
|
82
|
+
#define MAX_LOFILT 8
|
|
83
|
+
#else
|
|
84
|
+
#define MAX_HIFILT 7
|
|
85
|
+
#define MAX_LOFILT 9
|
|
86
|
+
#endif
|
|
87
|
+
|
|
88
|
+
/* Subband Definitions */
|
|
89
|
+
#define STRT_SUBBAND_2 19
|
|
90
|
+
#define STRT_SUBBAND_3 52
|
|
91
|
+
#define MAX_SUBBANDS 64
|
|
92
|
+
#define NUM_SUBBANDS 60
|
|
93
|
+
#define STRT_SUBBAND_DEL (NUM_SUBBANDS)
|
|
94
|
+
#define STRT_SIZE_REGION_2 4
|
|
95
|
+
#define STRT_SIZE_REGION_3 51
|
|
96
|
+
|
|
97
|
+
#define MIN_IMG_DIM 256
|
|
98
|
+
|
|
99
|
+
#define WHITE 255
|
|
100
|
+
#define BLACK 0
|
|
101
|
+
|
|
102
|
+
#define COEFF_CODE 0
|
|
103
|
+
#define RUN_CODE 1
|
|
104
|
+
|
|
105
|
+
#define RAW_IMAGE 1
|
|
106
|
+
#define IHEAD_IMAGE 0
|
|
107
|
+
|
|
108
|
+
#define VARIANCE_THRESH 1.01
|
|
109
|
+
|
|
110
|
+
typedef struct quantization {
|
|
111
|
+
float q; /* quantization level */
|
|
112
|
+
float cr; /* compression ratio */
|
|
113
|
+
float r; /* compression bitrate */
|
|
114
|
+
float qbss_t[MAX_SUBBANDS];
|
|
115
|
+
float qbss[MAX_SUBBANDS];
|
|
116
|
+
float qzbs[MAX_SUBBANDS];
|
|
117
|
+
float var[MAX_SUBBANDS];
|
|
118
|
+
} QUANT_VALS;
|
|
119
|
+
|
|
120
|
+
typedef struct wavlet_tree {
|
|
121
|
+
int x;
|
|
122
|
+
int y;
|
|
123
|
+
int lenx;
|
|
124
|
+
int leny;
|
|
125
|
+
int inv_rw;
|
|
126
|
+
int inv_cl;
|
|
127
|
+
} W_TREE;
|
|
128
|
+
#define W_TREELEN 20
|
|
129
|
+
|
|
130
|
+
typedef struct quant_tree {
|
|
131
|
+
short x; /* UL corner of block */
|
|
132
|
+
short y;
|
|
133
|
+
short lenx; /* block size */
|
|
134
|
+
short leny; /* block size */
|
|
135
|
+
} Q_TREE;
|
|
136
|
+
#define Q_TREELEN 64
|
|
137
|
+
|
|
138
|
+
/* Defined in jpegl.h
|
|
139
|
+
typedef struct hcode {
|
|
140
|
+
short size;
|
|
141
|
+
unsigned short code;
|
|
142
|
+
} HUFFCODE;
|
|
143
|
+
*/
|
|
144
|
+
|
|
145
|
+
typedef struct table_dtt {
|
|
146
|
+
float *lofilt;
|
|
147
|
+
float *hifilt;
|
|
148
|
+
unsigned char losz;
|
|
149
|
+
unsigned char hisz;
|
|
150
|
+
char lodef;
|
|
151
|
+
char hidef;
|
|
152
|
+
} DTT_TABLE;
|
|
153
|
+
|
|
154
|
+
typedef struct table_dqt {
|
|
155
|
+
float bin_center;
|
|
156
|
+
float q_bin[MAX_SUBBANDS];
|
|
157
|
+
float z_bin[MAX_SUBBANDS];
|
|
158
|
+
char dqt_def;
|
|
159
|
+
} DQT_TABLE;
|
|
160
|
+
|
|
161
|
+
#define MAX_DHT_TABLES 8
|
|
162
|
+
|
|
163
|
+
/* Defined in jpegl.h */
|
|
164
|
+
/* #define MAX_HUFFBITS 16 DO NOT CHANGE THIS CONSTANT!! */
|
|
165
|
+
#define MAX_HUFFCOUNTS_WSQ 256 /* Length of code table: change as needed */
|
|
166
|
+
/* but DO NOT EXCEED 256 */
|
|
167
|
+
#define MAX_HUFFCOEFF 74 /* -73 .. +74 */
|
|
168
|
+
#define MAX_HUFFZRUN 100
|
|
169
|
+
|
|
170
|
+
typedef struct table_dht {
|
|
171
|
+
unsigned char tabdef;
|
|
172
|
+
unsigned char huffbits[MAX_HUFFBITS];
|
|
173
|
+
unsigned char huffvalues[MAX_HUFFCOUNTS_WSQ+1];
|
|
174
|
+
} DHT_TABLE;
|
|
175
|
+
|
|
176
|
+
typedef struct header_frm {
|
|
177
|
+
unsigned char black;
|
|
178
|
+
unsigned char white;
|
|
179
|
+
unsigned short width;
|
|
180
|
+
unsigned short height;
|
|
181
|
+
float m_shift;
|
|
182
|
+
float r_scale;
|
|
183
|
+
unsigned char wsq_encoder;
|
|
184
|
+
unsigned short software;
|
|
185
|
+
} FRM_HEADER_WSQ;
|
|
186
|
+
|
|
187
|
+
/* External global variables. */
|
|
188
|
+
extern int debug;
|
|
189
|
+
extern QUANT_VALS quant_vals;
|
|
190
|
+
extern W_TREE w_tree[];
|
|
191
|
+
extern Q_TREE q_tree[];
|
|
192
|
+
extern DTT_TABLE dtt_table;
|
|
193
|
+
extern DQT_TABLE dqt_table;
|
|
194
|
+
extern DHT_TABLE dht_table[];
|
|
195
|
+
extern FRM_HEADER_WSQ frm_header_wsq;
|
|
196
|
+
extern float hifilt[];
|
|
197
|
+
extern float lofilt[];
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
/* External function definitions. */
|
|
201
|
+
/* cropcoeff.c */
|
|
202
|
+
extern void quant_block_sizes2(int *, int *, int *, const DQT_TABLE *,
|
|
203
|
+
W_TREE *, const int, Q_TREE *, const int);
|
|
204
|
+
extern int wsq_crop_qdata(const DQT_TABLE *, Q_TREE *, Q_TREE *, Q_TREE *,
|
|
205
|
+
short *, int, int, int, int, short *);
|
|
206
|
+
extern int wsq_cropcoeff_mem(unsigned char **, int *, int *, int *, int, int,
|
|
207
|
+
int, int, int *, int *, unsigned char *, const int, short **,
|
|
208
|
+
int *, int *);
|
|
209
|
+
extern int wsq_huffcode_mem(unsigned char *, int *, short *, int, int,
|
|
210
|
+
unsigned char *, const int, const int, const int);
|
|
211
|
+
extern int wsq_dehuff_mem(short **, int *, int *, double *, double *,
|
|
212
|
+
int *, int *, unsigned char *, const int ilen);
|
|
213
|
+
extern int read_wsq_frame_header(unsigned char *, const int, int *, int *,
|
|
214
|
+
double *, double *);
|
|
215
|
+
|
|
216
|
+
/* decoder.c */
|
|
217
|
+
extern int wsq_decode_mem(unsigned char **, int *, int *, int *, int *, int *,
|
|
218
|
+
unsigned char *, const int);
|
|
219
|
+
extern int wsq_decode_file(unsigned char **, int *, int *, int *, int *,
|
|
220
|
+
int *, FILE *);
|
|
221
|
+
extern int huffman_decode_data_mem(short *, DTT_TABLE *, DQT_TABLE *,
|
|
222
|
+
DHT_TABLE *, unsigned char **, unsigned char *);
|
|
223
|
+
extern int huffman_decode_data_file(short *, DTT_TABLE *, DQT_TABLE *,
|
|
224
|
+
DHT_TABLE *, FILE *);
|
|
225
|
+
extern int decode_data_mem(int *, int *, int *, int *, unsigned char *,
|
|
226
|
+
unsigned char **, unsigned char *, int *, unsigned short *);
|
|
227
|
+
extern int decode_data_file(int *, int *, int *, int *, unsigned char *, FILE *,
|
|
228
|
+
int *, unsigned short *);
|
|
229
|
+
extern int nextbits_wsq(unsigned short *, unsigned short *, FILE *, int *,
|
|
230
|
+
const int);
|
|
231
|
+
extern int getc_nextbits_wsq(unsigned short *, unsigned short *,
|
|
232
|
+
unsigned char **, unsigned char *, int *, const int);
|
|
233
|
+
|
|
234
|
+
/* encoder.c */
|
|
235
|
+
extern int wsq_encode_mem(unsigned char **, int *, const float, unsigned char *,
|
|
236
|
+
const int, const int, const int, const int, char *);
|
|
237
|
+
extern int gen_hufftable_wsq(HUFFCODE **, unsigned char **, unsigned char **,
|
|
238
|
+
short *, const int *, const int);
|
|
239
|
+
extern int compress_block(unsigned char *, int *, short *,
|
|
240
|
+
const int, const int, const int, HUFFCODE *);
|
|
241
|
+
extern int count_block(int **, const int, short *,
|
|
242
|
+
const int, const int, const int);
|
|
243
|
+
|
|
244
|
+
/* huff.c */
|
|
245
|
+
extern int check_huffcodes_wsq(HUFFCODE *, int);
|
|
246
|
+
|
|
247
|
+
/* ppi.c */
|
|
248
|
+
extern int read_ppi_wsq(int *, FILE *);
|
|
249
|
+
extern int getc_ppi_wsq(int *, unsigned char *, const int);
|
|
250
|
+
|
|
251
|
+
/* tableio.c */
|
|
252
|
+
extern int read_marker_wsq(unsigned short *, const int, FILE *);
|
|
253
|
+
extern int getc_marker_wsq(unsigned short *, const int, unsigned char **,
|
|
254
|
+
unsigned char *);
|
|
255
|
+
extern int read_table_wsq(unsigned short, DTT_TABLE *, DQT_TABLE *, DHT_TABLE *,
|
|
256
|
+
FILE *);
|
|
257
|
+
extern int getc_table_wsq(unsigned short, DTT_TABLE *, DQT_TABLE *, DHT_TABLE *,
|
|
258
|
+
unsigned char **, unsigned char *);
|
|
259
|
+
extern int read_transform_table(DTT_TABLE *, FILE *);
|
|
260
|
+
extern int getc_transform_table(DTT_TABLE *, unsigned char **, unsigned char *);
|
|
261
|
+
extern int write_transform_table(float *, const int, float *, const int,
|
|
262
|
+
FILE *);
|
|
263
|
+
extern int putc_transform_table(float *, const int, float *, const int,
|
|
264
|
+
unsigned char *, const int, int *);
|
|
265
|
+
extern int read_quantization_table(DQT_TABLE *, FILE *);
|
|
266
|
+
extern int getc_quantization_table(DQT_TABLE *, unsigned char **,
|
|
267
|
+
unsigned char *);
|
|
268
|
+
extern int write_quantization_table(QUANT_VALS *, FILE *);
|
|
269
|
+
extern int putc_quantization_table(QUANT_VALS *, unsigned char *, const int,
|
|
270
|
+
int *);
|
|
271
|
+
extern int read_huffman_table_wsq(DHT_TABLE *, FILE *);
|
|
272
|
+
extern int getc_huffman_table_wsq(DHT_TABLE *, unsigned char **,
|
|
273
|
+
unsigned char *);
|
|
274
|
+
extern int read_frame_header_wsq(FRM_HEADER_WSQ *, FILE *);
|
|
275
|
+
extern int getc_frame_header_wsq(FRM_HEADER_WSQ *, unsigned char **,
|
|
276
|
+
unsigned char *);
|
|
277
|
+
extern int write_frame_header_wsq(const int, const int, const float,
|
|
278
|
+
const float, FILE *);
|
|
279
|
+
extern int putc_frame_header_wsq(const int, const int, const float,
|
|
280
|
+
const float, unsigned char *, const int, int *);
|
|
281
|
+
extern int read_block_header(unsigned char *, FILE *);
|
|
282
|
+
extern int getc_block_header(unsigned char *, unsigned char **,
|
|
283
|
+
unsigned char *);
|
|
284
|
+
extern int write_block_header(const int, FILE *);
|
|
285
|
+
extern int putc_block_header(const int, unsigned char *, const int, int *);
|
|
286
|
+
extern int add_comment_wsq(unsigned char **, int *, unsigned char *,
|
|
287
|
+
const int, unsigned char *);
|
|
288
|
+
extern int putc_nistcom_wsq(char *, const int, const int, const int,
|
|
289
|
+
const int, const int, const float, unsigned char *,
|
|
290
|
+
const int, int *);
|
|
291
|
+
extern int read_nistcom_wsq(NISTCOM **, FILE *);
|
|
292
|
+
extern int getc_nistcom_wsq(NISTCOM **, unsigned char *, const int);
|
|
293
|
+
extern int print_comments_wsq(FILE *, unsigned char *, const int);
|
|
294
|
+
|
|
295
|
+
/* tree.c */
|
|
296
|
+
extern void build_wsq_trees(W_TREE w_tree[], const int,
|
|
297
|
+
Q_TREE q_tree[], const int, const int, const int);
|
|
298
|
+
extern void build_w_tree(W_TREE w_tree[], const int, const int);
|
|
299
|
+
extern void w_tree4(W_TREE w_tree[], const int, const int,
|
|
300
|
+
const int, const int, const int, const int, const int);
|
|
301
|
+
extern void build_q_tree(W_TREE w_tree[], Q_TREE q_tree[]);
|
|
302
|
+
extern void q_tree16(Q_TREE q_tree[], const int, const int, const int,
|
|
303
|
+
const int, const int, const int, const int);
|
|
304
|
+
extern void q_tree4(Q_TREE q_tree[], const int, const int, const int,
|
|
305
|
+
const int, const int);
|
|
306
|
+
|
|
307
|
+
/* util.c */
|
|
308
|
+
extern int conv_img_2_flt_ret(float *, float *, float *, unsigned char *,
|
|
309
|
+
const int);
|
|
310
|
+
extern void conv_img_2_flt(float *, float *, float *, unsigned char *,
|
|
311
|
+
const int);
|
|
312
|
+
extern void conv_img_2_uchar(unsigned char *, float *, const int, const int,
|
|
313
|
+
const float, const float);
|
|
314
|
+
extern void variance( QUANT_VALS *quant_vals, Q_TREE q_tree[], const int,
|
|
315
|
+
float *, const int, const int);
|
|
316
|
+
extern int quantize(short **, int *, QUANT_VALS *, Q_TREE qtree[], const int,
|
|
317
|
+
float *, const int, const int);
|
|
318
|
+
extern void quant_block_sizes(int *, int *, int *,
|
|
319
|
+
QUANT_VALS *, W_TREE w_tree[], const int,
|
|
320
|
+
Q_TREE q_tree[], const int);
|
|
321
|
+
extern int unquantize(float **, const DQT_TABLE *,
|
|
322
|
+
Q_TREE q_tree[], const int, short *, const int, const int);
|
|
323
|
+
extern int wsq_decompose(float *, const int, const int,
|
|
324
|
+
W_TREE w_tree[], const int, float *, const int,
|
|
325
|
+
float *, const int);
|
|
326
|
+
extern void get_lets(float *, float *, const int, const int, const int,
|
|
327
|
+
const int, float *, const int, float *, const int, const int);
|
|
328
|
+
extern int wsq_reconstruct(float *, const int, const int,
|
|
329
|
+
W_TREE w_tree[], const int, const DTT_TABLE *);
|
|
330
|
+
extern void join_lets(float *, float *, const int, const int,
|
|
331
|
+
const int, const int, float *, const int,
|
|
332
|
+
float *, const int, const int);
|
|
333
|
+
extern int int_sign(const int);
|
|
334
|
+
extern int image_size(const int, short *, short *);
|
|
335
|
+
extern void init_wsq_decoder_resources(void);
|
|
336
|
+
extern void free_wsq_decoder_resources(void);
|
|
337
|
+
|
|
338
|
+
extern int delete_comments_wsq(unsigned char **, int *, unsigned char *, int);
|
|
339
|
+
|
|
340
|
+
#endif /* !_WSQ_H */
|
|
@@ -0,0 +1,332 @@
|
|
|
1
|
+
/* zconf.h -- configuration of the zlib compression library
|
|
2
|
+
* Copyright (C) 1995-2005 Jean-loup Gailly.
|
|
3
|
+
* For conditions of distribution and use, see copyright notice in zlib.h
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/* @(#) $Id$ */
|
|
7
|
+
|
|
8
|
+
#ifndef ZCONF_H
|
|
9
|
+
#define ZCONF_H
|
|
10
|
+
|
|
11
|
+
/*
|
|
12
|
+
* If you *really* need a unique prefix for all types and library functions,
|
|
13
|
+
* compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.
|
|
14
|
+
*/
|
|
15
|
+
#ifdef Z_PREFIX
|
|
16
|
+
# define deflateInit_ z_deflateInit_
|
|
17
|
+
# define deflate z_deflate
|
|
18
|
+
# define deflateEnd z_deflateEnd
|
|
19
|
+
# define inflateInit_ z_inflateInit_
|
|
20
|
+
# define inflate z_inflate
|
|
21
|
+
# define inflateEnd z_inflateEnd
|
|
22
|
+
# define deflateInit2_ z_deflateInit2_
|
|
23
|
+
# define deflateSetDictionary z_deflateSetDictionary
|
|
24
|
+
# define deflateCopy z_deflateCopy
|
|
25
|
+
# define deflateReset z_deflateReset
|
|
26
|
+
# define deflateParams z_deflateParams
|
|
27
|
+
# define deflateBound z_deflateBound
|
|
28
|
+
# define deflatePrime z_deflatePrime
|
|
29
|
+
# define inflateInit2_ z_inflateInit2_
|
|
30
|
+
# define inflateSetDictionary z_inflateSetDictionary
|
|
31
|
+
# define inflateSync z_inflateSync
|
|
32
|
+
# define inflateSyncPoint z_inflateSyncPoint
|
|
33
|
+
# define inflateCopy z_inflateCopy
|
|
34
|
+
# define inflateReset z_inflateReset
|
|
35
|
+
# define inflateBack z_inflateBack
|
|
36
|
+
# define inflateBackEnd z_inflateBackEnd
|
|
37
|
+
# define compress z_compress
|
|
38
|
+
# define compress2 z_compress2
|
|
39
|
+
# define compressBound z_compressBound
|
|
40
|
+
# define uncompress z_uncompress
|
|
41
|
+
# define adler32 z_adler32
|
|
42
|
+
# define crc32 z_crc32
|
|
43
|
+
# define get_crc_table z_get_crc_table
|
|
44
|
+
# define zError z_zError
|
|
45
|
+
|
|
46
|
+
# define alloc_func z_alloc_func
|
|
47
|
+
# define free_func z_free_func
|
|
48
|
+
# define in_func z_in_func
|
|
49
|
+
# define out_func z_out_func
|
|
50
|
+
# define Byte z_Byte
|
|
51
|
+
# define uInt z_uInt
|
|
52
|
+
# define uLong z_uLong
|
|
53
|
+
# define Bytef z_Bytef
|
|
54
|
+
# define charf z_charf
|
|
55
|
+
# define intf z_intf
|
|
56
|
+
# define uIntf z_uIntf
|
|
57
|
+
# define uLongf z_uLongf
|
|
58
|
+
# define voidpf z_voidpf
|
|
59
|
+
# define voidp z_voidp
|
|
60
|
+
#endif
|
|
61
|
+
|
|
62
|
+
#if defined(__MSDOS__) && !defined(MSDOS)
|
|
63
|
+
# define MSDOS
|
|
64
|
+
#endif
|
|
65
|
+
#if (defined(OS_2) || defined(__OS2__)) && !defined(OS2)
|
|
66
|
+
# define OS2
|
|
67
|
+
#endif
|
|
68
|
+
#if defined(_WINDOWS) && !defined(WINDOWS)
|
|
69
|
+
# define WINDOWS
|
|
70
|
+
#endif
|
|
71
|
+
#if defined(_WIN32) || defined(_WIN32_WCE) || defined(__WIN32__)
|
|
72
|
+
# ifndef WIN32
|
|
73
|
+
# define WIN32
|
|
74
|
+
# endif
|
|
75
|
+
#endif
|
|
76
|
+
#if (defined(MSDOS) || defined(OS2) || defined(WINDOWS)) && !defined(WIN32)
|
|
77
|
+
# if !defined(__GNUC__) && !defined(__FLAT__) && !defined(__386__)
|
|
78
|
+
# ifndef SYS16BIT
|
|
79
|
+
# define SYS16BIT
|
|
80
|
+
# endif
|
|
81
|
+
# endif
|
|
82
|
+
#endif
|
|
83
|
+
|
|
84
|
+
/*
|
|
85
|
+
* Compile with -DMAXSEG_64K if the alloc function cannot allocate more
|
|
86
|
+
* than 64k bytes at a time (needed on systems with 16-bit int).
|
|
87
|
+
*/
|
|
88
|
+
#ifdef SYS16BIT
|
|
89
|
+
# define MAXSEG_64K
|
|
90
|
+
#endif
|
|
91
|
+
#ifdef MSDOS
|
|
92
|
+
# define UNALIGNED_OK
|
|
93
|
+
#endif
|
|
94
|
+
|
|
95
|
+
#ifdef __STDC_VERSION__
|
|
96
|
+
# ifndef STDC
|
|
97
|
+
# define STDC
|
|
98
|
+
# endif
|
|
99
|
+
# if __STDC_VERSION__ >= 199901L
|
|
100
|
+
# ifndef STDC99
|
|
101
|
+
# define STDC99
|
|
102
|
+
# endif
|
|
103
|
+
# endif
|
|
104
|
+
#endif
|
|
105
|
+
#if !defined(STDC) && (defined(__STDC__) || defined(__cplusplus))
|
|
106
|
+
# define STDC
|
|
107
|
+
#endif
|
|
108
|
+
#if !defined(STDC) && (defined(__GNUC__) || defined(__BORLANDC__))
|
|
109
|
+
# define STDC
|
|
110
|
+
#endif
|
|
111
|
+
#if !defined(STDC) && (defined(MSDOS) || defined(WINDOWS) || defined(WIN32))
|
|
112
|
+
# define STDC
|
|
113
|
+
#endif
|
|
114
|
+
#if !defined(STDC) && (defined(OS2) || defined(__HOS_AIX__))
|
|
115
|
+
# define STDC
|
|
116
|
+
#endif
|
|
117
|
+
|
|
118
|
+
#if defined(__OS400__) && !defined(STDC) /* iSeries (formerly AS/400). */
|
|
119
|
+
# define STDC
|
|
120
|
+
#endif
|
|
121
|
+
|
|
122
|
+
#ifndef STDC
|
|
123
|
+
# ifndef const /* cannot use !defined(STDC) && !defined(const) on Mac */
|
|
124
|
+
# define const /* note: need a more gentle solution here */
|
|
125
|
+
# endif
|
|
126
|
+
#endif
|
|
127
|
+
|
|
128
|
+
/* Some Mac compilers merge all .h files incorrectly: */
|
|
129
|
+
#if defined(__MWERKS__)||defined(applec)||defined(THINK_C)||defined(__SC__)
|
|
130
|
+
# define NO_DUMMY_DECL
|
|
131
|
+
#endif
|
|
132
|
+
|
|
133
|
+
/* Maximum value for memLevel in deflateInit2 */
|
|
134
|
+
#ifndef MAX_MEM_LEVEL
|
|
135
|
+
# ifdef MAXSEG_64K
|
|
136
|
+
# define MAX_MEM_LEVEL 8
|
|
137
|
+
# else
|
|
138
|
+
# define MAX_MEM_LEVEL 9
|
|
139
|
+
# endif
|
|
140
|
+
#endif
|
|
141
|
+
|
|
142
|
+
/* Maximum value for windowBits in deflateInit2 and inflateInit2.
|
|
143
|
+
* WARNING: reducing MAX_WBITS makes minigzip unable to extract .gz files
|
|
144
|
+
* created by gzip. (Files created by minigzip can still be extracted by
|
|
145
|
+
* gzip.)
|
|
146
|
+
*/
|
|
147
|
+
#ifndef MAX_WBITS
|
|
148
|
+
# define MAX_WBITS 15 /* 32K LZ77 window */
|
|
149
|
+
#endif
|
|
150
|
+
|
|
151
|
+
/* The memory requirements for deflate are (in bytes):
|
|
152
|
+
(1 << (windowBits+2)) + (1 << (memLevel+9))
|
|
153
|
+
that is: 128K for windowBits=15 + 128K for memLevel = 8 (default values)
|
|
154
|
+
plus a few kilobytes for small objects. For example, if you want to reduce
|
|
155
|
+
the default memory requirements from 256K to 128K, compile with
|
|
156
|
+
make CFLAGS="-O -DMAX_WBITS=14 -DMAX_MEM_LEVEL=7"
|
|
157
|
+
Of course this will generally degrade compression (there's no free lunch).
|
|
158
|
+
|
|
159
|
+
The memory requirements for inflate are (in bytes) 1 << windowBits
|
|
160
|
+
that is, 32K for windowBits=15 (default value) plus a few kilobytes
|
|
161
|
+
for small objects.
|
|
162
|
+
*/
|
|
163
|
+
|
|
164
|
+
/* Type declarations */
|
|
165
|
+
|
|
166
|
+
#ifndef OF /* function prototypes */
|
|
167
|
+
# ifdef STDC
|
|
168
|
+
# define OF(args) args
|
|
169
|
+
# else
|
|
170
|
+
# define OF(args) ()
|
|
171
|
+
# endif
|
|
172
|
+
#endif
|
|
173
|
+
|
|
174
|
+
/* The following definitions for FAR are needed only for MSDOS mixed
|
|
175
|
+
* model programming (small or medium model with some far allocations).
|
|
176
|
+
* This was tested only with MSC; for other MSDOS compilers you may have
|
|
177
|
+
* to define NO_MEMCPY in zutil.h. If you don't need the mixed model,
|
|
178
|
+
* just define FAR to be empty.
|
|
179
|
+
*/
|
|
180
|
+
#ifdef SYS16BIT
|
|
181
|
+
# if defined(M_I86SM) || defined(M_I86MM)
|
|
182
|
+
/* MSC small or medium model */
|
|
183
|
+
# define SMALL_MEDIUM
|
|
184
|
+
# ifdef _MSC_VER
|
|
185
|
+
# define FAR _far
|
|
186
|
+
# else
|
|
187
|
+
# define FAR far
|
|
188
|
+
# endif
|
|
189
|
+
# endif
|
|
190
|
+
# if (defined(__SMALL__) || defined(__MEDIUM__))
|
|
191
|
+
/* Turbo C small or medium model */
|
|
192
|
+
# define SMALL_MEDIUM
|
|
193
|
+
# ifdef __BORLANDC__
|
|
194
|
+
# define FAR _far
|
|
195
|
+
# else
|
|
196
|
+
# define FAR far
|
|
197
|
+
# endif
|
|
198
|
+
# endif
|
|
199
|
+
#endif
|
|
200
|
+
|
|
201
|
+
#if defined(WINDOWS) || defined(WIN32)
|
|
202
|
+
/* If building or using zlib as a DLL, define ZLIB_DLL.
|
|
203
|
+
* This is not mandatory, but it offers a little performance increase.
|
|
204
|
+
*/
|
|
205
|
+
# ifdef ZLIB_DLL
|
|
206
|
+
# if defined(WIN32) && (!defined(__BORLANDC__) || (__BORLANDC__ >= 0x500))
|
|
207
|
+
# ifdef ZLIB_INTERNAL
|
|
208
|
+
# define ZEXTERN extern __declspec(dllexport)
|
|
209
|
+
# else
|
|
210
|
+
# define ZEXTERN extern __declspec(dllimport)
|
|
211
|
+
# endif
|
|
212
|
+
# endif
|
|
213
|
+
# endif /* ZLIB_DLL */
|
|
214
|
+
/* If building or using zlib with the WINAPI/WINAPIV calling convention,
|
|
215
|
+
* define ZLIB_WINAPI.
|
|
216
|
+
* Caution: the standard ZLIB1.DLL is NOT compiled using ZLIB_WINAPI.
|
|
217
|
+
*/
|
|
218
|
+
# ifdef ZLIB_WINAPI
|
|
219
|
+
# ifdef FAR
|
|
220
|
+
# undef FAR
|
|
221
|
+
# endif
|
|
222
|
+
# include <windows.h>
|
|
223
|
+
/* No need for _export, use ZLIB.DEF instead. */
|
|
224
|
+
/* For complete Windows compatibility, use WINAPI, not __stdcall. */
|
|
225
|
+
# define ZEXPORT WINAPI
|
|
226
|
+
# ifdef WIN32
|
|
227
|
+
# define ZEXPORTVA WINAPIV
|
|
228
|
+
# else
|
|
229
|
+
# define ZEXPORTVA FAR CDECL
|
|
230
|
+
# endif
|
|
231
|
+
# endif
|
|
232
|
+
#endif
|
|
233
|
+
|
|
234
|
+
#if defined (__BEOS__)
|
|
235
|
+
# ifdef ZLIB_DLL
|
|
236
|
+
# ifdef ZLIB_INTERNAL
|
|
237
|
+
# define ZEXPORT __declspec(dllexport)
|
|
238
|
+
# define ZEXPORTVA __declspec(dllexport)
|
|
239
|
+
# else
|
|
240
|
+
# define ZEXPORT __declspec(dllimport)
|
|
241
|
+
# define ZEXPORTVA __declspec(dllimport)
|
|
242
|
+
# endif
|
|
243
|
+
# endif
|
|
244
|
+
#endif
|
|
245
|
+
|
|
246
|
+
#ifndef ZEXTERN
|
|
247
|
+
# define ZEXTERN extern
|
|
248
|
+
#endif
|
|
249
|
+
#ifndef ZEXPORT
|
|
250
|
+
# define ZEXPORT
|
|
251
|
+
#endif
|
|
252
|
+
#ifndef ZEXPORTVA
|
|
253
|
+
# define ZEXPORTVA
|
|
254
|
+
#endif
|
|
255
|
+
|
|
256
|
+
#ifndef FAR
|
|
257
|
+
# define FAR
|
|
258
|
+
#endif
|
|
259
|
+
|
|
260
|
+
#if !defined(__MACTYPES__)
|
|
261
|
+
typedef unsigned char Byte; /* 8 bits */
|
|
262
|
+
#endif
|
|
263
|
+
typedef unsigned int uInt; /* 16 bits or more */
|
|
264
|
+
typedef unsigned long uLong; /* 32 bits or more */
|
|
265
|
+
|
|
266
|
+
#ifdef SMALL_MEDIUM
|
|
267
|
+
/* Borland C/C++ and some old MSC versions ignore FAR inside typedef */
|
|
268
|
+
# define Bytef Byte FAR
|
|
269
|
+
#else
|
|
270
|
+
typedef Byte FAR Bytef;
|
|
271
|
+
#endif
|
|
272
|
+
typedef char FAR charf;
|
|
273
|
+
typedef int FAR intf;
|
|
274
|
+
typedef uInt FAR uIntf;
|
|
275
|
+
typedef uLong FAR uLongf;
|
|
276
|
+
|
|
277
|
+
#ifdef STDC
|
|
278
|
+
typedef void const *voidpc;
|
|
279
|
+
typedef void FAR *voidpf;
|
|
280
|
+
typedef void *voidp;
|
|
281
|
+
#else
|
|
282
|
+
typedef Byte const *voidpc;
|
|
283
|
+
typedef Byte FAR *voidpf;
|
|
284
|
+
typedef Byte *voidp;
|
|
285
|
+
#endif
|
|
286
|
+
|
|
287
|
+
#if 1 /* HAVE_UNISTD_H -- this line is updated by ./configure */
|
|
288
|
+
# include <sys/types.h> /* for off_t */
|
|
289
|
+
# include <unistd.h> /* for SEEK_* and off_t */
|
|
290
|
+
# ifdef VMS
|
|
291
|
+
# include <unixio.h> /* for off_t */
|
|
292
|
+
# endif
|
|
293
|
+
# define z_off_t off_t
|
|
294
|
+
#endif
|
|
295
|
+
#ifndef SEEK_SET
|
|
296
|
+
# define SEEK_SET 0 /* Seek from beginning of file. */
|
|
297
|
+
# define SEEK_CUR 1 /* Seek from current position. */
|
|
298
|
+
# define SEEK_END 2 /* Set file pointer to EOF plus "offset" */
|
|
299
|
+
#endif
|
|
300
|
+
#ifndef z_off_t
|
|
301
|
+
# define z_off_t long
|
|
302
|
+
#endif
|
|
303
|
+
|
|
304
|
+
#if defined(__OS400__)
|
|
305
|
+
# define NO_vsnprintf
|
|
306
|
+
#endif
|
|
307
|
+
|
|
308
|
+
#if defined(__MVS__)
|
|
309
|
+
# define NO_vsnprintf
|
|
310
|
+
# ifdef FAR
|
|
311
|
+
# undef FAR
|
|
312
|
+
# endif
|
|
313
|
+
#endif
|
|
314
|
+
|
|
315
|
+
/* MVS linker does not support external names larger than 8 bytes */
|
|
316
|
+
#if defined(__MVS__)
|
|
317
|
+
# pragma map(deflateInit_,"DEIN")
|
|
318
|
+
# pragma map(deflateInit2_,"DEIN2")
|
|
319
|
+
# pragma map(deflateEnd,"DEEND")
|
|
320
|
+
# pragma map(deflateBound,"DEBND")
|
|
321
|
+
# pragma map(inflateInit_,"ININ")
|
|
322
|
+
# pragma map(inflateInit2_,"ININ2")
|
|
323
|
+
# pragma map(inflateEnd,"INEND")
|
|
324
|
+
# pragma map(inflateSync,"INSY")
|
|
325
|
+
# pragma map(inflateSetDictionary,"INSEDI")
|
|
326
|
+
# pragma map(compressBound,"CMBND")
|
|
327
|
+
# pragma map(inflate_table,"INTABL")
|
|
328
|
+
# pragma map(inflate_fast,"INFA")
|
|
329
|
+
# pragma map(inflate_copyright,"INCOPY")
|
|
330
|
+
#endif
|
|
331
|
+
|
|
332
|
+
#endif /* ZCONF_H */
|