source: trunk/src/3rdparty/libmng/libmng_trace.h

Last change on this file was 2, checked in by dmik, 20 years ago

Imported xplatform parts of the official release 3.3.1 from Trolltech

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