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,185 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The copyright in this software is being made available under the 2-clauses
|
|
3
|
+
* BSD License, included below. This software may be subject to other third
|
|
4
|
+
* party and contributor rights, including patent rights, and no such rights
|
|
5
|
+
* are granted under this license.
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) 2005, Herve Drolon, FreeImage Team
|
|
8
|
+
* Copyright (c) 2007, Callum Lerwick <seg@haxxed.com>
|
|
9
|
+
* All rights reserved.
|
|
10
|
+
*
|
|
11
|
+
* Redistribution and use in source and binary forms, with or without
|
|
12
|
+
* modification, are permitted provided that the following conditions
|
|
13
|
+
* are met:
|
|
14
|
+
* 1. Redistributions of source code must retain the above copyright
|
|
15
|
+
* notice, this list of conditions and the following disclaimer.
|
|
16
|
+
* 2. Redistributions in binary form must reproduce the above copyright
|
|
17
|
+
* notice, this list of conditions and the following disclaimer in the
|
|
18
|
+
* documentation and/or other materials provided with the distribution.
|
|
19
|
+
*
|
|
20
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'
|
|
21
|
+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
22
|
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
23
|
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
|
24
|
+
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
25
|
+
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
26
|
+
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
27
|
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
28
|
+
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
29
|
+
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
30
|
+
* POSSIBILITY OF SUCH DAMAGE.
|
|
31
|
+
*/
|
|
32
|
+
#ifndef __OPJ_MALLOC_H
|
|
33
|
+
#define __OPJ_MALLOC_H
|
|
34
|
+
/**
|
|
35
|
+
@file opj_malloc.h
|
|
36
|
+
@brief Internal functions
|
|
37
|
+
|
|
38
|
+
The functions in opj_malloc.h are internal utilities used for memory management.
|
|
39
|
+
*/
|
|
40
|
+
|
|
41
|
+
/** @defgroup MISC MISC - Miscellaneous internal functions */
|
|
42
|
+
/*@{*/
|
|
43
|
+
|
|
44
|
+
/** @name Exported functions */
|
|
45
|
+
/*@{*/
|
|
46
|
+
/* ----------------------------------------------------------------------- */
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
Allocate an uninitialized memory block
|
|
50
|
+
@param size Bytes to allocate
|
|
51
|
+
@return Returns a void pointer to the allocated space, or NULL if there is insufficient memory available
|
|
52
|
+
*/
|
|
53
|
+
#ifdef ALLOC_PERF_OPT
|
|
54
|
+
void * OPJ_CALLCONV opj_malloc(size_t size);
|
|
55
|
+
#else
|
|
56
|
+
/* prevent assertion on overflow for MSVC */
|
|
57
|
+
#ifdef _MSC_VER
|
|
58
|
+
#define opj_malloc(size) ((size_t)(size) >= (size_t)-0x100 ? NULL : malloc(size))
|
|
59
|
+
#else
|
|
60
|
+
#define opj_malloc(size) malloc(size)
|
|
61
|
+
#endif
|
|
62
|
+
#endif
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
Allocate a memory block with elements initialized to 0
|
|
66
|
+
@param num Blocks to allocate
|
|
67
|
+
@param size Bytes per block to allocate
|
|
68
|
+
@return Returns a void pointer to the allocated space, or NULL if there is insufficient memory available
|
|
69
|
+
*/
|
|
70
|
+
#ifdef ALLOC_PERF_OPT
|
|
71
|
+
void * OPJ_CALLCONV opj_calloc(size_t _NumOfElements, size_t _SizeOfElements);
|
|
72
|
+
#else
|
|
73
|
+
/* prevent assertion on overflow for MSVC */
|
|
74
|
+
#ifdef _MSC_VER
|
|
75
|
+
#define opj_calloc(num, size) ((size_t)(num) != 0 && (size_t)(num) >= (size_t)-0x100 / (size_t)(size) ? NULL : calloc(num, size))
|
|
76
|
+
#else
|
|
77
|
+
#define opj_calloc(num, size) calloc(num, size)
|
|
78
|
+
#endif
|
|
79
|
+
#endif
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
Allocate memory aligned to a 16 byte boundry
|
|
83
|
+
@param size Bytes to allocate
|
|
84
|
+
@return Returns a void pointer to the allocated space, or NULL if there is insufficient memory available
|
|
85
|
+
*/
|
|
86
|
+
/* FIXME: These should be set with cmake tests, but we're currently not requiring use of cmake */
|
|
87
|
+
#ifdef _WIN32
|
|
88
|
+
/* Someone should tell the mingw people that their malloc.h ought to provide _mm_malloc() */
|
|
89
|
+
#ifdef __GNUC__
|
|
90
|
+
#include <mm_malloc.h>
|
|
91
|
+
#define HAVE_MM_MALLOC
|
|
92
|
+
#else /* MSVC, Intel C++ */
|
|
93
|
+
#include <malloc.h>
|
|
94
|
+
#ifdef _mm_malloc
|
|
95
|
+
#define HAVE_MM_MALLOC
|
|
96
|
+
#endif
|
|
97
|
+
#endif
|
|
98
|
+
#else /* Not _WIN32 */
|
|
99
|
+
#if defined(__sun)
|
|
100
|
+
#define HAVE_MEMALIGN
|
|
101
|
+
#elif defined(__FreeBSD__)
|
|
102
|
+
#define HAVE_POSIX_MEMALIGN
|
|
103
|
+
/* Linux x86_64 and OSX always align allocations to 16 bytes */
|
|
104
|
+
#elif !defined(__amd64__) && !defined(__APPLE__) && !defined(_AIX)
|
|
105
|
+
#define HAVE_MEMALIGN
|
|
106
|
+
#include <malloc.h>
|
|
107
|
+
#endif
|
|
108
|
+
#endif
|
|
109
|
+
|
|
110
|
+
#define opj_aligned_malloc(size) malloc(size)
|
|
111
|
+
#define opj_aligned_free(m) free(m)
|
|
112
|
+
|
|
113
|
+
#ifdef HAVE_MM_MALLOC
|
|
114
|
+
#undef opj_aligned_malloc
|
|
115
|
+
#define opj_aligned_malloc(size) _mm_malloc(size, 16)
|
|
116
|
+
#undef opj_aligned_free
|
|
117
|
+
#define opj_aligned_free(m) _mm_free(m)
|
|
118
|
+
#endif
|
|
119
|
+
|
|
120
|
+
#ifdef HAVE_MEMALIGN
|
|
121
|
+
extern void* memalign(size_t, size_t);
|
|
122
|
+
#undef opj_aligned_malloc
|
|
123
|
+
#define opj_aligned_malloc(size) memalign(16, (size))
|
|
124
|
+
#undef opj_aligned_free
|
|
125
|
+
#define opj_aligned_free(m) free(m)
|
|
126
|
+
#endif
|
|
127
|
+
|
|
128
|
+
#ifdef HAVE_POSIX_MEMALIGN
|
|
129
|
+
#undef opj_aligned_malloc
|
|
130
|
+
extern int posix_memalign(void**, size_t, size_t);
|
|
131
|
+
|
|
132
|
+
static INLINE void* __attribute__ ((malloc)) opj_aligned_malloc(size_t size){
|
|
133
|
+
void* mem = NULL;
|
|
134
|
+
posix_memalign(&mem, 16, size);
|
|
135
|
+
return mem;
|
|
136
|
+
}
|
|
137
|
+
#undef opj_aligned_free
|
|
138
|
+
#define opj_aligned_free(m) free(m)
|
|
139
|
+
#endif
|
|
140
|
+
|
|
141
|
+
#ifdef ALLOC_PERF_OPT
|
|
142
|
+
#undef opj_aligned_malloc
|
|
143
|
+
#define opj_aligned_malloc(size) opj_malloc(size)
|
|
144
|
+
#undef opj_aligned_free
|
|
145
|
+
#define opj_aligned_free(m) opj_free(m)
|
|
146
|
+
#endif
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
Reallocate memory blocks.
|
|
150
|
+
@param m Pointer to previously allocated memory block
|
|
151
|
+
@param s New size in bytes
|
|
152
|
+
@return Returns a void pointer to the reallocated (and possibly moved) memory block
|
|
153
|
+
*/
|
|
154
|
+
#ifdef ALLOC_PERF_OPT
|
|
155
|
+
void * OPJ_CALLCONV opj_realloc(void * m, size_t s);
|
|
156
|
+
#else
|
|
157
|
+
/* prevent assertion on overflow for MSVC */
|
|
158
|
+
#ifdef _MSC_VER
|
|
159
|
+
#define opj_realloc(m, s) ((size_t)(s) >= (size_t)-0x100 ? NULL : realloc(m, s))
|
|
160
|
+
#else
|
|
161
|
+
#define opj_realloc(m, s) realloc(m, s)
|
|
162
|
+
#endif
|
|
163
|
+
#endif
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
Deallocates or frees a memory block.
|
|
167
|
+
@param m Previously allocated memory block to be freed
|
|
168
|
+
*/
|
|
169
|
+
#ifdef ALLOC_PERF_OPT
|
|
170
|
+
void OPJ_CALLCONV opj_free(void * m);
|
|
171
|
+
#else
|
|
172
|
+
#define opj_free(m) free(m)
|
|
173
|
+
#endif
|
|
174
|
+
|
|
175
|
+
#ifdef __GNUC__
|
|
176
|
+
#pragma GCC poison malloc calloc realloc free
|
|
177
|
+
#endif
|
|
178
|
+
|
|
179
|
+
/* ----------------------------------------------------------------------- */
|
|
180
|
+
/*@}*/
|
|
181
|
+
|
|
182
|
+
/*@}*/
|
|
183
|
+
|
|
184
|
+
#endif /* __OPJ_MALLOC_H */
|
|
185
|
+
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The copyright in this software is being made available under the 2-clauses
|
|
3
|
+
* BSD License, included below. This software may be subject to other third
|
|
4
|
+
* party and contributor rights, including patent rights, and no such rights
|
|
5
|
+
* are granted under this license.
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) 2012, Mathieu Malaterre <mathieu.malaterre@gmail.com>
|
|
8
|
+
* All rights reserved.
|
|
9
|
+
*
|
|
10
|
+
* Redistribution and use in source and binary forms, with or without
|
|
11
|
+
* modification, are permitted provided that the following conditions
|
|
12
|
+
* are met:
|
|
13
|
+
* 1. Redistributions of source code must retain the above copyright
|
|
14
|
+
* notice, this list of conditions and the following disclaimer.
|
|
15
|
+
* 2. Redistributions in binary form must reproduce the above copyright
|
|
16
|
+
* notice, this list of conditions and the following disclaimer in the
|
|
17
|
+
* documentation and/or other materials provided with the distribution.
|
|
18
|
+
*
|
|
19
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'
|
|
20
|
+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
21
|
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
22
|
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
|
23
|
+
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
24
|
+
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
25
|
+
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
26
|
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
27
|
+
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
28
|
+
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
29
|
+
* POSSIBILITY OF SUCH DAMAGE.
|
|
30
|
+
*/
|
|
31
|
+
#ifndef OPJ_STDINT_H
|
|
32
|
+
#define OPJ_STDINT_H
|
|
33
|
+
|
|
34
|
+
#include "opj_config.h"
|
|
35
|
+
#ifdef OPJ_HAVE_STDINT_H
|
|
36
|
+
#include <stdint.h>
|
|
37
|
+
#else
|
|
38
|
+
#if defined(_WIN32)
|
|
39
|
+
typedef signed __int8 int8_t;
|
|
40
|
+
typedef unsigned __int8 uint8_t;
|
|
41
|
+
typedef signed __int16 int16_t;
|
|
42
|
+
typedef unsigned __int16 uint16_t;
|
|
43
|
+
typedef signed __int32 int32_t;
|
|
44
|
+
typedef unsigned __int32 uint32_t;
|
|
45
|
+
typedef signed __int64 int64_t;
|
|
46
|
+
typedef unsigned __int64 uint64_t;
|
|
47
|
+
#else
|
|
48
|
+
#error unsupported platform
|
|
49
|
+
#endif
|
|
50
|
+
#endif
|
|
51
|
+
|
|
52
|
+
#endif /* OPJ_STDINT_H */
|
|
@@ -0,0 +1,188 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The copyright in this software is being made available under the 2-clauses
|
|
3
|
+
* BSD License, included below. This software may be subject to other third
|
|
4
|
+
* party and contributor rights, including patent rights, and no such rights
|
|
5
|
+
* are granted under this license.
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium
|
|
8
|
+
* Copyright (c) 2002-2014, Professor Benoit Macq
|
|
9
|
+
* Copyright (c) 2001-2003, David Janssens
|
|
10
|
+
* Copyright (c) 2002-2003, Yannick Verschueren
|
|
11
|
+
* Copyright (c) 2003-2007, Francois-Olivier Devaux
|
|
12
|
+
* Copyright (c) 2003-2014, Antonin Descampe
|
|
13
|
+
* Copyright (c) 2005, Herve Drolon, FreeImage Team
|
|
14
|
+
* All rights reserved.
|
|
15
|
+
*
|
|
16
|
+
* Redistribution and use in source and binary forms, with or without
|
|
17
|
+
* modification, are permitted provided that the following conditions
|
|
18
|
+
* are met:
|
|
19
|
+
* 1. Redistributions of source code must retain the above copyright
|
|
20
|
+
* notice, this list of conditions and the following disclaimer.
|
|
21
|
+
* 2. Redistributions in binary form must reproduce the above copyright
|
|
22
|
+
* notice, this list of conditions and the following disclaimer in the
|
|
23
|
+
* documentation and/or other materials provided with the distribution.
|
|
24
|
+
*
|
|
25
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'
|
|
26
|
+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
27
|
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
28
|
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
|
29
|
+
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
30
|
+
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
31
|
+
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
32
|
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
33
|
+
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
34
|
+
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
35
|
+
* POSSIBILITY OF SUCH DAMAGE.
|
|
36
|
+
*/
|
|
37
|
+
|
|
38
|
+
#ifndef __PI_H
|
|
39
|
+
#define __PI_H
|
|
40
|
+
/**
|
|
41
|
+
@file pi.h
|
|
42
|
+
@brief Implementation of a packet iterator (PI)
|
|
43
|
+
|
|
44
|
+
The functions in PI.C have for goal to realize a packet iterator that permits to get the next
|
|
45
|
+
packet following the progression order and change of it. The functions in PI.C are used
|
|
46
|
+
by some function in T2.C.
|
|
47
|
+
*/
|
|
48
|
+
|
|
49
|
+
/** @defgroup PI PI - Implementation of a packet iterator */
|
|
50
|
+
/*@{*/
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
FIXME DOC
|
|
54
|
+
*/
|
|
55
|
+
typedef struct opj_pi_resolution {
|
|
56
|
+
OPJ_UINT32 pdx, pdy;
|
|
57
|
+
OPJ_UINT32 pw, ph;
|
|
58
|
+
} opj_pi_resolution_t;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
FIXME DOC
|
|
62
|
+
*/
|
|
63
|
+
typedef struct opj_pi_comp {
|
|
64
|
+
OPJ_UINT32 dx, dy;
|
|
65
|
+
/** number of resolution levels */
|
|
66
|
+
OPJ_UINT32 numresolutions;
|
|
67
|
+
opj_pi_resolution_t *resolutions;
|
|
68
|
+
} opj_pi_comp_t;
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
Packet iterator
|
|
72
|
+
*/
|
|
73
|
+
typedef struct opj_pi_iterator {
|
|
74
|
+
/** Enabling Tile part generation*/
|
|
75
|
+
OPJ_BYTE tp_on;
|
|
76
|
+
/** precise if the packet has been already used (usefull for progression order change) */
|
|
77
|
+
OPJ_INT16 *include;
|
|
78
|
+
/** layer step used to localize the packet in the include vector */
|
|
79
|
+
OPJ_UINT32 step_l;
|
|
80
|
+
/** resolution step used to localize the packet in the include vector */
|
|
81
|
+
OPJ_UINT32 step_r;
|
|
82
|
+
/** component step used to localize the packet in the include vector */
|
|
83
|
+
OPJ_UINT32 step_c;
|
|
84
|
+
/** precinct step used to localize the packet in the include vector */
|
|
85
|
+
OPJ_UINT32 step_p;
|
|
86
|
+
/** component that identify the packet */
|
|
87
|
+
OPJ_UINT32 compno;
|
|
88
|
+
/** resolution that identify the packet */
|
|
89
|
+
OPJ_UINT32 resno;
|
|
90
|
+
/** precinct that identify the packet */
|
|
91
|
+
OPJ_UINT32 precno;
|
|
92
|
+
/** layer that identify the packet */
|
|
93
|
+
OPJ_UINT32 layno;
|
|
94
|
+
/** 0 if the first packet */
|
|
95
|
+
OPJ_BOOL first;
|
|
96
|
+
/** progression order change information */
|
|
97
|
+
opj_poc_t poc;
|
|
98
|
+
/** number of components in the image */
|
|
99
|
+
OPJ_UINT32 numcomps;
|
|
100
|
+
/** Components*/
|
|
101
|
+
opj_pi_comp_t *comps;
|
|
102
|
+
/** FIXME DOC*/
|
|
103
|
+
OPJ_INT32 tx0, ty0, tx1, ty1;
|
|
104
|
+
/** FIXME DOC*/
|
|
105
|
+
OPJ_INT32 x, y;
|
|
106
|
+
/** FIXME DOC*/
|
|
107
|
+
OPJ_UINT32 dx, dy;
|
|
108
|
+
} opj_pi_iterator_t;
|
|
109
|
+
|
|
110
|
+
/** @name Exported functions */
|
|
111
|
+
/*@{*/
|
|
112
|
+
/* ----------------------------------------------------------------------- */
|
|
113
|
+
/**
|
|
114
|
+
* Creates a packet iterator for encoding.
|
|
115
|
+
*
|
|
116
|
+
* @param image the image being encoded.
|
|
117
|
+
* @param cp the coding parameters.
|
|
118
|
+
* @param tileno index of the tile being encoded.
|
|
119
|
+
* @param t2_mode the type of pass for generating the packet iterator
|
|
120
|
+
*
|
|
121
|
+
* @return a list of packet iterator that points to the first packet of the tile (not true).
|
|
122
|
+
*/
|
|
123
|
+
opj_pi_iterator_t *opj_pi_initialise_encode(const opj_image_t *image,
|
|
124
|
+
opj_cp_t *cp,
|
|
125
|
+
OPJ_UINT32 tileno,
|
|
126
|
+
J2K_T2_MODE t2_mode);
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* Updates the encoding parameters of the codec.
|
|
130
|
+
*
|
|
131
|
+
* @param p_image the image being encoded.
|
|
132
|
+
* @param p_cp the coding parameters.
|
|
133
|
+
* @param p_tile_no index of the tile being encoded.
|
|
134
|
+
*/
|
|
135
|
+
void opj_pi_update_encoding_parameters( const opj_image_t *p_image,
|
|
136
|
+
opj_cp_t *p_cp,
|
|
137
|
+
OPJ_UINT32 p_tile_no );
|
|
138
|
+
|
|
139
|
+
/**
|
|
140
|
+
Modify the packet iterator for enabling tile part generation
|
|
141
|
+
@param pi Handle to the packet iterator generated in pi_initialise_encode
|
|
142
|
+
@param cp Coding parameters
|
|
143
|
+
@param tileno Number that identifies the tile for which to list the packets
|
|
144
|
+
@param pino FIXME DOC
|
|
145
|
+
@param tpnum Tile part number of the current tile
|
|
146
|
+
@param tppos The position of the tile part flag in the progression order
|
|
147
|
+
@param t2_mode FIXME DOC
|
|
148
|
+
*/
|
|
149
|
+
void opj_pi_create_encode( opj_pi_iterator_t *pi,
|
|
150
|
+
opj_cp_t *cp,
|
|
151
|
+
OPJ_UINT32 tileno,
|
|
152
|
+
OPJ_UINT32 pino,
|
|
153
|
+
OPJ_UINT32 tpnum,
|
|
154
|
+
OPJ_INT32 tppos,
|
|
155
|
+
J2K_T2_MODE t2_mode);
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
Create a packet iterator for Decoder
|
|
159
|
+
@param image Raw image for which the packets will be listed
|
|
160
|
+
@param cp Coding parameters
|
|
161
|
+
@param tileno Number that identifies the tile for which to list the packets
|
|
162
|
+
@return Returns a packet iterator that points to the first packet of the tile
|
|
163
|
+
@see opj_pi_destroy
|
|
164
|
+
*/
|
|
165
|
+
opj_pi_iterator_t *opj_pi_create_decode(opj_image_t * image,
|
|
166
|
+
opj_cp_t * cp,
|
|
167
|
+
OPJ_UINT32 tileno);
|
|
168
|
+
/**
|
|
169
|
+
* Destroys a packet iterator array.
|
|
170
|
+
*
|
|
171
|
+
* @param p_pi the packet iterator array to destroy.
|
|
172
|
+
* @param p_nb_elements the number of elements in the array.
|
|
173
|
+
*/
|
|
174
|
+
void opj_pi_destroy(opj_pi_iterator_t *p_pi,
|
|
175
|
+
OPJ_UINT32 p_nb_elements);
|
|
176
|
+
|
|
177
|
+
/**
|
|
178
|
+
Modify the packet iterator to point to the next packet
|
|
179
|
+
@param pi Packet iterator to modify
|
|
180
|
+
@return Returns false if pi pointed to the last packet or else returns true
|
|
181
|
+
*/
|
|
182
|
+
OPJ_BOOL opj_pi_next(opj_pi_iterator_t * pi);
|
|
183
|
+
/* ----------------------------------------------------------------------- */
|
|
184
|
+
/*@}*/
|
|
185
|
+
|
|
186
|
+
/*@}*/
|
|
187
|
+
|
|
188
|
+
#endif /* __PI_H */
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The copyright in this software is being made available under the 2-clauses
|
|
3
|
+
* BSD License, included below. This software may be subject to other third
|
|
4
|
+
* party and contributor rights, including patent rights, and no such rights
|
|
5
|
+
* are granted under this license.
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium
|
|
8
|
+
* Copyright (c) 2002-2014, Professor Benoit Macq
|
|
9
|
+
* Copyright (c) 2003-2007, Francois-Olivier Devaux
|
|
10
|
+
* Copyright (c) 2003-2014, Antonin Descampe
|
|
11
|
+
* Copyright (c) 2005, Herve Drolon, FreeImage Team
|
|
12
|
+
* All rights reserved.
|
|
13
|
+
*
|
|
14
|
+
* Redistribution and use in source and binary forms, with or without
|
|
15
|
+
* modification, are permitted provided that the following conditions
|
|
16
|
+
* are met:
|
|
17
|
+
* 1. Redistributions of source code must retain the above copyright
|
|
18
|
+
* notice, this list of conditions and the following disclaimer.
|
|
19
|
+
* 2. Redistributions in binary form must reproduce the above copyright
|
|
20
|
+
* notice, this list of conditions and the following disclaimer in the
|
|
21
|
+
* documentation and/or other materials provided with the distribution.
|
|
22
|
+
*
|
|
23
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'
|
|
24
|
+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
25
|
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
26
|
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
|
27
|
+
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
28
|
+
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
29
|
+
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
30
|
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
31
|
+
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
32
|
+
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
33
|
+
* POSSIBILITY OF SUCH DAMAGE.
|
|
34
|
+
*/
|
|
35
|
+
|
|
36
|
+
#ifndef __RAW_H
|
|
37
|
+
#define __RAW_H
|
|
38
|
+
/**
|
|
39
|
+
@file raw.h
|
|
40
|
+
@brief Implementation of operations for raw encoding (RAW)
|
|
41
|
+
|
|
42
|
+
The functions in RAW.C have for goal to realize the operation of raw encoding linked
|
|
43
|
+
with the corresponding mode switch.
|
|
44
|
+
*/
|
|
45
|
+
|
|
46
|
+
/** @defgroup RAW RAW - Implementation of operations for raw encoding */
|
|
47
|
+
/*@{*/
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
RAW encoding operations
|
|
51
|
+
*/
|
|
52
|
+
typedef struct opj_raw {
|
|
53
|
+
/** temporary buffer where bits are coded or decoded */
|
|
54
|
+
OPJ_BYTE c;
|
|
55
|
+
/** number of bits already read or free to write */
|
|
56
|
+
OPJ_UINT32 ct;
|
|
57
|
+
/** maximum length to decode */
|
|
58
|
+
OPJ_UINT32 lenmax;
|
|
59
|
+
/** length decoded */
|
|
60
|
+
OPJ_UINT32 len;
|
|
61
|
+
/** pointer to the current position in the buffer */
|
|
62
|
+
OPJ_BYTE *bp;
|
|
63
|
+
/** pointer to the start of the buffer */
|
|
64
|
+
OPJ_BYTE *start;
|
|
65
|
+
/** pointer to the end of the buffer */
|
|
66
|
+
OPJ_BYTE *end;
|
|
67
|
+
} opj_raw_t;
|
|
68
|
+
|
|
69
|
+
/** @name Exported functions */
|
|
70
|
+
/*@{*/
|
|
71
|
+
/* ----------------------------------------------------------------------- */
|
|
72
|
+
/**
|
|
73
|
+
Create a new RAW handle
|
|
74
|
+
@return Returns a new RAW handle if successful, returns NULL otherwise
|
|
75
|
+
*/
|
|
76
|
+
opj_raw_t* opj_raw_create(void);
|
|
77
|
+
/**
|
|
78
|
+
Destroy a previously created RAW handle
|
|
79
|
+
@param raw RAW handle to destroy
|
|
80
|
+
*/
|
|
81
|
+
void opj_raw_destroy(opj_raw_t *raw);
|
|
82
|
+
/**
|
|
83
|
+
Return the number of bytes written/read since initialisation
|
|
84
|
+
@param raw RAW handle to destroy
|
|
85
|
+
@return Returns the number of bytes already encoded
|
|
86
|
+
*/
|
|
87
|
+
OPJ_UINT32 opj_raw_numbytes(opj_raw_t *raw);
|
|
88
|
+
/**
|
|
89
|
+
Initialize the decoder
|
|
90
|
+
@param raw RAW handle
|
|
91
|
+
@param bp Pointer to the start of the buffer from which the bytes will be read
|
|
92
|
+
@param len Length of the input buffer
|
|
93
|
+
*/
|
|
94
|
+
void opj_raw_init_dec(opj_raw_t *raw, OPJ_BYTE *bp, OPJ_UINT32 len);
|
|
95
|
+
/**
|
|
96
|
+
Decode a symbol using raw-decoder. Cfr p.506 TAUBMAN
|
|
97
|
+
@param raw RAW handle
|
|
98
|
+
@return Returns the decoded symbol (0 or 1)
|
|
99
|
+
*/
|
|
100
|
+
OPJ_UINT32 opj_raw_decode(opj_raw_t *raw);
|
|
101
|
+
/* ----------------------------------------------------------------------- */
|
|
102
|
+
/*@}*/
|
|
103
|
+
|
|
104
|
+
/*@}*/
|
|
105
|
+
|
|
106
|
+
#endif /* __RAW_H */
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* The copyright in this software is being made available under the 2-clauses
|
|
3
|
+
* BSD License, included below. This software may be subject to other third
|
|
4
|
+
* party and contributor rights, including patent rights, and no such rights
|
|
5
|
+
* are granted under this license.
|
|
6
|
+
*
|
|
7
|
+
* Copyright (c) 2002-2014, Universite catholique de Louvain (UCL), Belgium
|
|
8
|
+
* Copyright (c) 2002-2014, Professor Benoit Macq
|
|
9
|
+
* Copyright (c) 2001-2003, David Janssens
|
|
10
|
+
* Copyright (c) 2002-2003, Yannick Verschueren
|
|
11
|
+
* Copyright (c) 2003-2007, Francois-Olivier Devaux
|
|
12
|
+
* Copyright (c) 2003-2014, Antonin Descampe
|
|
13
|
+
* Copyright (c) 2005, Herve Drolon, FreeImage Team
|
|
14
|
+
* All rights reserved.
|
|
15
|
+
*
|
|
16
|
+
* Redistribution and use in source and binary forms, with or without
|
|
17
|
+
* modification, are permitted provided that the following conditions
|
|
18
|
+
* are met:
|
|
19
|
+
* 1. Redistributions of source code must retain the above copyright
|
|
20
|
+
* notice, this list of conditions and the following disclaimer.
|
|
21
|
+
* 2. Redistributions in binary form must reproduce the above copyright
|
|
22
|
+
* notice, this list of conditions and the following disclaimer in the
|
|
23
|
+
* documentation and/or other materials provided with the distribution.
|
|
24
|
+
*
|
|
25
|
+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS `AS IS'
|
|
26
|
+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
27
|
+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
28
|
+
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
|
29
|
+
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
30
|
+
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
31
|
+
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
32
|
+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
33
|
+
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
34
|
+
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
35
|
+
* POSSIBILITY OF SUCH DAMAGE.
|
|
36
|
+
*/
|
|
37
|
+
#ifndef __T1_H
|
|
38
|
+
#define __T1_H
|
|
39
|
+
/**
|
|
40
|
+
@file t1.h
|
|
41
|
+
@brief Implementation of the tier-1 coding (coding of code-block coefficients) (T1)
|
|
42
|
+
|
|
43
|
+
The functions in T1.C have for goal to realize the tier-1 coding operation. The functions
|
|
44
|
+
in T1.C are used by some function in TCD.C.
|
|
45
|
+
*/
|
|
46
|
+
|
|
47
|
+
/** @defgroup T1 T1 - Implementation of the tier-1 coding */
|
|
48
|
+
/*@{*/
|
|
49
|
+
|
|
50
|
+
/* ----------------------------------------------------------------------- */
|
|
51
|
+
#define T1_NMSEDEC_BITS 7
|
|
52
|
+
|
|
53
|
+
#define T1_SIG_NE 0x0001 /**< Context orientation : North-East direction */
|
|
54
|
+
#define T1_SIG_SE 0x0002 /**< Context orientation : South-East direction */
|
|
55
|
+
#define T1_SIG_SW 0x0004 /**< Context orientation : South-West direction */
|
|
56
|
+
#define T1_SIG_NW 0x0008 /**< Context orientation : North-West direction */
|
|
57
|
+
#define T1_SIG_N 0x0010 /**< Context orientation : North direction */
|
|
58
|
+
#define T1_SIG_E 0x0020 /**< Context orientation : East direction */
|
|
59
|
+
#define T1_SIG_S 0x0040 /**< Context orientation : South direction */
|
|
60
|
+
#define T1_SIG_W 0x0080 /**< Context orientation : West direction */
|
|
61
|
+
#define T1_SIG_OTH (T1_SIG_N|T1_SIG_NE|T1_SIG_E|T1_SIG_SE|T1_SIG_S|T1_SIG_SW|T1_SIG_W|T1_SIG_NW)
|
|
62
|
+
#define T1_SIG_PRIM (T1_SIG_N|T1_SIG_E|T1_SIG_S|T1_SIG_W)
|
|
63
|
+
|
|
64
|
+
#define T1_SGN_N 0x0100
|
|
65
|
+
#define T1_SGN_E 0x0200
|
|
66
|
+
#define T1_SGN_S 0x0400
|
|
67
|
+
#define T1_SGN_W 0x0800
|
|
68
|
+
#define T1_SGN (T1_SGN_N|T1_SGN_E|T1_SGN_S|T1_SGN_W)
|
|
69
|
+
|
|
70
|
+
#define T1_SIG 0x1000
|
|
71
|
+
#define T1_REFINE 0x2000
|
|
72
|
+
#define T1_VISIT 0x4000
|
|
73
|
+
|
|
74
|
+
#define T1_NUMCTXS_ZC 9
|
|
75
|
+
#define T1_NUMCTXS_SC 5
|
|
76
|
+
#define T1_NUMCTXS_MAG 3
|
|
77
|
+
#define T1_NUMCTXS_AGG 1
|
|
78
|
+
#define T1_NUMCTXS_UNI 1
|
|
79
|
+
|
|
80
|
+
#define T1_CTXNO_ZC 0
|
|
81
|
+
#define T1_CTXNO_SC (T1_CTXNO_ZC+T1_NUMCTXS_ZC)
|
|
82
|
+
#define T1_CTXNO_MAG (T1_CTXNO_SC+T1_NUMCTXS_SC)
|
|
83
|
+
#define T1_CTXNO_AGG (T1_CTXNO_MAG+T1_NUMCTXS_MAG)
|
|
84
|
+
#define T1_CTXNO_UNI (T1_CTXNO_AGG+T1_NUMCTXS_AGG)
|
|
85
|
+
#define T1_NUMCTXS (T1_CTXNO_UNI+T1_NUMCTXS_UNI)
|
|
86
|
+
|
|
87
|
+
#define T1_NMSEDEC_FRACBITS (T1_NMSEDEC_BITS-1)
|
|
88
|
+
|
|
89
|
+
#define T1_TYPE_MQ 0 /**< Normal coding using entropy coder */
|
|
90
|
+
#define T1_TYPE_RAW 1 /**< No encoding the information is store under raw format in codestream (mode switch RAW)*/
|
|
91
|
+
|
|
92
|
+
/* ----------------------------------------------------------------------- */
|
|
93
|
+
|
|
94
|
+
typedef OPJ_INT16 opj_flag_t;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
Tier-1 coding (coding of code-block coefficients)
|
|
98
|
+
*/
|
|
99
|
+
typedef struct opj_t1 {
|
|
100
|
+
|
|
101
|
+
/** MQC component */
|
|
102
|
+
opj_mqc_t *mqc;
|
|
103
|
+
/** RAW component */
|
|
104
|
+
opj_raw_t *raw;
|
|
105
|
+
|
|
106
|
+
OPJ_INT32 *data;
|
|
107
|
+
opj_flag_t *flags;
|
|
108
|
+
OPJ_UINT32 w;
|
|
109
|
+
OPJ_UINT32 h;
|
|
110
|
+
OPJ_UINT32 datasize;
|
|
111
|
+
OPJ_UINT32 flagssize;
|
|
112
|
+
OPJ_UINT32 flags_stride;
|
|
113
|
+
} opj_t1_t;
|
|
114
|
+
|
|
115
|
+
#define MACRO_t1_flags(x,y) t1->flags[((x)*(t1->flags_stride))+(y)]
|
|
116
|
+
|
|
117
|
+
/** @name Exported functions */
|
|
118
|
+
/*@{*/
|
|
119
|
+
/* ----------------------------------------------------------------------- */
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
Encode the code-blocks of a tile
|
|
123
|
+
@param t1 T1 handle
|
|
124
|
+
@param tile The tile to encode
|
|
125
|
+
@param tcp Tile coding parameters
|
|
126
|
+
@param mct_norms FIXME DOC
|
|
127
|
+
*/
|
|
128
|
+
OPJ_BOOL opj_t1_encode_cblks( opj_t1_t *t1,
|
|
129
|
+
opj_tcd_tile_t *tile,
|
|
130
|
+
opj_tcp_t *tcp,
|
|
131
|
+
const OPJ_FLOAT64 * mct_norms);
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
Decode the code-blocks of a tile
|
|
135
|
+
@param t1 T1 handle
|
|
136
|
+
@param tilec The tile to decode
|
|
137
|
+
@param tccp Tile coding parameters
|
|
138
|
+
*/
|
|
139
|
+
OPJ_BOOL opj_t1_decode_cblks( opj_t1_t* t1,
|
|
140
|
+
opj_tcd_tilecomp_t* tilec,
|
|
141
|
+
opj_tccp_t* tccp);
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Creates a new Tier 1 handle
|
|
147
|
+
* and initializes the look-up tables of the Tier-1 coder/decoder
|
|
148
|
+
* @return a new T1 handle if successful, returns NULL otherwise
|
|
149
|
+
*/
|
|
150
|
+
opj_t1_t* opj_t1_create(void);
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* Destroys a previously created T1 handle
|
|
154
|
+
*
|
|
155
|
+
* @param p_t1 Tier 1 handle to destroy
|
|
156
|
+
*/
|
|
157
|
+
void opj_t1_destroy(opj_t1_t *p_t1);
|
|
158
|
+
/* ----------------------------------------------------------------------- */
|
|
159
|
+
/*@}*/
|
|
160
|
+
|
|
161
|
+
/*@}*/
|
|
162
|
+
|
|
163
|
+
#endif /* __T1_H */
|