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