libmng_trace.h 64 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474
  1. /* ************************************************************************** */
  2. /* * For conditions of distribution and use, * */
  3. /* * see copyright notice in libmng.h * */
  4. /* ************************************************************************** */
  5. /* * * */
  6. /* * project : libmng * */
  7. /* * file : libmng_trace.h copyright (c) 2000-2007 G.Juyn * */
  8. /* * version : 1.0.10 * */
  9. /* * * */
  10. /* * purpose : Trace functions (definition) * */
  11. /* * * */
  12. /* * author : G.Juyn * */
  13. /* * * */
  14. /* * comment : Definition of the trace functions * */
  15. /* * * */
  16. /* * changes : 0.5.1 - 05/08/2000 - G.Juyn * */
  17. /* * - added chunk-access function trace-codes * */
  18. /* * - changed strict-ANSI stuff * */
  19. /* * 0.5.1 - 05/12/2000 - G.Juyn * */
  20. /* * - changed trace to macro for callback error-reporting * */
  21. /* * 0.5.1 - 05/13/2000 - G.Juyn * */
  22. /* * - added save_state & restore_state trace-codes * */
  23. /* * 0.5.1 - 05/15/2000 - G.Juyn * */
  24. /* * - added getimgdata & putimgdata trace-codes * */
  25. /* * * */
  26. /* * 0.5.2 - 05/20/2000 - G.Juyn * */
  27. /* * - added JNG tracecodes * */
  28. /* * 0.5.2 - 05/23/2000 - G.Juyn * */
  29. /* * - added trace-table entry definition * */
  30. /* * 0.5.2 - 05/24/2000 - G.Juyn * */
  31. /* * - added tracecodes for global animation color-chunks * */
  32. /* * - added tracecodes for get/set of default ZLIB/IJG parms * */
  33. /* * - added tracecodes for global PLTE,tRNS,bKGD * */
  34. /* * 0.5.2 - 05/30/2000 - G.Juyn * */
  35. /* * - added tracecodes for image-object promotion * */
  36. /* * - added tracecodes for delta-image processing * */
  37. /* * 0.5.2 - 06/02/2000 - G.Juyn * */
  38. /* * - added tracecodes for getalphaline callback * */
  39. /* * 0.5.2 - 06/05/2000 - G.Juyn * */
  40. /* * - added tracecode for RGB8_A8 canvasstyle * */
  41. /* * 0.5.2 - 06/06/2000 - G.Juyn * */
  42. /* * - added tracecode for mng_read_resume HLAPI function * */
  43. /* * * */
  44. /* * 0.5.3 - 06/06/2000 - G.Juyn * */
  45. /* * - added tracecodes for tracing JPEG progression * */
  46. /* * 0.5.3 - 06/21/2000 - G.Juyn * */
  47. /* * - added tracecodes for get/set speedtype * */
  48. /* * - added tracecodes for get imagelevel * */
  49. /* * 0.5.3 - 06/22/2000 - G.Juyn * */
  50. /* * - added tracecode for delta-image processing * */
  51. /* * - added tracecodes for PPLT chunk processing * */
  52. /* * * */
  53. /* * 0.9.1 - 07/07/2000 - G.Juyn * */
  54. /* * - added tracecodes for special display processing * */
  55. /* * 0.9.1 - 07/08/2000 - G.Juyn * */
  56. /* * - added tracecode for get/set suspensionmode * */
  57. /* * - added tracecodes for get/set display variables * */
  58. /* * - added tracecode for read_databuffer (I/O-suspension) * */
  59. /* * 0.9.1 - 07/15/2000 - G.Juyn * */
  60. /* * - added tracecodes for SAVE/SEEK callbacks * */
  61. /* * - added tracecodes for get/set sectionbreaks * */
  62. /* * - added tracecode for special error routine * */
  63. /* * 0.9.1 - 07/19/2000 - G.Juyn * */
  64. /* * - added tracecode for updatemngheader * */
  65. /* * * */
  66. /* * 0.9.2 - 07/31/2000 - G.Juyn * */
  67. /* * - added tracecodes for status_xxxxx functions * */
  68. /* * 0.9.2 - 08/05/2000 - G.Juyn * */
  69. /* * - changed file-prefixes * */
  70. /* * - added tracecode for updatemngsimplicity * */
  71. /* * * */
  72. /* * 0.9.3 - 08/26/2000 - G.Juyn * */
  73. /* * - added MAGN chunk * */
  74. /* * 0.9.3 - 09/07/2000 - G.Juyn * */
  75. /* * - added support for new filter_types * */
  76. /* * 0.9.3 - 10/10/2000 - G.Juyn * */
  77. /* * - added support for alpha-depth prediction * */
  78. /* * 0.9.3 - 10/11/2000 - G.Juyn * */
  79. /* * - added JDAA chunk * */
  80. /* * - added support for nEED * */
  81. /* * 0.9.3 - 10/16/2000 - G.Juyn * */
  82. /* * - added functions to retrieve PNG/JNG specific header-info * */
  83. /* * - added optional support for bKGD for PNG images * */
  84. /* * 0.9.3 - 10/17/2000 - G.Juyn * */
  85. /* * - added callback to process non-critical unknown chunks * */
  86. /* * - added routine to discard "invalid" objects * */
  87. /* * 0.9.3 - 10/19/2000 - G.Juyn * */
  88. /* * - implemented delayed delta-processing * */
  89. /* * 0.9.3 - 10/20/2000 - G.Juyn * */
  90. /* * - added get/set for bKGD preference setting * */
  91. /* * 0.9.3 - 10/21/2000 - G.Juyn * */
  92. /* * - added get function for interlace/progressive display * */
  93. /* * * */
  94. /* * 0.9.4 - 1/18/2001 - G.Juyn * */
  95. /* * - added "new" MAGN methods 3, 4 & 5 * */
  96. /* * * */
  97. /* * 1.0.1 - 02/08/2001 - G.Juyn * */
  98. /* * - added MEND processing callback * */
  99. /* * 1.0.1 - 04/21/2001 - G.Juyn (code by G.Kelly) * */
  100. /* * - added BGRA8 canvas with premultiplied alpha * */
  101. /* * 1.0.1 - 05/02/2001 - G.Juyn * */
  102. /* * - added "default" sRGB generation (Thanks Marti!) * */
  103. /* * * */
  104. /* * 1.0.2 - 06/23/2001 - G.Juyn * */
  105. /* * - added optimization option for MNG-video playback * */
  106. /* * - added processterm callback * */
  107. /* * 1.0.2 - 06/25/2001 - G.Juyn * */
  108. /* * - added option to turn off progressive refresh * */
  109. /* * * */
  110. /* * 1.0.3 - 08/06/2001 - G.Juyn * */
  111. /* * - added get function for last processed BACK chunk * */
  112. /* * * */
  113. /* * 1.0.5 - 08/15/2002 - G.Juyn * */
  114. /* * - completed PROM support * */
  115. /* * - completed delta-image support * */
  116. /* * 1.0.5 - 08/19/2002 - G.Juyn * */
  117. /* * - B597134 - libmng pollutes the linker namespace * */
  118. /* * - added HLAPI function to copy chunks * */
  119. /* * 1.0.5 - 09/14/2002 - G.Juyn * */
  120. /* * - added event handling for dynamic MNG * */
  121. /* * 1.0.5 - 09/20/2002 - G.Juyn * */
  122. /* * - added support for PAST * */
  123. /* * 1.0.5 - 09/22/2002 - G.Juyn * */
  124. /* * - added bgrx8 canvas (filler byte) * */
  125. /* * 1.0.5 - 09/23/2002 - G.Juyn * */
  126. /* * - added in-memory color-correction of abstract images * */
  127. /* * - added compose over/under routines for PAST processing * */
  128. /* * - added flip & tile routines for PAST processing * */
  129. /* * 1.0.5 - 10/09/2002 - G.Juyn * */
  130. /* * - fixed trace-constants for PAST chunk * */
  131. /* * 1.0.5 - 11/07/2002 - G.Juyn * */
  132. /* * - added support to get totals after mng_read() * */
  133. /* * * */
  134. /* * 1.0.6 - 07/14/2003 - G.Randers-Pehrson * */
  135. /* * - added conditionals around rarely used features * */
  136. /* * * */
  137. /* * 1.0.7 - 11/27/2003 - R.A * */
  138. /* * - added CANVAS_RGB565 and CANVAS_BGR565 * */
  139. /* * 1.0.7 - 01/25/2004 - J.S * */
  140. /* * - added premultiplied alpha canvas' for RGBA, ARGB, ABGR * */
  141. /* * 1.0.7 - 03/10/2004 - G.R-P * */
  142. /* * - added conditionals around openstream/closestream * */
  143. /* * * */
  144. /* * 1.0.8 - 04/02/2004 - G.Juyn * */
  145. /* * - added CRC existence & checking flags * */
  146. /* * 1.0.8 - 04/11/2004 - G.Juyn * */
  147. /* * - added data-push mechanisms for specialized decoders * */
  148. /* * * */
  149. /* * 1.0.9 - 10/03/2004 - G.Juyn * */
  150. /* * - added function to retrieve current FRAM delay * */
  151. /* * 1.0.9 - 10/14/2004 - G.Juyn * */
  152. /* * - added bgr565_a8 canvas-style (thanks to J. Elvander) * */
  153. /* * * */
  154. /* * 1.0.10 - 04/08/2007 - G.Juyn * */
  155. /* * - added support for mPNG proposal * */
  156. /* * 1.0.10 - 07/06/2007 - G.R-P bugfix by Lucas Quintana * */
  157. /* * * */
  158. /* ************************************************************************** */
  159. #if defined(__BORLANDC__) && defined(MNG_STRICT_ANSI)
  160. #pragma option -A /* force ANSI-C */
  161. #endif
  162. #ifndef _libmng_trace_h_
  163. #define _libmng_trace_h_
  164. /* ************************************************************************** */
  165. #ifdef MNG_INCLUDE_TRACE_PROCS
  166. /* ************************************************************************** */
  167. /* TODO: add a trace-mask so certain functions can be excluded */
  168. mng_retcode mng_trace (mng_datap pData,
  169. mng_uint32 iFunction,
  170. mng_uint32 iLocation);
  171. /* ************************************************************************** */
  172. #define MNG_TRACE(D,F,L) { mng_retcode iR = mng_trace (D,F,L); \
  173. if (iR) return iR; }
  174. #define MNG_TRACEB(D,F,L) { if (mng_trace (D,F,L)) return MNG_FALSE; }
  175. #define MNG_TRACEX(D,F,L) { if (mng_trace (D,F,L)) return 0; }
  176. /* ************************************************************************** */
  177. #define MNG_LC_START 1
  178. #define MNG_LC_END 2
  179. #define MNG_LC_INITIALIZE 3
  180. #define MNG_LC_CLEANUP 4
  181. /* ************************************************************************** */
  182. #define MNG_LC_JPEG_CREATE_DECOMPRESS 101
  183. #define MNG_LC_JPEG_READ_HEADER 102
  184. #define MNG_LC_JPEG_START_DECOMPRESS 103
  185. #define MNG_LC_JPEG_START_OUTPUT 104
  186. #define MNG_LC_JPEG_READ_SCANLINES 105
  187. #define MNG_LC_JPEG_FINISH_OUTPUT 106
  188. #define MNG_LC_JPEG_FINISH_DECOMPRESS 107
  189. #define MNG_LC_JPEG_DESTROY_DECOMPRESS 108
  190. /* ************************************************************************** */
  191. #define MNG_FN_INITIALIZE 1
  192. #define MNG_FN_RESET 2
  193. #define MNG_FN_CLEANUP 3
  194. #define MNG_FN_READ 4
  195. #define MNG_FN_WRITE 5
  196. #define MNG_FN_CREATE 6
  197. #define MNG_FN_READDISPLAY 7
  198. #define MNG_FN_DISPLAY 8
  199. #define MNG_FN_DISPLAY_RESUME 9
  200. #define MNG_FN_DISPLAY_FREEZE 10
  201. #define MNG_FN_DISPLAY_RESET 11
  202. #ifndef MNG_NO_DISPLAY_GO_SUPPORTED
  203. #define MNG_FN_DISPLAY_GOFRAME 12
  204. #define MNG_FN_DISPLAY_GOLAYER 13
  205. #define MNG_FN_DISPLAY_GOTIME 14
  206. #endif
  207. #define MNG_FN_GETLASTERROR 15
  208. #define MNG_FN_READ_RESUME 16
  209. #define MNG_FN_TRAPEVENT 17
  210. #define MNG_FN_READ_PUSHDATA 18
  211. #define MNG_FN_READ_PUSHSIG 19
  212. #define MNG_FN_READ_PUSHCHUNK 20
  213. #define MNG_FN_SETCB_MEMALLOC 101
  214. #define MNG_FN_SETCB_MEMFREE 102
  215. #define MNG_FN_SETCB_READDATA 103
  216. #define MNG_FN_SETCB_WRITEDATA 104
  217. #define MNG_FN_SETCB_ERRORPROC 105
  218. #define MNG_FN_SETCB_TRACEPROC 106
  219. #define MNG_FN_SETCB_PROCESSHEADER 107
  220. #define MNG_FN_SETCB_PROCESSTEXT 108
  221. #define MNG_FN_SETCB_GETCANVASLINE 109
  222. #define MNG_FN_SETCB_GETBKGDLINE 110
  223. #define MNG_FN_SETCB_REFRESH 111
  224. #define MNG_FN_SETCB_GETTICKCOUNT 112
  225. #define MNG_FN_SETCB_SETTIMER 113
  226. #define MNG_FN_SETCB_PROCESSGAMMA 114
  227. #define MNG_FN_SETCB_PROCESSCHROMA 115
  228. #define MNG_FN_SETCB_PROCESSSRGB 116
  229. #define MNG_FN_SETCB_PROCESSICCP 117
  230. #define MNG_FN_SETCB_PROCESSAROW 118
  231. #ifndef MNG_NO_OPEN_CLOSE_STREAM
  232. #define MNG_FN_SETCB_OPENSTREAM 119
  233. #define MNG_FN_SETCB_CLOSESTREAM 120
  234. #endif
  235. #define MNG_FN_SETCB_GETALPHALINE 121
  236. #define MNG_FN_SETCB_PROCESSSAVE 122
  237. #define MNG_FN_SETCB_PROCESSSEEK 123
  238. #define MNG_FN_SETCB_PROCESSNEED 124
  239. #define MNG_FN_SETCB_PROCESSUNKNOWN 125
  240. #define MNG_FN_SETCB_PROCESSMEND 126
  241. #define MNG_FN_SETCB_PROCESSTERM 127
  242. #define MNG_FN_SETCB_RELEASEDATA 128
  243. #define MNG_FN_GETCB_MEMALLOC 201
  244. #define MNG_FN_GETCB_MEMFREE 202
  245. #define MNG_FN_GETCB_READDATA 203
  246. #define MNG_FN_GETCB_WRITEDATA 204
  247. #define MNG_FN_GETCB_ERRORPROC 205
  248. #define MNG_FN_GETCB_TRACEPROC 206
  249. #define MNG_FN_GETCB_PROCESSHEADER 207
  250. #define MNG_FN_GETCB_PROCESSTEXT 208
  251. #define MNG_FN_GETCB_GETCANVASLINE 209
  252. #define MNG_FN_GETCB_GETBKGDLINE 210
  253. #define MNG_FN_GETCB_REFRESH 211
  254. #define MNG_FN_GETCB_GETTICKCOUNT 212
  255. #define MNG_FN_GETCB_SETTIMER 213
  256. #define MNG_FN_GETCB_PROCESSGAMMA 214
  257. #define MNG_FN_GETCB_PROCESSCHROMA 215
  258. #define MNG_FN_GETCB_PROCESSSRGB 216
  259. #define MNG_FN_GETCB_PROCESSICCP 217
  260. #define MNG_FN_GETCB_PROCESSAROW 218
  261. #ifndef MNG_NO_OPEN_CLOSE_STREAM
  262. #define MNG_FN_GETCB_OPENSTREAM 219
  263. #define MNG_FN_GETCB_CLOSESTREAM 220
  264. #endif
  265. #define MNG_FN_GETCB_GETALPHALINE 221
  266. #define MNG_FN_GETCB_PROCESSSAVE 222
  267. #define MNG_FN_GETCB_PROCESSSEEK 223
  268. #define MNG_FN_GETCB_PROCESSNEED 224
  269. #define MNG_FN_GETCB_PROCESSUNKNOWN 225
  270. #define MNG_FN_GETCB_PROCESSMEND 226
  271. #define MNG_FN_GETCB_PROCESSTERM 227
  272. #define MNG_FN_GETCB_RELEASEDATA 228
  273. #define MNG_FN_SET_USERDATA 301
  274. #define MNG_FN_SET_CANVASSTYLE 302
  275. #define MNG_FN_SET_BKGDSTYLE 303
  276. #define MNG_FN_SET_BGCOLOR 304
  277. #define MNG_FN_SET_STORECHUNKS 305
  278. #define MNG_FN_SET_VIEWGAMMA 306
  279. #define MNG_FN_SET_DISPLAYGAMMA 307
  280. #define MNG_FN_SET_DFLTIMGGAMMA 308
  281. #define MNG_FN_SET_SRGB 309
  282. #define MNG_FN_SET_OUTPUTPROFILE 310
  283. #define MNG_FN_SET_SRGBPROFILE 311
  284. #define MNG_FN_SET_MAXCANVASWIDTH 312
  285. #define MNG_FN_SET_MAXCANVASHEIGHT 313
  286. #define MNG_FN_SET_MAXCANVASSIZE 314
  287. #define MNG_FN_SET_ZLIB_LEVEL 315
  288. #define MNG_FN_SET_ZLIB_METHOD 316
  289. #define MNG_FN_SET_ZLIB_WINDOWBITS 317
  290. #define MNG_FN_SET_ZLIB_MEMLEVEL 318
  291. #define MNG_FN_SET_ZLIB_STRATEGY 319
  292. #define MNG_FN_SET_ZLIB_MAXIDAT 320
  293. #define MNG_FN_SET_JPEG_DCTMETHOD 321
  294. #define MNG_FN_SET_JPEG_QUALITY 322
  295. #define MNG_FN_SET_JPEG_SMOOTHING 323
  296. #define MNG_FN_SET_JPEG_PROGRESSIVE 324
  297. #define MNG_FN_SET_JPEG_OPTIMIZED 325
  298. #define MNG_FN_SET_JPEG_MAXJDAT 326
  299. #define MNG_FN_SET_SPEED 327
  300. #define MNG_FN_SET_SUSPENSIONMODE 328
  301. #define MNG_FN_SET_SECTIONBREAKS 329
  302. #define MNG_FN_SET_USEBKGD 330
  303. #define MNG_FN_SET_OUTPUTPROFILE2 331
  304. #define MNG_FN_SET_SRGBPROFILE2 332
  305. #define MNG_FN_SET_OUTPUTSRGB 333
  306. #define MNG_FN_SET_SRGBIMPLICIT 334
  307. #define MNG_FN_SET_CACHEPLAYBACK 335
  308. #define MNG_FN_SET_DOPROGRESSIVE 336
  309. #define MNG_FN_SET_CRCMODE 337
  310. #define MNG_FN_GET_USERDATA 401
  311. #define MNG_FN_GET_SIGTYPE 402
  312. #define MNG_FN_GET_IMAGETYPE 403
  313. #define MNG_FN_GET_IMAGEWIDTH 404
  314. #define MNG_FN_GET_IMAGEHEIGHT 405
  315. #define MNG_FN_GET_TICKS 406
  316. #define MNG_FN_GET_FRAMECOUNT 407
  317. #define MNG_FN_GET_LAYERCOUNT 408
  318. #define MNG_FN_GET_PLAYTIME 409
  319. #define MNG_FN_GET_SIMPLICITY 410
  320. #define MNG_FN_GET_CANVASSTYLE 411
  321. #define MNG_FN_GET_BKGDSTYLE 412
  322. #define MNG_FN_GET_BGCOLOR 413
  323. #define MNG_FN_GET_STORECHUNKS 414
  324. #define MNG_FN_GET_VIEWGAMMA 415
  325. #define MNG_FN_GET_DISPLAYGAMMA 416
  326. #define MNG_FN_GET_DFLTIMGGAMMA 417
  327. #define MNG_FN_GET_SRGB 418
  328. #define MNG_FN_GET_MAXCANVASWIDTH 419
  329. #define MNG_FN_GET_MAXCANVASHEIGHT 420
  330. #define MNG_FN_GET_ZLIB_LEVEL 421
  331. #define MNG_FN_GET_ZLIB_METHOD 422
  332. #define MNG_FN_GET_ZLIB_WINDOWBITS 423
  333. #define MNG_FN_GET_ZLIB_MEMLEVEL 424
  334. #define MNG_FN_GET_ZLIB_STRATEGY 425
  335. #define MNG_FN_GET_ZLIB_MAXIDAT 426
  336. #define MNG_FN_GET_JPEG_DCTMETHOD 427
  337. #define MNG_FN_GET_JPEG_QUALITY 428
  338. #define MNG_FN_GET_JPEG_SMOOTHING 429
  339. #define MNG_FN_GET_JPEG_PROGRESSIVE 430
  340. #define MNG_FN_GET_JPEG_OPTIMIZED 431
  341. #define MNG_FN_GET_JPEG_MAXJDAT 432
  342. #define MNG_FN_GET_SPEED 433
  343. #define MNG_FN_GET_IMAGELEVEL 434
  344. #define MNG_FN_GET_SUSPENSIONMODE 435
  345. #define MNG_FN_GET_STARTTIME 436
  346. #define MNG_FN_GET_RUNTIME 437
  347. #define MNG_FN_GET_CURRENTFRAME 438
  348. #define MNG_FN_GET_CURRENTLAYER 439
  349. #define MNG_FN_GET_CURRENTPLAYTIME 440
  350. #define MNG_FN_GET_SECTIONBREAKS 441
  351. #define MNG_FN_GET_ALPHADEPTH 442
  352. #define MNG_FN_GET_BITDEPTH 443
  353. #define MNG_FN_GET_COLORTYPE 444
  354. #define MNG_FN_GET_COMPRESSION 445
  355. #define MNG_FN_GET_FILTER 446
  356. #define MNG_FN_GET_INTERLACE 447
  357. #define MNG_FN_GET_ALPHABITDEPTH 448
  358. #define MNG_FN_GET_ALPHACOMPRESSION 449
  359. #define MNG_FN_GET_ALPHAFILTER 450
  360. #define MNG_FN_GET_ALPHAINTERLACE 451
  361. #define MNG_FN_GET_USEBKGD 452
  362. #define MNG_FN_GET_REFRESHPASS 453
  363. #define MNG_FN_GET_CACHEPLAYBACK 454
  364. #define MNG_FN_GET_DOPROGRESSIVE 455
  365. #define MNG_FN_GET_LASTBACKCHUNK 456
  366. #define MNG_FN_GET_LASTSEEKNAME 457
  367. #define MNG_FN_GET_TOTALFRAMES 458
  368. #define MNG_FN_GET_TOTALLAYERS 459
  369. #define MNG_FN_GET_TOTALPLAYTIME 460
  370. #define MNG_FN_GET_CRCMODE 461
  371. #define MNG_FN_GET_CURRFRAMDELAY 462
  372. #define MNG_FN_STATUS_ERROR 481
  373. #define MNG_FN_STATUS_READING 482
  374. #define MNG_FN_STATUS_SUSPENDBREAK 483
  375. #define MNG_FN_STATUS_CREATING 484
  376. #define MNG_FN_STATUS_WRITING 485
  377. #define MNG_FN_STATUS_DISPLAYING 486
  378. #define MNG_FN_STATUS_RUNNING 487
  379. #define MNG_FN_STATUS_TIMERBREAK 488
  380. #define MNG_FN_STATUS_DYNAMIC 489
  381. #define MNG_FN_STATUS_RUNNINGEVENT 490
  382. /* ************************************************************************** */
  383. #define MNG_FN_ITERATE_CHUNKS 601
  384. #define MNG_FN_COPY_CHUNK 602
  385. #define MNG_FN_GETCHUNK_IHDR 701
  386. #define MNG_FN_GETCHUNK_PLTE 702
  387. #define MNG_FN_GETCHUNK_IDAT 703
  388. #define MNG_FN_GETCHUNK_IEND 704
  389. #define MNG_FN_GETCHUNK_TRNS 705
  390. #define MNG_FN_GETCHUNK_GAMA 706
  391. #define MNG_FN_GETCHUNK_CHRM 707
  392. #define MNG_FN_GETCHUNK_SRGB 708
  393. #define MNG_FN_GETCHUNK_ICCP 709
  394. #define MNG_FN_GETCHUNK_TEXT 710
  395. #define MNG_FN_GETCHUNK_ZTXT 711
  396. #define MNG_FN_GETCHUNK_ITXT 712
  397. #define MNG_FN_GETCHUNK_BKGD 713
  398. #define MNG_FN_GETCHUNK_PHYS 714
  399. #define MNG_FN_GETCHUNK_SBIT 715
  400. #define MNG_FN_GETCHUNK_SPLT 716
  401. #define MNG_FN_GETCHUNK_HIST 717
  402. #define MNG_FN_GETCHUNK_TIME 718
  403. #define MNG_FN_GETCHUNK_MHDR 719
  404. #define MNG_FN_GETCHUNK_MEND 720
  405. #define MNG_FN_GETCHUNK_LOOP 721
  406. #define MNG_FN_GETCHUNK_ENDL 722
  407. #define MNG_FN_GETCHUNK_DEFI 723
  408. #define MNG_FN_GETCHUNK_BASI 724
  409. #define MNG_FN_GETCHUNK_CLON 725
  410. #define MNG_FN_GETCHUNK_PAST 726
  411. #define MNG_FN_GETCHUNK_DISC 727
  412. #define MNG_FN_GETCHUNK_BACK 728
  413. #define MNG_FN_GETCHUNK_FRAM 729
  414. #define MNG_FN_GETCHUNK_MOVE 730
  415. #define MNG_FN_GETCHUNK_CLIP 731
  416. #define MNG_FN_GETCHUNK_SHOW 732
  417. #define MNG_FN_GETCHUNK_TERM 733
  418. #define MNG_FN_GETCHUNK_SAVE 734
  419. #define MNG_FN_GETCHUNK_SEEK 735
  420. #define MNG_FN_GETCHUNK_EXPI 736
  421. #define MNG_FN_GETCHUNK_FPRI 737
  422. #define MNG_FN_GETCHUNK_NEED 738
  423. #define MNG_FN_GETCHUNK_PHYG 739
  424. #define MNG_FN_GETCHUNK_JHDR 740
  425. #define MNG_FN_GETCHUNK_JDAT 741
  426. #define MNG_FN_GETCHUNK_JSEP 742
  427. #define MNG_FN_GETCHUNK_DHDR 743
  428. #define MNG_FN_GETCHUNK_PROM 744
  429. #define MNG_FN_GETCHUNK_IPNG 745
  430. #define MNG_FN_GETCHUNK_PPLT 746
  431. #define MNG_FN_GETCHUNK_IJNG 747
  432. #define MNG_FN_GETCHUNK_DROP 748
  433. #define MNG_FN_GETCHUNK_DBYK 749
  434. #define MNG_FN_GETCHUNK_ORDR 750
  435. #define MNG_FN_GETCHUNK_UNKNOWN 751
  436. #define MNG_FN_GETCHUNK_MAGN 752
  437. #define MNG_FN_GETCHUNK_JDAA 753
  438. #define MNG_FN_GETCHUNK_EVNT 754
  439. #define MNG_FN_GETCHUNK_MPNG 755
  440. #define MNG_FN_GETCHUNK_PAST_SRC 781
  441. #define MNG_FN_GETCHUNK_SAVE_ENTRY 782
  442. #define MNG_FN_GETCHUNK_PPLT_ENTRY 783
  443. #define MNG_FN_GETCHUNK_ORDR_ENTRY 784
  444. #define MNG_FN_GETCHUNK_EVNT_ENTRY 785
  445. #define MNG_FN_GETCHUNK_MPNG_FRAME 786
  446. #define MNG_FN_PUTCHUNK_IHDR 801
  447. #define MNG_FN_PUTCHUNK_PLTE 802
  448. #define MNG_FN_PUTCHUNK_IDAT 803
  449. #define MNG_FN_PUTCHUNK_IEND 804
  450. #define MNG_FN_PUTCHUNK_TRNS 805
  451. #define MNG_FN_PUTCHUNK_GAMA 806
  452. #define MNG_FN_PUTCHUNK_CHRM 807
  453. #define MNG_FN_PUTCHUNK_SRGB 808
  454. #define MNG_FN_PUTCHUNK_ICCP 809
  455. #define MNG_FN_PUTCHUNK_TEXT 810
  456. #define MNG_FN_PUTCHUNK_ZTXT 811
  457. #define MNG_FN_PUTCHUNK_ITXT 812
  458. #define MNG_FN_PUTCHUNK_BKGD 813
  459. #define MNG_FN_PUTCHUNK_PHYS 814
  460. #define MNG_FN_PUTCHUNK_SBIT 815
  461. #define MNG_FN_PUTCHUNK_SPLT 816
  462. #define MNG_FN_PUTCHUNK_HIST 817
  463. #define MNG_FN_PUTCHUNK_TIME 818
  464. #define MNG_FN_PUTCHUNK_MHDR 819
  465. #define MNG_FN_PUTCHUNK_MEND 820
  466. #define MNG_FN_PUTCHUNK_LOOP 821
  467. #define MNG_FN_PUTCHUNK_ENDL 822
  468. #define MNG_FN_PUTCHUNK_DEFI 823
  469. #define MNG_FN_PUTCHUNK_BASI 824
  470. #define MNG_FN_PUTCHUNK_CLON 825
  471. #define MNG_FN_PUTCHUNK_PAST 826
  472. #define MNG_FN_PUTCHUNK_DISC 827
  473. #define MNG_FN_PUTCHUNK_BACK 828
  474. #define MNG_FN_PUTCHUNK_FRAM 829
  475. #define MNG_FN_PUTCHUNK_MOVE 830
  476. #define MNG_FN_PUTCHUNK_CLIP 831
  477. #define MNG_FN_PUTCHUNK_SHOW 832
  478. #define MNG_FN_PUTCHUNK_TERM 833
  479. #define MNG_FN_PUTCHUNK_SAVE 834
  480. #define MNG_FN_PUTCHUNK_SEEK 835
  481. #define MNG_FN_PUTCHUNK_EXPI 836
  482. #define MNG_FN_PUTCHUNK_FPRI 837
  483. #define MNG_FN_PUTCHUNK_NEED 838
  484. #define MNG_FN_PUTCHUNK_PHYG 839
  485. #define MNG_FN_PUTCHUNK_JHDR 840
  486. #define MNG_FN_PUTCHUNK_JDAT 841
  487. #define MNG_FN_PUTCHUNK_JSEP 842
  488. #define MNG_FN_PUTCHUNK_DHDR 843
  489. #define MNG_FN_PUTCHUNK_PROM 844
  490. #define MNG_FN_PUTCHUNK_IPNG 845
  491. #define MNG_FN_PUTCHUNK_PPLT 846
  492. #define MNG_FN_PUTCHUNK_IJNG 847
  493. #define MNG_FN_PUTCHUNK_DROP 848
  494. #define MNG_FN_PUTCHUNK_DBYK 849
  495. #define MNG_FN_PUTCHUNK_ORDR 850
  496. #define MNG_FN_PUTCHUNK_UNKNOWN 851
  497. #define MNG_FN_PUTCHUNK_MAGN 852
  498. #define MNG_FN_PUTCHUNK_JDAA 853
  499. #define MNG_FN_PUTCHUNK_EVNT 854
  500. #define MNG_FN_PUTCHUNK_MPNG 855
  501. #define MNG_FN_PUTCHUNK_PAST_SRC 881
  502. #define MNG_FN_PUTCHUNK_SAVE_ENTRY 882
  503. #define MNG_FN_PUTCHUNK_PPLT_ENTRY 883
  504. #define MNG_FN_PUTCHUNK_ORDR_ENTRY 884
  505. #define MNG_FN_PUTCHUNK_EVNT_ENTRY 885
  506. #define MNG_FN_PUTCHUNK_MPNG_FRAME 886
  507. /* ************************************************************************** */
  508. #define MNG_FN_GETIMGDATA_SEQ 901
  509. #define MNG_FN_GETIMGDATA_CHUNKSEQ 902
  510. #define MNG_FN_GETIMGDATA_CHUNK 903
  511. #define MNG_FN_PUTIMGDATA_IHDR 951
  512. #define MNG_FN_PUTIMGDATA_JHDR 952
  513. #define MNG_FN_PUTIMGDATA_BASI 953
  514. #define MNG_FN_PUTIMGDATA_DHDR 954
  515. #define MNG_FN_UPDATEMNGHEADER 981
  516. #define MNG_FN_UPDATEMNGSIMPLICITY 982
  517. /* ************************************************************************** */
  518. #define MNG_FN_PROCESS_RAW_CHUNK 1001
  519. #define MNG_FN_READ_GRAPHIC 1002
  520. #define MNG_FN_DROP_CHUNKS 1003
  521. #define MNG_FN_PROCESS_ERROR 1004
  522. #define MNG_FN_CLEAR_CMS 1005
  523. #define MNG_FN_DROP_OBJECTS 1006
  524. #define MNG_FN_READ_CHUNK 1007
  525. #define MNG_FN_LOAD_BKGDLAYER 1008
  526. #define MNG_FN_NEXT_FRAME 1009
  527. #define MNG_FN_NEXT_LAYER 1010
  528. #define MNG_FN_INTERFRAME_DELAY 1011
  529. #define MNG_FN_DISPLAY_IMAGE 1012
  530. #define MNG_FN_DROP_IMGOBJECTS 1013
  531. #define MNG_FN_DROP_ANIOBJECTS 1014
  532. #define MNG_FN_INFLATE_BUFFER 1015
  533. #define MNG_FN_DEFLATE_BUFFER 1016
  534. #define MNG_FN_WRITE_RAW_CHUNK 1017
  535. #define MNG_FN_WRITE_GRAPHIC 1018
  536. #define MNG_FN_SAVE_STATE 1019
  537. #define MNG_FN_RESTORE_STATE 1020
  538. #define MNG_FN_DROP_SAVEDATA 1021
  539. #define MNG_FN_EXECUTE_DELTA_IMAGE 1022
  540. #define MNG_FN_PROCESS_DISPLAY 1023
  541. #define MNG_FN_CLEAR_CANVAS 1024
  542. #define MNG_FN_READ_DATABUFFER 1025
  543. #define MNG_FN_STORE_ERROR 1026
  544. #define MNG_FN_DROP_INVALID_OBJECTS 1027
  545. #define MNG_FN_RELEASE_PUSHDATA 1028
  546. #define MNG_FN_READ_DATA 1029
  547. #define MNG_FN_READ_CHUNK_CRC 1030
  548. #define MNG_FN_RELEASE_PUSHCHUNK 1031
  549. /* ************************************************************************** */
  550. #define MNG_FN_DISPLAY_RGB8 1101
  551. #define MNG_FN_DISPLAY_RGBA8 1102
  552. #define MNG_FN_DISPLAY_ARGB8 1103
  553. #define MNG_FN_DISPLAY_BGR8 1104
  554. #define MNG_FN_DISPLAY_BGRA8 1105
  555. #define MNG_FN_DISPLAY_ABGR8 1106
  556. #define MNG_FN_DISPLAY_RGB16 1107
  557. #define MNG_FN_DISPLAY_RGBA16 1108
  558. #define MNG_FN_DISPLAY_ARGB16 1109
  559. #define MNG_FN_DISPLAY_BGR16 1110
  560. #define MNG_FN_DISPLAY_BGRA16 1111
  561. #define MNG_FN_DISPLAY_ABGR16 1112
  562. #define MNG_FN_DISPLAY_INDEX8 1113
  563. #define MNG_FN_DISPLAY_INDEXA8 1114
  564. #define MNG_FN_DISPLAY_AINDEX8 1115
  565. #define MNG_FN_DISPLAY_GRAY8 1116
  566. #define MNG_FN_DISPLAY_GRAY16 1117
  567. #define MNG_FN_DISPLAY_GRAYA8 1118
  568. #define MNG_FN_DISPLAY_GRAYA16 1119
  569. #define MNG_FN_DISPLAY_AGRAY8 1120
  570. #define MNG_FN_DISPLAY_AGRAY16 1121
  571. #define MNG_FN_DISPLAY_DX15 1122
  572. #define MNG_FN_DISPLAY_DX16 1123
  573. #define MNG_FN_DISPLAY_RGB8_A8 1124
  574. #define MNG_FN_DISPLAY_BGRA8PM 1125
  575. #define MNG_FN_DISPLAY_BGRX8 1126
  576. #define MNG_FN_DISPLAY_RGB565 1127
  577. #define MNG_FN_DISPLAY_RGBA565 1128
  578. #define MNG_FN_DISPLAY_BGR565 1129
  579. #define MNG_FN_DISPLAY_BGRA565 1130
  580. #define MNG_FN_DISPLAY_RGBA8_PM 1131
  581. #define MNG_FN_DISPLAY_ARGB8_PM 1132
  582. #define MNG_FN_DISPLAY_ABGR8_PM 1133
  583. #define MNG_FN_DISPLAY_BGR565_A8 1134
  584. #define MNG_FN_DISPLAY_RGB555 1135
  585. #define MNG_FN_DISPLAY_BGR555 1136
  586. /* ************************************************************************** */
  587. #define MNG_FN_INIT_FULL_CMS 1201
  588. #define MNG_FN_CORRECT_FULL_CMS 1202
  589. #define MNG_FN_INIT_GAMMA_ONLY 1204
  590. #define MNG_FN_CORRECT_GAMMA_ONLY 1205
  591. #define MNG_FN_CORRECT_APP_CMS 1206
  592. #define MNG_FN_INIT_FULL_CMS_OBJ 1207
  593. #define MNG_FN_INIT_GAMMA_ONLY_OBJ 1208
  594. #define MNG_FN_INIT_APP_CMS 1209
  595. #define MNG_FN_INIT_APP_CMS_OBJ 1210
  596. /* ************************************************************************** */
  597. #define MNG_FN_PROCESS_G1 1301
  598. #define MNG_FN_PROCESS_G2 1302
  599. #define MNG_FN_PROCESS_G4 1303
  600. #define MNG_FN_PROCESS_G8 1304
  601. #define MNG_FN_PROCESS_G16 1305
  602. #define MNG_FN_PROCESS_RGB8 1306
  603. #define MNG_FN_PROCESS_RGB16 1307
  604. #define MNG_FN_PROCESS_IDX1 1308
  605. #define MNG_FN_PROCESS_IDX2 1309
  606. #define MNG_FN_PROCESS_IDX4 1310
  607. #define MNG_FN_PROCESS_IDX8 1311
  608. #define MNG_FN_PROCESS_GA8 1312
  609. #define MNG_FN_PROCESS_GA16 1313
  610. #define MNG_FN_PROCESS_RGBA8 1314
  611. #define MNG_FN_PROCESS_RGBA16 1315
  612. /* ************************************************************************** */
  613. #define MNG_FN_INIT_G1_NI 1401
  614. #define MNG_FN_INIT_G1_I 1402
  615. #define MNG_FN_INIT_G2_NI 1403
  616. #define MNG_FN_INIT_G2_I 1404
  617. #define MNG_FN_INIT_G4_NI 1405
  618. #define MNG_FN_INIT_G4_I 1406
  619. #define MNG_FN_INIT_G8_NI 1407
  620. #define MNG_FN_INIT_G8_I 1408
  621. #define MNG_FN_INIT_G16_NI 1409
  622. #define MNG_FN_INIT_G16_I 1410
  623. #define MNG_FN_INIT_RGB8_NI 1411
  624. #define MNG_FN_INIT_RGB8_I 1412
  625. #define MNG_FN_INIT_RGB16_NI 1413
  626. #define MNG_FN_INIT_RGB16_I 1414
  627. #define MNG_FN_INIT_IDX1_NI 1415
  628. #define MNG_FN_INIT_IDX1_I 1416
  629. #define MNG_FN_INIT_IDX2_NI 1417
  630. #define MNG_FN_INIT_IDX2_I 1418
  631. #define MNG_FN_INIT_IDX4_NI 1419
  632. #define MNG_FN_INIT_IDX4_I 1420
  633. #define MNG_FN_INIT_IDX8_NI 1421
  634. #define MNG_FN_INIT_IDX8_I 1422
  635. #define MNG_FN_INIT_GA8_NI 1423
  636. #define MNG_FN_INIT_GA8_I 1424
  637. #define MNG_FN_INIT_GA16_NI 1425
  638. #define MNG_FN_INIT_GA16_I 1426
  639. #define MNG_FN_INIT_RGBA8_NI 1427
  640. #define MNG_FN_INIT_RGBA8_I 1428
  641. #define MNG_FN_INIT_RGBA16_NI 1429
  642. #define MNG_FN_INIT_RGBA16_I 1430
  643. #define MNG_FN_INIT_ROWPROC 1497
  644. #define MNG_FN_NEXT_ROW 1498
  645. #define MNG_FN_CLEANUP_ROWPROC 1499
  646. /* ************************************************************************** */
  647. #define MNG_FN_FILTER_A_ROW 1501
  648. #define MNG_FN_FILTER_SUB 1502
  649. #define MNG_FN_FILTER_UP 1503
  650. #define MNG_FN_FILTER_AVERAGE 1504
  651. #define MNG_FN_FILTER_PAETH 1505
  652. #define MNG_FN_INIT_ROWDIFFERING 1551
  653. #define MNG_FN_DIFFER_G1 1552
  654. #define MNG_FN_DIFFER_G2 1553
  655. #define MNG_FN_DIFFER_G4 1554
  656. #define MNG_FN_DIFFER_G8 1555
  657. #define MNG_FN_DIFFER_G16 1556
  658. #define MNG_FN_DIFFER_RGB8 1557
  659. #define MNG_FN_DIFFER_RGB16 1558
  660. #define MNG_FN_DIFFER_IDX1 1559
  661. #define MNG_FN_DIFFER_IDX2 1560
  662. #define MNG_FN_DIFFER_IDX4 1561
  663. #define MNG_FN_DIFFER_IDX8 1562
  664. #define MNG_FN_DIFFER_GA8 1563
  665. #define MNG_FN_DIFFER_GA16 1564
  666. #define MNG_FN_DIFFER_RGBA8 1565
  667. #define MNG_FN_DIFFER_RGBA16 1566
  668. /* ************************************************************************** */
  669. #define MNG_FN_CREATE_IMGDATAOBJECT 1601
  670. #define MNG_FN_FREE_IMGDATAOBJECT 1602
  671. #define MNG_FN_CLONE_IMGDATAOBJECT 1603
  672. #define MNG_FN_CREATE_IMGOBJECT 1604
  673. #define MNG_FN_FREE_IMGOBJECT 1605
  674. #define MNG_FN_FIND_IMGOBJECT 1606
  675. #define MNG_FN_CLONE_IMGOBJECT 1607
  676. #define MNG_FN_RESET_OBJECTDETAILS 1608
  677. #define MNG_FN_RENUM_IMGOBJECT 1609
  678. #define MNG_FN_PROMOTE_IMGOBJECT 1610
  679. #define MNG_FN_MAGNIFY_IMGOBJECT 1611
  680. #define MNG_FN_COLORCORRECT_OBJECT 1612
  681. /* ************************************************************************** */
  682. #define MNG_FN_STORE_G1 1701
  683. #define MNG_FN_STORE_G2 1702
  684. #define MNG_FN_STORE_G4 1703
  685. #define MNG_FN_STORE_G8 1704
  686. #define MNG_FN_STORE_G16 1705
  687. #define MNG_FN_STORE_RGB8 1706
  688. #define MNG_FN_STORE_RGB16 1707
  689. #define MNG_FN_STORE_IDX1 1708
  690. #define MNG_FN_STORE_IDX2 1709
  691. #define MNG_FN_STORE_IDX4 1710
  692. #define MNG_FN_STORE_IDX8 1711
  693. #define MNG_FN_STORE_GA8 1712
  694. #define MNG_FN_STORE_GA16 1713
  695. #define MNG_FN_STORE_RGBA8 1714
  696. #define MNG_FN_STORE_RGBA16 1715
  697. #define MNG_FN_RETRIEVE_G8 1751
  698. #define MNG_FN_RETRIEVE_G16 1752
  699. #define MNG_FN_RETRIEVE_RGB8 1753
  700. #define MNG_FN_RETRIEVE_RGB16 1754
  701. #define MNG_FN_RETRIEVE_IDX8 1755
  702. #define MNG_FN_RETRIEVE_GA8 1756
  703. #define MNG_FN_RETRIEVE_GA16 1757
  704. #define MNG_FN_RETRIEVE_RGBA8 1758
  705. #define MNG_FN_RETRIEVE_RGBA16 1759
  706. #define MNG_FN_DELTA_G1 1771
  707. #define MNG_FN_DELTA_G2 1772
  708. #define MNG_FN_DELTA_G4 1773
  709. #define MNG_FN_DELTA_G8 1774
  710. #define MNG_FN_DELTA_G16 1775
  711. #define MNG_FN_DELTA_RGB8 1776
  712. #define MNG_FN_DELTA_RGB16 1777
  713. #define MNG_FN_DELTA_IDX1 1778
  714. #define MNG_FN_DELTA_IDX2 1779
  715. #define MNG_FN_DELTA_IDX4 1780
  716. #define MNG_FN_DELTA_IDX8 1781
  717. #define MNG_FN_DELTA_GA8 1782
  718. #define MNG_FN_DELTA_GA16 1783
  719. #define MNG_FN_DELTA_RGBA8 1784
  720. #define MNG_FN_DELTA_RGBA16 1785
  721. /* ************************************************************************** */
  722. #define MNG_FN_CREATE_ANI_LOOP 1801
  723. #define MNG_FN_CREATE_ANI_ENDL 1802
  724. #define MNG_FN_CREATE_ANI_DEFI 1803
  725. #define MNG_FN_CREATE_ANI_BASI 1804
  726. #define MNG_FN_CREATE_ANI_CLON 1805
  727. #define MNG_FN_CREATE_ANI_PAST 1806
  728. #define MNG_FN_CREATE_ANI_DISC 1807
  729. #define MNG_FN_CREATE_ANI_BACK 1808
  730. #define MNG_FN_CREATE_ANI_FRAM 1809
  731. #define MNG_FN_CREATE_ANI_MOVE 1810
  732. #define MNG_FN_CREATE_ANI_CLIP 1811
  733. #define MNG_FN_CREATE_ANI_SHOW 1812
  734. #define MNG_FN_CREATE_ANI_TERM 1813
  735. #define MNG_FN_CREATE_ANI_SAVE 1814
  736. #define MNG_FN_CREATE_ANI_SEEK 1815
  737. #define MNG_FN_CREATE_ANI_GAMA 1816
  738. #define MNG_FN_CREATE_ANI_CHRM 1817
  739. #define MNG_FN_CREATE_ANI_SRGB 1818
  740. #define MNG_FN_CREATE_ANI_ICCP 1819
  741. #define MNG_FN_CREATE_ANI_PLTE 1820
  742. #define MNG_FN_CREATE_ANI_TRNS 1821
  743. #define MNG_FN_CREATE_ANI_BKGD 1822
  744. #define MNG_FN_CREATE_ANI_DHDR 1823
  745. #define MNG_FN_CREATE_ANI_PROM 1824
  746. #define MNG_FN_CREATE_ANI_IPNG 1825
  747. #define MNG_FN_CREATE_ANI_IJNG 1826
  748. #define MNG_FN_CREATE_ANI_PPLT 1827
  749. #define MNG_FN_CREATE_ANI_MAGN 1828
  750. #define MNG_FN_CREATE_ANI_IMAGE 1891
  751. #define MNG_FN_CREATE_EVENT 1892
  752. /* ************************************************************************** */
  753. #define MNG_FN_FREE_ANI_LOOP 1901
  754. #define MNG_FN_FREE_ANI_ENDL 1902
  755. #define MNG_FN_FREE_ANI_DEFI 1903
  756. #define MNG_FN_FREE_ANI_BASI 1904
  757. #define MNG_FN_FREE_ANI_CLON 1905
  758. #define MNG_FN_FREE_ANI_PAST 1906
  759. #define MNG_FN_FREE_ANI_DISC 1907
  760. #define MNG_FN_FREE_ANI_BACK 1908
  761. #define MNG_FN_FREE_ANI_FRAM 1909
  762. #define MNG_FN_FREE_ANI_MOVE 1910
  763. #define MNG_FN_FREE_ANI_CLIP 1911
  764. #define MNG_FN_FREE_ANI_SHOW 1912
  765. #define MNG_FN_FREE_ANI_TERM 1913
  766. #define MNG_FN_FREE_ANI_SAVE 1914
  767. #define MNG_FN_FREE_ANI_SEEK 1915
  768. #define MNG_FN_FREE_ANI_GAMA 1916
  769. #define MNG_FN_FREE_ANI_CHRM 1917
  770. #define MNG_FN_FREE_ANI_SRGB 1918
  771. #define MNG_FN_FREE_ANI_ICCP 1919
  772. #define MNG_FN_FREE_ANI_PLTE 1920
  773. #define MNG_FN_FREE_ANI_TRNS 1921
  774. #define MNG_FN_FREE_ANI_BKGD 1922
  775. #define MNG_FN_FREE_ANI_DHDR 1923
  776. #define MNG_FN_FREE_ANI_PROM 1924
  777. #define MNG_FN_FREE_ANI_IPNG 1925
  778. #define MNG_FN_FREE_ANI_IJNG 1926
  779. #define MNG_FN_FREE_ANI_PPLT 1927
  780. #define MNG_FN_FREE_ANI_MAGN 1928
  781. #define MNG_FN_FREE_ANI_IMAGE 1991
  782. #define MNG_FN_FREE_EVENT 1992
  783. /* ************************************************************************** */
  784. #define MNG_FN_PROCESS_ANI_LOOP 2001
  785. #define MNG_FN_PROCESS_ANI_ENDL 2002
  786. #define MNG_FN_PROCESS_ANI_DEFI 2003
  787. #define MNG_FN_PROCESS_ANI_BASI 2004
  788. #define MNG_FN_PROCESS_ANI_CLON 2005
  789. #define MNG_FN_PROCESS_ANI_PAST 2006
  790. #define MNG_FN_PROCESS_ANI_DISC 2007
  791. #define MNG_FN_PROCESS_ANI_BACK 2008
  792. #define MNG_FN_PROCESS_ANI_FRAM 2009
  793. #define MNG_FN_PROCESS_ANI_MOVE 2010
  794. #define MNG_FN_PROCESS_ANI_CLIP 2011
  795. #define MNG_FN_PROCESS_ANI_SHOW 2012
  796. #define MNG_FN_PROCESS_ANI_TERM 2013
  797. #define MNG_FN_PROCESS_ANI_SAVE 2014
  798. #define MNG_FN_PROCESS_ANI_SEEK 2015
  799. #define MNG_FN_PROCESS_ANI_GAMA 2016
  800. #define MNG_FN_PROCESS_ANI_CHRM 2017
  801. #define MNG_FN_PROCESS_ANI_SRGB 2018
  802. #define MNG_FN_PROCESS_ANI_ICCP 2019
  803. #define MNG_FN_PROCESS_ANI_PLTE 2020
  804. #define MNG_FN_PROCESS_ANI_TRNS 2021
  805. #define MNG_FN_PROCESS_ANI_BKGD 2022
  806. #define MNG_FN_PROCESS_ANI_DHDR 2023
  807. #define MNG_FN_PROCESS_ANI_PROM 2024
  808. #define MNG_FN_PROCESS_ANI_IPNG 2025
  809. #define MNG_FN_PROCESS_ANI_IJNG 2026
  810. #define MNG_FN_PROCESS_ANI_PPLT 2027
  811. #define MNG_FN_PROCESS_ANI_MAGN 2028
  812. #define MNG_FN_PROCESS_ANI_IMAGE 2091
  813. #define MNG_FN_PROCESS_EVENT 2092
  814. /* ************************************************************************** */
  815. #define MNG_FN_RESTORE_BACKIMAGE 2101
  816. #define MNG_FN_RESTORE_BACKCOLOR 2102
  817. #define MNG_FN_RESTORE_BGCOLOR 2103
  818. #define MNG_FN_RESTORE_RGB8 2104
  819. #define MNG_FN_RESTORE_BGR8 2105
  820. #define MNG_FN_RESTORE_BKGD 2106
  821. #define MNG_FN_RESTORE_BGRX8 2107
  822. #define MNG_FN_RESTORE_RGB565 2108
  823. #define MNG_FN_RESTORE_BGR565 2109
  824. /* ************************************************************************** */
  825. #define MNG_FN_INIT_IHDR 2201
  826. #define MNG_FN_INIT_PLTE 2202
  827. #define MNG_FN_INIT_IDAT 2203
  828. #define MNG_FN_INIT_IEND 2204
  829. #define MNG_FN_INIT_TRNS 2205
  830. #define MNG_FN_INIT_GAMA 2206
  831. #define MNG_FN_INIT_CHRM 2207
  832. #define MNG_FN_INIT_SRGB 2208
  833. #define MNG_FN_INIT_ICCP 2209
  834. #define MNG_FN_INIT_TEXT 2210
  835. #define MNG_FN_INIT_ZTXT 2211
  836. #define MNG_FN_INIT_ITXT 2212
  837. #define MNG_FN_INIT_BKGD 2213
  838. #define MNG_FN_INIT_PHYS 2214
  839. #define MNG_FN_INIT_SBIT 2215
  840. #define MNG_FN_INIT_SPLT 2216
  841. #define MNG_FN_INIT_HIST 2217
  842. #define MNG_FN_INIT_TIME 2218
  843. #define MNG_FN_INIT_MHDR 2219
  844. #define MNG_FN_INIT_MEND 2220
  845. #define MNG_FN_INIT_LOOP 2221
  846. #define MNG_FN_INIT_ENDL 2222
  847. #define MNG_FN_INIT_DEFI 2223
  848. #define MNG_FN_INIT_BASI 2224
  849. #define MNG_FN_INIT_CLON 2225
  850. #define MNG_FN_INIT_PAST 2226
  851. #define MNG_FN_INIT_DISC 2227
  852. #define MNG_FN_INIT_BACK 2228
  853. #define MNG_FN_INIT_FRAM 2229
  854. #define MNG_FN_INIT_MOVE 2230
  855. #define MNG_FN_INIT_CLIP 2231
  856. #define MNG_FN_INIT_SHOW 2232
  857. #define MNG_FN_INIT_TERM 2233
  858. #define MNG_FN_INIT_SAVE 2234
  859. #define MNG_FN_INIT_SEEK 2235
  860. #define MNG_FN_INIT_EXPI 2236
  861. #define MNG_FN_INIT_FPRI 2237
  862. #define MNG_FN_INIT_NEED 2238
  863. #define MNG_FN_INIT_PHYG 2239
  864. #define MNG_FN_INIT_JHDR 2240
  865. #define MNG_FN_INIT_JDAT 2241
  866. #define MNG_FN_INIT_JSEP 2242
  867. #define MNG_FN_INIT_DHDR 2243
  868. #define MNG_FN_INIT_PROM 2244
  869. #define MNG_FN_INIT_IPNG 2245
  870. #define MNG_FN_INIT_PPLT 2246
  871. #define MNG_FN_INIT_IJNG 2247
  872. #define MNG_FN_INIT_DROP 2248
  873. #define MNG_FN_INIT_DBYK 2249
  874. #define MNG_FN_INIT_ORDR 2250
  875. #define MNG_FN_INIT_UNKNOWN 2251
  876. #define MNG_FN_INIT_MAGN 2252
  877. #define MNG_FN_INIT_JDAA 2253
  878. #define MNG_FN_INIT_EVNT 2254
  879. #define MNG_FN_INIT_MPNG 2255
  880. /* ************************************************************************** */
  881. #define MNG_FN_ASSIGN_IHDR 2301
  882. #define MNG_FN_ASSIGN_PLTE 2302
  883. #define MNG_FN_ASSIGN_IDAT 2303
  884. #define MNG_FN_ASSIGN_IEND 2304
  885. #define MNG_FN_ASSIGN_TRNS 2305
  886. #define MNG_FN_ASSIGN_GAMA 2306
  887. #define MNG_FN_ASSIGN_CHRM 2307
  888. #define MNG_FN_ASSIGN_SRGB 2308
  889. #define MNG_FN_ASSIGN_ICCP 2309
  890. #define MNG_FN_ASSIGN_TEXT 2310
  891. #define MNG_FN_ASSIGN_ZTXT 2311
  892. #define MNG_FN_ASSIGN_ITXT 2312
  893. #define MNG_FN_ASSIGN_BKGD 2313
  894. #define MNG_FN_ASSIGN_PHYS 2314
  895. #define MNG_FN_ASSIGN_SBIT 2315
  896. #define MNG_FN_ASSIGN_SPLT 2316
  897. #define MNG_FN_ASSIGN_HIST 2317
  898. #define MNG_FN_ASSIGN_TIME 2318
  899. #define MNG_FN_ASSIGN_MHDR 2319
  900. #define MNG_FN_ASSIGN_MEND 2320
  901. #define MNG_FN_ASSIGN_LOOP 2321
  902. #define MNG_FN_ASSIGN_ENDL 2322
  903. #define MNG_FN_ASSIGN_DEFI 2323
  904. #define MNG_FN_ASSIGN_BASI 2324
  905. #define MNG_FN_ASSIGN_CLON 2325
  906. #define MNG_FN_ASSIGN_PAST 2326
  907. #define MNG_FN_ASSIGN_DISC 2327
  908. #define MNG_FN_ASSIGN_BACK 2328
  909. #define MNG_FN_ASSIGN_FRAM 2329
  910. #define MNG_FN_ASSIGN_MOVE 2330
  911. #define MNG_FN_ASSIGN_CLIP 2331
  912. #define MNG_FN_ASSIGN_SHOW 2332
  913. #define MNG_FN_ASSIGN_TERM 2333
  914. #define MNG_FN_ASSIGN_SAVE 2334
  915. #define MNG_FN_ASSIGN_SEEK 2335
  916. #define MNG_FN_ASSIGN_EXPI 2336
  917. #define MNG_FN_ASSIGN_FPRI 2337
  918. #define MNG_FN_ASSIGN_NEED 2338
  919. #define MNG_FN_ASSIGN_PHYG 2339
  920. #define MNG_FN_ASSIGN_JHDR 2340
  921. #define MNG_FN_ASSIGN_JDAT 2341
  922. #define MNG_FN_ASSIGN_JSEP 2342
  923. #define MNG_FN_ASSIGN_DHDR 2343
  924. #define MNG_FN_ASSIGN_PROM 2344
  925. #define MNG_FN_ASSIGN_IPNG 2345
  926. #define MNG_FN_ASSIGN_PPLT 2346
  927. #define MNG_FN_ASSIGN_IJNG 2347
  928. #define MNG_FN_ASSIGN_DROP 2348
  929. #define MNG_FN_ASSIGN_DBYK 2349
  930. #define MNG_FN_ASSIGN_ORDR 2350
  931. #define MNG_FN_ASSIGN_UNKNOWN 2351
  932. #define MNG_FN_ASSIGN_MAGN 2352
  933. #define MNG_FN_ASSIGN_JDAA 2353
  934. #define MNG_FN_ASSIGN_EVNT 2354
  935. #define MNG_FN_ASSIGN_MPNG 2355
  936. /* ************************************************************************** */
  937. #define MNG_FN_FREE_IHDR 2401
  938. #define MNG_FN_FREE_PLTE 2402
  939. #define MNG_FN_FREE_IDAT 2403
  940. #define MNG_FN_FREE_IEND 2404
  941. #define MNG_FN_FREE_TRNS 2405
  942. #define MNG_FN_FREE_GAMA 2406
  943. #define MNG_FN_FREE_CHRM 2407
  944. #define MNG_FN_FREE_SRGB 2408
  945. #define MNG_FN_FREE_ICCP 2409
  946. #define MNG_FN_FREE_TEXT 2410
  947. #define MNG_FN_FREE_ZTXT 2411
  948. #define MNG_FN_FREE_ITXT 2412
  949. #define MNG_FN_FREE_BKGD 2413
  950. #define MNG_FN_FREE_PHYS 2414
  951. #define MNG_FN_FREE_SBIT 2415
  952. #define MNG_FN_FREE_SPLT 2416
  953. #define MNG_FN_FREE_HIST 2417
  954. #define MNG_FN_FREE_TIME 2418
  955. #define MNG_FN_FREE_MHDR 2419
  956. #define MNG_FN_FREE_MEND 2420
  957. #define MNG_FN_FREE_LOOP 2421
  958. #define MNG_FN_FREE_ENDL 2422
  959. #define MNG_FN_FREE_DEFI 2423
  960. #define MNG_FN_FREE_BASI 2424
  961. #define MNG_FN_FREE_CLON 2425
  962. #define MNG_FN_FREE_PAST 2426
  963. #define MNG_FN_FREE_DISC 2427
  964. #define MNG_FN_FREE_BACK 2428
  965. #define MNG_FN_FREE_FRAM 2429
  966. #define MNG_FN_FREE_MOVE 2430
  967. #define MNG_FN_FREE_CLIP 2431
  968. #define MNG_FN_FREE_SHOW 2432
  969. #define MNG_FN_FREE_TERM 2433
  970. #define MNG_FN_FREE_SAVE 2434
  971. #define MNG_FN_FREE_SEEK 2435
  972. #define MNG_FN_FREE_EXPI 2436
  973. #define MNG_FN_FREE_FPRI 2437
  974. #define MNG_FN_FREE_NEED 2438
  975. #define MNG_FN_FREE_PHYG 2439
  976. #define MNG_FN_FREE_JHDR 2440
  977. #define MNG_FN_FREE_JDAT 2441
  978. #define MNG_FN_FREE_JSEP 2442
  979. #define MNG_FN_FREE_DHDR 2443
  980. #define MNG_FN_FREE_PROM 2444
  981. #define MNG_FN_FREE_IPNG 2445
  982. #define MNG_FN_FREE_PPLT 2446
  983. #define MNG_FN_FREE_IJNG 2447
  984. #define MNG_FN_FREE_DROP 2448
  985. #define MNG_FN_FREE_DBYK 2449
  986. #define MNG_FN_FREE_ORDR 2450
  987. #define MNG_FN_FREE_UNKNOWN 2451
  988. #define MNG_FN_FREE_MAGN 2452
  989. #define MNG_FN_FREE_JDAA 2453
  990. #define MNG_FN_FREE_EVNT 2454
  991. #define MNG_FN_FREE_MPNG 2455
  992. /* ************************************************************************** */
  993. #define MNG_FN_READ_IHDR 2601
  994. #define MNG_FN_READ_PLTE 2602
  995. #define MNG_FN_READ_IDAT 2603
  996. #define MNG_FN_READ_IEND 2604
  997. #define MNG_FN_READ_TRNS 2605
  998. #define MNG_FN_READ_GAMA 2606
  999. #define MNG_FN_READ_CHRM 2607
  1000. #define MNG_FN_READ_SRGB 2608
  1001. #define MNG_FN_READ_ICCP 2609
  1002. #define MNG_FN_READ_TEXT 2610
  1003. #define MNG_FN_READ_ZTXT 2611
  1004. #define MNG_FN_READ_ITXT 2612
  1005. #define MNG_FN_READ_BKGD 2613
  1006. #define MNG_FN_READ_PHYS 2614
  1007. #define MNG_FN_READ_SBIT 2615
  1008. #define MNG_FN_READ_SPLT 2616
  1009. #define MNG_FN_READ_HIST 2617
  1010. #define MNG_FN_READ_TIME 2618
  1011. #define MNG_FN_READ_MHDR 2619
  1012. #define MNG_FN_READ_MEND 2620
  1013. #define MNG_FN_READ_LOOP 2621
  1014. #define MNG_FN_READ_ENDL 2622
  1015. #define MNG_FN_READ_DEFI 2623
  1016. #define MNG_FN_READ_BASI 2624
  1017. #define MNG_FN_READ_CLON 2625
  1018. #define MNG_FN_READ_PAST 2626
  1019. #define MNG_FN_READ_DISC 2627
  1020. #define MNG_FN_READ_BACK 2628
  1021. #define MNG_FN_READ_FRAM 2629
  1022. #define MNG_FN_READ_MOVE 2630
  1023. #define MNG_FN_READ_CLIP 2631
  1024. #define MNG_FN_READ_SHOW 2632
  1025. #define MNG_FN_READ_TERM 2633
  1026. #define MNG_FN_READ_SAVE 2634
  1027. #define MNG_FN_READ_SEEK 2635
  1028. #define MNG_FN_READ_EXPI 2636
  1029. #define MNG_FN_READ_FPRI 2637
  1030. #define MNG_FN_READ_NEED 2638
  1031. #define MNG_FN_READ_PHYG 2639
  1032. #define MNG_FN_READ_JHDR 2640
  1033. #define MNG_FN_READ_JDAT 2641
  1034. #define MNG_FN_READ_JSEP 2642
  1035. #define MNG_FN_READ_DHDR 2643
  1036. #define MNG_FN_READ_PROM 2644
  1037. #define MNG_FN_READ_IPNG 2645
  1038. #define MNG_FN_READ_PPLT 2646
  1039. #define MNG_FN_READ_IJNG 2647
  1040. #define MNG_FN_READ_DROP 2648
  1041. #define MNG_FN_READ_DBYK 2649
  1042. #define MNG_FN_READ_ORDR 2650
  1043. #define MNG_FN_READ_UNKNOWN 2651
  1044. #define MNG_FN_READ_MAGN 2652
  1045. #define MNG_FN_READ_JDAA 2653
  1046. #define MNG_FN_READ_EVNT 2654
  1047. #define MNG_FN_READ_MPNG 2655
  1048. /* ************************************************************************** */
  1049. #define MNG_FN_WRITE_IHDR 2801
  1050. #define MNG_FN_WRITE_PLTE 2802
  1051. #define MNG_FN_WRITE_IDAT 2803
  1052. #define MNG_FN_WRITE_IEND 2804
  1053. #define MNG_FN_WRITE_TRNS 2805
  1054. #define MNG_FN_WRITE_GAMA 2806
  1055. #define MNG_FN_WRITE_CHRM 2807
  1056. #define MNG_FN_WRITE_SRGB 2808
  1057. #define MNG_FN_WRITE_ICCP 2809
  1058. #define MNG_FN_WRITE_TEXT 2810
  1059. #define MNG_FN_WRITE_ZTXT 2811
  1060. #define MNG_FN_WRITE_ITXT 2812
  1061. #define MNG_FN_WRITE_BKGD 2813
  1062. #define MNG_FN_WRITE_PHYS 2814
  1063. #define MNG_FN_WRITE_SBIT 2815
  1064. #define MNG_FN_WRITE_SPLT 2816
  1065. #define MNG_FN_WRITE_HIST 2817
  1066. #define MNG_FN_WRITE_TIME 2818
  1067. #define MNG_FN_WRITE_MHDR 2819
  1068. #define MNG_FN_WRITE_MEND 2820
  1069. #define MNG_FN_WRITE_LOOP 2821
  1070. #define MNG_FN_WRITE_ENDL 2822
  1071. #define MNG_FN_WRITE_DEFI 2823
  1072. #define MNG_FN_WRITE_BASI 2824
  1073. #define MNG_FN_WRITE_CLON 2825
  1074. #define MNG_FN_WRITE_PAST 2826
  1075. #define MNG_FN_WRITE_DISC 2827
  1076. #define MNG_FN_WRITE_BACK 2828
  1077. #define MNG_FN_WRITE_FRAM 2829
  1078. #define MNG_FN_WRITE_MOVE 2830
  1079. #define MNG_FN_WRITE_CLIP 2831
  1080. #define MNG_FN_WRITE_SHOW 2832
  1081. #define MNG_FN_WRITE_TERM 2833
  1082. #define MNG_FN_WRITE_SAVE 2834
  1083. #define MNG_FN_WRITE_SEEK 2835
  1084. #define MNG_FN_WRITE_EXPI 2836
  1085. #define MNG_FN_WRITE_FPRI 2837
  1086. #define MNG_FN_WRITE_NEED 2838
  1087. #define MNG_FN_WRITE_PHYG 2839
  1088. #define MNG_FN_WRITE_JHDR 2840
  1089. #define MNG_FN_WRITE_JDAT 2841
  1090. #define MNG_FN_WRITE_JSEP 2842
  1091. #define MNG_FN_WRITE_DHDR 2843
  1092. #define MNG_FN_WRITE_PROM 2844
  1093. #define MNG_FN_WRITE_IPNG 2845
  1094. #define MNG_FN_WRITE_PPLT 2846
  1095. #define MNG_FN_WRITE_IJNG 2847
  1096. #define MNG_FN_WRITE_DROP 2848
  1097. #define MNG_FN_WRITE_DBYK 2849
  1098. #define MNG_FN_WRITE_ORDR 2850
  1099. #define MNG_FN_WRITE_UNKNOWN 2851
  1100. #define MNG_FN_WRITE_MAGN 2852
  1101. #define MNG_FN_WRITE_JDAA 2853
  1102. #define MNG_FN_WRITE_EVNT 2854
  1103. #define MNG_FN_WRITE_MPNG 2855
  1104. /* ************************************************************************** */
  1105. #define MNG_FN_ZLIB_INITIALIZE 3001
  1106. #define MNG_FN_ZLIB_CLEANUP 3002
  1107. #define MNG_FN_ZLIB_INFLATEINIT 3003
  1108. #define MNG_FN_ZLIB_INFLATEROWS 3004
  1109. #define MNG_FN_ZLIB_INFLATEDATA 3005
  1110. #define MNG_FN_ZLIB_INFLATEFREE 3006
  1111. #define MNG_FN_ZLIB_DEFLATEINIT 3007
  1112. #define MNG_FN_ZLIB_DEFLATEROWS 3008
  1113. #define MNG_FN_ZLIB_DEFLATEDATA 3009
  1114. #define MNG_FN_ZLIB_DEFLATEFREE 3010
  1115. /* ************************************************************************** */
  1116. #define MNG_FN_PROCESS_DISPLAY_IHDR 3201
  1117. #define MNG_FN_PROCESS_DISPLAY_PLTE 3202
  1118. #define MNG_FN_PROCESS_DISPLAY_IDAT 3203
  1119. #define MNG_FN_PROCESS_DISPLAY_IEND 3204
  1120. #define MNG_FN_PROCESS_DISPLAY_TRNS 3205
  1121. #define MNG_FN_PROCESS_DISPLAY_GAMA 3206
  1122. #define MNG_FN_PROCESS_DISPLAY_CHRM 3207
  1123. #define MNG_FN_PROCESS_DISPLAY_SRGB 3208
  1124. #define MNG_FN_PROCESS_DISPLAY_ICCP 3209
  1125. #define MNG_FN_PROCESS_DISPLAY_BKGD 3210
  1126. #define MNG_FN_PROCESS_DISPLAY_PHYS 3211
  1127. #define MNG_FN_PROCESS_DISPLAY_SBIT 3212
  1128. #define MNG_FN_PROCESS_DISPLAY_SPLT 3213
  1129. #define MNG_FN_PROCESS_DISPLAY_HIST 3214
  1130. #define MNG_FN_PROCESS_DISPLAY_MHDR 3215
  1131. #define MNG_FN_PROCESS_DISPLAY_MEND 3216
  1132. #define MNG_FN_PROCESS_DISPLAY_LOOP 3217
  1133. #define MNG_FN_PROCESS_DISPLAY_ENDL 3218
  1134. #define MNG_FN_PROCESS_DISPLAY_DEFI 3219
  1135. #define MNG_FN_PROCESS_DISPLAY_BASI 3220
  1136. #define MNG_FN_PROCESS_DISPLAY_CLON 3221
  1137. #define MNG_FN_PROCESS_DISPLAY_PAST 3222
  1138. #define MNG_FN_PROCESS_DISPLAY_DISC 3223
  1139. #define MNG_FN_PROCESS_DISPLAY_BACK 3224
  1140. #define MNG_FN_PROCESS_DISPLAY_FRAM 3225
  1141. #define MNG_FN_PROCESS_DISPLAY_MOVE 3226
  1142. #define MNG_FN_PROCESS_DISPLAY_CLIP 3227
  1143. #define MNG_FN_PROCESS_DISPLAY_SHOW 3228
  1144. #define MNG_FN_PROCESS_DISPLAY_TERM 3229
  1145. #define MNG_FN_PROCESS_DISPLAY_SAVE 3230
  1146. #define MNG_FN_PROCESS_DISPLAY_SEEK 3231
  1147. #define MNG_FN_PROCESS_DISPLAY_EXPI 3232
  1148. #define MNG_FN_PROCESS_DISPLAY_FPRI 3233
  1149. #define MNG_FN_PROCESS_DISPLAY_NEED 3234
  1150. #define MNG_FN_PROCESS_DISPLAY_PHYG 3235
  1151. #define MNG_FN_PROCESS_DISPLAY_JHDR 3236
  1152. #define MNG_FN_PROCESS_DISPLAY_JDAT 3237
  1153. #define MNG_FN_PROCESS_DISPLAY_JSEP 3238
  1154. #define MNG_FN_PROCESS_DISPLAY_DHDR 3239
  1155. #define MNG_FN_PROCESS_DISPLAY_PROM 3240
  1156. #define MNG_FN_PROCESS_DISPLAY_IPNG 3241
  1157. #define MNG_FN_PROCESS_DISPLAY_PPLT 3242
  1158. #define MNG_FN_PROCESS_DISPLAY_IJNG 3243
  1159. #define MNG_FN_PROCESS_DISPLAY_DROP 3244
  1160. #define MNG_FN_PROCESS_DISPLAY_DBYK 3245
  1161. #define MNG_FN_PROCESS_DISPLAY_ORDR 3246
  1162. #define MNG_FN_PROCESS_DISPLAY_MAGN 3247
  1163. #define MNG_FN_PROCESS_DISPLAY_JDAA 3248
  1164. /* ************************************************************************** */
  1165. #define MNG_FN_JPEG_INITIALIZE 3401
  1166. #define MNG_FN_JPEG_CLEANUP 3402
  1167. #define MNG_FN_JPEG_DECOMPRESSINIT 3403
  1168. #define MNG_FN_JPEG_DECOMPRESSDATA 3404
  1169. #define MNG_FN_JPEG_DECOMPRESSFREE 3405
  1170. #define MNG_FN_STORE_JPEG_G8 3501
  1171. #define MNG_FN_STORE_JPEG_RGB8 3502
  1172. #define MNG_FN_STORE_JPEG_G12 3503
  1173. #define MNG_FN_STORE_JPEG_RGB12 3504
  1174. #define MNG_FN_STORE_JPEG_GA8 3505
  1175. #define MNG_FN_STORE_JPEG_RGBA8 3506
  1176. #define MNG_FN_STORE_JPEG_GA12 3507
  1177. #define MNG_FN_STORE_JPEG_RGBA12 3508
  1178. #define MNG_FN_STORE_JPEG_G8_ALPHA 3509
  1179. #define MNG_FN_STORE_JPEG_RGB8_ALPHA 3510
  1180. #define MNG_FN_INIT_JPEG_A1_NI 3511
  1181. #define MNG_FN_INIT_JPEG_A2_NI 3512
  1182. #define MNG_FN_INIT_JPEG_A4_NI 3513
  1183. #define MNG_FN_INIT_JPEG_A8_NI 3514
  1184. #define MNG_FN_INIT_JPEG_A16_NI 3515
  1185. #define MNG_FN_STORE_JPEG_G8_A1 3521
  1186. #define MNG_FN_STORE_JPEG_G8_A2 3522
  1187. #define MNG_FN_STORE_JPEG_G8_A4 3523
  1188. #define MNG_FN_STORE_JPEG_G8_A8 3524
  1189. #define MNG_FN_STORE_JPEG_G8_A16 3525
  1190. #define MNG_FN_STORE_JPEG_RGB8_A1 3531
  1191. #define MNG_FN_STORE_JPEG_RGB8_A2 3532
  1192. #define MNG_FN_STORE_JPEG_RGB8_A4 3533
  1193. #define MNG_FN_STORE_JPEG_RGB8_A8 3534
  1194. #define MNG_FN_STORE_JPEG_RGB8_A16 3535
  1195. #define MNG_FN_STORE_JPEG_G12_A1 3541
  1196. #define MNG_FN_STORE_JPEG_G12_A2 3542
  1197. #define MNG_FN_STORE_JPEG_G12_A4 3543
  1198. #define MNG_FN_STORE_JPEG_G12_A8 3544
  1199. #define MNG_FN_STORE_JPEG_G12_A16 3545
  1200. #define MNG_FN_STORE_JPEG_RGB12_A1 3551
  1201. #define MNG_FN_STORE_JPEG_RGB12_A2 3552
  1202. #define MNG_FN_STORE_JPEG_RGB12_A4 3553
  1203. #define MNG_FN_STORE_JPEG_RGB12_A8 3554
  1204. #define MNG_FN_STORE_JPEG_RGB12_A16 3555
  1205. #define MNG_FN_NEXT_JPEG_ALPHAROW 3591
  1206. #define MNG_FN_NEXT_JPEG_ROW 3592
  1207. #define MNG_FN_DISPLAY_JPEG_ROWS 3593
  1208. /* ************************************************************************** */
  1209. #define MNG_FN_MAGNIFY_G8_X1 3701
  1210. #define MNG_FN_MAGNIFY_G8_X2 3702
  1211. #define MNG_FN_MAGNIFY_RGB8_X1 3703
  1212. #define MNG_FN_MAGNIFY_RGB8_X2 3704
  1213. #define MNG_FN_MAGNIFY_GA8_X1 3705
  1214. #define MNG_FN_MAGNIFY_GA8_X2 3706
  1215. #define MNG_FN_MAGNIFY_GA8_X3 3707
  1216. #define MNG_FN_MAGNIFY_GA8_X4 3708
  1217. #define MNG_FN_MAGNIFY_RGBA8_X1 3709
  1218. #define MNG_FN_MAGNIFY_RGBA8_X2 3710
  1219. #define MNG_FN_MAGNIFY_RGBA8_X3 3711
  1220. #define MNG_FN_MAGNIFY_RGBA8_X4 3712
  1221. #define MNG_FN_MAGNIFY_G8_X3 3713
  1222. #define MNG_FN_MAGNIFY_RGB8_X3 3714
  1223. #define MNG_FN_MAGNIFY_GA8_X5 3715
  1224. #define MNG_FN_MAGNIFY_RGBA8_X5 3716
  1225. #define MNG_FN_MAGNIFY_G16_X1 3725
  1226. #define MNG_FN_MAGNIFY_G16_X2 3726
  1227. #define MNG_FN_MAGNIFY_RGB16_X1 3727
  1228. #define MNG_FN_MAGNIFY_RGB16_X2 3728
  1229. #define MNG_FN_MAGNIFY_GA16_X1 3729
  1230. #define MNG_FN_MAGNIFY_GA16_X2 3730
  1231. #define MNG_FN_MAGNIFY_GA16_X3 3731
  1232. #define MNG_FN_MAGNIFY_GA16_X4 3732
  1233. #define MNG_FN_MAGNIFY_RGBA16_X1 3733
  1234. #define MNG_FN_MAGNIFY_RGBA16_X2 3734
  1235. #define MNG_FN_MAGNIFY_RGBA16_X3 3735
  1236. #define MNG_FN_MAGNIFY_RGBA16_X4 3736
  1237. #define MNG_FN_MAGNIFY_G16_X3 3737
  1238. #define MNG_FN_MAGNIFY_RGB16_X3 3738
  1239. #define MNG_FN_MAGNIFY_GA16_X5 3739
  1240. #define MNG_FN_MAGNIFY_RGBA16_X5 3740
  1241. #define MNG_FN_MAGNIFY_G8_Y1 3751
  1242. #define MNG_FN_MAGNIFY_G8_Y2 3752
  1243. #define MNG_FN_MAGNIFY_RGB8_Y1 3753
  1244. #define MNG_FN_MAGNIFY_RGB8_Y2 3754
  1245. #define MNG_FN_MAGNIFY_GA8_Y1 3755
  1246. #define MNG_FN_MAGNIFY_GA8_Y2 3756
  1247. #define MNG_FN_MAGNIFY_GA8_Y3 3757
  1248. #define MNG_FN_MAGNIFY_GA8_Y4 3758
  1249. #define MNG_FN_MAGNIFY_RGBA8_Y1 3759
  1250. #define MNG_FN_MAGNIFY_RGBA8_Y2 3760
  1251. #define MNG_FN_MAGNIFY_RGBA8_Y3 3761
  1252. #define MNG_FN_MAGNIFY_RGBA8_Y4 3762
  1253. #define MNG_FN_MAGNIFY_G8_Y3 3763
  1254. #define MNG_FN_MAGNIFY_RGB8_Y3 3764
  1255. #define MNG_FN_MAGNIFY_GA8_Y5 3765
  1256. #define MNG_FN_MAGNIFY_RGBA8_Y5 3766
  1257. #define MNG_FN_MAGNIFY_G16_Y1 3775
  1258. #define MNG_FN_MAGNIFY_G16_Y2 3776
  1259. #define MNG_FN_MAGNIFY_RGB16_Y1 3777
  1260. #define MNG_FN_MAGNIFY_RGB16_Y2 3778
  1261. #define MNG_FN_MAGNIFY_GA16_Y1 3779
  1262. #define MNG_FN_MAGNIFY_GA16_Y2 3780
  1263. #define MNG_FN_MAGNIFY_GA16_Y3 3781
  1264. #define MNG_FN_MAGNIFY_GA16_Y4 3782
  1265. #define MNG_FN_MAGNIFY_RGBA16_Y1 3783
  1266. #define MNG_FN_MAGNIFY_RGBA16_Y2 3784
  1267. #define MNG_FN_MAGNIFY_RGBA16_Y3 3785
  1268. #define MNG_FN_MAGNIFY_RGBA16_Y4 3786
  1269. #define MNG_FN_MAGNIFY_G16_Y3 3787
  1270. #define MNG_FN_MAGNIFY_RGB16_Y3 3788
  1271. #define MNG_FN_MAGNIFY_GA16_Y5 3789
  1272. #define MNG_FN_MAGNIFY_RGBA16_Y5 3790
  1273. /* ************************************************************************** */
  1274. #define MNG_FN_DELTA_G1_G1 3801
  1275. #define MNG_FN_DELTA_G2_G2 3802
  1276. #define MNG_FN_DELTA_G4_G4 3803
  1277. #define MNG_FN_DELTA_G8_G8 3804
  1278. #define MNG_FN_DELTA_G16_G16 3805
  1279. #define MNG_FN_DELTA_RGB8_RGB8 3806
  1280. #define MNG_FN_DELTA_RGB16_RGB16 3807
  1281. #define MNG_FN_DELTA_GA8_GA8 3808
  1282. #define MNG_FN_DELTA_GA8_G8 3809
  1283. #define MNG_FN_DELTA_GA8_A8 3810
  1284. #define MNG_FN_DELTA_GA16_GA16 3811
  1285. #define MNG_FN_DELTA_GA16_G16 3812
  1286. #define MNG_FN_DELTA_GA16_A16 3813
  1287. #define MNG_FN_DELTA_RGBA8_RGBA8 3814
  1288. #define MNG_FN_DELTA_RGBA8_RGB8 3815
  1289. #define MNG_FN_DELTA_RGBA8_A8 3816
  1290. #define MNG_FN_DELTA_RGBA16_RGBA16 3817
  1291. #define MNG_FN_DELTA_RGBA16_RGB16 3818
  1292. #define MNG_FN_DELTA_RGBA16_A16 3819
  1293. #define MNG_FN_PROMOTE_G8_G8 3901
  1294. #define MNG_FN_PROMOTE_G8_G16 3902
  1295. #define MNG_FN_PROMOTE_G16_G16 3903
  1296. #define MNG_FN_PROMOTE_G8_GA8 3904
  1297. #define MNG_FN_PROMOTE_G8_GA16 3905
  1298. #define MNG_FN_PROMOTE_G16_GA16 3906
  1299. #define MNG_FN_PROMOTE_G8_RGB8 3907
  1300. #define MNG_FN_PROMOTE_G8_RGB16 3908
  1301. #define MNG_FN_PROMOTE_G16_RGB16 3909
  1302. #define MNG_FN_PROMOTE_G8_RGBA8 3910
  1303. #define MNG_FN_PROMOTE_G8_RGBA16 3911
  1304. #define MNG_FN_PROMOTE_G16_RGBA16 3912
  1305. #define MNG_FN_PROMOTE_GA8_GA16 3913
  1306. #define MNG_FN_PROMOTE_GA8_RGBA8 3914
  1307. #define MNG_FN_PROMOTE_GA8_RGBA16 3915
  1308. #define MNG_FN_PROMOTE_GA16_RGBA16 3916
  1309. #define MNG_FN_PROMOTE_RGB8_RGB16 3917
  1310. #define MNG_FN_PROMOTE_RGB8_RGBA8 3918
  1311. #define MNG_FN_PROMOTE_RGB8_RGBA16 3919
  1312. #define MNG_FN_PROMOTE_RGB16_RGBA16 3920
  1313. #define MNG_FN_PROMOTE_RGBA8_RGBA16 3921
  1314. #define MNG_FN_PROMOTE_IDX8_RGB8 3922
  1315. #define MNG_FN_PROMOTE_IDX8_RGB16 3923
  1316. #define MNG_FN_PROMOTE_IDX8_RGBA8 3924
  1317. #define MNG_FN_PROMOTE_IDX8_RGBA16 3925
  1318. #define MNG_FN_SCALE_G1_G2 4001
  1319. #define MNG_FN_SCALE_G1_G4 4002
  1320. #define MNG_FN_SCALE_G1_G8 4003
  1321. #define MNG_FN_SCALE_G1_G16 4004
  1322. #define MNG_FN_SCALE_G2_G4 4005
  1323. #define MNG_FN_SCALE_G2_G8 4006
  1324. #define MNG_FN_SCALE_G2_G16 4007
  1325. #define MNG_FN_SCALE_G4_G8 4008
  1326. #define MNG_FN_SCALE_G4_G16 4009
  1327. #define MNG_FN_SCALE_G8_G16 4010
  1328. #define MNG_FN_SCALE_GA8_GA16 4011
  1329. #define MNG_FN_SCALE_RGB8_RGB16 4012
  1330. #define MNG_FN_SCALE_RGBA8_RGBA16 4013
  1331. #define MNG_FN_SCALE_G2_G1 4021
  1332. #define MNG_FN_SCALE_G4_G1 4022
  1333. #define MNG_FN_SCALE_G8_G1 4023
  1334. #define MNG_FN_SCALE_G16_G1 4024
  1335. #define MNG_FN_SCALE_G4_G2 4025
  1336. #define MNG_FN_SCALE_G8_G2 4026
  1337. #define MNG_FN_SCALE_G16_G2 4027
  1338. #define MNG_FN_SCALE_G8_G4 4028
  1339. #define MNG_FN_SCALE_G16_G4 4029
  1340. #define MNG_FN_SCALE_G16_G8 4030
  1341. #define MNG_FN_SCALE_GA16_GA8 4031
  1342. #define MNG_FN_SCALE_RGB16_RGB8 4032
  1343. #define MNG_FN_SCALE_RGBA16_RGBA8 4033
  1344. #define MNG_FN_COMPOSEOVER_RGBA8 4501
  1345. #define MNG_FN_COMPOSEOVER_RGBA16 4502
  1346. #define MNG_FN_COMPOSEUNDER_RGBA8 4503
  1347. #define MNG_FN_COMPOSEUNDER_RGBA16 4504
  1348. #define MNG_FN_FLIP_RGBA8 4521
  1349. #define MNG_FN_FLIP_RGBA16 4522
  1350. #define MNG_FN_TILE_RGBA8 4523
  1351. #define MNG_FN_TILE_RGBA16 4524
  1352. /* ************************************************************************** */
  1353. /* * * */
  1354. /* * Trace string-table entry * */
  1355. /* * * */
  1356. /* ************************************************************************** */
  1357. typedef struct {
  1358. mng_uint32 iFunction;
  1359. mng_pchar zTracetext;
  1360. } mng_trace_entry;
  1361. typedef mng_trace_entry const * mng_trace_entryp;
  1362. /* ************************************************************************** */
  1363. #endif /* MNG_INCLUDE_TRACE_PROCS */
  1364. /* ************************************************************************** */
  1365. #endif /* _libmng_trace_h_ */
  1366. /* ************************************************************************** */
  1367. /* * end of file * */
  1368. /* ************************************************************************** */