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.
Files changed (689) hide show
  1. package/README.md +102 -0
  2. package/dist/scripts/test-nbis-versions.js +17 -0
  3. package/dist/src/an2ktool.d.ts +14 -0
  4. package/dist/src/an2ktool.js +48 -0
  5. package/dist/src/bozorth3.d.ts +43 -0
  6. package/dist/src/bozorth3.js +145 -0
  7. package/dist/src/chkan2k.d.ts +14 -0
  8. package/dist/src/chkan2k.js +34 -0
  9. package/dist/src/cjp2k.d.ts +21 -0
  10. package/dist/src/cjp2k.js +54 -0
  11. package/dist/src/cjpeg.d.ts +24 -0
  12. package/dist/src/cjpeg.js +60 -0
  13. package/dist/src/cjpegb.d.ts +19 -0
  14. package/dist/src/cjpegb.js +47 -0
  15. package/dist/src/cjpegl.d.ts +24 -0
  16. package/dist/src/cjpegl.js +54 -0
  17. package/dist/src/cwsq.d.ts +18 -0
  18. package/dist/src/cwsq.js +44 -0
  19. package/dist/src/datainfo.d.ts +8 -0
  20. package/dist/src/datainfo.js +20 -0
  21. package/dist/src/djp2k.d.ts +20 -0
  22. package/dist/src/djp2k.js +53 -0
  23. package/dist/src/djpeg.d.ts +25 -0
  24. package/dist/src/djpeg.js +63 -0
  25. package/dist/src/djpegb.d.ts +14 -0
  26. package/dist/src/djpegb.js +39 -0
  27. package/dist/src/djpegl.d.ts +14 -0
  28. package/dist/src/djpegl.js +39 -0
  29. package/dist/src/dwsq.d.ts +13 -0
  30. package/dist/src/dwsq.js +36 -0
  31. package/dist/src/index.d.ts +26 -0
  32. package/dist/src/index.js +57 -0
  33. package/dist/src/intr2not.d.ts +22 -0
  34. package/dist/src/intr2not.js +48 -0
  35. package/dist/src/jpegtran.d.ts +24 -0
  36. package/dist/src/jpegtran.js +88 -0
  37. package/dist/src/mindtct.d.ts +24 -0
  38. package/dist/src/mindtct.js +45 -0
  39. package/dist/src/nbis-runtime.d.ts +23 -0
  40. package/dist/src/nbis-runtime.js +111 -0
  41. package/dist/src/nfiq.d.ts +36 -0
  42. package/dist/src/nfiq.js +93 -0
  43. package/dist/src/not2intr.d.ts +22 -0
  44. package/dist/src/not2intr.js +48 -0
  45. package/dist/src/rdjpgcom.d.ts +11 -0
  46. package/dist/src/rdjpgcom.js +27 -0
  47. package/dist/src/rdwsqcom.d.ts +8 -0
  48. package/dist/src/rdwsqcom.js +20 -0
  49. package/dist/src/rgb2ycc.d.ts +23 -0
  50. package/dist/src/rgb2ycc.js +51 -0
  51. package/dist/src/wrjpgcom.d.ts +20 -0
  52. package/dist/src/wrjpgcom.js +41 -0
  53. package/dist/src/wrwsqcom.d.ts +15 -0
  54. package/dist/src/wrwsqcom.js +27 -0
  55. package/dist/src/ycc2rgb.d.ts +23 -0
  56. package/dist/src/ycc2rgb.js +51 -0
  57. package/dist/test/nbis-versions.test.d.ts +1 -0
  58. package/dist/test/nbis-versions.test.js +37 -0
  59. package/libnbis/nbis_arm64_darwin/bin/an2k2iaf +0 -0
  60. package/libnbis/nbis_arm64_darwin/bin/an2k2txt +0 -0
  61. package/libnbis/nbis_arm64_darwin/bin/an2ktool +0 -0
  62. package/libnbis/nbis_arm64_darwin/bin/asc2bin +0 -0
  63. package/libnbis/nbis_arm64_darwin/bin/bin2asc +0 -0
  64. package/libnbis/nbis_arm64_darwin/bin/bozorth3 +0 -0
  65. package/libnbis/nbis_arm64_darwin/bin/chgdesc +0 -0
  66. package/libnbis/nbis_arm64_darwin/bin/chkan2k +0 -0
  67. package/libnbis/nbis_arm64_darwin/bin/cjp2k +0 -0
  68. package/libnbis/nbis_arm64_darwin/bin/cjpeg +0 -0
  69. package/libnbis/nbis_arm64_darwin/bin/cjpegb +0 -0
  70. package/libnbis/nbis_arm64_darwin/bin/cjpegl +0 -0
  71. package/libnbis/nbis_arm64_darwin/bin/cmbmcs +0 -0
  72. package/libnbis/nbis_arm64_darwin/bin/cropcoeff +0 -0
  73. package/libnbis/nbis_arm64_darwin/bin/cwsq +0 -0
  74. package/libnbis/nbis_arm64_darwin/bin/datainfo +0 -0
  75. package/libnbis/nbis_arm64_darwin/bin/diffbyts +0 -0
  76. package/libnbis/nbis_arm64_darwin/bin/djp2k +0 -0
  77. package/libnbis/nbis_arm64_darwin/bin/djpeg +0 -0
  78. package/libnbis/nbis_arm64_darwin/bin/djpegb +0 -0
  79. package/libnbis/nbis_arm64_darwin/bin/djpegl +0 -0
  80. package/libnbis/nbis_arm64_darwin/bin/djpeglsd +0 -0
  81. package/libnbis/nbis_arm64_darwin/bin/dlwsqcom +0 -0
  82. package/libnbis/nbis_arm64_darwin/bin/dpyan2k +0 -0
  83. package/libnbis/nbis_arm64_darwin/bin/dpyimage +0 -0
  84. package/libnbis/nbis_arm64_darwin/bin/dwsq +0 -0
  85. package/libnbis/nbis_arm64_darwin/bin/dwsq14 +0 -0
  86. package/libnbis/nbis_arm64_darwin/bin/eva_evt +0 -0
  87. package/libnbis/nbis_arm64_darwin/bin/fing2pat +0 -0
  88. package/libnbis/nbis_arm64_darwin/bin/fixwts +0 -0
  89. package/libnbis/nbis_arm64_darwin/bin/histogen +0 -0
  90. package/libnbis/nbis_arm64_darwin/bin/iaf2an2k +0 -0
  91. package/libnbis/nbis_arm64_darwin/bin/intr2not +0 -0
  92. package/libnbis/nbis_arm64_darwin/bin/jpegtran +0 -0
  93. package/libnbis/nbis_arm64_darwin/bin/kltran +0 -0
  94. package/libnbis/nbis_arm64_darwin/bin/lintran +0 -0
  95. package/libnbis/nbis_arm64_darwin/bin/meancov +0 -0
  96. package/libnbis/nbis_arm64_darwin/bin/mindtct +0 -0
  97. package/libnbis/nbis_arm64_darwin/bin/mkoas +0 -0
  98. package/libnbis/nbis_arm64_darwin/bin/mktran +0 -0
  99. package/libnbis/nbis_arm64_darwin/bin/mlp +0 -0
  100. package/libnbis/nbis_arm64_darwin/bin/mlpfeats +0 -0
  101. package/libnbis/nbis_arm64_darwin/bin/nfiq +0 -0
  102. package/libnbis/nbis_arm64_darwin/bin/nfseg +0 -0
  103. package/libnbis/nbis_arm64_darwin/bin/not2intr +0 -0
  104. package/libnbis/nbis_arm64_darwin/bin/oas2pics +0 -0
  105. package/libnbis/nbis_arm64_darwin/bin/optosf +0 -0
  106. package/libnbis/nbis_arm64_darwin/bin/optrws +0 -0
  107. package/libnbis/nbis_arm64_darwin/bin/optrwsgw +0 -0
  108. package/libnbis/nbis_arm64_darwin/bin/pcasys +0 -0
  109. package/libnbis/nbis_arm64_darwin/bin/pcasysx +0 -0
  110. package/libnbis/nbis_arm64_darwin/bin/rdimgwh +0 -0
  111. package/libnbis/nbis_arm64_darwin/bin/rdjpgcom +0 -0
  112. package/libnbis/nbis_arm64_darwin/bin/rdwsqcom +0 -0
  113. package/libnbis/nbis_arm64_darwin/bin/rgb2ycc +0 -0
  114. package/libnbis/nbis_arm64_darwin/bin/rwpics +0 -0
  115. package/libnbis/nbis_arm64_darwin/bin/sd_rfmt +0 -0
  116. package/libnbis/nbis_arm64_darwin/bin/stackms +0 -0
  117. package/libnbis/nbis_arm64_darwin/bin/txt2an2k +0 -0
  118. package/libnbis/nbis_arm64_darwin/bin/wrjpgcom +0 -0
  119. package/libnbis/nbis_arm64_darwin/bin/wrwsqcom +0 -0
  120. package/libnbis/nbis_arm64_darwin/bin/ycc2rgb +0 -0
  121. package/libnbis/nbis_arm64_darwin/bin/znormdat +0 -0
  122. package/libnbis/nbis_arm64_darwin/bin/znormpat +0 -0
  123. package/libnbis/nbis_arm64_darwin/include/an2k.h +885 -0
  124. package/libnbis/nbis_arm64_darwin/include/an2k.h.src +885 -0
  125. package/libnbis/nbis_arm64_darwin/include/an2kseg.h +77 -0
  126. package/libnbis/nbis_arm64_darwin/include/binops.h +94 -0
  127. package/libnbis/nbis_arm64_darwin/include/bitmasks.h +50 -0
  128. package/libnbis/nbis_arm64_darwin/include/bits.h +63 -0
  129. package/libnbis/nbis_arm64_darwin/include/bozorth.h +295 -0
  130. package/libnbis/nbis_arm64_darwin/include/bz_array.h +141 -0
  131. package/libnbis/nbis_arm64_darwin/include/cderror.h +132 -0
  132. package/libnbis/nbis_arm64_darwin/include/cdjpeg.h +184 -0
  133. package/libnbis/nbis_arm64_darwin/include/chkan2k.h +338 -0
  134. package/libnbis/nbis_arm64_darwin/include/computil.h +53 -0
  135. package/libnbis/nbis_arm64_darwin/include/crc32.h +441 -0
  136. package/libnbis/nbis_arm64_darwin/include/datafile.h +95 -0
  137. package/libnbis/nbis_arm64_darwin/include/dataio.h +70 -0
  138. package/libnbis/nbis_arm64_darwin/include/deflate.h +331 -0
  139. package/libnbis/nbis_arm64_darwin/include/defs.h +82 -0
  140. package/libnbis/nbis_arm64_darwin/include/dilate.h +57 -0
  141. package/libnbis/nbis_arm64_darwin/include/display.h +255 -0
  142. package/libnbis/nbis_arm64_darwin/include/dpy.h +71 -0
  143. package/libnbis/nbis_arm64_darwin/include/dpyan2k.h +72 -0
  144. package/libnbis/nbis_arm64_darwin/include/dpydepth.h +78 -0
  145. package/libnbis/nbis_arm64_darwin/include/dpyimage.h +110 -0
  146. package/libnbis/nbis_arm64_darwin/include/dpyx.h +107 -0
  147. package/libnbis/nbis_arm64_darwin/include/event.h +62 -0
  148. package/libnbis/nbis_arm64_darwin/include/f2c.h +271 -0
  149. package/libnbis/nbis_arm64_darwin/include/fet.h +96 -0
  150. package/libnbis/nbis_arm64_darwin/include/findblob.h +116 -0
  151. package/libnbis/nbis_arm64_darwin/include/fixup.h +52 -0
  152. package/libnbis/nbis_arm64_darwin/include/gr_cm.h +51 -0
  153. package/libnbis/nbis_arm64_darwin/include/grp4comp.h +185 -0
  154. package/libnbis/nbis_arm64_darwin/include/grp4deco.h +157 -0
  155. package/libnbis/nbis_arm64_darwin/include/grphcs.h +91 -0
  156. package/libnbis/nbis_arm64_darwin/include/histogen.h +99 -0
  157. package/libnbis/nbis_arm64_darwin/include/ihead.h +169 -0
  158. package/libnbis/nbis_arm64_darwin/include/img_io.h +89 -0
  159. package/libnbis/nbis_arm64_darwin/include/imgavg.h +52 -0
  160. package/libnbis/nbis_arm64_darwin/include/imgboost.h +55 -0
  161. package/libnbis/nbis_arm64_darwin/include/imgdec.h +58 -0
  162. package/libnbis/nbis_arm64_darwin/include/imgdecod.h +65 -0
  163. package/libnbis/nbis_arm64_darwin/include/imgsnip.h +56 -0
  164. package/libnbis/nbis_arm64_darwin/include/imgtype.h +85 -0
  165. package/libnbis/nbis_arm64_darwin/include/imgutil.h +80 -0
  166. package/libnbis/nbis_arm64_darwin/include/inffast.h +11 -0
  167. package/libnbis/nbis_arm64_darwin/include/inffixed.h +94 -0
  168. package/libnbis/nbis_arm64_darwin/include/inflate.h +115 -0
  169. package/libnbis/nbis_arm64_darwin/include/inftrees.h +55 -0
  170. package/libnbis/nbis_arm64_darwin/include/intrlv.h +68 -0
  171. package/libnbis/nbis_arm64_darwin/include/invbyte.h +45 -0
  172. package/libnbis/nbis_arm64_darwin/include/ioutil.h +76 -0
  173. package/libnbis/nbis_arm64_darwin/include/jchuff.h +47 -0
  174. package/libnbis/nbis_arm64_darwin/include/jconfig.h +89 -0
  175. package/libnbis/nbis_arm64_darwin/include/jdct.h +176 -0
  176. package/libnbis/nbis_arm64_darwin/include/jdhuff.h +201 -0
  177. package/libnbis/nbis_arm64_darwin/include/jerror.h +335 -0
  178. package/libnbis/nbis_arm64_darwin/include/jinclude.h +91 -0
  179. package/libnbis/nbis_arm64_darwin/include/jmemsys.h +198 -0
  180. package/libnbis/nbis_arm64_darwin/include/jmorecfg.h +407 -0
  181. package/libnbis/nbis_arm64_darwin/include/jpeg2k.h +95 -0
  182. package/libnbis/nbis_arm64_darwin/include/jpegb.h +95 -0
  183. package/libnbis/nbis_arm64_darwin/include/jpegint.h +392 -0
  184. package/libnbis/nbis_arm64_darwin/include/jpegl.h +303 -0
  185. package/libnbis/nbis_arm64_darwin/include/jpeglib.h +1096 -0
  186. package/libnbis/nbis_arm64_darwin/include/jpeglsd4.h +55 -0
  187. package/libnbis/nbis_arm64_darwin/include/jversion.h +14 -0
  188. package/libnbis/nbis_arm64_darwin/include/lfs.h +1249 -0
  189. package/libnbis/nbis_arm64_darwin/include/little.h +81 -0
  190. package/libnbis/nbis_arm64_darwin/include/log.h +69 -0
  191. package/libnbis/nbis_arm64_darwin/include/masks.h +45 -0
  192. package/libnbis/nbis_arm64_darwin/include/memalloc.h +88 -0
  193. package/libnbis/nbis_arm64_darwin/include/mlp/fmt_msgs.h +57 -0
  194. package/libnbis/nbis_arm64_darwin/include/mlp/get_phr.h +54 -0
  195. package/libnbis/nbis_arm64_darwin/include/mlp/lbfgs_dr.h +51 -0
  196. package/libnbis/nbis_arm64_darwin/include/mlp/lims.h +51 -0
  197. package/libnbis/nbis_arm64_darwin/include/mlp/macros.h +53 -0
  198. package/libnbis/nbis_arm64_darwin/include/mlp/mtch_pnm.h +61 -0
  199. package/libnbis/nbis_arm64_darwin/include/mlp/rd_words.h +51 -0
  200. package/libnbis/nbis_arm64_darwin/include/mlp/scg.h +55 -0
  201. package/libnbis/nbis_arm64_darwin/include/mlp/tda.h +69 -0
  202. package/libnbis/nbis_arm64_darwin/include/mlp.h +545 -0
  203. package/libnbis/nbis_arm64_darwin/include/mlpcla.h +77 -0
  204. package/libnbis/nbis_arm64_darwin/include/morph.h +60 -0
  205. package/libnbis/nbis_arm64_darwin/include/mytime.h +106 -0
  206. package/libnbis/nbis_arm64_darwin/include/nfiq.h +100 -0
  207. package/libnbis/nbis_arm64_darwin/include/nfseg.h +154 -0
  208. package/libnbis/nbis_arm64_darwin/include/nistcom.h +108 -0
  209. package/libnbis/nbis_arm64_darwin/include/openjp2/bio.h +134 -0
  210. package/libnbis/nbis_arm64_darwin/include/openjp2/cidx_manager.h +68 -0
  211. package/libnbis/nbis_arm64_darwin/include/openjp2/cio.h +399 -0
  212. package/libnbis/nbis_arm64_darwin/include/openjp2/dwt.h +122 -0
  213. package/libnbis/nbis_arm64_darwin/include/openjp2/event.h +102 -0
  214. package/libnbis/nbis_arm64_darwin/include/openjp2/function_list.h +131 -0
  215. package/libnbis/nbis_arm64_darwin/include/openjp2/image.h +68 -0
  216. package/libnbis/nbis_arm64_darwin/include/openjp2/indexbox_manager.h +148 -0
  217. package/libnbis/nbis_arm64_darwin/include/openjp2/invert.h +64 -0
  218. package/libnbis/nbis_arm64_darwin/include/openjp2/j2k.h +842 -0
  219. package/libnbis/nbis_arm64_darwin/include/openjp2/jp2.h +500 -0
  220. package/libnbis/nbis_arm64_darwin/include/openjp2/mct.h +155 -0
  221. package/libnbis/nbis_arm64_darwin/include/openjp2/mqc.h +207 -0
  222. package/libnbis/nbis_arm64_darwin/include/openjp2/openjpeg.h +1563 -0
  223. package/libnbis/nbis_arm64_darwin/include/openjp2/opj_clock.h +59 -0
  224. package/libnbis/nbis_arm64_darwin/include/openjp2/opj_codec.h +165 -0
  225. package/libnbis/nbis_arm64_darwin/include/openjp2/opj_includes.h +180 -0
  226. package/libnbis/nbis_arm64_darwin/include/openjp2/opj_intmath.h +178 -0
  227. package/libnbis/nbis_arm64_darwin/include/openjp2/opj_inttypes.h +48 -0
  228. package/libnbis/nbis_arm64_darwin/include/openjp2/opj_malloc.h +185 -0
  229. package/libnbis/nbis_arm64_darwin/include/openjp2/opj_stdint.h +52 -0
  230. package/libnbis/nbis_arm64_darwin/include/openjp2/pi.h +188 -0
  231. package/libnbis/nbis_arm64_darwin/include/openjp2/raw.h +106 -0
  232. package/libnbis/nbis_arm64_darwin/include/openjp2/t1.h +163 -0
  233. package/libnbis/nbis_arm64_darwin/include/openjp2/t1_luts.h +143 -0
  234. package/libnbis/nbis_arm64_darwin/include/openjp2/t2.h +133 -0
  235. package/libnbis/nbis_arm64_darwin/include/openjp2/tcd.h +354 -0
  236. package/libnbis/nbis_arm64_darwin/include/openjp2/tgt.h +146 -0
  237. package/libnbis/nbis_arm64_darwin/include/optrws_r.h +59 -0
  238. package/libnbis/nbis_arm64_darwin/include/parsargs.h +60 -0
  239. package/libnbis/nbis_arm64_darwin/include/pca.h +262 -0
  240. package/libnbis/nbis_arm64_darwin/include/png.h +3544 -0
  241. package/libnbis/nbis_arm64_darwin/include/png_dec.h +74 -0
  242. package/libnbis/nbis_arm64_darwin/include/pngconf.h +1487 -0
  243. package/libnbis/nbis_arm64_darwin/include/rgb_ycc.h +85 -0
  244. package/libnbis/nbis_arm64_darwin/include/sunrast.h +97 -0
  245. package/libnbis/nbis_arm64_darwin/include/swap.h +137 -0
  246. package/libnbis/nbis_arm64_darwin/include/swapbyte.h +53 -0
  247. package/libnbis/nbis_arm64_darwin/include/table.h +58 -0
  248. package/libnbis/nbis_arm64_darwin/include/thresh.h +51 -0
  249. package/libnbis/nbis_arm64_darwin/include/transupp.h +135 -0
  250. package/libnbis/nbis_arm64_darwin/include/trees.h +128 -0
  251. package/libnbis/nbis_arm64_darwin/include/usagemcs.h +93 -0
  252. package/libnbis/nbis_arm64_darwin/include/usebsd.h +78 -0
  253. package/libnbis/nbis_arm64_darwin/include/util.h +98 -0
  254. package/libnbis/nbis_arm64_darwin/include/version.h +55 -0
  255. package/libnbis/nbis_arm64_darwin/include/wsq.h +340 -0
  256. package/libnbis/nbis_arm64_darwin/include/zconf.h +332 -0
  257. package/libnbis/nbis_arm64_darwin/include/zconf.in.h +332 -0
  258. package/libnbis/nbis_arm64_darwin/include/zlib.h +1357 -0
  259. package/libnbis/nbis_arm64_darwin/include/zutil.h +269 -0
  260. package/libnbis/nbis_arm64_darwin/lib/libnbis.a +0 -0
  261. package/libnbis/nbis_arm64_darwin/man/man1/an2k2iaf.1 +69 -0
  262. package/libnbis/nbis_arm64_darwin/man/man1/an2k2txt.1 +129 -0
  263. package/libnbis/nbis_arm64_darwin/man/man1/an2ktool.1 +267 -0
  264. package/libnbis/nbis_arm64_darwin/man/man1/asc2bin.1 +38 -0
  265. package/libnbis/nbis_arm64_darwin/man/man1/bin2asc.1 +39 -0
  266. package/libnbis/nbis_arm64_darwin/man/man1/bozorth3.1 +246 -0
  267. package/libnbis/nbis_arm64_darwin/man/man1/chgdesc.1 +54 -0
  268. package/libnbis/nbis_arm64_darwin/man/man1/chkan2k.1 +426 -0
  269. package/libnbis/nbis_arm64_darwin/man/man1/cjp2k.1 +20 -0
  270. package/libnbis/nbis_arm64_darwin/man/man1/cjpeg.1 +296 -0
  271. package/libnbis/nbis_arm64_darwin/man/man1/cjpegb.1 +188 -0
  272. package/libnbis/nbis_arm64_darwin/man/man1/cjpegl.1 +234 -0
  273. package/libnbis/nbis_arm64_darwin/man/man1/cmbmcs.1 +85 -0
  274. package/libnbis/nbis_arm64_darwin/man/man1/cropcoeff.1 +70 -0
  275. package/libnbis/nbis_arm64_darwin/man/man1/cwsq.1 +145 -0
  276. package/libnbis/nbis_arm64_darwin/man/man1/datainfo.1 +59 -0
  277. package/libnbis/nbis_arm64_darwin/man/man1/diffbyts.1 +71 -0
  278. package/libnbis/nbis_arm64_darwin/man/man1/djp2k.1 +21 -0
  279. package/libnbis/nbis_arm64_darwin/man/man1/djpeg.1 +257 -0
  280. package/libnbis/nbis_arm64_darwin/man/man1/djpegb.1 +140 -0
  281. package/libnbis/nbis_arm64_darwin/man/man1/djpegl.1 +143 -0
  282. package/libnbis/nbis_arm64_darwin/man/man1/djpeglsd.1 +158 -0
  283. package/libnbis/nbis_arm64_darwin/man/man1/dpyan2k.1 +179 -0
  284. package/libnbis/nbis_arm64_darwin/man/man1/dpyimage.1 +233 -0
  285. package/libnbis/nbis_arm64_darwin/man/man1/dwsq.1 +112 -0
  286. package/libnbis/nbis_arm64_darwin/man/man1/dwsq14.1 +120 -0
  287. package/libnbis/nbis_arm64_darwin/man/man1/eva_evt.1 +77 -0
  288. package/libnbis/nbis_arm64_darwin/man/man1/fing2pat.1 +61 -0
  289. package/libnbis/nbis_arm64_darwin/man/man1/fixwts.1 +46 -0
  290. package/libnbis/nbis_arm64_darwin/man/man1/histogen.1 +67 -0
  291. package/libnbis/nbis_arm64_darwin/man/man1/iaf2an2k.1 +63 -0
  292. package/libnbis/nbis_arm64_darwin/man/man1/imgcmp.1 +66 -0
  293. package/libnbis/nbis_arm64_darwin/man/man1/imginfo.1 +43 -0
  294. package/libnbis/nbis_arm64_darwin/man/man1/intr2not.1 +147 -0
  295. package/libnbis/nbis_arm64_darwin/man/man1/jp2codec.1 +240 -0
  296. package/libnbis/nbis_arm64_darwin/man/man1/jpegtran.1 +242 -0
  297. package/libnbis/nbis_arm64_darwin/man/man1/kltran.1 +92 -0
  298. package/libnbis/nbis_arm64_darwin/man/man1/lintran.1 +92 -0
  299. package/libnbis/nbis_arm64_darwin/man/man1/meancov.1 +92 -0
  300. package/libnbis/nbis_arm64_darwin/man/man1/mindtct.1 +240 -0
  301. package/libnbis/nbis_arm64_darwin/man/man1/mkoas.1 +194 -0
  302. package/libnbis/nbis_arm64_darwin/man/man1/mktran.1 +72 -0
  303. package/libnbis/nbis_arm64_darwin/man/man1/mlp.1 +680 -0
  304. package/libnbis/nbis_arm64_darwin/man/man1/mlpfeats.1 +52 -0
  305. package/libnbis/nbis_arm64_darwin/man/man1/nfiq.1 +131 -0
  306. package/libnbis/nbis_arm64_darwin/man/man1/nfseg.1 +232 -0
  307. package/libnbis/nbis_arm64_darwin/man/man1/not2intr.1 +150 -0
  308. package/libnbis/nbis_arm64_darwin/man/man1/oas2pics.1 +55 -0
  309. package/libnbis/nbis_arm64_darwin/man/man1/optosf.1 +131 -0
  310. package/libnbis/nbis_arm64_darwin/man/man1/optrws.1 +213 -0
  311. package/libnbis/nbis_arm64_darwin/man/man1/pcasys.1 +244 -0
  312. package/libnbis/nbis_arm64_darwin/man/man1/pcasysx.1 +149 -0
  313. package/libnbis/nbis_arm64_darwin/man/man1/rdimgwh.1 +74 -0
  314. package/libnbis/nbis_arm64_darwin/man/man1/rdjpgcom.1 +57 -0
  315. package/libnbis/nbis_arm64_darwin/man/man1/rdwsqcom.1 +43 -0
  316. package/libnbis/nbis_arm64_darwin/man/man1/record_selector.1 +386 -0
  317. package/libnbis/nbis_arm64_darwin/man/man1/rgb2ycc.1 +175 -0
  318. package/libnbis/nbis_arm64_darwin/man/man1/rwpics.1 +104 -0
  319. package/libnbis/nbis_arm64_darwin/man/man1/sd_rfmt.1 +88 -0
  320. package/libnbis/nbis_arm64_darwin/man/man1/stackms.1 +68 -0
  321. package/libnbis/nbis_arm64_darwin/man/man1/txt2an2k.1 +130 -0
  322. package/libnbis/nbis_arm64_darwin/man/man1/wrjpgcom.1 +107 -0
  323. package/libnbis/nbis_arm64_darwin/man/man1/wrwsqcom.1 +51 -0
  324. package/libnbis/nbis_arm64_darwin/man/man1/ycc2rgb.1 +183 -0
  325. package/libnbis/nbis_arm64_darwin/man/man1/znormdat.1 +50 -0
  326. package/libnbis/nbis_arm64_darwin/man/man1/znormpat.1 +51 -0
  327. package/libnbis/nbis_arm64_darwin/nbis/an2k/chkan2k/default.conf +451 -0
  328. package/libnbis/nbis_arm64_darwin/nbis/an2k/chkan2k/nist-samples.conf +39 -0
  329. package/libnbis/nbis_arm64_darwin/nbis/nfiq/spec +428 -0
  330. package/libnbis/nbis_arm64_darwin/nbis/nfiq/znorm.dat +11 -0
  331. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/a.pct +0 -0
  332. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/a_c.pct +0 -0
  333. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/biga.pct +0 -0
  334. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/bigl.pct +0 -0
  335. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/bigr.pct +0 -0
  336. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/bigs.pct +0 -0
  337. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/bigt.pct +0 -0
  338. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/bigw.pct +0 -0
  339. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/conf.pct +0 -0
  340. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/digits.pct +0 -0
  341. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/h_c.pct +0 -0
  342. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/l.pct +0 -0
  343. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/note.txt +2 -0
  344. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/pcasys.pct +0 -0
  345. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/point.pct +0 -0
  346. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/r.pct +0 -0
  347. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/s.pct +0 -0
  348. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/sub_0.pct +0 -0
  349. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/sub_1.pct +0 -0
  350. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/t.pct +0 -0
  351. package/libnbis/nbis_arm64_darwin/nbis/pcasys/images/w.pct +0 -0
  352. package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/all.txt +2700 -0
  353. package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/all_with_class.txt +2700 -0
  354. package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/first10.txt +10 -0
  355. package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/first20.txt +20 -0
  356. package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/first30.txt +30 -0
  357. package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/first50.txt +50 -0
  358. package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/mkoas.prs +15 -0
  359. package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/note.txt +31 -0
  360. package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/oas.prs +54 -0
  361. package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/optosf.prs +29 -0
  362. package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/optrws.prs +57 -0
  363. package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/pcasys.mlp +120 -0
  364. package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/pcasys.pnn +120 -0
  365. package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/pcasys.prs +120 -0
  366. package/libnbis/nbis_arm64_darwin/nbis/pcasys/parms/pcasysx.prs +25 -0
  367. package/libnbis/nbis_arm64_darwin/nbis/pcasys/weights/mlp/mlp_tmat.bin +0 -0
  368. package/libnbis/nbis_arm64_darwin/nbis/pcasys/weights/mlp/mlp_wts.bin +3523 -0
  369. package/libnbis/nbis_arm64_darwin/nbis/pcasys/weights/mlp/note.txt +7 -0
  370. package/libnbis/nbis_arm64_darwin/nbis/pcasys/weights/pnn/note.txt +6 -0
  371. package/libnbis/nbis_arm64_darwin/nbis/pcasys/weights/pnn/pnn_tmat.bin +0 -0
  372. package/libnbis/nbis_arm64_darwin/nbis/pcasys/weights/pnn/procls.asc +24311 -0
  373. package/libnbis/nbis_arm64_darwin/nbis/pcasys/weights/pnn/profvs.bin +0 -0
  374. package/libnbis/nbis_x86-64_linux/bin/an2k2iaf +0 -0
  375. package/libnbis/nbis_x86-64_linux/bin/an2k2txt +0 -0
  376. package/libnbis/nbis_x86-64_linux/bin/an2ktool +0 -0
  377. package/libnbis/nbis_x86-64_linux/bin/asc2bin +0 -0
  378. package/libnbis/nbis_x86-64_linux/bin/bin2asc +0 -0
  379. package/libnbis/nbis_x86-64_linux/bin/bozorth3 +0 -0
  380. package/libnbis/nbis_x86-64_linux/bin/chgdesc +0 -0
  381. package/libnbis/nbis_x86-64_linux/bin/chkan2k +0 -0
  382. package/libnbis/nbis_x86-64_linux/bin/cjp2k +0 -0
  383. package/libnbis/nbis_x86-64_linux/bin/cjpeg +0 -0
  384. package/libnbis/nbis_x86-64_linux/bin/cjpegb +0 -0
  385. package/libnbis/nbis_x86-64_linux/bin/cjpegl +0 -0
  386. package/libnbis/nbis_x86-64_linux/bin/cmbmcs +0 -0
  387. package/libnbis/nbis_x86-64_linux/bin/cropcoeff +0 -0
  388. package/libnbis/nbis_x86-64_linux/bin/cwsq +0 -0
  389. package/libnbis/nbis_x86-64_linux/bin/datainfo +0 -0
  390. package/libnbis/nbis_x86-64_linux/bin/diffbyts +0 -0
  391. package/libnbis/nbis_x86-64_linux/bin/djp2k +0 -0
  392. package/libnbis/nbis_x86-64_linux/bin/djpeg +0 -0
  393. package/libnbis/nbis_x86-64_linux/bin/djpegb +0 -0
  394. package/libnbis/nbis_x86-64_linux/bin/djpegl +0 -0
  395. package/libnbis/nbis_x86-64_linux/bin/djpeglsd +0 -0
  396. package/libnbis/nbis_x86-64_linux/bin/dlwsqcom +0 -0
  397. package/libnbis/nbis_x86-64_linux/bin/dpyan2k +0 -0
  398. package/libnbis/nbis_x86-64_linux/bin/dpyimage +0 -0
  399. package/libnbis/nbis_x86-64_linux/bin/dwsq +0 -0
  400. package/libnbis/nbis_x86-64_linux/bin/dwsq14 +0 -0
  401. package/libnbis/nbis_x86-64_linux/bin/eva_evt +0 -0
  402. package/libnbis/nbis_x86-64_linux/bin/fing2pat +0 -0
  403. package/libnbis/nbis_x86-64_linux/bin/fixwts +0 -0
  404. package/libnbis/nbis_x86-64_linux/bin/histogen +0 -0
  405. package/libnbis/nbis_x86-64_linux/bin/iaf2an2k +0 -0
  406. package/libnbis/nbis_x86-64_linux/bin/intr2not +0 -0
  407. package/libnbis/nbis_x86-64_linux/bin/jpegtran +0 -0
  408. package/libnbis/nbis_x86-64_linux/bin/kltran +0 -0
  409. package/libnbis/nbis_x86-64_linux/bin/lintran +0 -0
  410. package/libnbis/nbis_x86-64_linux/bin/meancov +0 -0
  411. package/libnbis/nbis_x86-64_linux/bin/mindtct +0 -0
  412. package/libnbis/nbis_x86-64_linux/bin/mkoas +0 -0
  413. package/libnbis/nbis_x86-64_linux/bin/mktran +0 -0
  414. package/libnbis/nbis_x86-64_linux/bin/mlp +0 -0
  415. package/libnbis/nbis_x86-64_linux/bin/mlpfeats +0 -0
  416. package/libnbis/nbis_x86-64_linux/bin/nfiq +0 -0
  417. package/libnbis/nbis_x86-64_linux/bin/nfseg +0 -0
  418. package/libnbis/nbis_x86-64_linux/bin/not2intr +0 -0
  419. package/libnbis/nbis_x86-64_linux/bin/oas2pics +0 -0
  420. package/libnbis/nbis_x86-64_linux/bin/optosf +0 -0
  421. package/libnbis/nbis_x86-64_linux/bin/optrws +0 -0
  422. package/libnbis/nbis_x86-64_linux/bin/optrwsgw +0 -0
  423. package/libnbis/nbis_x86-64_linux/bin/pcasys +0 -0
  424. package/libnbis/nbis_x86-64_linux/bin/pcasysx +0 -0
  425. package/libnbis/nbis_x86-64_linux/bin/rdimgwh +0 -0
  426. package/libnbis/nbis_x86-64_linux/bin/rdjpgcom +0 -0
  427. package/libnbis/nbis_x86-64_linux/bin/rdwsqcom +0 -0
  428. package/libnbis/nbis_x86-64_linux/bin/rgb2ycc +0 -0
  429. package/libnbis/nbis_x86-64_linux/bin/rwpics +0 -0
  430. package/libnbis/nbis_x86-64_linux/bin/sd_rfmt +0 -0
  431. package/libnbis/nbis_x86-64_linux/bin/stackms +0 -0
  432. package/libnbis/nbis_x86-64_linux/bin/txt2an2k +0 -0
  433. package/libnbis/nbis_x86-64_linux/bin/wrjpgcom +0 -0
  434. package/libnbis/nbis_x86-64_linux/bin/wrwsqcom +0 -0
  435. package/libnbis/nbis_x86-64_linux/bin/ycc2rgb +0 -0
  436. package/libnbis/nbis_x86-64_linux/bin/znormdat +0 -0
  437. package/libnbis/nbis_x86-64_linux/bin/znormpat +0 -0
  438. package/libnbis/nbis_x86-64_linux/include/an2k.h +885 -0
  439. package/libnbis/nbis_x86-64_linux/include/an2k.h.src +885 -0
  440. package/libnbis/nbis_x86-64_linux/include/an2kseg.h +77 -0
  441. package/libnbis/nbis_x86-64_linux/include/binops.h +94 -0
  442. package/libnbis/nbis_x86-64_linux/include/bitmasks.h +50 -0
  443. package/libnbis/nbis_x86-64_linux/include/bits.h +63 -0
  444. package/libnbis/nbis_x86-64_linux/include/bozorth.h +295 -0
  445. package/libnbis/nbis_x86-64_linux/include/bz_array.h +141 -0
  446. package/libnbis/nbis_x86-64_linux/include/cderror.h +132 -0
  447. package/libnbis/nbis_x86-64_linux/include/cdjpeg.h +184 -0
  448. package/libnbis/nbis_x86-64_linux/include/chkan2k.h +338 -0
  449. package/libnbis/nbis_x86-64_linux/include/computil.h +53 -0
  450. package/libnbis/nbis_x86-64_linux/include/crc32.h +441 -0
  451. package/libnbis/nbis_x86-64_linux/include/datafile.h +95 -0
  452. package/libnbis/nbis_x86-64_linux/include/dataio.h +70 -0
  453. package/libnbis/nbis_x86-64_linux/include/deflate.h +331 -0
  454. package/libnbis/nbis_x86-64_linux/include/defs.h +82 -0
  455. package/libnbis/nbis_x86-64_linux/include/dilate.h +57 -0
  456. package/libnbis/nbis_x86-64_linux/include/display.h +255 -0
  457. package/libnbis/nbis_x86-64_linux/include/dpy.h +71 -0
  458. package/libnbis/nbis_x86-64_linux/include/dpyan2k.h +72 -0
  459. package/libnbis/nbis_x86-64_linux/include/dpydepth.h +78 -0
  460. package/libnbis/nbis_x86-64_linux/include/dpyimage.h +110 -0
  461. package/libnbis/nbis_x86-64_linux/include/dpyx.h +107 -0
  462. package/libnbis/nbis_x86-64_linux/include/event.h +62 -0
  463. package/libnbis/nbis_x86-64_linux/include/f2c.h +271 -0
  464. package/libnbis/nbis_x86-64_linux/include/fet.h +96 -0
  465. package/libnbis/nbis_x86-64_linux/include/findblob.h +116 -0
  466. package/libnbis/nbis_x86-64_linux/include/fixup.h +52 -0
  467. package/libnbis/nbis_x86-64_linux/include/gr_cm.h +51 -0
  468. package/libnbis/nbis_x86-64_linux/include/grp4comp.h +185 -0
  469. package/libnbis/nbis_x86-64_linux/include/grp4deco.h +157 -0
  470. package/libnbis/nbis_x86-64_linux/include/grphcs.h +91 -0
  471. package/libnbis/nbis_x86-64_linux/include/histogen.h +99 -0
  472. package/libnbis/nbis_x86-64_linux/include/ihead.h +169 -0
  473. package/libnbis/nbis_x86-64_linux/include/img_io.h +89 -0
  474. package/libnbis/nbis_x86-64_linux/include/imgavg.h +52 -0
  475. package/libnbis/nbis_x86-64_linux/include/imgboost.h +55 -0
  476. package/libnbis/nbis_x86-64_linux/include/imgdec.h +58 -0
  477. package/libnbis/nbis_x86-64_linux/include/imgdecod.h +65 -0
  478. package/libnbis/nbis_x86-64_linux/include/imgsnip.h +56 -0
  479. package/libnbis/nbis_x86-64_linux/include/imgtype.h +85 -0
  480. package/libnbis/nbis_x86-64_linux/include/imgutil.h +80 -0
  481. package/libnbis/nbis_x86-64_linux/include/inffast.h +11 -0
  482. package/libnbis/nbis_x86-64_linux/include/inffixed.h +94 -0
  483. package/libnbis/nbis_x86-64_linux/include/inflate.h +115 -0
  484. package/libnbis/nbis_x86-64_linux/include/inftrees.h +55 -0
  485. package/libnbis/nbis_x86-64_linux/include/intrlv.h +68 -0
  486. package/libnbis/nbis_x86-64_linux/include/invbyte.h +45 -0
  487. package/libnbis/nbis_x86-64_linux/include/ioutil.h +76 -0
  488. package/libnbis/nbis_x86-64_linux/include/jchuff.h +47 -0
  489. package/libnbis/nbis_x86-64_linux/include/jconfig.h +89 -0
  490. package/libnbis/nbis_x86-64_linux/include/jdct.h +176 -0
  491. package/libnbis/nbis_x86-64_linux/include/jdhuff.h +201 -0
  492. package/libnbis/nbis_x86-64_linux/include/jerror.h +335 -0
  493. package/libnbis/nbis_x86-64_linux/include/jinclude.h +91 -0
  494. package/libnbis/nbis_x86-64_linux/include/jmemsys.h +198 -0
  495. package/libnbis/nbis_x86-64_linux/include/jmorecfg.h +407 -0
  496. package/libnbis/nbis_x86-64_linux/include/jpeg2k.h +95 -0
  497. package/libnbis/nbis_x86-64_linux/include/jpegb.h +95 -0
  498. package/libnbis/nbis_x86-64_linux/include/jpegint.h +392 -0
  499. package/libnbis/nbis_x86-64_linux/include/jpegl.h +303 -0
  500. package/libnbis/nbis_x86-64_linux/include/jpeglib.h +1096 -0
  501. package/libnbis/nbis_x86-64_linux/include/jpeglsd4.h +55 -0
  502. package/libnbis/nbis_x86-64_linux/include/jversion.h +14 -0
  503. package/libnbis/nbis_x86-64_linux/include/lfs.h +1249 -0
  504. package/libnbis/nbis_x86-64_linux/include/little.h +81 -0
  505. package/libnbis/nbis_x86-64_linux/include/log.h +69 -0
  506. package/libnbis/nbis_x86-64_linux/include/masks.h +45 -0
  507. package/libnbis/nbis_x86-64_linux/include/memalloc.h +88 -0
  508. package/libnbis/nbis_x86-64_linux/include/mlp/fmt_msgs.h +57 -0
  509. package/libnbis/nbis_x86-64_linux/include/mlp/get_phr.h +54 -0
  510. package/libnbis/nbis_x86-64_linux/include/mlp/lbfgs_dr.h +51 -0
  511. package/libnbis/nbis_x86-64_linux/include/mlp/lims.h +51 -0
  512. package/libnbis/nbis_x86-64_linux/include/mlp/macros.h +53 -0
  513. package/libnbis/nbis_x86-64_linux/include/mlp/mtch_pnm.h +61 -0
  514. package/libnbis/nbis_x86-64_linux/include/mlp/rd_words.h +51 -0
  515. package/libnbis/nbis_x86-64_linux/include/mlp/scg.h +55 -0
  516. package/libnbis/nbis_x86-64_linux/include/mlp/tda.h +69 -0
  517. package/libnbis/nbis_x86-64_linux/include/mlp.h +545 -0
  518. package/libnbis/nbis_x86-64_linux/include/mlpcla.h +77 -0
  519. package/libnbis/nbis_x86-64_linux/include/morph.h +60 -0
  520. package/libnbis/nbis_x86-64_linux/include/mytime.h +106 -0
  521. package/libnbis/nbis_x86-64_linux/include/nfiq.h +100 -0
  522. package/libnbis/nbis_x86-64_linux/include/nfseg.h +154 -0
  523. package/libnbis/nbis_x86-64_linux/include/nistcom.h +108 -0
  524. package/libnbis/nbis_x86-64_linux/include/openjp2/bio.h +134 -0
  525. package/libnbis/nbis_x86-64_linux/include/openjp2/cidx_manager.h +68 -0
  526. package/libnbis/nbis_x86-64_linux/include/openjp2/cio.h +399 -0
  527. package/libnbis/nbis_x86-64_linux/include/openjp2/dwt.h +122 -0
  528. package/libnbis/nbis_x86-64_linux/include/openjp2/event.h +102 -0
  529. package/libnbis/nbis_x86-64_linux/include/openjp2/function_list.h +131 -0
  530. package/libnbis/nbis_x86-64_linux/include/openjp2/image.h +68 -0
  531. package/libnbis/nbis_x86-64_linux/include/openjp2/indexbox_manager.h +148 -0
  532. package/libnbis/nbis_x86-64_linux/include/openjp2/invert.h +64 -0
  533. package/libnbis/nbis_x86-64_linux/include/openjp2/j2k.h +842 -0
  534. package/libnbis/nbis_x86-64_linux/include/openjp2/jp2.h +500 -0
  535. package/libnbis/nbis_x86-64_linux/include/openjp2/mct.h +155 -0
  536. package/libnbis/nbis_x86-64_linux/include/openjp2/mqc.h +207 -0
  537. package/libnbis/nbis_x86-64_linux/include/openjp2/openjpeg.h +1563 -0
  538. package/libnbis/nbis_x86-64_linux/include/openjp2/opj_clock.h +59 -0
  539. package/libnbis/nbis_x86-64_linux/include/openjp2/opj_codec.h +165 -0
  540. package/libnbis/nbis_x86-64_linux/include/openjp2/opj_includes.h +180 -0
  541. package/libnbis/nbis_x86-64_linux/include/openjp2/opj_intmath.h +178 -0
  542. package/libnbis/nbis_x86-64_linux/include/openjp2/opj_inttypes.h +48 -0
  543. package/libnbis/nbis_x86-64_linux/include/openjp2/opj_malloc.h +185 -0
  544. package/libnbis/nbis_x86-64_linux/include/openjp2/opj_stdint.h +52 -0
  545. package/libnbis/nbis_x86-64_linux/include/openjp2/pi.h +188 -0
  546. package/libnbis/nbis_x86-64_linux/include/openjp2/raw.h +106 -0
  547. package/libnbis/nbis_x86-64_linux/include/openjp2/t1.h +163 -0
  548. package/libnbis/nbis_x86-64_linux/include/openjp2/t1_luts.h +143 -0
  549. package/libnbis/nbis_x86-64_linux/include/openjp2/t2.h +133 -0
  550. package/libnbis/nbis_x86-64_linux/include/openjp2/tcd.h +354 -0
  551. package/libnbis/nbis_x86-64_linux/include/openjp2/tgt.h +146 -0
  552. package/libnbis/nbis_x86-64_linux/include/optrws_r.h +59 -0
  553. package/libnbis/nbis_x86-64_linux/include/parsargs.h +60 -0
  554. package/libnbis/nbis_x86-64_linux/include/pca.h +262 -0
  555. package/libnbis/nbis_x86-64_linux/include/png.h +3544 -0
  556. package/libnbis/nbis_x86-64_linux/include/png_dec.h +74 -0
  557. package/libnbis/nbis_x86-64_linux/include/pngconf.h +1479 -0
  558. package/libnbis/nbis_x86-64_linux/include/rgb_ycc.h +85 -0
  559. package/libnbis/nbis_x86-64_linux/include/sunrast.h +97 -0
  560. package/libnbis/nbis_x86-64_linux/include/swap.h +137 -0
  561. package/libnbis/nbis_x86-64_linux/include/swapbyte.h +53 -0
  562. package/libnbis/nbis_x86-64_linux/include/table.h +58 -0
  563. package/libnbis/nbis_x86-64_linux/include/thresh.h +51 -0
  564. package/libnbis/nbis_x86-64_linux/include/transupp.h +135 -0
  565. package/libnbis/nbis_x86-64_linux/include/trees.h +128 -0
  566. package/libnbis/nbis_x86-64_linux/include/usagemcs.h +93 -0
  567. package/libnbis/nbis_x86-64_linux/include/usebsd.h +78 -0
  568. package/libnbis/nbis_x86-64_linux/include/util.h +98 -0
  569. package/libnbis/nbis_x86-64_linux/include/version.h +55 -0
  570. package/libnbis/nbis_x86-64_linux/include/wsq.h +340 -0
  571. package/libnbis/nbis_x86-64_linux/include/zconf.h +332 -0
  572. package/libnbis/nbis_x86-64_linux/include/zconf.in.h +332 -0
  573. package/libnbis/nbis_x86-64_linux/include/zlib.h +1357 -0
  574. package/libnbis/nbis_x86-64_linux/include/zutil.h +269 -0
  575. package/libnbis/nbis_x86-64_linux/lib/libnbis.a +0 -0
  576. package/libnbis/nbis_x86-64_linux/man/man1/an2k2iaf.1 +69 -0
  577. package/libnbis/nbis_x86-64_linux/man/man1/an2k2txt.1 +129 -0
  578. package/libnbis/nbis_x86-64_linux/man/man1/an2ktool.1 +267 -0
  579. package/libnbis/nbis_x86-64_linux/man/man1/asc2bin.1 +38 -0
  580. package/libnbis/nbis_x86-64_linux/man/man1/bin2asc.1 +39 -0
  581. package/libnbis/nbis_x86-64_linux/man/man1/bozorth3.1 +246 -0
  582. package/libnbis/nbis_x86-64_linux/man/man1/chgdesc.1 +54 -0
  583. package/libnbis/nbis_x86-64_linux/man/man1/chkan2k.1 +426 -0
  584. package/libnbis/nbis_x86-64_linux/man/man1/cjp2k.1 +20 -0
  585. package/libnbis/nbis_x86-64_linux/man/man1/cjpeg.1 +296 -0
  586. package/libnbis/nbis_x86-64_linux/man/man1/cjpegb.1 +188 -0
  587. package/libnbis/nbis_x86-64_linux/man/man1/cjpegl.1 +234 -0
  588. package/libnbis/nbis_x86-64_linux/man/man1/cmbmcs.1 +85 -0
  589. package/libnbis/nbis_x86-64_linux/man/man1/cropcoeff.1 +70 -0
  590. package/libnbis/nbis_x86-64_linux/man/man1/cwsq.1 +145 -0
  591. package/libnbis/nbis_x86-64_linux/man/man1/datainfo.1 +59 -0
  592. package/libnbis/nbis_x86-64_linux/man/man1/diffbyts.1 +71 -0
  593. package/libnbis/nbis_x86-64_linux/man/man1/djp2k.1 +21 -0
  594. package/libnbis/nbis_x86-64_linux/man/man1/djpeg.1 +257 -0
  595. package/libnbis/nbis_x86-64_linux/man/man1/djpegb.1 +140 -0
  596. package/libnbis/nbis_x86-64_linux/man/man1/djpegl.1 +143 -0
  597. package/libnbis/nbis_x86-64_linux/man/man1/djpeglsd.1 +158 -0
  598. package/libnbis/nbis_x86-64_linux/man/man1/dpyan2k.1 +179 -0
  599. package/libnbis/nbis_x86-64_linux/man/man1/dpyimage.1 +233 -0
  600. package/libnbis/nbis_x86-64_linux/man/man1/dwsq.1 +112 -0
  601. package/libnbis/nbis_x86-64_linux/man/man1/dwsq14.1 +120 -0
  602. package/libnbis/nbis_x86-64_linux/man/man1/eva_evt.1 +77 -0
  603. package/libnbis/nbis_x86-64_linux/man/man1/fing2pat.1 +61 -0
  604. package/libnbis/nbis_x86-64_linux/man/man1/fixwts.1 +46 -0
  605. package/libnbis/nbis_x86-64_linux/man/man1/histogen.1 +67 -0
  606. package/libnbis/nbis_x86-64_linux/man/man1/iaf2an2k.1 +63 -0
  607. package/libnbis/nbis_x86-64_linux/man/man1/imgcmp.1 +66 -0
  608. package/libnbis/nbis_x86-64_linux/man/man1/imginfo.1 +43 -0
  609. package/libnbis/nbis_x86-64_linux/man/man1/intr2not.1 +147 -0
  610. package/libnbis/nbis_x86-64_linux/man/man1/jp2codec.1 +240 -0
  611. package/libnbis/nbis_x86-64_linux/man/man1/jpegtran.1 +242 -0
  612. package/libnbis/nbis_x86-64_linux/man/man1/kltran.1 +92 -0
  613. package/libnbis/nbis_x86-64_linux/man/man1/lintran.1 +92 -0
  614. package/libnbis/nbis_x86-64_linux/man/man1/meancov.1 +92 -0
  615. package/libnbis/nbis_x86-64_linux/man/man1/mindtct.1 +240 -0
  616. package/libnbis/nbis_x86-64_linux/man/man1/mkoas.1 +194 -0
  617. package/libnbis/nbis_x86-64_linux/man/man1/mktran.1 +72 -0
  618. package/libnbis/nbis_x86-64_linux/man/man1/mlp.1 +680 -0
  619. package/libnbis/nbis_x86-64_linux/man/man1/mlpfeats.1 +52 -0
  620. package/libnbis/nbis_x86-64_linux/man/man1/nfiq.1 +131 -0
  621. package/libnbis/nbis_x86-64_linux/man/man1/nfseg.1 +232 -0
  622. package/libnbis/nbis_x86-64_linux/man/man1/not2intr.1 +150 -0
  623. package/libnbis/nbis_x86-64_linux/man/man1/oas2pics.1 +55 -0
  624. package/libnbis/nbis_x86-64_linux/man/man1/optosf.1 +131 -0
  625. package/libnbis/nbis_x86-64_linux/man/man1/optrws.1 +213 -0
  626. package/libnbis/nbis_x86-64_linux/man/man1/pcasys.1 +244 -0
  627. package/libnbis/nbis_x86-64_linux/man/man1/pcasysx.1 +149 -0
  628. package/libnbis/nbis_x86-64_linux/man/man1/rdimgwh.1 +74 -0
  629. package/libnbis/nbis_x86-64_linux/man/man1/rdjpgcom.1 +57 -0
  630. package/libnbis/nbis_x86-64_linux/man/man1/rdwsqcom.1 +43 -0
  631. package/libnbis/nbis_x86-64_linux/man/man1/record_selector.1 +386 -0
  632. package/libnbis/nbis_x86-64_linux/man/man1/rgb2ycc.1 +175 -0
  633. package/libnbis/nbis_x86-64_linux/man/man1/rwpics.1 +104 -0
  634. package/libnbis/nbis_x86-64_linux/man/man1/sd_rfmt.1 +88 -0
  635. package/libnbis/nbis_x86-64_linux/man/man1/stackms.1 +68 -0
  636. package/libnbis/nbis_x86-64_linux/man/man1/txt2an2k.1 +130 -0
  637. package/libnbis/nbis_x86-64_linux/man/man1/wrjpgcom.1 +107 -0
  638. package/libnbis/nbis_x86-64_linux/man/man1/wrwsqcom.1 +51 -0
  639. package/libnbis/nbis_x86-64_linux/man/man1/ycc2rgb.1 +183 -0
  640. package/libnbis/nbis_x86-64_linux/man/man1/znormdat.1 +50 -0
  641. package/libnbis/nbis_x86-64_linux/man/man1/znormpat.1 +51 -0
  642. package/libnbis/nbis_x86-64_linux/nbis/an2k/chkan2k/default.conf +451 -0
  643. package/libnbis/nbis_x86-64_linux/nbis/an2k/chkan2k/nist-samples.conf +39 -0
  644. package/libnbis/nbis_x86-64_linux/nbis/nfiq/spec +428 -0
  645. package/libnbis/nbis_x86-64_linux/nbis/nfiq/znorm.dat +11 -0
  646. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/a.pct +0 -0
  647. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/a_c.pct +0 -0
  648. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/biga.pct +0 -0
  649. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/bigl.pct +0 -0
  650. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/bigr.pct +0 -0
  651. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/bigs.pct +0 -0
  652. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/bigt.pct +0 -0
  653. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/bigw.pct +0 -0
  654. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/conf.pct +0 -0
  655. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/digits.pct +0 -0
  656. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/h_c.pct +0 -0
  657. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/l.pct +0 -0
  658. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/note.txt +2 -0
  659. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/pcasys.pct +0 -0
  660. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/point.pct +0 -0
  661. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/r.pct +0 -0
  662. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/s.pct +0 -0
  663. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/sub_0.pct +0 -0
  664. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/sub_1.pct +0 -0
  665. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/t.pct +0 -0
  666. package/libnbis/nbis_x86-64_linux/nbis/pcasys/images/w.pct +0 -0
  667. package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/all.txt +2700 -0
  668. package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/all_with_class.txt +2700 -0
  669. package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/first10.txt +10 -0
  670. package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/first20.txt +20 -0
  671. package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/first30.txt +30 -0
  672. package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/first50.txt +50 -0
  673. package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/mkoas.prs +15 -0
  674. package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/note.txt +31 -0
  675. package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/oas.prs +54 -0
  676. package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/optosf.prs +29 -0
  677. package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/optrws.prs +57 -0
  678. package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/pcasys.mlp +120 -0
  679. package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/pcasys.pnn +120 -0
  680. package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/pcasys.prs +120 -0
  681. package/libnbis/nbis_x86-64_linux/nbis/pcasys/parms/pcasysx.prs +25 -0
  682. package/libnbis/nbis_x86-64_linux/nbis/pcasys/weights/mlp/mlp_tmat.bin +0 -0
  683. package/libnbis/nbis_x86-64_linux/nbis/pcasys/weights/mlp/mlp_wts.bin +3523 -0
  684. package/libnbis/nbis_x86-64_linux/nbis/pcasys/weights/mlp/note.txt +7 -0
  685. package/libnbis/nbis_x86-64_linux/nbis/pcasys/weights/pnn/note.txt +6 -0
  686. package/libnbis/nbis_x86-64_linux/nbis/pcasys/weights/pnn/pnn_tmat.bin +0 -0
  687. package/libnbis/nbis_x86-64_linux/nbis/pcasys/weights/pnn/procls.asc +24311 -0
  688. package/libnbis/nbis_x86-64_linux/nbis/pcasys/weights/pnn/profvs.bin +0 -0
  689. package/package.json +51 -0
@@ -0,0 +1,335 @@
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
+ * jerror.h
47
+ *
48
+ * Copyright (C) 1994-1997, Thomas G. Lane.
49
+ * This file is part of the Independent JPEG Group's software.
50
+ * For conditions of distribution and use, see the accompanying README file.
51
+ *
52
+ * This file defines the error and message codes for the JPEG library.
53
+ * Edit this file to add new codes, or to translate the message strings to
54
+ * some other language.
55
+ * A set of error-reporting macros are defined too. Some applications using
56
+ * the JPEG library may wish to include this file to get the error codes
57
+ * and/or the macros.
58
+ */
59
+
60
+ /*
61
+ * To define the enum list of message codes, include this file without
62
+ * defining macro JMESSAGE. To create a message string table, include it
63
+ * again with a suitable JMESSAGE definition (see jerror.c for an example).
64
+ */
65
+ #ifndef JMESSAGE
66
+ #ifndef JERROR_H
67
+ /* First time through, define the enum list */
68
+ #define JMAKE_ENUM_LIST
69
+ #else
70
+ /* Repeated inclusions of this file are no-ops unless JMESSAGE is defined */
71
+ #define JMESSAGE(code,string)
72
+ #endif /* JERROR_H */
73
+ #endif /* JMESSAGE */
74
+
75
+ #ifdef JMAKE_ENUM_LIST
76
+
77
+ typedef enum {
78
+
79
+ #define JMESSAGE(code,string) code ,
80
+
81
+ #endif /* JMAKE_ENUM_LIST */
82
+
83
+ JMESSAGE(JMSG_NOMESSAGE, "Bogus message code %d") /* Must be first entry! */
84
+
85
+ /* For maintenance convenience, list is alphabetical by message code name */
86
+ JMESSAGE(JERR_ARITH_NOTIMPL,
87
+ "Sorry, there are legal restrictions on arithmetic coding")
88
+ JMESSAGE(JERR_BAD_ALIGN_TYPE, "ALIGN_TYPE is wrong, please fix")
89
+ JMESSAGE(JERR_BAD_ALLOC_CHUNK, "MAX_ALLOC_CHUNK is wrong, please fix")
90
+ JMESSAGE(JERR_BAD_BUFFER_MODE, "Bogus buffer control mode")
91
+ JMESSAGE(JERR_BAD_COMPONENT_ID, "Invalid component ID %d in SOS")
92
+ JMESSAGE(JERR_BAD_DCT_COEF, "DCT coefficient out of range")
93
+ JMESSAGE(JERR_BAD_DCTSIZE, "IDCT output block size %d not supported")
94
+ JMESSAGE(JERR_BAD_HUFF_TABLE, "Bogus Huffman table definition")
95
+ JMESSAGE(JERR_BAD_IN_COLORSPACE, "Bogus input colorspace")
96
+ JMESSAGE(JERR_BAD_J_COLORSPACE, "Bogus JPEG colorspace")
97
+ JMESSAGE(JERR_BAD_LENGTH, "Bogus marker length")
98
+ JMESSAGE(JERR_BAD_LIB_VERSION,
99
+ "Wrong JPEG library version: library is %d, caller expects %d")
100
+ JMESSAGE(JERR_BAD_MCU_SIZE, "Sampling factors too large for interleaved scan")
101
+ JMESSAGE(JERR_BAD_POOL_ID, "Invalid memory pool code %d")
102
+ JMESSAGE(JERR_BAD_PRECISION, "Unsupported JPEG data precision %d")
103
+ JMESSAGE(JERR_BAD_PROGRESSION,
104
+ "Invalid progressive parameters Ss=%d Se=%d Ah=%d Al=%d")
105
+ JMESSAGE(JERR_BAD_PROG_SCRIPT,
106
+ "Invalid progressive parameters at scan script entry %d")
107
+ JMESSAGE(JERR_BAD_SAMPLING, "Bogus sampling factors")
108
+ JMESSAGE(JERR_BAD_SCAN_SCRIPT, "Invalid scan script at entry %d")
109
+ JMESSAGE(JERR_BAD_STATE, "Improper call to JPEG library in state %d")
110
+ JMESSAGE(JERR_BAD_STRUCT_SIZE,
111
+ "JPEG parameter struct mismatch: library thinks size is %u, caller expects %u")
112
+ JMESSAGE(JERR_BAD_VIRTUAL_ACCESS, "Bogus virtual array access")
113
+ JMESSAGE(JERR_BUFFER_SIZE, "Buffer passed to JPEG library is too small")
114
+ JMESSAGE(JERR_CANT_SUSPEND, "Suspension not allowed here")
115
+ JMESSAGE(JERR_CCIR601_NOTIMPL, "CCIR601 sampling not implemented yet")
116
+ JMESSAGE(JERR_COMPONENT_COUNT, "Too many color components: %d, max %d")
117
+ JMESSAGE(JERR_CONVERSION_NOTIMPL, "Unsupported color conversion request")
118
+ JMESSAGE(JERR_DAC_INDEX, "Bogus DAC index %d")
119
+ JMESSAGE(JERR_DAC_VALUE, "Bogus DAC value 0x%x")
120
+ JMESSAGE(JERR_DHT_INDEX, "Bogus DHT index %d")
121
+ JMESSAGE(JERR_DQT_INDEX, "Bogus DQT index %d")
122
+ JMESSAGE(JERR_EMPTY_IMAGE, "Empty JPEG image (DNL not supported)")
123
+ JMESSAGE(JERR_EMS_READ, "Read from EMS failed")
124
+ JMESSAGE(JERR_EMS_WRITE, "Write to EMS failed")
125
+ JMESSAGE(JERR_EOI_EXPECTED, "Didn't expect more than one scan")
126
+ JMESSAGE(JERR_FILE_READ, "Input file read error")
127
+ JMESSAGE(JERR_FILE_WRITE, "Output file write error --- out of disk space?")
128
+ JMESSAGE(JERR_FRACT_SAMPLE_NOTIMPL, "Fractional sampling not implemented yet")
129
+ JMESSAGE(JERR_HUFF_CLEN_OVERFLOW, "Huffman code size table overflow")
130
+ JMESSAGE(JERR_HUFF_MISSING_CODE, "Missing Huffman code table entry")
131
+ JMESSAGE(JERR_IMAGE_TOO_BIG, "Maximum supported image dimension is %u pixels")
132
+ JMESSAGE(JERR_INPUT_EMPTY, "Empty input file")
133
+ JMESSAGE(JERR_INPUT_EOF, "Premature end of input file")
134
+ JMESSAGE(JERR_MISMATCHED_QUANT_TABLE,
135
+ "Cannot transcode due to multiple use of quantization table %d")
136
+ JMESSAGE(JERR_MISSING_DATA, "Scan script does not transmit all data")
137
+ JMESSAGE(JERR_MODE_CHANGE, "Invalid color quantization mode change")
138
+ JMESSAGE(JERR_NOTIMPL, "Not implemented yet")
139
+ JMESSAGE(JERR_NOT_COMPILED, "Requested feature was omitted at compile time")
140
+ JMESSAGE(JERR_NO_BACKING_STORE, "Backing store not supported")
141
+ JMESSAGE(JERR_NO_HUFF_TABLE, "Huffman table 0x%02x was not defined")
142
+ JMESSAGE(JERR_NO_IMAGE, "JPEG datastream contains no image")
143
+ JMESSAGE(JERR_NO_QUANT_TABLE, "Quantization table 0x%02x was not defined")
144
+ JMESSAGE(JERR_NO_SOI, "Not a JPEG file: starts with 0x%02x 0x%02x")
145
+ JMESSAGE(JERR_OUT_OF_MEMORY, "Insufficient memory (case %d)")
146
+ JMESSAGE(JERR_QUANT_COMPONENTS,
147
+ "Cannot quantize more than %d color components")
148
+ JMESSAGE(JERR_QUANT_FEW_COLORS, "Cannot quantize to fewer than %d colors")
149
+ JMESSAGE(JERR_QUANT_MANY_COLORS, "Cannot quantize to more than %d colors")
150
+ JMESSAGE(JERR_SOF_DUPLICATE, "Invalid JPEG file structure: two SOF markers")
151
+ JMESSAGE(JERR_SOF_NO_SOS, "Invalid JPEG file structure: missing SOS marker")
152
+ JMESSAGE(JERR_SOF_UNSUPPORTED, "Unsupported JPEG process: SOF type 0x%02x")
153
+ JMESSAGE(JERR_SOI_DUPLICATE, "Invalid JPEG file structure: two SOI markers")
154
+ JMESSAGE(JERR_SOS_NO_SOF, "Invalid JPEG file structure: SOS before SOF")
155
+ JMESSAGE(JERR_TFILE_CREATE, "Failed to create temporary file %s")
156
+ JMESSAGE(JERR_TFILE_READ, "Read failed on temporary file")
157
+ JMESSAGE(JERR_TFILE_SEEK, "Seek failed on temporary file")
158
+ JMESSAGE(JERR_TFILE_WRITE,
159
+ "Write failed on temporary file --- out of disk space?")
160
+ JMESSAGE(JERR_TOO_LITTLE_DATA, "Application transferred too few scanlines")
161
+ JMESSAGE(JERR_UNKNOWN_MARKER, "Unsupported marker type 0x%02x")
162
+ JMESSAGE(JERR_VIRTUAL_BUG, "Virtual array controller messed up")
163
+ JMESSAGE(JERR_WIDTH_OVERFLOW, "Image too wide for this implementation")
164
+ JMESSAGE(JERR_XMS_READ, "Read from XMS failed")
165
+ JMESSAGE(JERR_XMS_WRITE, "Write to XMS failed")
166
+ JMESSAGE(JMSG_COPYRIGHT, JCOPYRIGHT)
167
+ JMESSAGE(JMSG_VERSION, JVERSION)
168
+ JMESSAGE(JTRC_16BIT_TABLES,
169
+ "Caution: quantization tables are too coarse for baseline JPEG")
170
+ JMESSAGE(JTRC_ADOBE,
171
+ "Adobe APP14 marker: version %d, flags 0x%04x 0x%04x, transform %d")
172
+ JMESSAGE(JTRC_APP0, "Unknown APP0 marker (not JFIF), length %u")
173
+ JMESSAGE(JTRC_APP14, "Unknown APP14 marker (not Adobe), length %u")
174
+ JMESSAGE(JTRC_DAC, "Define Arithmetic Table 0x%02x: 0x%02x")
175
+ JMESSAGE(JTRC_DHT, "Define Huffman Table 0x%02x")
176
+ JMESSAGE(JTRC_DQT, "Define Quantization Table %d precision %d")
177
+ JMESSAGE(JTRC_DRI, "Define Restart Interval %u")
178
+ JMESSAGE(JTRC_EMS_CLOSE, "Freed EMS handle %u")
179
+ JMESSAGE(JTRC_EMS_OPEN, "Obtained EMS handle %u")
180
+ JMESSAGE(JTRC_EOI, "End Of Image")
181
+ JMESSAGE(JTRC_HUFFBITS, " %3d %3d %3d %3d %3d %3d %3d %3d")
182
+ JMESSAGE(JTRC_JFIF, "JFIF APP0 marker: version %d.%02d, density %dx%d %d")
183
+ JMESSAGE(JTRC_JFIF_BADTHUMBNAILSIZE,
184
+ "Warning: thumbnail image size does not match data length %u")
185
+ JMESSAGE(JTRC_JFIF_EXTENSION,
186
+ "JFIF extension marker: type 0x%02x, length %u")
187
+ JMESSAGE(JTRC_JFIF_THUMBNAIL, " with %d x %d thumbnail image")
188
+ JMESSAGE(JTRC_MISC_MARKER, "Miscellaneous marker 0x%02x, length %u")
189
+ JMESSAGE(JTRC_PARMLESS_MARKER, "Unexpected marker 0x%02x")
190
+ JMESSAGE(JTRC_QUANTVALS, " %4u %4u %4u %4u %4u %4u %4u %4u")
191
+ JMESSAGE(JTRC_QUANT_3_NCOLORS, "Quantizing to %d = %d*%d*%d colors")
192
+ JMESSAGE(JTRC_QUANT_NCOLORS, "Quantizing to %d colors")
193
+ JMESSAGE(JTRC_QUANT_SELECTED, "Selected %d colors for quantization")
194
+ JMESSAGE(JTRC_RECOVERY_ACTION, "At marker 0x%02x, recovery action %d")
195
+ JMESSAGE(JTRC_RST, "RST%d")
196
+ JMESSAGE(JTRC_SMOOTH_NOTIMPL,
197
+ "Smoothing not supported with nonstandard sampling ratios")
198
+ JMESSAGE(JTRC_SOF, "Start Of Frame 0x%02x: width=%u, height=%u, components=%d")
199
+ JMESSAGE(JTRC_SOF_COMPONENT, " Component %d: %dhx%dv q=%d")
200
+ JMESSAGE(JTRC_SOI, "Start of Image")
201
+ JMESSAGE(JTRC_SOS, "Start Of Scan: %d components")
202
+ JMESSAGE(JTRC_SOS_COMPONENT, " Component %d: dc=%d ac=%d")
203
+ JMESSAGE(JTRC_SOS_PARAMS, " Ss=%d, Se=%d, Ah=%d, Al=%d")
204
+ JMESSAGE(JTRC_TFILE_CLOSE, "Closed temporary file %s")
205
+ JMESSAGE(JTRC_TFILE_OPEN, "Opened temporary file %s")
206
+ JMESSAGE(JTRC_THUMB_JPEG,
207
+ "JFIF extension marker: JPEG-compressed thumbnail image, length %u")
208
+ JMESSAGE(JTRC_THUMB_PALETTE,
209
+ "JFIF extension marker: palette thumbnail image, length %u")
210
+ JMESSAGE(JTRC_THUMB_RGB,
211
+ "JFIF extension marker: RGB thumbnail image, length %u")
212
+ JMESSAGE(JTRC_UNKNOWN_IDS,
213
+ "Unrecognized component IDs %d %d %d, assuming YCbCr")
214
+ JMESSAGE(JTRC_XMS_CLOSE, "Freed XMS handle %u")
215
+ JMESSAGE(JTRC_XMS_OPEN, "Obtained XMS handle %u")
216
+ JMESSAGE(JWRN_ADOBE_XFORM, "Unknown Adobe color transform code %d")
217
+ JMESSAGE(JWRN_BOGUS_PROGRESSION,
218
+ "Inconsistent progression sequence for component %d coefficient %d")
219
+ JMESSAGE(JWRN_EXTRANEOUS_DATA,
220
+ "Corrupt JPEG data: %u extraneous bytes before marker 0x%02x")
221
+ JMESSAGE(JWRN_HIT_MARKER, "Corrupt JPEG data: premature end of data segment")
222
+ JMESSAGE(JWRN_HUFF_BAD_CODE, "Corrupt JPEG data: bad Huffman code")
223
+ JMESSAGE(JWRN_JFIF_MAJOR, "Warning: unknown JFIF revision number %d.%02d")
224
+ JMESSAGE(JWRN_JPEG_EOF, "Premature end of JPEG file")
225
+ JMESSAGE(JWRN_MUST_RESYNC,
226
+ "Corrupt JPEG data: found marker 0x%02x instead of RST%d")
227
+ JMESSAGE(JWRN_NOT_SEQUENTIAL, "Invalid SOS parameters for sequential JPEG")
228
+ JMESSAGE(JWRN_TOO_MUCH_DATA, "Application transferred too many scanlines")
229
+
230
+ #ifdef JMAKE_ENUM_LIST
231
+
232
+ JMSG_LASTMSGCODE
233
+ } J_MESSAGE_CODE;
234
+
235
+ #undef JMAKE_ENUM_LIST
236
+ #endif /* JMAKE_ENUM_LIST */
237
+
238
+ /* Zap JMESSAGE macro so that future re-inclusions do nothing by default */
239
+ #undef JMESSAGE
240
+
241
+
242
+ #ifndef JERROR_H
243
+ #define JERROR_H
244
+
245
+ /* Macros to simplify using the error and trace message stuff */
246
+ /* The first parameter is either type of cinfo pointer */
247
+
248
+ /* Fatal errors (print message and exit) */
249
+ #define ERREXIT(cinfo,code) \
250
+ ((cinfo)->err->msg_code = (code), \
251
+ (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
252
+ #define ERREXIT1(cinfo,code,p1) \
253
+ ((cinfo)->err->msg_code = (code), \
254
+ (cinfo)->err->msg_parm.i[0] = (p1), \
255
+ (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
256
+ #define ERREXIT2(cinfo,code,p1,p2) \
257
+ ((cinfo)->err->msg_code = (code), \
258
+ (cinfo)->err->msg_parm.i[0] = (p1), \
259
+ (cinfo)->err->msg_parm.i[1] = (p2), \
260
+ (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
261
+ #define ERREXIT3(cinfo,code,p1,p2,p3) \
262
+ ((cinfo)->err->msg_code = (code), \
263
+ (cinfo)->err->msg_parm.i[0] = (p1), \
264
+ (cinfo)->err->msg_parm.i[1] = (p2), \
265
+ (cinfo)->err->msg_parm.i[2] = (p3), \
266
+ (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
267
+ #define ERREXIT4(cinfo,code,p1,p2,p3,p4) \
268
+ ((cinfo)->err->msg_code = (code), \
269
+ (cinfo)->err->msg_parm.i[0] = (p1), \
270
+ (cinfo)->err->msg_parm.i[1] = (p2), \
271
+ (cinfo)->err->msg_parm.i[2] = (p3), \
272
+ (cinfo)->err->msg_parm.i[3] = (p4), \
273
+ (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
274
+ #define ERREXITS(cinfo,code,str) \
275
+ ((cinfo)->err->msg_code = (code), \
276
+ strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \
277
+ (*(cinfo)->err->error_exit) ((j_common_ptr) (cinfo)))
278
+
279
+ #define MAKESTMT(stuff) do { stuff } while (0)
280
+
281
+ /* Nonfatal errors (we can keep going, but the data is probably corrupt) */
282
+ #define WARNMS(cinfo,code) \
283
+ ((cinfo)->err->msg_code = (code), \
284
+ (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), -1))
285
+ #define WARNMS1(cinfo,code,p1) \
286
+ ((cinfo)->err->msg_code = (code), \
287
+ (cinfo)->err->msg_parm.i[0] = (p1), \
288
+ (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), -1))
289
+ #define WARNMS2(cinfo,code,p1,p2) \
290
+ ((cinfo)->err->msg_code = (code), \
291
+ (cinfo)->err->msg_parm.i[0] = (p1), \
292
+ (cinfo)->err->msg_parm.i[1] = (p2), \
293
+ (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), -1))
294
+
295
+ /* Informational/debugging messages */
296
+ #define TRACEMS(cinfo,lvl,code) \
297
+ ((cinfo)->err->msg_code = (code), \
298
+ (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)))
299
+ #define TRACEMS1(cinfo,lvl,code,p1) \
300
+ ((cinfo)->err->msg_code = (code), \
301
+ (cinfo)->err->msg_parm.i[0] = (p1), \
302
+ (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)))
303
+ #define TRACEMS2(cinfo,lvl,code,p1,p2) \
304
+ ((cinfo)->err->msg_code = (code), \
305
+ (cinfo)->err->msg_parm.i[0] = (p1), \
306
+ (cinfo)->err->msg_parm.i[1] = (p2), \
307
+ (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)))
308
+ #define TRACEMS3(cinfo,lvl,code,p1,p2,p3) \
309
+ MAKESTMT(int * _mp = (cinfo)->err->msg_parm.i; \
310
+ _mp[0] = (p1); _mp[1] = (p2); _mp[2] = (p3); \
311
+ (cinfo)->err->msg_code = (code); \
312
+ (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); )
313
+ #define TRACEMS4(cinfo,lvl,code,p1,p2,p3,p4) \
314
+ MAKESTMT(int * _mp = (cinfo)->err->msg_parm.i; \
315
+ _mp[0] = (p1); _mp[1] = (p2); _mp[2] = (p3); _mp[3] = (p4); \
316
+ (cinfo)->err->msg_code = (code); \
317
+ (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); )
318
+ #define TRACEMS5(cinfo,lvl,code,p1,p2,p3,p4,p5) \
319
+ MAKESTMT(int * _mp = (cinfo)->err->msg_parm.i; \
320
+ _mp[0] = (p1); _mp[1] = (p2); _mp[2] = (p3); _mp[3] = (p4); \
321
+ _mp[4] = (p5); \
322
+ (cinfo)->err->msg_code = (code); \
323
+ (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); )
324
+ #define TRACEMS8(cinfo,lvl,code,p1,p2,p3,p4,p5,p6,p7,p8) \
325
+ MAKESTMT(int * _mp = (cinfo)->err->msg_parm.i; \
326
+ _mp[0] = (p1); _mp[1] = (p2); _mp[2] = (p3); _mp[3] = (p4); \
327
+ _mp[4] = (p5); _mp[5] = (p6); _mp[6] = (p7); _mp[7] = (p8); \
328
+ (cinfo)->err->msg_code = (code); \
329
+ (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)); )
330
+ #define TRACEMSS(cinfo,lvl,code,str) \
331
+ ((cinfo)->err->msg_code = (code), \
332
+ strncpy((cinfo)->err->msg_parm.s, (str), JMSG_STR_PARM_MAX), \
333
+ (*(cinfo)->err->emit_message) ((j_common_ptr) (cinfo), (lvl)))
334
+
335
+ #endif /* JERROR_H */
@@ -0,0 +1,91 @@
1
+ /*
2
+ * jinclude.h
3
+ *
4
+ * Copyright (C) 1991-1994, 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 exists to provide a single place to fix any problems with
9
+ * including the wrong system include files. (Common problems are taken
10
+ * care of by the standard jconfig symbols, but on really weird systems
11
+ * you may have to edit this file.)
12
+ *
13
+ * NOTE: this file is NOT intended to be included by applications using the
14
+ * JPEG library. Most applications need only include jpeglib.h.
15
+ */
16
+
17
+
18
+ /* Include auto-config file to find out which system include files we need. */
19
+
20
+ #include "jconfig.h" /* auto configuration options */
21
+ #define JCONFIG_INCLUDED /* so that jpeglib.h doesn't do it again */
22
+
23
+ /*
24
+ * We need the NULL macro and size_t typedef.
25
+ * On an ANSI-conforming system it is sufficient to include <stddef.h>.
26
+ * Otherwise, we get them from <stdlib.h> or <stdio.h>; we may have to
27
+ * pull in <sys/types.h> as well.
28
+ * Note that the core JPEG library does not require <stdio.h>;
29
+ * only the default error handler and data source/destination modules do.
30
+ * But we must pull it in because of the references to FILE in jpeglib.h.
31
+ * You can remove those references if you want to compile without <stdio.h>.
32
+ */
33
+
34
+ #ifdef HAVE_STDDEF_H
35
+ #include <stddef.h>
36
+ #endif
37
+
38
+ #ifdef HAVE_STDLIB_H
39
+ #include <stdlib.h>
40
+ #endif
41
+
42
+ #ifdef NEED_SYS_TYPES_H
43
+ #include <sys/types.h>
44
+ #endif
45
+
46
+ #include <stdio.h>
47
+
48
+ /*
49
+ * We need memory copying and zeroing functions, plus strncpy().
50
+ * ANSI and System V implementations declare these in <string.h>.
51
+ * BSD doesn't have the mem() functions, but it does have bcopy()/bzero().
52
+ * Some systems may declare memset and memcpy in <memory.h>.
53
+ *
54
+ * NOTE: we assume the size parameters to these functions are of type size_t.
55
+ * Change the casts in these macros if not!
56
+ */
57
+
58
+ #ifdef NEED_BSD_STRINGS
59
+
60
+ #include <strings.h>
61
+ #define MEMZERO(target,size) bzero((void *)(target), (size_t)(size))
62
+ #define MEMCOPY(dest,src,size) bcopy((const void *)(src), (void *)(dest), (size_t)(size))
63
+
64
+ #else /* not BSD, assume ANSI/SysV string lib */
65
+
66
+ #include <string.h>
67
+ #define MEMZERO(target,size) memset((void *)(target), 0, (size_t)(size))
68
+ #define MEMCOPY(dest,src,size) memcpy((void *)(dest), (const void *)(src), (size_t)(size))
69
+
70
+ #endif
71
+
72
+ /*
73
+ * In ANSI C, and indeed any rational implementation, size_t is also the
74
+ * type returned by sizeof(). However, it seems there are some irrational
75
+ * implementations out there, in which sizeof() returns an int even though
76
+ * size_t is defined as long or unsigned long. To ensure consistent results
77
+ * we always use this SIZEOF() macro in place of using sizeof() directly.
78
+ */
79
+
80
+ #define SIZEOF(object) ((size_t) sizeof(object))
81
+
82
+ /*
83
+ * The modules that use fread() and fwrite() always invoke them through
84
+ * these macros. On some systems you may need to twiddle the argument casts.
85
+ * CAUTION: argument order is different from underlying functions!
86
+ */
87
+
88
+ #define JFREAD(file,buf,sizeofbuf) \
89
+ ((size_t) fread((void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file)))
90
+ #define JFWRITE(file,buf,sizeofbuf) \
91
+ ((size_t) fwrite((const void *) (buf), (size_t) 1, (size_t) (sizeofbuf), (file)))
@@ -0,0 +1,198 @@
1
+ /*
2
+ * jmemsys.h
3
+ *
4
+ * Copyright (C) 1992-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 include file defines the interface between the system-independent
9
+ * and system-dependent portions of the JPEG memory manager. No other
10
+ * modules need include it. (The system-independent portion is jmemmgr.c;
11
+ * there are several different versions of the system-dependent portion.)
12
+ *
13
+ * This file works as-is for the system-dependent memory managers supplied
14
+ * in the IJG distribution. You may need to modify it if you write a
15
+ * custom memory manager. If system-dependent changes are needed in
16
+ * this file, the best method is to #ifdef them based on a configuration
17
+ * symbol supplied in jconfig.h, as we have done with USE_MSDOS_MEMMGR
18
+ * and USE_MAC_MEMMGR.
19
+ */
20
+
21
+
22
+ /* Short forms of external names for systems with brain-damaged linkers. */
23
+
24
+ #ifdef NEED_SHORT_EXTERNAL_NAMES
25
+ #define jpeg_get_small jGetSmall
26
+ #define jpeg_free_small jFreeSmall
27
+ #define jpeg_get_large jGetLarge
28
+ #define jpeg_free_large jFreeLarge
29
+ #define jpeg_mem_available jMemAvail
30
+ #define jpeg_open_backing_store jOpenBackStore
31
+ #define jpeg_mem_init jMemInit
32
+ #define jpeg_mem_term jMemTerm
33
+ #endif /* NEED_SHORT_EXTERNAL_NAMES */
34
+
35
+
36
+ /*
37
+ * These two functions are used to allocate and release small chunks of
38
+ * memory. (Typically the total amount requested through jpeg_get_small is
39
+ * no more than 20K or so; this will be requested in chunks of a few K each.)
40
+ * Behavior should be the same as for the standard library functions malloc
41
+ * and free; in particular, jpeg_get_small must return NULL on failure.
42
+ * On most systems, these ARE malloc and free. jpeg_free_small is passed the
43
+ * size of the object being freed, just in case it's needed.
44
+ * On an 80x86 machine using small-data memory model, these manage near heap.
45
+ */
46
+
47
+ EXTERN(void *) jpeg_get_small JPP((j_common_ptr cinfo, size_t sizeofobject));
48
+ EXTERN(void) jpeg_free_small JPP((j_common_ptr cinfo, void * object,
49
+ size_t sizeofobject));
50
+
51
+ /*
52
+ * These two functions are used to allocate and release large chunks of
53
+ * memory (up to the total free space designated by jpeg_mem_available).
54
+ * The interface is the same as above, except that on an 80x86 machine,
55
+ * far pointers are used. On most other machines these are identical to
56
+ * the jpeg_get/free_small routines; but we keep them separate anyway,
57
+ * in case a different allocation strategy is desirable for large chunks.
58
+ */
59
+
60
+ EXTERN(void FAR *) jpeg_get_large JPP((j_common_ptr cinfo,
61
+ size_t sizeofobject));
62
+ EXTERN(void) jpeg_free_large JPP((j_common_ptr cinfo, void FAR * object,
63
+ size_t sizeofobject));
64
+
65
+ /*
66
+ * The macro MAX_ALLOC_CHUNK designates the maximum number of bytes that may
67
+ * be requested in a single call to jpeg_get_large (and jpeg_get_small for that
68
+ * matter, but that case should never come into play). This macro is needed
69
+ * to model the 64Kb-segment-size limit of far addressing on 80x86 machines.
70
+ * On those machines, we expect that jconfig.h will provide a proper value.
71
+ * On machines with 32-bit flat address spaces, any large constant may be used.
72
+ *
73
+ * NB: jmemmgr.c expects that MAX_ALLOC_CHUNK will be representable as type
74
+ * size_t and will be a multiple of sizeof(align_type).
75
+ */
76
+
77
+ #ifndef MAX_ALLOC_CHUNK /* may be overridden in jconfig.h */
78
+ #define MAX_ALLOC_CHUNK 1000000000L
79
+ #endif
80
+
81
+ /*
82
+ * This routine computes the total space still available for allocation by
83
+ * jpeg_get_large. If more space than this is needed, backing store will be
84
+ * used. NOTE: any memory already allocated must not be counted.
85
+ *
86
+ * There is a minimum space requirement, corresponding to the minimum
87
+ * feasible buffer sizes; jmemmgr.c will request that much space even if
88
+ * jpeg_mem_available returns zero. The maximum space needed, enough to hold
89
+ * all working storage in memory, is also passed in case it is useful.
90
+ * Finally, the total space already allocated is passed. If no better
91
+ * method is available, cinfo->mem->max_memory_to_use - already_allocated
92
+ * is often a suitable calculation.
93
+ *
94
+ * It is OK for jpeg_mem_available to underestimate the space available
95
+ * (that'll just lead to more backing-store access than is really necessary).
96
+ * However, an overestimate will lead to failure. Hence it's wise to subtract
97
+ * a slop factor from the true available space. 5% should be enough.
98
+ *
99
+ * On machines with lots of virtual memory, any large constant may be returned.
100
+ * Conversely, zero may be returned to always use the minimum amount of memory.
101
+ */
102
+
103
+ EXTERN(long) jpeg_mem_available JPP((j_common_ptr cinfo,
104
+ long min_bytes_needed,
105
+ long max_bytes_needed,
106
+ long already_allocated));
107
+
108
+
109
+ /*
110
+ * This structure holds whatever state is needed to access a single
111
+ * backing-store object. The read/write/close method pointers are called
112
+ * by jmemmgr.c to manipulate the backing-store object; all other fields
113
+ * are private to the system-dependent backing store routines.
114
+ */
115
+
116
+ #define TEMP_NAME_LENGTH 64 /* max length of a temporary file's name */
117
+
118
+
119
+ #ifdef USE_MSDOS_MEMMGR /* DOS-specific junk */
120
+
121
+ typedef unsigned short XMSH; /* type of extended-memory handles */
122
+ typedef unsigned short EMSH; /* type of expanded-memory handles */
123
+
124
+ typedef union {
125
+ short file_handle; /* DOS file handle if it's a temp file */
126
+ XMSH xms_handle; /* handle if it's a chunk of XMS */
127
+ EMSH ems_handle; /* handle if it's a chunk of EMS */
128
+ } handle_union;
129
+
130
+ #endif /* USE_MSDOS_MEMMGR */
131
+
132
+ #ifdef USE_MAC_MEMMGR /* Mac-specific junk */
133
+ #include <Files.h>
134
+ #endif /* USE_MAC_MEMMGR */
135
+
136
+
137
+ typedef struct backing_store_struct * backing_store_ptr;
138
+
139
+ typedef struct backing_store_struct {
140
+ /* Methods for reading/writing/closing this backing-store object */
141
+ JMETHOD(void, read_backing_store, (j_common_ptr cinfo,
142
+ backing_store_ptr info,
143
+ void FAR * buffer_address,
144
+ long file_offset, long byte_count));
145
+ JMETHOD(void, write_backing_store, (j_common_ptr cinfo,
146
+ backing_store_ptr info,
147
+ void FAR * buffer_address,
148
+ long file_offset, long byte_count));
149
+ JMETHOD(void, close_backing_store, (j_common_ptr cinfo,
150
+ backing_store_ptr info));
151
+
152
+ /* Private fields for system-dependent backing-store management */
153
+ #ifdef USE_MSDOS_MEMMGR
154
+ /* For the MS-DOS manager (jmemdos.c), we need: */
155
+ handle_union handle; /* reference to backing-store storage object */
156
+ char temp_name[TEMP_NAME_LENGTH]; /* name if it's a file */
157
+ #else
158
+ #ifdef USE_MAC_MEMMGR
159
+ /* For the Mac manager (jmemmac.c), we need: */
160
+ short temp_file; /* file reference number to temp file */
161
+ FSSpec tempSpec; /* the FSSpec for the temp file */
162
+ char temp_name[TEMP_NAME_LENGTH]; /* name if it's a file */
163
+ #else
164
+ /* For a typical implementation with temp files, we need: */
165
+ FILE * temp_file; /* stdio reference to temp file */
166
+ char temp_name[TEMP_NAME_LENGTH]; /* name of temp file */
167
+ #endif
168
+ #endif
169
+ } backing_store_info;
170
+
171
+
172
+ /*
173
+ * Initial opening of a backing-store object. This must fill in the
174
+ * read/write/close pointers in the object. The read/write routines
175
+ * may take an error exit if the specified maximum file size is exceeded.
176
+ * (If jpeg_mem_available always returns a large value, this routine can
177
+ * just take an error exit.)
178
+ */
179
+
180
+ EXTERN(void) jpeg_open_backing_store JPP((j_common_ptr cinfo,
181
+ backing_store_ptr info,
182
+ long total_bytes_needed));
183
+
184
+
185
+ /*
186
+ * These routines take care of any system-dependent initialization and
187
+ * cleanup required. jpeg_mem_init will be called before anything is
188
+ * allocated (and, therefore, nothing in cinfo is of use except the error
189
+ * manager pointer). It should return a suitable default value for
190
+ * max_memory_to_use; this may subsequently be overridden by the surrounding
191
+ * application. (Note that max_memory_to_use is only important if
192
+ * jpeg_mem_available chooses to consult it ... no one else will.)
193
+ * jpeg_mem_term may assume that all requested memory has been freed and that
194
+ * all opened backing-store objects have been closed.
195
+ */
196
+
197
+ EXTERN(long) jpeg_mem_init JPP((j_common_ptr cinfo));
198
+ EXTERN(void) jpeg_mem_term JPP((j_common_ptr cinfo));