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,392 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* jpegint.h
|
|
3
|
+
*
|
|
4
|
+
* Copyright (C) 1991-1997, Thomas G. Lane.
|
|
5
|
+
* This file is part of the Independent JPEG Group's software.
|
|
6
|
+
* For conditions of distribution and use, see the accompanying README file.
|
|
7
|
+
*
|
|
8
|
+
* This file provides common declarations for the various JPEG modules.
|
|
9
|
+
* These declarations are considered internal to the JPEG library; most
|
|
10
|
+
* applications using the library shouldn't need to include this file.
|
|
11
|
+
*/
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
/* Declarations for both compression & decompression */
|
|
15
|
+
|
|
16
|
+
typedef enum { /* Operating modes for buffer controllers */
|
|
17
|
+
JBUF_PASS_THRU, /* Plain stripwise operation */
|
|
18
|
+
/* Remaining modes require a full-image buffer to have been created */
|
|
19
|
+
JBUF_SAVE_SOURCE, /* Run source subobject only, save output */
|
|
20
|
+
JBUF_CRANK_DEST, /* Run dest subobject only, using saved data */
|
|
21
|
+
JBUF_SAVE_AND_PASS /* Run both subobjects, save output */
|
|
22
|
+
} J_BUF_MODE;
|
|
23
|
+
|
|
24
|
+
/* Values of global_state field (jdapi.c has some dependencies on ordering!) */
|
|
25
|
+
#define CSTATE_START 100 /* after create_compress */
|
|
26
|
+
#define CSTATE_SCANNING 101 /* start_compress done, write_scanlines OK */
|
|
27
|
+
#define CSTATE_RAW_OK 102 /* start_compress done, write_raw_data OK */
|
|
28
|
+
#define CSTATE_WRCOEFS 103 /* jpeg_write_coefficients done */
|
|
29
|
+
#define DSTATE_START 200 /* after create_decompress */
|
|
30
|
+
#define DSTATE_INHEADER 201 /* reading header markers, no SOS yet */
|
|
31
|
+
#define DSTATE_READY 202 /* found SOS, ready for start_decompress */
|
|
32
|
+
#define DSTATE_PRELOAD 203 /* reading multiscan file in start_decompress*/
|
|
33
|
+
#define DSTATE_PRESCAN 204 /* performing dummy pass for 2-pass quant */
|
|
34
|
+
#define DSTATE_SCANNING 205 /* start_decompress done, read_scanlines OK */
|
|
35
|
+
#define DSTATE_RAW_OK 206 /* start_decompress done, read_raw_data OK */
|
|
36
|
+
#define DSTATE_BUFIMAGE 207 /* expecting jpeg_start_output */
|
|
37
|
+
#define DSTATE_BUFPOST 208 /* looking for SOS/EOI in jpeg_finish_output */
|
|
38
|
+
#define DSTATE_RDCOEFS 209 /* reading file in jpeg_read_coefficients */
|
|
39
|
+
#define DSTATE_STOPPING 210 /* looking for EOI in jpeg_finish_decompress */
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
/* Declarations for compression modules */
|
|
43
|
+
|
|
44
|
+
/* Master control module */
|
|
45
|
+
struct jpeg_comp_master {
|
|
46
|
+
JMETHOD(void, prepare_for_pass, (j_compress_ptr cinfo));
|
|
47
|
+
JMETHOD(void, pass_startup, (j_compress_ptr cinfo));
|
|
48
|
+
JMETHOD(void, finish_pass, (j_compress_ptr cinfo));
|
|
49
|
+
|
|
50
|
+
/* State variables made visible to other modules */
|
|
51
|
+
boolean call_pass_startup; /* True if pass_startup must be called */
|
|
52
|
+
boolean is_last_pass; /* True during last pass */
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
/* Main buffer control (downsampled-data buffer) */
|
|
56
|
+
struct jpeg_c_main_controller {
|
|
57
|
+
JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
|
|
58
|
+
JMETHOD(void, process_data, (j_compress_ptr cinfo,
|
|
59
|
+
JSAMPARRAY input_buf, JDIMENSION *in_row_ctr,
|
|
60
|
+
JDIMENSION in_rows_avail));
|
|
61
|
+
};
|
|
62
|
+
|
|
63
|
+
/* Compression preprocessing (downsampling input buffer control) */
|
|
64
|
+
struct jpeg_c_prep_controller {
|
|
65
|
+
JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
|
|
66
|
+
JMETHOD(void, pre_process_data, (j_compress_ptr cinfo,
|
|
67
|
+
JSAMPARRAY input_buf,
|
|
68
|
+
JDIMENSION *in_row_ctr,
|
|
69
|
+
JDIMENSION in_rows_avail,
|
|
70
|
+
JSAMPIMAGE output_buf,
|
|
71
|
+
JDIMENSION *out_row_group_ctr,
|
|
72
|
+
JDIMENSION out_row_groups_avail));
|
|
73
|
+
};
|
|
74
|
+
|
|
75
|
+
/* Coefficient buffer control */
|
|
76
|
+
struct jpeg_c_coef_controller {
|
|
77
|
+
JMETHOD(void, start_pass, (j_compress_ptr cinfo, J_BUF_MODE pass_mode));
|
|
78
|
+
JMETHOD(boolean, compress_data, (j_compress_ptr cinfo,
|
|
79
|
+
JSAMPIMAGE input_buf));
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/* Colorspace conversion */
|
|
83
|
+
struct jpeg_color_converter {
|
|
84
|
+
JMETHOD(void, start_pass, (j_compress_ptr cinfo));
|
|
85
|
+
JMETHOD(void, color_convert, (j_compress_ptr cinfo,
|
|
86
|
+
JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
|
|
87
|
+
JDIMENSION output_row, int num_rows));
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
/* Downsampling */
|
|
91
|
+
struct jpeg_downsampler {
|
|
92
|
+
JMETHOD(void, start_pass, (j_compress_ptr cinfo));
|
|
93
|
+
JMETHOD(void, downsample, (j_compress_ptr cinfo,
|
|
94
|
+
JSAMPIMAGE input_buf, JDIMENSION in_row_index,
|
|
95
|
+
JSAMPIMAGE output_buf,
|
|
96
|
+
JDIMENSION out_row_group_index));
|
|
97
|
+
|
|
98
|
+
boolean need_context_rows; /* TRUE if need rows above & below */
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
/* Forward DCT (also controls coefficient quantization) */
|
|
102
|
+
struct jpeg_forward_dct {
|
|
103
|
+
JMETHOD(void, start_pass, (j_compress_ptr cinfo));
|
|
104
|
+
/* perhaps this should be an array??? */
|
|
105
|
+
JMETHOD(void, forward_DCT, (j_compress_ptr cinfo,
|
|
106
|
+
jpeg_component_info * compptr,
|
|
107
|
+
JSAMPARRAY sample_data, JBLOCKROW coef_blocks,
|
|
108
|
+
JDIMENSION start_row, JDIMENSION start_col,
|
|
109
|
+
JDIMENSION num_blocks));
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
/* Entropy encoding */
|
|
113
|
+
struct jpeg_entropy_encoder {
|
|
114
|
+
JMETHOD(void, start_pass, (j_compress_ptr cinfo, boolean gather_statistics));
|
|
115
|
+
JMETHOD(boolean, encode_mcu, (j_compress_ptr cinfo, JBLOCKROW *MCU_data));
|
|
116
|
+
JMETHOD(void, finish_pass, (j_compress_ptr cinfo));
|
|
117
|
+
};
|
|
118
|
+
|
|
119
|
+
/* Marker writing */
|
|
120
|
+
struct jpeg_marker_writer {
|
|
121
|
+
JMETHOD(void, write_file_header, (j_compress_ptr cinfo));
|
|
122
|
+
JMETHOD(void, write_frame_header, (j_compress_ptr cinfo));
|
|
123
|
+
JMETHOD(void, write_scan_header, (j_compress_ptr cinfo));
|
|
124
|
+
JMETHOD(void, write_file_trailer, (j_compress_ptr cinfo));
|
|
125
|
+
JMETHOD(void, write_tables_only, (j_compress_ptr cinfo));
|
|
126
|
+
/* These routines are exported to allow insertion of extra markers */
|
|
127
|
+
/* Probably only COM and APPn markers should be written this way */
|
|
128
|
+
JMETHOD(void, write_marker_header, (j_compress_ptr cinfo, int marker,
|
|
129
|
+
unsigned int datalen));
|
|
130
|
+
JMETHOD(void, write_marker_byte, (j_compress_ptr cinfo, int val));
|
|
131
|
+
};
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
/* Declarations for decompression modules */
|
|
135
|
+
|
|
136
|
+
/* Master control module */
|
|
137
|
+
struct jpeg_decomp_master {
|
|
138
|
+
JMETHOD(void, prepare_for_output_pass, (j_decompress_ptr cinfo));
|
|
139
|
+
JMETHOD(void, finish_output_pass, (j_decompress_ptr cinfo));
|
|
140
|
+
|
|
141
|
+
/* State variables made visible to other modules */
|
|
142
|
+
boolean is_dummy_pass; /* True during 1st pass for 2-pass quant */
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
/* Input control module */
|
|
146
|
+
struct jpeg_input_controller {
|
|
147
|
+
JMETHOD(int, consume_input, (j_decompress_ptr cinfo));
|
|
148
|
+
JMETHOD(void, reset_input_controller, (j_decompress_ptr cinfo));
|
|
149
|
+
JMETHOD(void, start_input_pass, (j_decompress_ptr cinfo));
|
|
150
|
+
JMETHOD(void, finish_input_pass, (j_decompress_ptr cinfo));
|
|
151
|
+
|
|
152
|
+
/* State variables made visible to other modules */
|
|
153
|
+
boolean has_multiple_scans; /* True if file has multiple scans */
|
|
154
|
+
boolean eoi_reached; /* True when EOI has been consumed */
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
/* Main buffer control (downsampled-data buffer) */
|
|
158
|
+
struct jpeg_d_main_controller {
|
|
159
|
+
JMETHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode));
|
|
160
|
+
JMETHOD(void, process_data, (j_decompress_ptr cinfo,
|
|
161
|
+
JSAMPARRAY output_buf, JDIMENSION *out_row_ctr,
|
|
162
|
+
JDIMENSION out_rows_avail));
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
/* Coefficient buffer control */
|
|
166
|
+
struct jpeg_d_coef_controller {
|
|
167
|
+
JMETHOD(void, start_input_pass, (j_decompress_ptr cinfo));
|
|
168
|
+
JMETHOD(int, consume_data, (j_decompress_ptr cinfo));
|
|
169
|
+
JMETHOD(void, start_output_pass, (j_decompress_ptr cinfo));
|
|
170
|
+
JMETHOD(int, decompress_data, (j_decompress_ptr cinfo,
|
|
171
|
+
JSAMPIMAGE output_buf));
|
|
172
|
+
/* Pointer to array of coefficient virtual arrays, or NULL if none */
|
|
173
|
+
jvirt_barray_ptr *coef_arrays;
|
|
174
|
+
};
|
|
175
|
+
|
|
176
|
+
/* Decompression postprocessing (color quantization buffer control) */
|
|
177
|
+
struct jpeg_d_post_controller {
|
|
178
|
+
JMETHOD(void, start_pass, (j_decompress_ptr cinfo, J_BUF_MODE pass_mode));
|
|
179
|
+
JMETHOD(void, post_process_data, (j_decompress_ptr cinfo,
|
|
180
|
+
JSAMPIMAGE input_buf,
|
|
181
|
+
JDIMENSION *in_row_group_ctr,
|
|
182
|
+
JDIMENSION in_row_groups_avail,
|
|
183
|
+
JSAMPARRAY output_buf,
|
|
184
|
+
JDIMENSION *out_row_ctr,
|
|
185
|
+
JDIMENSION out_rows_avail));
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
/* Marker reading & parsing */
|
|
189
|
+
struct jpeg_marker_reader {
|
|
190
|
+
JMETHOD(void, reset_marker_reader, (j_decompress_ptr cinfo));
|
|
191
|
+
/* Read markers until SOS or EOI.
|
|
192
|
+
* Returns same codes as are defined for jpeg_consume_input:
|
|
193
|
+
* JPEG_SUSPENDED, JPEG_REACHED_SOS, or JPEG_REACHED_EOI.
|
|
194
|
+
*/
|
|
195
|
+
JMETHOD(int, read_markers, (j_decompress_ptr cinfo));
|
|
196
|
+
/* Read a restart marker --- exported for use by entropy decoder only */
|
|
197
|
+
jpeg_marker_parser_method read_restart_marker;
|
|
198
|
+
|
|
199
|
+
/* State of marker reader --- nominally internal, but applications
|
|
200
|
+
* supplying COM or APPn handlers might like to know the state.
|
|
201
|
+
*/
|
|
202
|
+
boolean saw_SOI; /* found SOI? */
|
|
203
|
+
boolean saw_SOF; /* found SOF? */
|
|
204
|
+
int next_restart_num; /* next restart number expected (0-7) */
|
|
205
|
+
unsigned int discarded_bytes; /* # of bytes skipped looking for a marker */
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
/* Entropy decoding */
|
|
209
|
+
struct jpeg_entropy_decoder {
|
|
210
|
+
JMETHOD(void, start_pass, (j_decompress_ptr cinfo));
|
|
211
|
+
JMETHOD(boolean, decode_mcu, (j_decompress_ptr cinfo,
|
|
212
|
+
JBLOCKROW *MCU_data));
|
|
213
|
+
|
|
214
|
+
/* This is here to share code between baseline and progressive decoders; */
|
|
215
|
+
/* other modules probably should not use it */
|
|
216
|
+
boolean insufficient_data; /* set TRUE after emitting warning */
|
|
217
|
+
};
|
|
218
|
+
|
|
219
|
+
/* Inverse DCT (also performs dequantization) */
|
|
220
|
+
typedef JMETHOD(void, inverse_DCT_method_ptr,
|
|
221
|
+
(j_decompress_ptr cinfo, jpeg_component_info * compptr,
|
|
222
|
+
JCOEFPTR coef_block,
|
|
223
|
+
JSAMPARRAY output_buf, JDIMENSION output_col));
|
|
224
|
+
|
|
225
|
+
struct jpeg_inverse_dct {
|
|
226
|
+
JMETHOD(void, start_pass, (j_decompress_ptr cinfo));
|
|
227
|
+
/* It is useful to allow each component to have a separate IDCT method. */
|
|
228
|
+
inverse_DCT_method_ptr inverse_DCT[MAX_COMPONENTS];
|
|
229
|
+
};
|
|
230
|
+
|
|
231
|
+
/* Upsampling (note that upsampler must also call color converter) */
|
|
232
|
+
struct jpeg_upsampler {
|
|
233
|
+
JMETHOD(void, start_pass, (j_decompress_ptr cinfo));
|
|
234
|
+
JMETHOD(void, upsample, (j_decompress_ptr cinfo,
|
|
235
|
+
JSAMPIMAGE input_buf,
|
|
236
|
+
JDIMENSION *in_row_group_ctr,
|
|
237
|
+
JDIMENSION in_row_groups_avail,
|
|
238
|
+
JSAMPARRAY output_buf,
|
|
239
|
+
JDIMENSION *out_row_ctr,
|
|
240
|
+
JDIMENSION out_rows_avail));
|
|
241
|
+
|
|
242
|
+
boolean need_context_rows; /* TRUE if need rows above & below */
|
|
243
|
+
};
|
|
244
|
+
|
|
245
|
+
/* Colorspace conversion */
|
|
246
|
+
struct jpeg_color_deconverter {
|
|
247
|
+
JMETHOD(void, start_pass, (j_decompress_ptr cinfo));
|
|
248
|
+
JMETHOD(void, color_convert, (j_decompress_ptr cinfo,
|
|
249
|
+
JSAMPIMAGE input_buf, JDIMENSION input_row,
|
|
250
|
+
JSAMPARRAY output_buf, int num_rows));
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
/* Color quantization or color precision reduction */
|
|
254
|
+
struct jpeg_color_quantizer {
|
|
255
|
+
JMETHOD(void, start_pass, (j_decompress_ptr cinfo, boolean is_pre_scan));
|
|
256
|
+
JMETHOD(void, color_quantize, (j_decompress_ptr cinfo,
|
|
257
|
+
JSAMPARRAY input_buf, JSAMPARRAY output_buf,
|
|
258
|
+
int num_rows));
|
|
259
|
+
JMETHOD(void, finish_pass, (j_decompress_ptr cinfo));
|
|
260
|
+
JMETHOD(void, new_color_map, (j_decompress_ptr cinfo));
|
|
261
|
+
};
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
/* Miscellaneous useful macros */
|
|
265
|
+
|
|
266
|
+
#undef MAX
|
|
267
|
+
#define MAX(a,b) ((a) > (b) ? (a) : (b))
|
|
268
|
+
#undef MIN
|
|
269
|
+
#define MIN(a,b) ((a) < (b) ? (a) : (b))
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
/* We assume that right shift corresponds to signed division by 2 with
|
|
273
|
+
* rounding towards minus infinity. This is correct for typical "arithmetic
|
|
274
|
+
* shift" instructions that shift in copies of the sign bit. But some
|
|
275
|
+
* C compilers implement >> with an unsigned shift. For these machines you
|
|
276
|
+
* must define RIGHT_SHIFT_IS_UNSIGNED.
|
|
277
|
+
* RIGHT_SHIFT provides a proper signed right shift of an INT32 quantity.
|
|
278
|
+
* It is only applied with constant shift counts. SHIFT_TEMPS must be
|
|
279
|
+
* included in the variables of any routine using RIGHT_SHIFT.
|
|
280
|
+
*/
|
|
281
|
+
|
|
282
|
+
#ifdef RIGHT_SHIFT_IS_UNSIGNED
|
|
283
|
+
#define SHIFT_TEMPS INT32 shift_temp;
|
|
284
|
+
#define RIGHT_SHIFT(x,shft) \
|
|
285
|
+
((shift_temp = (x)) < 0 ? \
|
|
286
|
+
(shift_temp >> (shft)) | ((~((INT32) 0)) << (32-(shft))) : \
|
|
287
|
+
(shift_temp >> (shft)))
|
|
288
|
+
#else
|
|
289
|
+
#define SHIFT_TEMPS
|
|
290
|
+
#define RIGHT_SHIFT(x,shft) ((x) >> (shft))
|
|
291
|
+
#endif
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
/* Short forms of external names for systems with brain-damaged linkers. */
|
|
295
|
+
|
|
296
|
+
#ifdef NEED_SHORT_EXTERNAL_NAMES
|
|
297
|
+
#define jinit_compress_master jICompress
|
|
298
|
+
#define jinit_c_master_control jICMaster
|
|
299
|
+
#define jinit_c_main_controller jICMainC
|
|
300
|
+
#define jinit_c_prep_controller jICPrepC
|
|
301
|
+
#define jinit_c_coef_controller jICCoefC
|
|
302
|
+
#define jinit_color_converter jICColor
|
|
303
|
+
#define jinit_downsampler jIDownsampler
|
|
304
|
+
#define jinit_forward_dct jIFDCT
|
|
305
|
+
#define jinit_huff_encoder jIHEncoder
|
|
306
|
+
#define jinit_phuff_encoder jIPHEncoder
|
|
307
|
+
#define jinit_marker_writer jIMWriter
|
|
308
|
+
#define jinit_master_decompress jIDMaster
|
|
309
|
+
#define jinit_d_main_controller jIDMainC
|
|
310
|
+
#define jinit_d_coef_controller jIDCoefC
|
|
311
|
+
#define jinit_d_post_controller jIDPostC
|
|
312
|
+
#define jinit_input_controller jIInCtlr
|
|
313
|
+
#define jinit_marker_reader jIMReader
|
|
314
|
+
#define jinit_huff_decoder jIHDecoder
|
|
315
|
+
#define jinit_phuff_decoder jIPHDecoder
|
|
316
|
+
#define jinit_inverse_dct jIIDCT
|
|
317
|
+
#define jinit_upsampler jIUpsampler
|
|
318
|
+
#define jinit_color_deconverter jIDColor
|
|
319
|
+
#define jinit_1pass_quantizer jI1Quant
|
|
320
|
+
#define jinit_2pass_quantizer jI2Quant
|
|
321
|
+
#define jinit_merged_upsampler jIMUpsampler
|
|
322
|
+
#define jinit_memory_mgr jIMemMgr
|
|
323
|
+
#define jdiv_round_up jDivRound
|
|
324
|
+
#define jround_up jRound
|
|
325
|
+
#define jcopy_sample_rows jCopySamples
|
|
326
|
+
#define jcopy_block_row jCopyBlocks
|
|
327
|
+
#define jzero_far jZeroFar
|
|
328
|
+
#define jpeg_zigzag_order jZIGTable
|
|
329
|
+
#define jpeg_natural_order jZAGTable
|
|
330
|
+
#endif /* NEED_SHORT_EXTERNAL_NAMES */
|
|
331
|
+
|
|
332
|
+
|
|
333
|
+
/* Compression module initialization routines */
|
|
334
|
+
EXTERN(void) jinit_compress_master JPP((j_compress_ptr cinfo));
|
|
335
|
+
EXTERN(void) jinit_c_master_control JPP((j_compress_ptr cinfo,
|
|
336
|
+
boolean transcode_only));
|
|
337
|
+
EXTERN(void) jinit_c_main_controller JPP((j_compress_ptr cinfo,
|
|
338
|
+
boolean need_full_buffer));
|
|
339
|
+
EXTERN(void) jinit_c_prep_controller JPP((j_compress_ptr cinfo,
|
|
340
|
+
boolean need_full_buffer));
|
|
341
|
+
EXTERN(void) jinit_c_coef_controller JPP((j_compress_ptr cinfo,
|
|
342
|
+
boolean need_full_buffer));
|
|
343
|
+
EXTERN(void) jinit_color_converter JPP((j_compress_ptr cinfo));
|
|
344
|
+
EXTERN(void) jinit_downsampler JPP((j_compress_ptr cinfo));
|
|
345
|
+
EXTERN(void) jinit_forward_dct JPP((j_compress_ptr cinfo));
|
|
346
|
+
EXTERN(void) jinit_huff_encoder JPP((j_compress_ptr cinfo));
|
|
347
|
+
EXTERN(void) jinit_phuff_encoder JPP((j_compress_ptr cinfo));
|
|
348
|
+
EXTERN(void) jinit_marker_writer JPP((j_compress_ptr cinfo));
|
|
349
|
+
/* Decompression module initialization routines */
|
|
350
|
+
EXTERN(void) jinit_master_decompress JPP((j_decompress_ptr cinfo));
|
|
351
|
+
EXTERN(void) jinit_d_main_controller JPP((j_decompress_ptr cinfo,
|
|
352
|
+
boolean need_full_buffer));
|
|
353
|
+
EXTERN(void) jinit_d_coef_controller JPP((j_decompress_ptr cinfo,
|
|
354
|
+
boolean need_full_buffer));
|
|
355
|
+
EXTERN(void) jinit_d_post_controller JPP((j_decompress_ptr cinfo,
|
|
356
|
+
boolean need_full_buffer));
|
|
357
|
+
EXTERN(void) jinit_input_controller JPP((j_decompress_ptr cinfo));
|
|
358
|
+
EXTERN(void) jinit_marker_reader JPP((j_decompress_ptr cinfo));
|
|
359
|
+
EXTERN(void) jinit_huff_decoder JPP((j_decompress_ptr cinfo));
|
|
360
|
+
EXTERN(void) jinit_phuff_decoder JPP((j_decompress_ptr cinfo));
|
|
361
|
+
EXTERN(void) jinit_inverse_dct JPP((j_decompress_ptr cinfo));
|
|
362
|
+
EXTERN(void) jinit_upsampler JPP((j_decompress_ptr cinfo));
|
|
363
|
+
EXTERN(void) jinit_color_deconverter JPP((j_decompress_ptr cinfo));
|
|
364
|
+
EXTERN(void) jinit_1pass_quantizer JPP((j_decompress_ptr cinfo));
|
|
365
|
+
EXTERN(void) jinit_2pass_quantizer JPP((j_decompress_ptr cinfo));
|
|
366
|
+
EXTERN(void) jinit_merged_upsampler JPP((j_decompress_ptr cinfo));
|
|
367
|
+
/* Memory manager initialization */
|
|
368
|
+
EXTERN(void) jinit_memory_mgr JPP((j_common_ptr cinfo));
|
|
369
|
+
|
|
370
|
+
/* Utility routines in jutils.c */
|
|
371
|
+
EXTERN(long) jdiv_round_up JPP((long a, long b));
|
|
372
|
+
EXTERN(long) jround_up JPP((long a, long b));
|
|
373
|
+
EXTERN(void) jcopy_sample_rows JPP((JSAMPARRAY input_array, int source_row,
|
|
374
|
+
JSAMPARRAY output_array, int dest_row,
|
|
375
|
+
int num_rows, JDIMENSION num_cols));
|
|
376
|
+
EXTERN(void) jcopy_block_row JPP((JBLOCKROW input_row, JBLOCKROW output_row,
|
|
377
|
+
JDIMENSION num_blocks));
|
|
378
|
+
EXTERN(void) jzero_far JPP((void FAR * target, size_t bytestozero));
|
|
379
|
+
/* Constant tables in jutils.c */
|
|
380
|
+
#if 0 /* This table is not actually needed in v6a */
|
|
381
|
+
extern const int jpeg_zigzag_order[]; /* natural coef order to zigzag order */
|
|
382
|
+
#endif
|
|
383
|
+
extern const int jpeg_natural_order[]; /* zigzag coef order to natural order */
|
|
384
|
+
|
|
385
|
+
/* Suppress undefined-structure complaints if necessary. */
|
|
386
|
+
|
|
387
|
+
#ifdef INCOMPLETE_TYPES_BROKEN
|
|
388
|
+
#ifndef AM_MEMORY_MANAGER /* only jmemmgr.c defines these */
|
|
389
|
+
struct jvirt_sarray_control { long dummy; };
|
|
390
|
+
struct jvirt_barray_control { long dummy; };
|
|
391
|
+
#endif
|
|
392
|
+
#endif /* INCOMPLETE_TYPES_BROKEN */
|
|
@@ -0,0 +1,303 @@
|
|
|
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
|
+
/****************************************************************/
|
|
46
|
+
/* */
|
|
47
|
+
/* This header was created for use with */
|
|
48
|
+
/* lossless jpeg compression and decompression */
|
|
49
|
+
/* designed for 8 bit input precision */
|
|
50
|
+
/* */
|
|
51
|
+
/* developed by: Craig Watson */
|
|
52
|
+
/* date: 6 Nov 91 */
|
|
53
|
+
/* updated: 22 DEC 97 */
|
|
54
|
+
/* updated: 03/11/2005 by MDG */
|
|
55
|
+
/* */
|
|
56
|
+
/****************************************************************/
|
|
57
|
+
#ifndef _JPEGL_H
|
|
58
|
+
#define _JPEGL_H
|
|
59
|
+
|
|
60
|
+
#ifndef _NISTCOM_H
|
|
61
|
+
#include <nistcom.h>
|
|
62
|
+
#endif
|
|
63
|
+
|
|
64
|
+
/* JPEGL Marker Definitions */
|
|
65
|
+
#define SOF3 0xffc3
|
|
66
|
+
#define DHT 0xffc4
|
|
67
|
+
#define RST0 0xffd0
|
|
68
|
+
#define RST1 0xffd1
|
|
69
|
+
#define RST2 0xffd2
|
|
70
|
+
#define RST3 0xffd3
|
|
71
|
+
#define RST4 0xffd4
|
|
72
|
+
#define RST5 0xffd5
|
|
73
|
+
#define RST6 0xffd6
|
|
74
|
+
#define RST7 0xffd7
|
|
75
|
+
#define SOI 0xffd8
|
|
76
|
+
#define EOI 0xffd9
|
|
77
|
+
#define SOS 0xffda
|
|
78
|
+
#define DNL 0xffdc
|
|
79
|
+
#define DRI 0xffdd
|
|
80
|
+
#define COM 0xfffe
|
|
81
|
+
#define APP0 0xffe0
|
|
82
|
+
/* Case for getting ANY marker. */
|
|
83
|
+
#define ANY 0xffff
|
|
84
|
+
/* Cases for getting a table from a set of possible ones. */
|
|
85
|
+
#define TBLS_N_SOF 2
|
|
86
|
+
#define TBLS_N_SOS (TBLS_N_SOF + 1)
|
|
87
|
+
|
|
88
|
+
/* Predictor Definitions */
|
|
89
|
+
/* c b */
|
|
90
|
+
/* a x */
|
|
91
|
+
#define PRED1 1 /* Px = Ra */
|
|
92
|
+
#define PRED2 2 /* Px = Rb */
|
|
93
|
+
#define PRED3 3 /* Px = Rc */
|
|
94
|
+
#define PRED4 4 /* Px = Ra+Rb-Rc */
|
|
95
|
+
#define PRED5 5 /* Px = Ra+((Rb-Rc)/2) */
|
|
96
|
+
#define PRED6 6 /* Px = Rb+((Ra-Rc)/2) */
|
|
97
|
+
#define PRED7 7 /* Px = (Ra+Rb)/2 */
|
|
98
|
+
#define BITSET 0x01
|
|
99
|
+
#define LSBITMASK 0x0001
|
|
100
|
+
#define CATMASK 0x8000
|
|
101
|
+
|
|
102
|
+
#define NO_INTRLV 0
|
|
103
|
+
#define MAX_CMPNTS 4
|
|
104
|
+
#define FREE_IMAGE 1
|
|
105
|
+
#define NO_FREE_IMAGE 0
|
|
106
|
+
#define BUF_SIZE 50000 /* Compressed image buffer size */
|
|
107
|
+
|
|
108
|
+
#define MIN_HUFFTABLE_ID 16 /* Set according to JPEGL spec */
|
|
109
|
+
#define MAX_HUFFBITS 16 /* DO NOT CHANGE THIS CONSTANT!! */
|
|
110
|
+
#define MAX_HUFFCOUNTS_JPEGL 16 /* Length of code table: change as */
|
|
111
|
+
/* needed but DO NOT EXCEED 256 */
|
|
112
|
+
#define MAX_CATEGORY 10 /* Largest difference category for uchar data */
|
|
113
|
+
#define LARGESTDIFF 511 /* Largest difference value */
|
|
114
|
+
|
|
115
|
+
#define READ_TABLE_LEN 1
|
|
116
|
+
#define NO_READ_TABLE_LEN 0
|
|
117
|
+
|
|
118
|
+
#define FIRSTBIT 7
|
|
119
|
+
#ifndef BITSPERBYTE
|
|
120
|
+
#define BITSPERBYTE 8
|
|
121
|
+
#endif
|
|
122
|
+
|
|
123
|
+
/* JFIF SCAN UNIT DESIGNATORS */
|
|
124
|
+
#define UNKNOWN_UNITS 0
|
|
125
|
+
#define PPI_UNITS 1 /* pixels per inch */
|
|
126
|
+
#define PPCM_UNITS 2 /* pixels per centimeter */
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
typedef struct hcode {
|
|
130
|
+
short size;
|
|
131
|
+
unsigned int code;
|
|
132
|
+
} HUFFCODE;
|
|
133
|
+
|
|
134
|
+
#define JFIF_IDENT "JFIF"
|
|
135
|
+
#define JFIF_IDENT_LEN 5
|
|
136
|
+
#define JFIF_VERSION 0x0102
|
|
137
|
+
#define JFIF_HEADER_LEN 16
|
|
138
|
+
|
|
139
|
+
typedef struct jheader {
|
|
140
|
+
unsigned short ver;
|
|
141
|
+
char ident[JFIF_IDENT_LEN];
|
|
142
|
+
unsigned char units;
|
|
143
|
+
unsigned short dx, dy;
|
|
144
|
+
unsigned char tx, ty;
|
|
145
|
+
} JFIF_HEADER;
|
|
146
|
+
|
|
147
|
+
typedef struct image {
|
|
148
|
+
int max_width, max_height, pix_depth, ppi;
|
|
149
|
+
int intrlv; /* 0 = no, 1 = yes */
|
|
150
|
+
int n_cmpnts;
|
|
151
|
+
int cmpnt_depth;
|
|
152
|
+
int hor_sampfctr[MAX_CMPNTS];
|
|
153
|
+
int vrt_sampfctr[MAX_CMPNTS];
|
|
154
|
+
int samp_width[MAX_CMPNTS];
|
|
155
|
+
int samp_height[MAX_CMPNTS];
|
|
156
|
+
unsigned char point_trans[MAX_CMPNTS];
|
|
157
|
+
unsigned char predict[MAX_CMPNTS];
|
|
158
|
+
unsigned char *image[MAX_CMPNTS];
|
|
159
|
+
short *diff[MAX_CMPNTS]; /* was short ** */
|
|
160
|
+
} IMG_DAT;
|
|
161
|
+
|
|
162
|
+
typedef struct htable {
|
|
163
|
+
unsigned char def;
|
|
164
|
+
unsigned char table_id;
|
|
165
|
+
unsigned char *bits;
|
|
166
|
+
unsigned char *values;
|
|
167
|
+
int last_size;
|
|
168
|
+
int *codesize;
|
|
169
|
+
int *freq;
|
|
170
|
+
int *maxcode;
|
|
171
|
+
int *mincode;
|
|
172
|
+
int *valptr;
|
|
173
|
+
HUFFCODE *huffcode_table;
|
|
174
|
+
} HUF_TABLE;
|
|
175
|
+
|
|
176
|
+
typedef struct fheader {
|
|
177
|
+
unsigned char prec;
|
|
178
|
+
unsigned short x;
|
|
179
|
+
unsigned short y;
|
|
180
|
+
unsigned char Nf;
|
|
181
|
+
unsigned char C[MAX_CMPNTS];
|
|
182
|
+
unsigned char HV[MAX_CMPNTS];
|
|
183
|
+
unsigned char Tq[MAX_CMPNTS];
|
|
184
|
+
} FRM_HEADER_JPEGL;
|
|
185
|
+
|
|
186
|
+
typedef struct sheader {
|
|
187
|
+
unsigned char Ns;
|
|
188
|
+
unsigned char Cs[MAX_CMPNTS];
|
|
189
|
+
unsigned char Tda[MAX_CMPNTS];
|
|
190
|
+
unsigned char Ss;
|
|
191
|
+
unsigned char Se;
|
|
192
|
+
unsigned char Ahl;
|
|
193
|
+
} SCN_HEADER;
|
|
194
|
+
|
|
195
|
+
/* GLOBAL VARIABLES */
|
|
196
|
+
extern int debug;
|
|
197
|
+
|
|
198
|
+
/* encoder.c */
|
|
199
|
+
extern int jpegl_encode_mem(unsigned char **, int *, IMG_DAT *, char *);
|
|
200
|
+
extern int gen_diff_freqs(IMG_DAT *, HUF_TABLE **);
|
|
201
|
+
extern int compress_image_intrlv(IMG_DAT *, HUF_TABLE **,
|
|
202
|
+
unsigned char *, const int, int *);
|
|
203
|
+
extern int compress_image_non_intrlv(IMG_DAT *, HUF_TABLE **,
|
|
204
|
+
unsigned char *, const int, int *);
|
|
205
|
+
extern int code_diff(HUFFCODE *, HUFFCODE *, int *, unsigned int *, short *);
|
|
206
|
+
|
|
207
|
+
/* decoder.c */
|
|
208
|
+
extern int jpegl_decode_mem(IMG_DAT **, int *, unsigned char *, const int);
|
|
209
|
+
extern void build_huff_decode_table(int [MAX_CATEGORY][LARGESTDIFF+1]);
|
|
210
|
+
extern int decode_data(int *, int *, int *, int *, unsigned char *,
|
|
211
|
+
unsigned char **, unsigned char *, int *);
|
|
212
|
+
extern int nextbits_jpegl(unsigned short *, FILE *, int *, const int);
|
|
213
|
+
extern int getc_nextbits_jpegl(unsigned short *, unsigned char **,
|
|
214
|
+
unsigned char *, int *, const int);
|
|
215
|
+
|
|
216
|
+
/* huff.c */
|
|
217
|
+
extern int read_huffman_table(unsigned char *, unsigned char **,
|
|
218
|
+
unsigned char **, const int, FILE *, const int, int *);
|
|
219
|
+
extern int getc_huffman_table(unsigned char *, unsigned char **,
|
|
220
|
+
unsigned char **, const int, unsigned char **,
|
|
221
|
+
unsigned char *, const int, int *);
|
|
222
|
+
extern int write_huffman_table(const unsigned short, const unsigned char,
|
|
223
|
+
unsigned char *, unsigned char *, FILE *);
|
|
224
|
+
extern int putc_huffman_table(const unsigned short, const unsigned char,
|
|
225
|
+
unsigned char *, unsigned char *, unsigned char *,
|
|
226
|
+
const int, int *);
|
|
227
|
+
extern int find_huff_sizes(int **, int *, const int);
|
|
228
|
+
extern void find_least_freq(int *, int *, int *, const int);
|
|
229
|
+
extern int find_num_huff_sizes(unsigned char **, int *, int *, const int);
|
|
230
|
+
extern int sort_huffbits(unsigned char *);
|
|
231
|
+
extern int sort_code_sizes(unsigned char **, int *, const int);
|
|
232
|
+
extern int build_huffcode_table(HUFFCODE **, HUFFCODE *, const int,
|
|
233
|
+
unsigned char *, const int);
|
|
234
|
+
extern int build_huffsizes(HUFFCODE **, int *, unsigned char *, const int);
|
|
235
|
+
extern void build_huffcodes(HUFFCODE *);
|
|
236
|
+
extern void gen_decode_table(HUFFCODE *, int *, int *, int *, unsigned char *);
|
|
237
|
+
|
|
238
|
+
/* huftable.c */
|
|
239
|
+
extern int gen_huff_tables(HUF_TABLE **, const int);
|
|
240
|
+
extern int read_huffman_table_jpegl(HUF_TABLE **, FILE *);
|
|
241
|
+
extern int getc_huffman_table_jpegl(HUF_TABLE **, unsigned char **,
|
|
242
|
+
unsigned char *);
|
|
243
|
+
extern void free_HUFF_TABLES(HUF_TABLE **, const int);
|
|
244
|
+
extern void free_HUFF_TABLE(HUF_TABLE *);
|
|
245
|
+
|
|
246
|
+
/* imgdat.c */
|
|
247
|
+
int get_IMG_DAT_image(unsigned char **, int *, int *, int *, int *, int *,
|
|
248
|
+
IMG_DAT *);
|
|
249
|
+
extern int setup_IMG_DAT_nonintrlv_encode(IMG_DAT **, unsigned char *,
|
|
250
|
+
const int, const int, const int, const int, int *, int *,
|
|
251
|
+
const int, const unsigned char, const unsigned char);
|
|
252
|
+
extern int setup_IMG_DAT_decode(IMG_DAT **, const int, FRM_HEADER_JPEGL *);
|
|
253
|
+
extern int update_IMG_DAT_decode(IMG_DAT *, SCN_HEADER *, HUF_TABLE **);
|
|
254
|
+
extern void free_IMG_DAT(IMG_DAT *, const int);
|
|
255
|
+
|
|
256
|
+
/* ppi.c */
|
|
257
|
+
extern int get_ppi_jpegl(int *, JFIF_HEADER *);
|
|
258
|
+
|
|
259
|
+
/* tableio.c */
|
|
260
|
+
extern int read_marker_jpegl(unsigned short *, const int, FILE *);
|
|
261
|
+
extern int getc_marker_jpegl(unsigned short *, const int, unsigned char **,
|
|
262
|
+
unsigned char *);
|
|
263
|
+
extern int setup_jfif_header(JFIF_HEADER **, const unsigned char,
|
|
264
|
+
const int, const int);
|
|
265
|
+
extern int read_jfif_header(JFIF_HEADER **, FILE *);
|
|
266
|
+
extern int getc_jfif_header(JFIF_HEADER **, unsigned char **, unsigned char *);
|
|
267
|
+
extern int write_jfif_header(JFIF_HEADER *, FILE *);
|
|
268
|
+
extern int putc_jfif_header(JFIF_HEADER *, unsigned char *, const int, int *);
|
|
269
|
+
extern int read_table_jpegl(const unsigned short, HUF_TABLE **, FILE *);
|
|
270
|
+
extern int getc_table_jpegl(const unsigned short, HUF_TABLE **,
|
|
271
|
+
unsigned char **, unsigned char *);
|
|
272
|
+
extern int setup_frame_header_jpegl(FRM_HEADER_JPEGL **, IMG_DAT *);
|
|
273
|
+
extern int read_frame_header_jpegl(FRM_HEADER_JPEGL **, FILE *);
|
|
274
|
+
extern int getc_frame_header_jpegl(FRM_HEADER_JPEGL **, unsigned char **,
|
|
275
|
+
unsigned char *);
|
|
276
|
+
extern int write_frame_header_jpegl(FRM_HEADER_JPEGL *, FILE *);
|
|
277
|
+
extern int putc_frame_header_jpegl(FRM_HEADER_JPEGL *, unsigned char *,
|
|
278
|
+
const int, int *);
|
|
279
|
+
extern int setup_scan_header(SCN_HEADER **, IMG_DAT *, const int);
|
|
280
|
+
extern int read_scan_header(SCN_HEADER **, FILE *);
|
|
281
|
+
extern int getc_scan_header(SCN_HEADER **, unsigned char **, unsigned char *);
|
|
282
|
+
extern int write_scan_header(SCN_HEADER *, FILE *);
|
|
283
|
+
extern int putc_scan_header(SCN_HEADER *, unsigned char *, const int, int *);
|
|
284
|
+
extern int read_comment(unsigned char **, FILE *);
|
|
285
|
+
extern int getc_comment(unsigned char **, unsigned char **, unsigned char *);
|
|
286
|
+
extern int write_comment(const unsigned short, unsigned char *, const int,
|
|
287
|
+
FILE *);
|
|
288
|
+
extern int putc_comment(const unsigned short, unsigned char *, const int,
|
|
289
|
+
unsigned char *, const int, int *);
|
|
290
|
+
extern int add_comment_jpegl(unsigned char **, int *, unsigned char *,
|
|
291
|
+
const int, unsigned char *);
|
|
292
|
+
extern int getc_nistcom_jpegl(NISTCOM **, unsigned char *, const int);
|
|
293
|
+
extern int putc_nistcom_jpegl(char *, const int, const int, const int,
|
|
294
|
+
const int, const int, const int, int *, int *,
|
|
295
|
+
const int, unsigned char *, const int, int *);
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
/* util.c */
|
|
299
|
+
extern int predict(short *, unsigned char *, const int, const int, const int,
|
|
300
|
+
const int, const int);
|
|
301
|
+
extern short categorize(const short);
|
|
302
|
+
|
|
303
|
+
#endif /* !_JPEGL_H */
|