Eneboo - Documentación para desarrolladores
|
00001 /* ************************************************************************** */ 00002 /* * For conditions of distribution and use, * */ 00003 /* * see copyright notice in libmng.h * */ 00004 /* ************************************************************************** */ 00005 /* * * */ 00006 /* * project : libmng * */ 00007 /* * file : libmng_trace.h copyright (c) 2000 G.Juyn * */ 00008 /* * version : 1.0.3 * */ 00009 /* * * */ 00010 /* * purpose : Trace functions (definition) * */ 00011 /* * * */ 00012 /* * author : G.Juyn * */ 00013 /* * web : http://www.3-t.com * */ 00014 /* * email : mailto:info@3-t.com * */ 00015 /* * * */ 00016 /* * comment : Definition of the trace functions * */ 00017 /* * * */ 00018 /* * changes : 0.5.1 - 05/08/2000 - G.Juyn * */ 00019 /* * - added chunk-access function trace-codes * */ 00020 /* * - changed strict-ANSI stuff * */ 00021 /* * 0.5.1 - 05/12/2000 - G.Juyn * */ 00022 /* * - changed trace to macro for callback error-reporting * */ 00023 /* * 0.5.1 - 05/13/2000 - G.Juyn * */ 00024 /* * - added save_state & restore_state trace-codes * */ 00025 /* * 0.5.1 - 05/15/2000 - G.Juyn * */ 00026 /* * - added getimgdata & putimgdata trace-codes * */ 00027 /* * * */ 00028 /* * 0.5.2 - 05/20/2000 - G.Juyn * */ 00029 /* * - added JNG tracecodes * */ 00030 /* * 0.5.2 - 05/23/2000 - G.Juyn * */ 00031 /* * - added trace-table entry definition * */ 00032 /* * 0.5.2 - 05/24/2000 - G.Juyn * */ 00033 /* * - added tracecodes for global animation color-chunks * */ 00034 /* * - added tracecodes for get/set of default ZLIB/IJG parms * */ 00035 /* * - added tracecodes for global PLTE,tRNS,bKGD * */ 00036 /* * 0.5.2 - 05/30/2000 - G.Juyn * */ 00037 /* * - added tracecodes for image-object promotion * */ 00038 /* * - added tracecodes for delta-image processing * */ 00039 /* * 0.5.2 - 06/02/2000 - G.Juyn * */ 00040 /* * - added tracecodes for getalphaline callback * */ 00041 /* * 0.5.2 - 06/05/2000 - G.Juyn * */ 00042 /* * - added tracecode for RGB8_A8 canvasstyle * */ 00043 /* * 0.5.2 - 06/06/2000 - G.Juyn * */ 00044 /* * - added tracecode for mng_read_resume HLAPI function * */ 00045 /* * * */ 00046 /* * 0.5.3 - 06/06/2000 - G.Juyn * */ 00047 /* * - added tracecodes for tracing JPEG progression * */ 00048 /* * 0.5.3 - 06/21/2000 - G.Juyn * */ 00049 /* * - added tracecodes for get/set speedtype * */ 00050 /* * - added tracecodes for get imagelevel * */ 00051 /* * 0.5.3 - 06/22/2000 - G.Juyn * */ 00052 /* * - added tracecode for delta-image processing * */ 00053 /* * - added tracecodes for PPLT chunk processing * */ 00054 /* * * */ 00055 /* * 0.9.1 - 07/07/2000 - G.Juyn * */ 00056 /* * - added tracecodes for special display processing * */ 00057 /* * 0.9.1 - 07/08/2000 - G.Juyn * */ 00058 /* * - added tracecode for get/set suspensionmode * */ 00059 /* * - added tracecodes for get/set display variables * */ 00060 /* * - added tracecode for read_databuffer (I/O-suspension) * */ 00061 /* * 0.9.1 - 07/15/2000 - G.Juyn * */ 00062 /* * - added tracecodes for SAVE/SEEK callbacks * */ 00063 /* * - added tracecodes for get/set sectionbreaks * */ 00064 /* * - added tracecode for special error routine * */ 00065 /* * 0.9.1 - 07/19/2000 - G.Juyn * */ 00066 /* * - added tracecode for updatemngheader * */ 00067 /* * * */ 00068 /* * 0.9.2 - 07/31/2000 - G.Juyn * */ 00069 /* * - added tracecodes for status_xxxxx functions * */ 00070 /* * 0.9.2 - 08/05/2000 - G.Juyn * */ 00071 /* * - changed file-prefixes * */ 00072 /* * - added tracecode for updatemngsimplicity * */ 00073 /* * * */ 00074 /* * 0.9.3 - 08/26/2000 - G.Juyn * */ 00075 /* * - added MAGN chunk * */ 00076 /* * 0.9.3 - 09/07/2000 - G.Juyn * */ 00077 /* * - added support for new filter_types * */ 00078 /* * 0.9.3 - 10/10/2000 - G.Juyn * */ 00079 /* * - added support for alpha-depth prediction * */ 00080 /* * 0.9.3 - 10/11/2000 - G.Juyn * */ 00081 /* * - added JDAA chunk * */ 00082 /* * - added support for nEED * */ 00083 /* * 0.9.3 - 10/16/2000 - G.Juyn * */ 00084 /* * - added functions to retrieve PNG/JNG specific header-info * */ 00085 /* * - added optional support for bKGD for PNG images * */ 00086 /* * 0.9.3 - 10/17/2000 - G.Juyn * */ 00087 /* * - added callback to process non-critical unknown chunks * */ 00088 /* * - added routine to discard "invalid" objects * */ 00089 /* * 0.9.3 - 10/19/2000 - G.Juyn * */ 00090 /* * - implemented delayed delta-processing * */ 00091 /* * 0.9.3 - 10/20/2000 - G.Juyn * */ 00092 /* * - added get/set for bKGD preference setting * */ 00093 /* * 0.9.3 - 10/21/2000 - G.Juyn * */ 00094 /* * - added get function for interlace/progressive display * */ 00095 /* * * */ 00096 /* * 0.9.4 - 1/18/2001 - G.Juyn * */ 00097 /* * - added "new" MAGN methods 3, 4 & 5 * */ 00098 /* * * */ 00099 /* * 1.0.1 - 02/08/2001 - G.Juyn * */ 00100 /* * - added MEND processing callback * */ 00101 /* * 1.0.1 - 04/21/2001 - G.Juyn (code by G.Kelly) * */ 00102 /* * - added BGRA8 canvas with premultiplied alpha * */ 00103 /* * 1.0.1 - 05/02/2001 - G.Juyn * */ 00104 /* * - added "default" sRGB generation (Thanks Marti!) * */ 00105 /* * * */ 00106 /* * 1.0.2 - 06/23/2001 - G.Juyn * */ 00107 /* * - added optimization option for MNG-video playback * */ 00108 /* * - added processterm callback * */ 00109 /* * 1.0.2 - 06/25/2001 - G.Juyn * */ 00110 /* * - added option to turn off progressive refresh * */ 00111 /* * * */ 00112 /* * 1.0.3 - 08/06/2001 - G.Juyn * */ 00113 /* * - added get function for last processed BACK chunk * */ 00114 /* * * */ 00115 /* ************************************************************************** */ 00116 00117 #if defined(__BORLANDC__) && defined(MNG_STRICT_ANSI) 00118 #pragma option -A /* force ANSI-C */ 00119 #endif 00120 00121 #ifndef _libmng_trace_h_ 00122 #define _libmng_trace_h_ 00123 00124 /* ************************************************************************** */ 00125 00126 #ifdef MNG_INCLUDE_TRACE_PROCS 00127 00128 /* ************************************************************************** */ 00129 00130 /* TODO: add a trace-mask so certain functions can be excluded */ 00131 00132 mng_retcode mng_trace (mng_datap pData, 00133 mng_uint32 iFunction, 00134 mng_uint32 iLocation); 00135 00136 /* ************************************************************************** */ 00137 00138 #define MNG_TRACE(D,F,L) { mng_retcode iR = mng_trace (D,F,L); \ 00139 if (iR) return iR; } 00140 00141 #define MNG_TRACEB(D,F,L) { if (mng_trace (D,F,L)) return MNG_FALSE; } 00142 00143 #define MNG_TRACEX(D,F,L) { if (mng_trace (D,F,L)) return 0; } 00144 00145 /* ************************************************************************** */ 00146 00147 #define MNG_LC_START 1 00148 #define MNG_LC_END 2 00149 #define MNG_LC_INITIALIZE 3 00150 #define MNG_LC_CLEANUP 4 00151 00152 /* ************************************************************************** */ 00153 00154 #define MNG_LC_JPEG_CREATE_DECOMPRESS 101 00155 #define MNG_LC_JPEG_READ_HEADER 102 00156 #define MNG_LC_JPEG_START_DECOMPRESS 103 00157 #define MNG_LC_JPEG_START_OUTPUT 104 00158 #define MNG_LC_JPEG_READ_SCANLINES 105 00159 #define MNG_LC_JPEG_FINISH_OUTPUT 106 00160 #define MNG_LC_JPEG_FINISH_DECOMPRESS 107 00161 #define MNG_LC_JPEG_DESTROY_DECOMPRESS 108 00162 00163 /* ************************************************************************** */ 00164 00165 #define MNG_FN_INITIALIZE 1 00166 #define MNG_FN_RESET 2 00167 #define MNG_FN_CLEANUP 3 00168 #define MNG_FN_READ 4 00169 #define MNG_FN_WRITE 5 00170 #define MNG_FN_CREATE 6 00171 #define MNG_FN_READDISPLAY 7 00172 #define MNG_FN_DISPLAY 8 00173 #define MNG_FN_DISPLAY_RESUME 9 00174 #define MNG_FN_DISPLAY_FREEZE 10 00175 #define MNG_FN_DISPLAY_RESET 11 00176 #define MNG_FN_DISPLAY_GOFRAME 12 00177 #define MNG_FN_DISPLAY_GOLAYER 13 00178 #define MNG_FN_DISPLAY_GOTIME 14 00179 #define MNG_FN_GETLASTERROR 15 00180 #define MNG_FN_READ_RESUME 16 00181 00182 #define MNG_FN_SETCB_MEMALLOC 101 00183 #define MNG_FN_SETCB_MEMFREE 102 00184 #define MNG_FN_SETCB_READDATA 103 00185 #define MNG_FN_SETCB_WRITEDATA 104 00186 #define MNG_FN_SETCB_ERRORPROC 105 00187 #define MNG_FN_SETCB_TRACEPROC 106 00188 #define MNG_FN_SETCB_PROCESSHEADER 107 00189 #define MNG_FN_SETCB_PROCESSTEXT 108 00190 #define MNG_FN_SETCB_GETCANVASLINE 109 00191 #define MNG_FN_SETCB_GETBKGDLINE 110 00192 #define MNG_FN_SETCB_REFRESH 111 00193 #define MNG_FN_SETCB_GETTICKCOUNT 112 00194 #define MNG_FN_SETCB_SETTIMER 113 00195 #define MNG_FN_SETCB_PROCESSGAMMA 114 00196 #define MNG_FN_SETCB_PROCESSCHROMA 115 00197 #define MNG_FN_SETCB_PROCESSSRGB 116 00198 #define MNG_FN_SETCB_PROCESSICCP 117 00199 #define MNG_FN_SETCB_PROCESSAROW 118 00200 #define MNG_FN_SETCB_OPENSTREAM 119 00201 #define MNG_FN_SETCB_CLOSESTREAM 120 00202 #define MNG_FN_SETCB_GETALPHALINE 121 00203 #define MNG_FN_SETCB_PROCESSSAVE 122 00204 #define MNG_FN_SETCB_PROCESSSEEK 123 00205 #define MNG_FN_SETCB_PROCESSNEED 124 00206 #define MNG_FN_SETCB_PROCESSUNKNOWN 125 00207 #define MNG_FN_SETCB_PROCESSMEND 126 00208 #define MNG_FN_SETCB_PROCESSTERM 127 00209 00210 #define MNG_FN_GETCB_MEMALLOC 201 00211 #define MNG_FN_GETCB_MEMFREE 202 00212 #define MNG_FN_GETCB_READDATA 203 00213 #define MNG_FN_GETCB_WRITEDATA 204 00214 #define MNG_FN_GETCB_ERRORPROC 205 00215 #define MNG_FN_GETCB_TRACEPROC 206 00216 #define MNG_FN_GETCB_PROCESSHEADER 207 00217 #define MNG_FN_GETCB_PROCESSTEXT 208 00218 #define MNG_FN_GETCB_GETCANVASLINE 209 00219 #define MNG_FN_GETCB_GETBKGDLINE 210 00220 #define MNG_FN_GETCB_REFRESH 211 00221 #define MNG_FN_GETCB_GETTICKCOUNT 212 00222 #define MNG_FN_GETCB_SETTIMER 213 00223 #define MNG_FN_GETCB_PROCESSGAMMA 214 00224 #define MNG_FN_GETCB_PROCESSCHROMA 215 00225 #define MNG_FN_GETCB_PROCESSSRGB 216 00226 #define MNG_FN_GETCB_PROCESSICCP 217 00227 #define MNG_FN_GETCB_PROCESSAROW 218 00228 #define MNG_FN_GETCB_OPENSTREAM 219 00229 #define MNG_FN_GETCB_CLOSESTREAM 220 00230 #define MNG_FN_GETCB_GETALPHALINE 221 00231 #define MNG_FN_GETCB_PROCESSSAVE 222 00232 #define MNG_FN_GETCB_PROCESSSEEK 223 00233 #define MNG_FN_GETCB_PROCESSNEED 224 00234 #define MNG_FN_GETCB_PROCESSUNKNOWN 225 00235 #define MNG_FN_GETCB_PROCESSMEND 226 00236 #define MNG_FN_GETCB_PROCESSTERM 227 00237 00238 #define MNG_FN_SET_USERDATA 301 00239 #define MNG_FN_SET_CANVASSTYLE 302 00240 #define MNG_FN_SET_BKGDSTYLE 303 00241 #define MNG_FN_SET_BGCOLOR 304 00242 #define MNG_FN_SET_STORECHUNKS 305 00243 #define MNG_FN_SET_VIEWGAMMA 306 00244 #define MNG_FN_SET_DISPLAYGAMMA 307 00245 #define MNG_FN_SET_DFLTIMGGAMMA 308 00246 #define MNG_FN_SET_SRGB 309 00247 #define MNG_FN_SET_OUTPUTPROFILE 310 00248 #define MNG_FN_SET_SRGBPROFILE 311 00249 #define MNG_FN_SET_MAXCANVASWIDTH 312 00250 #define MNG_FN_SET_MAXCANVASHEIGHT 313 00251 #define MNG_FN_SET_MAXCANVASSIZE 314 00252 #define MNG_FN_SET_ZLIB_LEVEL 315 00253 #define MNG_FN_SET_ZLIB_METHOD 316 00254 #define MNG_FN_SET_ZLIB_WINDOWBITS 317 00255 #define MNG_FN_SET_ZLIB_MEMLEVEL 318 00256 #define MNG_FN_SET_ZLIB_STRATEGY 319 00257 #define MNG_FN_SET_ZLIB_MAXIDAT 320 00258 #define MNG_FN_SET_JPEG_DCTMETHOD 321 00259 #define MNG_FN_SET_JPEG_QUALITY 322 00260 #define MNG_FN_SET_JPEG_SMOOTHING 323 00261 #define MNG_FN_SET_JPEG_PROGRESSIVE 324 00262 #define MNG_FN_SET_JPEG_OPTIMIZED 325 00263 #define MNG_FN_SET_JPEG_MAXJDAT 326 00264 #define MNG_FN_SET_SPEED 327 00265 #define MNG_FN_SET_SUSPENSIONMODE 328 00266 #define MNG_FN_SET_SECTIONBREAKS 329 00267 #define MNG_FN_SET_USEBKGD 330 00268 #define MNG_FN_SET_OUTPUTPROFILE2 331 00269 #define MNG_FN_SET_SRGBPROFILE2 332 00270 #define MNG_FN_SET_OUTPUTSRGB 333 00271 #define MNG_FN_SET_SRGBIMPLICIT 334 00272 #define MNG_FN_SET_CACHEPLAYBACK 335 00273 #define MNG_FN_SET_DOPROGRESSIVE 336 00274 00275 #define MNG_FN_GET_USERDATA 401 00276 #define MNG_FN_GET_SIGTYPE 402 00277 #define MNG_FN_GET_IMAGETYPE 403 00278 #define MNG_FN_GET_IMAGEWIDTH 404 00279 #define MNG_FN_GET_IMAGEHEIGHT 405 00280 #define MNG_FN_GET_TICKS 406 00281 #define MNG_FN_GET_FRAMECOUNT 407 00282 #define MNG_FN_GET_LAYERCOUNT 408 00283 #define MNG_FN_GET_PLAYTIME 409 00284 #define MNG_FN_GET_SIMPLICITY 410 00285 #define MNG_FN_GET_CANVASSTYLE 411 00286 #define MNG_FN_GET_BKGDSTYLE 412 00287 #define MNG_FN_GET_BGCOLOR 413 00288 #define MNG_FN_GET_STORECHUNKS 414 00289 #define MNG_FN_GET_VIEWGAMMA 415 00290 #define MNG_FN_GET_DISPLAYGAMMA 416 00291 #define MNG_FN_GET_DFLTIMGGAMMA 417 00292 #define MNG_FN_GET_SRGB 418 00293 #define MNG_FN_GET_MAXCANVASWIDTH 419 00294 #define MNG_FN_GET_MAXCANVASHEIGHT 420 00295 #define MNG_FN_GET_ZLIB_LEVEL 421 00296 #define MNG_FN_GET_ZLIB_METHOD 422 00297 #define MNG_FN_GET_ZLIB_WINDOWBITS 423 00298 #define MNG_FN_GET_ZLIB_MEMLEVEL 424 00299 #define MNG_FN_GET_ZLIB_STRATEGY 425 00300 #define MNG_FN_GET_ZLIB_MAXIDAT 426 00301 #define MNG_FN_GET_JPEG_DCTMETHOD 427 00302 #define MNG_FN_GET_JPEG_QUALITY 428 00303 #define MNG_FN_GET_JPEG_SMOOTHING 429 00304 #define MNG_FN_GET_JPEG_PROGRESSIVE 430 00305 #define MNG_FN_GET_JPEG_OPTIMIZED 431 00306 #define MNG_FN_GET_JPEG_MAXJDAT 432 00307 #define MNG_FN_GET_SPEED 433 00308 #define MNG_FN_GET_IMAGELEVEL 434 00309 #define MNG_FN_GET_SUSPENSIONMODE 435 00310 #define MNG_FN_GET_STARTTIME 436 00311 #define MNG_FN_GET_RUNTIME 437 00312 #define MNG_FN_GET_CURRENTFRAME 438 00313 #define MNG_FN_GET_CURRENTLAYER 439 00314 #define MNG_FN_GET_CURRENTPLAYTIME 440 00315 #define MNG_FN_GET_SECTIONBREAKS 441 00316 #define MNG_FN_GET_ALPHADEPTH 442 00317 #define MNG_FN_GET_BITDEPTH 443 00318 #define MNG_FN_GET_COLORTYPE 444 00319 #define MNG_FN_GET_COMPRESSION 445 00320 #define MNG_FN_GET_FILTER 446 00321 #define MNG_FN_GET_INTERLACE 447 00322 #define MNG_FN_GET_ALPHABITDEPTH 448 00323 #define MNG_FN_GET_ALPHACOMPRESSION 449 00324 #define MNG_FN_GET_ALPHAFILTER 450 00325 #define MNG_FN_GET_ALPHAINTERLACE 451 00326 #define MNG_FN_GET_USEBKGD 452 00327 #define MNG_FN_GET_REFRESHPASS 453 00328 #define MNG_FN_GET_CACHEPLAYBACK 454 00329 #define MNG_FN_GET_DOPROGRESSIVE 455 00330 #define MNG_FN_GET_LASTBACKCHUNK 456 00331 00332 #define MNG_FN_STATUS_ERROR 481 00333 #define MNG_FN_STATUS_READING 482 00334 #define MNG_FN_STATUS_SUSPENDBREAK 483 00335 #define MNG_FN_STATUS_CREATING 484 00336 #define MNG_FN_STATUS_WRITING 485 00337 #define MNG_FN_STATUS_DISPLAYING 486 00338 #define MNG_FN_STATUS_RUNNING 487 00339 #define MNG_FN_STATUS_TIMERBREAK 488 00340 00341 /* ************************************************************************** */ 00342 00343 #define MNG_FN_ITERATE_CHUNKS 601 00344 00345 #define MNG_FN_GETCHUNK_IHDR 701 00346 #define MNG_FN_GETCHUNK_PLTE 702 00347 #define MNG_FN_GETCHUNK_IDAT 703 00348 #define MNG_FN_GETCHUNK_IEND 704 00349 #define MNG_FN_GETCHUNK_TRNS 705 00350 #define MNG_FN_GETCHUNK_GAMA 706 00351 #define MNG_FN_GETCHUNK_CHRM 707 00352 #define MNG_FN_GETCHUNK_SRGB 708 00353 #define MNG_FN_GETCHUNK_ICCP 709 00354 #define MNG_FN_GETCHUNK_TEXT 710 00355 #define MNG_FN_GETCHUNK_ZTXT 711 00356 #define MNG_FN_GETCHUNK_ITXT 712 00357 #define MNG_FN_GETCHUNK_BKGD 713 00358 #define MNG_FN_GETCHUNK_PHYS 714 00359 #define MNG_FN_GETCHUNK_SBIT 715 00360 #define MNG_FN_GETCHUNK_SPLT 716 00361 #define MNG_FN_GETCHUNK_HIST 717 00362 #define MNG_FN_GETCHUNK_TIME 718 00363 #define MNG_FN_GETCHUNK_MHDR 719 00364 #define MNG_FN_GETCHUNK_MEND 720 00365 #define MNG_FN_GETCHUNK_LOOP 721 00366 #define MNG_FN_GETCHUNK_ENDL 722 00367 #define MNG_FN_GETCHUNK_DEFI 723 00368 #define MNG_FN_GETCHUNK_BASI 724 00369 #define MNG_FN_GETCHUNK_CLON 725 00370 #define MNG_FN_GETCHUNK_PAST 726 00371 #define MNG_FN_GETCHUNK_DISC 727 00372 #define MNG_FN_GETCHUNK_BACK 728 00373 #define MNG_FN_GETCHUNK_FRAM 729 00374 #define MNG_FN_GETCHUNK_MOVE 730 00375 #define MNG_FN_GETCHUNK_CLIP 731 00376 #define MNG_FN_GETCHUNK_SHOW 732 00377 #define MNG_FN_GETCHUNK_TERM 733 00378 #define MNG_FN_GETCHUNK_SAVE 734 00379 #define MNG_FN_GETCHUNK_SEEK 735 00380 #define MNG_FN_GETCHUNK_EXPI 736 00381 #define MNG_FN_GETCHUNK_FPRI 737 00382 #define MNG_FN_GETCHUNK_NEED 738 00383 #define MNG_FN_GETCHUNK_PHYG 739 00384 #define MNG_FN_GETCHUNK_JHDR 740 00385 #define MNG_FN_GETCHUNK_JDAT 741 00386 #define MNG_FN_GETCHUNK_JSEP 742 00387 #define MNG_FN_GETCHUNK_DHDR 743 00388 #define MNG_FN_GETCHUNK_PROM 744 00389 #define MNG_FN_GETCHUNK_IPNG 745 00390 #define MNG_FN_GETCHUNK_PPLT 746 00391 #define MNG_FN_GETCHUNK_IJNG 747 00392 #define MNG_FN_GETCHUNK_DROP 748 00393 #define MNG_FN_GETCHUNK_DBYK 749 00394 #define MNG_FN_GETCHUNK_ORDR 750 00395 #define MNG_FN_GETCHUNK_UNKNOWN 751 00396 #define MNG_FN_GETCHUNK_MAGN 752 00397 #define MNG_FN_GETCHUNK_JDAA 753 00398 00399 #define MNG_FN_GETCHUNK_PAST_SRC 781 00400 #define MNG_FN_GETCHUNK_SAVE_ENTRY 782 00401 #define MNG_FN_GETCHUNK_PPLT_ENTRY 783 00402 #define MNG_FN_GETCHUNK_ORDR_ENTRY 784 00403 00404 #define MNG_FN_PUTCHUNK_IHDR 801 00405 #define MNG_FN_PUTCHUNK_PLTE 802 00406 #define MNG_FN_PUTCHUNK_IDAT 803 00407 #define MNG_FN_PUTCHUNK_IEND 804 00408 #define MNG_FN_PUTCHUNK_TRNS 805 00409 #define MNG_FN_PUTCHUNK_GAMA 806 00410 #define MNG_FN_PUTCHUNK_CHRM 807 00411 #define MNG_FN_PUTCHUNK_SRGB 808 00412 #define MNG_FN_PUTCHUNK_ICCP 809 00413 #define MNG_FN_PUTCHUNK_TEXT 810 00414 #define MNG_FN_PUTCHUNK_ZTXT 811 00415 #define MNG_FN_PUTCHUNK_ITXT 812 00416 #define MNG_FN_PUTCHUNK_BKGD 813 00417 #define MNG_FN_PUTCHUNK_PHYS 814 00418 #define MNG_FN_PUTCHUNK_SBIT 815 00419 #define MNG_FN_PUTCHUNK_SPLT 816 00420 #define MNG_FN_PUTCHUNK_HIST 817 00421 #define MNG_FN_PUTCHUNK_TIME 818 00422 #define MNG_FN_PUTCHUNK_MHDR 819 00423 #define MNG_FN_PUTCHUNK_MEND 820 00424 #define MNG_FN_PUTCHUNK_LOOP 821 00425 #define MNG_FN_PUTCHUNK_ENDL 822 00426 #define MNG_FN_PUTCHUNK_DEFI 823 00427 #define MNG_FN_PUTCHUNK_BASI 824 00428 #define MNG_FN_PUTCHUNK_CLON 825 00429 #define MNG_FN_PUTCHUNK_PAST 826 00430 #define MNG_FN_PUTCHUNK_DISC 827 00431 #define MNG_FN_PUTCHUNK_BACK 828 00432 #define MNG_FN_PUTCHUNK_FRAM 829 00433 #define MNG_FN_PUTCHUNK_MOVE 830 00434 #define MNG_FN_PUTCHUNK_CLIP 831 00435 #define MNG_FN_PUTCHUNK_SHOW 832 00436 #define MNG_FN_PUTCHUNK_TERM 833 00437 #define MNG_FN_PUTCHUNK_SAVE 834 00438 #define MNG_FN_PUTCHUNK_SEEK 835 00439 #define MNG_FN_PUTCHUNK_EXPI 836 00440 #define MNG_FN_PUTCHUNK_FPRI 837 00441 #define MNG_FN_PUTCHUNK_NEED 838 00442 #define MNG_FN_PUTCHUNK_PHYG 839 00443 #define MNG_FN_PUTCHUNK_JHDR 840 00444 #define MNG_FN_PUTCHUNK_JDAT 841 00445 #define MNG_FN_PUTCHUNK_JSEP 842 00446 #define MNG_FN_PUTCHUNK_DHDR 843 00447 #define MNG_FN_PUTCHUNK_PROM 844 00448 #define MNG_FN_PUTCHUNK_IPNG 845 00449 #define MNG_FN_PUTCHUNK_PPLT 846 00450 #define MNG_FN_PUTCHUNK_IJNG 847 00451 #define MNG_FN_PUTCHUNK_DROP 848 00452 #define MNG_FN_PUTCHUNK_DBYK 849 00453 #define MNG_FN_PUTCHUNK_ORDR 850 00454 #define MNG_FN_PUTCHUNK_UNKNOWN 851 00455 #define MNG_FN_PUTCHUNK_MAGN 852 00456 #define MNG_FN_PUTCHUNK_JDAA 853 00457 00458 #define MNG_FN_PUTCHUNK_PAST_SRC 881 00459 #define MNG_FN_PUTCHUNK_SAVE_ENTRY 882 00460 #define MNG_FN_PUTCHUNK_PPLT_ENTRY 883 00461 #define MNG_FN_PUTCHUNK_ORDR_ENTRY 884 00462 00463 /* ************************************************************************** */ 00464 00465 #define MNG_FN_GETIMGDATA_SEQ 901 00466 #define MNG_FN_GETIMGDATA_CHUNKSEQ 902 00467 #define MNG_FN_GETIMGDATA_CHUNK 903 00468 00469 #define MNG_FN_PUTIMGDATA_IHDR 951 00470 #define MNG_FN_PUTIMGDATA_JHDR 952 00471 #define MNG_FN_PUTIMGDATA_BASI 953 00472 #define MNG_FN_PUTIMGDATA_DHDR 954 00473 00474 #define MNG_FN_UPDATEMNGHEADER 981 00475 #define MNG_FN_UPDATEMNGSIMPLICITY 982 00476 00477 /* ************************************************************************** */ 00478 00479 #define MNG_FN_PROCESS_RAW_CHUNK 1001 00480 #define MNG_FN_READ_GRAPHIC 1002 00481 #define MNG_FN_DROP_CHUNKS 1003 00482 #define MNG_FN_PROCESS_ERROR 1004 00483 #define MNG_FN_CLEAR_CMS 1005 00484 #define MNG_FN_DROP_OBJECTS 1006 00485 #define MNG_FN_READ_CHUNK 1007 00486 #define MNG_FN_LOAD_BKGDLAYER 1008 00487 #define MNG_FN_NEXT_FRAME 1009 00488 #define MNG_FN_NEXT_LAYER 1010 00489 #define MNG_FN_INTERFRAME_DELAY 1011 00490 #define MNG_FN_DISPLAY_IMAGE 1012 00491 #define MNG_FN_DROP_IMGOBJECTS 1013 00492 #define MNG_FN_DROP_ANIOBJECTS 1014 00493 #define MNG_FN_INFLATE_BUFFER 1015 00494 #define MNG_FN_DEFLATE_BUFFER 1016 00495 #define MNG_FN_WRITE_RAW_CHUNK 1017 00496 #define MNG_FN_WRITE_GRAPHIC 1018 00497 #define MNG_FN_SAVE_STATE 1019 00498 #define MNG_FN_RESTORE_STATE 1020 00499 #define MNG_FN_DROP_SAVEDATA 1021 00500 #define MNG_FN_EXECUTE_DELTA_IMAGE 1022 00501 #define MNG_FN_PROCESS_DISPLAY 1023 00502 #define MNG_FN_CLEAR_CANVAS 1024 00503 #define MNG_FN_READ_DATABUFFER 1025 00504 #define MNG_FN_STORE_ERROR 1026 00505 #define MNG_FN_DROP_INVALID_OBJECTS 1027 00506 00507 /* ************************************************************************** */ 00508 00509 #define MNG_FN_DISPLAY_RGB8 1101 00510 #define MNG_FN_DISPLAY_RGBA8 1102 00511 #define MNG_FN_DISPLAY_ARGB8 1103 00512 #define MNG_FN_DISPLAY_BGR8 1104 00513 #define MNG_FN_DISPLAY_BGRA8 1105 00514 #define MNG_FN_DISPLAY_ABGR8 1106 00515 #define MNG_FN_DISPLAY_RGB16 1107 00516 #define MNG_FN_DISPLAY_RGBA16 1108 00517 #define MNG_FN_DISPLAY_ARGB16 1109 00518 #define MNG_FN_DISPLAY_BGR16 1110 00519 #define MNG_FN_DISPLAY_BGRA16 1111 00520 #define MNG_FN_DISPLAY_ABGR16 1112 00521 #define MNG_FN_DISPLAY_INDEX8 1113 00522 #define MNG_FN_DISPLAY_INDEXA8 1114 00523 #define MNG_FN_DISPLAY_AINDEX8 1115 00524 #define MNG_FN_DISPLAY_GRAY8 1116 00525 #define MNG_FN_DISPLAY_GRAY16 1117 00526 #define MNG_FN_DISPLAY_GRAYA8 1118 00527 #define MNG_FN_DISPLAY_GRAYA16 1119 00528 #define MNG_FN_DISPLAY_AGRAY8 1120 00529 #define MNG_FN_DISPLAY_AGRAY16 1121 00530 #define MNG_FN_DISPLAY_DX15 1122 00531 #define MNG_FN_DISPLAY_DX16 1123 00532 #define MNG_FN_DISPLAY_RGB8_A8 1124 00533 #define MNG_FN_DISPLAY_BGRA8PM 1125 00534 00535 /* ************************************************************************** */ 00536 00537 #define MNG_FN_INIT_FULL_CMS 1201 00538 #define MNG_FN_CORRECT_FULL_CMS 1202 00539 #define MNG_FN_INIT_GAMMA_ONLY 1204 00540 #define MNG_FN_CORRECT_GAMMA_ONLY 1205 00541 #define MNG_FN_CORRECT_APP_CMS 1206 00542 #define MNG_FN_INIT_FULL_CMS_OBJ 1207 00543 #define MNG_FN_INIT_GAMMA_ONLY_OBJ 1208 00544 #define MNG_FN_INIT_APP_CMS 1209 00545 #define MNG_FN_INIT_APP_CMS_OBJ 1210 00546 00547 /* ************************************************************************** */ 00548 00549 #define MNG_FN_PROCESS_G1 1301 00550 #define MNG_FN_PROCESS_G2 1302 00551 #define MNG_FN_PROCESS_G4 1303 00552 #define MNG_FN_PROCESS_G8 1304 00553 #define MNG_FN_PROCESS_G16 1305 00554 #define MNG_FN_PROCESS_RGB8 1306 00555 #define MNG_FN_PROCESS_RGB16 1307 00556 #define MNG_FN_PROCESS_IDX1 1308 00557 #define MNG_FN_PROCESS_IDX2 1309 00558 #define MNG_FN_PROCESS_IDX4 1310 00559 #define MNG_FN_PROCESS_IDX8 1311 00560 #define MNG_FN_PROCESS_GA8 1312 00561 #define MNG_FN_PROCESS_GA16 1313 00562 #define MNG_FN_PROCESS_RGBA8 1314 00563 #define MNG_FN_PROCESS_RGBA16 1315 00564 00565 /* ************************************************************************** */ 00566 00567 #define MNG_FN_INIT_G1_NI 1401 00568 #define MNG_FN_INIT_G1_I 1402 00569 #define MNG_FN_INIT_G2_NI 1403 00570 #define MNG_FN_INIT_G2_I 1404 00571 #define MNG_FN_INIT_G4_NI 1405 00572 #define MNG_FN_INIT_G4_I 1406 00573 #define MNG_FN_INIT_G8_NI 1407 00574 #define MNG_FN_INIT_G8_I 1408 00575 #define MNG_FN_INIT_G16_NI 1409 00576 #define MNG_FN_INIT_G16_I 1410 00577 #define MNG_FN_INIT_RGB8_NI 1411 00578 #define MNG_FN_INIT_RGB8_I 1412 00579 #define MNG_FN_INIT_RGB16_NI 1413 00580 #define MNG_FN_INIT_RGB16_I 1414 00581 #define MNG_FN_INIT_IDX1_NI 1415 00582 #define MNG_FN_INIT_IDX1_I 1416 00583 #define MNG_FN_INIT_IDX2_NI 1417 00584 #define MNG_FN_INIT_IDX2_I 1418 00585 #define MNG_FN_INIT_IDX4_NI 1419 00586 #define MNG_FN_INIT_IDX4_I 1420 00587 #define MNG_FN_INIT_IDX8_NI 1421 00588 #define MNG_FN_INIT_IDX8_I 1422 00589 #define MNG_FN_INIT_GA8_NI 1423 00590 #define MNG_FN_INIT_GA8_I 1424 00591 #define MNG_FN_INIT_GA16_NI 1425 00592 #define MNG_FN_INIT_GA16_I 1426 00593 #define MNG_FN_INIT_RGBA8_NI 1427 00594 #define MNG_FN_INIT_RGBA8_I 1428 00595 #define MNG_FN_INIT_RGBA16_NI 1429 00596 #define MNG_FN_INIT_RGBA16_I 1430 00597 00598 #define MNG_FN_INIT_ROWPROC 1497 00599 #define MNG_FN_NEXT_ROW 1498 00600 #define MNG_FN_CLEANUP_ROWPROC 1499 00601 00602 /* ************************************************************************** */ 00603 00604 #define MNG_FN_FILTER_A_ROW 1501 00605 #define MNG_FN_FILTER_SUB 1502 00606 #define MNG_FN_FILTER_UP 1503 00607 #define MNG_FN_FILTER_AVERAGE 1504 00608 #define MNG_FN_FILTER_PAETH 1505 00609 00610 #define MNG_FN_INIT_ROWDIFFERING 1551 00611 #define MNG_FN_DIFFER_G1 1552 00612 #define MNG_FN_DIFFER_G2 1553 00613 #define MNG_FN_DIFFER_G4 1554 00614 #define MNG_FN_DIFFER_G8 1555 00615 #define MNG_FN_DIFFER_G16 1556 00616 #define MNG_FN_DIFFER_RGB8 1557 00617 #define MNG_FN_DIFFER_RGB16 1558 00618 #define MNG_FN_DIFFER_IDX1 1559 00619 #define MNG_FN_DIFFER_IDX2 1560 00620 #define MNG_FN_DIFFER_IDX4 1561 00621 #define MNG_FN_DIFFER_IDX8 1562 00622 #define MNG_FN_DIFFER_GA8 1563 00623 #define MNG_FN_DIFFER_GA16 1564 00624 #define MNG_FN_DIFFER_RGBA8 1565 00625 #define MNG_FN_DIFFER_RGBA16 1566 00626 00627 /* ************************************************************************** */ 00628 00629 #define MNG_FN_CREATE_IMGDATAOBJECT 1601 00630 #define MNG_FN_FREE_IMGDATAOBJECT 1602 00631 #define MNG_FN_CLONE_IMGDATAOBJECT 1603 00632 #define MNG_FN_CREATE_IMGOBJECT 1604 00633 #define MNG_FN_FREE_IMGOBJECT 1605 00634 #define MNG_FN_FIND_IMGOBJECT 1606 00635 #define MNG_FN_CLONE_IMGOBJECT 1607 00636 #define MNG_FN_RESET_OBJECTDETAILS 1608 00637 #define MNG_FN_RENUM_IMGOBJECT 1609 00638 #define MNG_FN_PROMOTE_IMGOBJECT 1610 00639 #define MNG_FN_MAGNIFY_IMGOBJECT 1611 00640 00641 /* ************************************************************************** */ 00642 00643 #define MNG_FN_STORE_G1 1701 00644 #define MNG_FN_STORE_G2 1702 00645 #define MNG_FN_STORE_G4 1703 00646 #define MNG_FN_STORE_G8 1704 00647 #define MNG_FN_STORE_G16 1705 00648 #define MNG_FN_STORE_RGB8 1706 00649 #define MNG_FN_STORE_RGB16 1707 00650 #define MNG_FN_STORE_IDX1 1708 00651 #define MNG_FN_STORE_IDX2 1709 00652 #define MNG_FN_STORE_IDX4 1710 00653 #define MNG_FN_STORE_IDX8 1711 00654 #define MNG_FN_STORE_GA8 1712 00655 #define MNG_FN_STORE_GA16 1713 00656 #define MNG_FN_STORE_RGBA8 1714 00657 #define MNG_FN_STORE_RGBA16 1715 00658 00659 #define MNG_FN_RETRIEVE_G8 1751 00660 #define MNG_FN_RETRIEVE_G16 1752 00661 #define MNG_FN_RETRIEVE_RGB8 1753 00662 #define MNG_FN_RETRIEVE_RGB16 1754 00663 #define MNG_FN_RETRIEVE_IDX8 1755 00664 #define MNG_FN_RETRIEVE_GA8 1756 00665 #define MNG_FN_RETRIEVE_GA16 1757 00666 #define MNG_FN_RETRIEVE_RGBA8 1758 00667 #define MNG_FN_RETRIEVE_RGBA16 1759 00668 00669 #define MNG_FN_DELTA_G1 1771 00670 #define MNG_FN_DELTA_G2 1772 00671 #define MNG_FN_DELTA_G4 1773 00672 #define MNG_FN_DELTA_G8 1774 00673 #define MNG_FN_DELTA_G16 1775 00674 #define MNG_FN_DELTA_RGB8 1776 00675 #define MNG_FN_DELTA_RGB16 1777 00676 #define MNG_FN_DELTA_IDX1 1778 00677 #define MNG_FN_DELTA_IDX2 1779 00678 #define MNG_FN_DELTA_IDX4 1780 00679 #define MNG_FN_DELTA_IDX8 1781 00680 #define MNG_FN_DELTA_GA8 1782 00681 #define MNG_FN_DELTA_GA16 1783 00682 #define MNG_FN_DELTA_RGBA8 1784 00683 #define MNG_FN_DELTA_RGBA16 1785 00684 00685 /* ************************************************************************** */ 00686 00687 #define MNG_FN_CREATE_ANI_LOOP 1801 00688 #define MNG_FN_CREATE_ANI_ENDL 1802 00689 #define MNG_FN_CREATE_ANI_DEFI 1803 00690 #define MNG_FN_CREATE_ANI_BASI 1804 00691 #define MNG_FN_CREATE_ANI_CLON 1805 00692 #define MNG_FN_CREATE_ANI_PAST 1806 00693 #define MNG_FN_CREATE_ANI_DISC 1807 00694 #define MNG_FN_CREATE_ANI_BACK 1808 00695 #define MNG_FN_CREATE_ANI_FRAM 1809 00696 #define MNG_FN_CREATE_ANI_MOVE 1810 00697 #define MNG_FN_CREATE_ANI_CLIP 1811 00698 #define MNG_FN_CREATE_ANI_SHOW 1812 00699 #define MNG_FN_CREATE_ANI_TERM 1813 00700 #define MNG_FN_CREATE_ANI_SAVE 1814 00701 #define MNG_FN_CREATE_ANI_SEEK 1815 00702 #define MNG_FN_CREATE_ANI_GAMA 1816 00703 #define MNG_FN_CREATE_ANI_CHRM 1817 00704 #define MNG_FN_CREATE_ANI_SRGB 1818 00705 #define MNG_FN_CREATE_ANI_ICCP 1819 00706 #define MNG_FN_CREATE_ANI_PLTE 1820 00707 #define MNG_FN_CREATE_ANI_TRNS 1821 00708 #define MNG_FN_CREATE_ANI_BKGD 1822 00709 #define MNG_FN_CREATE_ANI_DHDR 1823 00710 #define MNG_FN_CREATE_ANI_PROM 1824 00711 #define MNG_FN_CREATE_ANI_IPNG 1825 00712 #define MNG_FN_CREATE_ANI_IJNG 1826 00713 #define MNG_FN_CREATE_ANI_PPLT 1827 00714 #define MNG_FN_CREATE_ANI_MAGN 1828 00715 00716 #define MNG_FN_CREATE_ANI_IMAGE 1891 00717 00718 /* ************************************************************************** */ 00719 00720 #define MNG_FN_FREE_ANI_LOOP 1901 00721 #define MNG_FN_FREE_ANI_ENDL 1902 00722 #define MNG_FN_FREE_ANI_DEFI 1903 00723 #define MNG_FN_FREE_ANI_BASI 1904 00724 #define MNG_FN_FREE_ANI_CLON 1905 00725 #define MNG_FN_FREE_ANI_PAST 1906 00726 #define MNG_FN_FREE_ANI_DISC 1907 00727 #define MNG_FN_FREE_ANI_BACK 1908 00728 #define MNG_FN_FREE_ANI_FRAM 1909 00729 #define MNG_FN_FREE_ANI_MOVE 1910 00730 #define MNG_FN_FREE_ANI_CLIP 1911 00731 #define MNG_FN_FREE_ANI_SHOW 1912 00732 #define MNG_FN_FREE_ANI_TERM 1913 00733 #define MNG_FN_FREE_ANI_SAVE 1914 00734 #define MNG_FN_FREE_ANI_SEEK 1915 00735 #define MNG_FN_FREE_ANI_GAMA 1916 00736 #define MNG_FN_FREE_ANI_CHRM 1917 00737 #define MNG_FN_FREE_ANI_SRGB 1918 00738 #define MNG_FN_FREE_ANI_ICCP 1919 00739 #define MNG_FN_FREE_ANI_PLTE 1920 00740 #define MNG_FN_FREE_ANI_TRNS 1921 00741 #define MNG_FN_FREE_ANI_BKGD 1922 00742 #define MNG_FN_FREE_ANI_DHDR 1923 00743 #define MNG_FN_FREE_ANI_PROM 1924 00744 #define MNG_FN_FREE_ANI_IPNG 1925 00745 #define MNG_FN_FREE_ANI_IJNG 1926 00746 #define MNG_FN_FREE_ANI_PPLT 1927 00747 #define MNG_FN_FREE_ANI_MAGN 1928 00748 00749 #define MNG_FN_FREE_ANI_IMAGE 1991 00750 00751 /* ************************************************************************** */ 00752 00753 #define MNG_FN_PROCESS_ANI_LOOP 2001 00754 #define MNG_FN_PROCESS_ANI_ENDL 2002 00755 #define MNG_FN_PROCESS_ANI_DEFI 2003 00756 #define MNG_FN_PROCESS_ANI_BASI 2004 00757 #define MNG_FN_PROCESS_ANI_CLON 2005 00758 #define MNG_FN_PROCESS_ANI_PAST 2006 00759 #define MNG_FN_PROCESS_ANI_DISC 2007 00760 #define MNG_FN_PROCESS_ANI_BACK 2008 00761 #define MNG_FN_PROCESS_ANI_FRAM 2009 00762 #define MNG_FN_PROCESS_ANI_MOVE 2010 00763 #define MNG_FN_PROCESS_ANI_CLIP 2011 00764 #define MNG_FN_PROCESS_ANI_SHOW 2012 00765 #define MNG_FN_PROCESS_ANI_TERM 2013 00766 #define MNG_FN_PROCESS_ANI_SAVE 2014 00767 #define MNG_FN_PROCESS_ANI_SEEK 2015 00768 #define MNG_FN_PROCESS_ANI_GAMA 2016 00769 #define MNG_FN_PROCESS_ANI_CHRM 2017 00770 #define MNG_FN_PROCESS_ANI_SRGB 2018 00771 #define MNG_FN_PROCESS_ANI_ICCP 2019 00772 #define MNG_FN_PROCESS_ANI_PLTE 2020 00773 #define MNG_FN_PROCESS_ANI_TRNS 2021 00774 #define MNG_FN_PROCESS_ANI_BKGD 2022 00775 #define MNG_FN_PROCESS_ANI_DHDR 2023 00776 #define MNG_FN_PROCESS_ANI_PROM 2024 00777 #define MNG_FN_PROCESS_ANI_IPNG 2025 00778 #define MNG_FN_PROCESS_ANI_IJNG 2026 00779 #define MNG_FN_PROCESS_ANI_PPLT 2027 00780 #define MNG_FN_PROCESS_ANI_MAGN 2028 00781 00782 #define MNG_FN_PROCESS_ANI_IMAGE 2091 00783 00784 /* ************************************************************************** */ 00785 00786 #define MNG_FN_RESTORE_BACKIMAGE 2101 00787 #define MNG_FN_RESTORE_BACKCOLOR 2102 00788 #define MNG_FN_RESTORE_BGCOLOR 2103 00789 #define MNG_FN_RESTORE_RGB8 2104 00790 #define MNG_FN_RESTORE_BGR8 2105 00791 #define MNG_FN_RESTORE_BKGD 2106 00792 00793 /* ************************************************************************** */ 00794 00795 #define MNG_FN_INIT_IHDR 2201 00796 #define MNG_FN_INIT_PLTE 2202 00797 #define MNG_FN_INIT_IDAT 2203 00798 #define MNG_FN_INIT_IEND 2204 00799 #define MNG_FN_INIT_TRNS 2205 00800 #define MNG_FN_INIT_GAMA 2206 00801 #define MNG_FN_INIT_CHRM 2207 00802 #define MNG_FN_INIT_SRGB 2208 00803 #define MNG_FN_INIT_ICCP 2209 00804 #define MNG_FN_INIT_TEXT 2210 00805 #define MNG_FN_INIT_ZTXT 2211 00806 #define MNG_FN_INIT_ITXT 2212 00807 #define MNG_FN_INIT_BKGD 2213 00808 #define MNG_FN_INIT_PHYS 2214 00809 #define MNG_FN_INIT_SBIT 2215 00810 #define MNG_FN_INIT_SPLT 2216 00811 #define MNG_FN_INIT_HIST 2217 00812 #define MNG_FN_INIT_TIME 2218 00813 #define MNG_FN_INIT_MHDR 2219 00814 #define MNG_FN_INIT_MEND 2220 00815 #define MNG_FN_INIT_LOOP 2221 00816 #define MNG_FN_INIT_ENDL 2222 00817 #define MNG_FN_INIT_DEFI 2223 00818 #define MNG_FN_INIT_BASI 2224 00819 #define MNG_FN_INIT_CLON 2225 00820 #define MNG_FN_INIT_PAST 2226 00821 #define MNG_FN_INIT_DISC 2227 00822 #define MNG_FN_INIT_BACK 2228 00823 #define MNG_FN_INIT_FRAM 2229 00824 #define MNG_FN_INIT_MOVE 2230 00825 #define MNG_FN_INIT_CLIP 2231 00826 #define MNG_FN_INIT_SHOW 2232 00827 #define MNG_FN_INIT_TERM 2233 00828 #define MNG_FN_INIT_SAVE 2234 00829 #define MNG_FN_INIT_SEEK 2235 00830 #define MNG_FN_INIT_EXPI 2236 00831 #define MNG_FN_INIT_FPRI 2237 00832 #define MNG_FN_INIT_NEED 2238 00833 #define MNG_FN_INIT_PHYG 2239 00834 #define MNG_FN_INIT_JHDR 2240 00835 #define MNG_FN_INIT_JDAT 2241 00836 #define MNG_FN_INIT_JSEP 2242 00837 #define MNG_FN_INIT_DHDR 2243 00838 #define MNG_FN_INIT_PROM 2244 00839 #define MNG_FN_INIT_IPNG 2245 00840 #define MNG_FN_INIT_PPLT 2246 00841 #define MNG_FN_INIT_IJNG 2247 00842 #define MNG_FN_INIT_DROP 2248 00843 #define MNG_FN_INIT_DBYK 2249 00844 #define MNG_FN_INIT_ORDR 2250 00845 #define MNG_FN_INIT_UNKNOWN 2251 00846 #define MNG_FN_INIT_MAGN 2252 00847 #define MNG_FN_INIT_JDAA 2253 00848 00849 /* ************************************************************************** */ 00850 00851 #define MNG_FN_FREE_IHDR 2401 00852 #define MNG_FN_FREE_PLTE 2402 00853 #define MNG_FN_FREE_IDAT 2403 00854 #define MNG_FN_FREE_IEND 2404 00855 #define MNG_FN_FREE_TRNS 2405 00856 #define MNG_FN_FREE_GAMA 2406 00857 #define MNG_FN_FREE_CHRM 2407 00858 #define MNG_FN_FREE_SRGB 2408 00859 #define MNG_FN_FREE_ICCP 2409 00860 #define MNG_FN_FREE_TEXT 2410 00861 #define MNG_FN_FREE_ZTXT 2411 00862 #define MNG_FN_FREE_ITXT 2412 00863 #define MNG_FN_FREE_BKGD 2413 00864 #define MNG_FN_FREE_PHYS 2414 00865 #define MNG_FN_FREE_SBIT 2415 00866 #define MNG_FN_FREE_SPLT 2416 00867 #define MNG_FN_FREE_HIST 2417 00868 #define MNG_FN_FREE_TIME 2418 00869 #define MNG_FN_FREE_MHDR 2419 00870 #define MNG_FN_FREE_MEND 2420 00871 #define MNG_FN_FREE_LOOP 2421 00872 #define MNG_FN_FREE_ENDL 2422 00873 #define MNG_FN_FREE_DEFI 2423 00874 #define MNG_FN_FREE_BASI 2424 00875 #define MNG_FN_FREE_CLON 2425 00876 #define MNG_FN_FREE_PAST 2426 00877 #define MNG_FN_FREE_DISC 2427 00878 #define MNG_FN_FREE_BACK 2428 00879 #define MNG_FN_FREE_FRAM 2429 00880 #define MNG_FN_FREE_MOVE 2430 00881 #define MNG_FN_FREE_CLIP 2431 00882 #define MNG_FN_FREE_SHOW 2432 00883 #define MNG_FN_FREE_TERM 2433 00884 #define MNG_FN_FREE_SAVE 2434 00885 #define MNG_FN_FREE_SEEK 2435 00886 #define MNG_FN_FREE_EXPI 2436 00887 #define MNG_FN_FREE_FPRI 2437 00888 #define MNG_FN_FREE_NEED 2438 00889 #define MNG_FN_FREE_PHYG 2439 00890 #define MNG_FN_FREE_JHDR 2440 00891 #define MNG_FN_FREE_JDAT 2441 00892 #define MNG_FN_FREE_JSEP 2442 00893 #define MNG_FN_FREE_DHDR 2443 00894 #define MNG_FN_FREE_PROM 2444 00895 #define MNG_FN_FREE_IPNG 2445 00896 #define MNG_FN_FREE_PPLT 2446 00897 #define MNG_FN_FREE_IJNG 2447 00898 #define MNG_FN_FREE_DROP 2448 00899 #define MNG_FN_FREE_DBYK 2449 00900 #define MNG_FN_FREE_ORDR 2450 00901 #define MNG_FN_FREE_UNKNOWN 2451 00902 #define MNG_FN_FREE_MAGN 2452 00903 #define MNG_FN_FREE_JDAA 2453 00904 00905 /* ************************************************************************** */ 00906 00907 #define MNG_FN_READ_IHDR 2601 00908 #define MNG_FN_READ_PLTE 2602 00909 #define MNG_FN_READ_IDAT 2603 00910 #define MNG_FN_READ_IEND 2604 00911 #define MNG_FN_READ_TRNS 2605 00912 #define MNG_FN_READ_GAMA 2606 00913 #define MNG_FN_READ_CHRM 2607 00914 #define MNG_FN_READ_SRGB 2608 00915 #define MNG_FN_READ_ICCP 2609 00916 #define MNG_FN_READ_TEXT 2610 00917 #define MNG_FN_READ_ZTXT 2611 00918 #define MNG_FN_READ_ITXT 2612 00919 #define MNG_FN_READ_BKGD 2613 00920 #define MNG_FN_READ_PHYS 2614 00921 #define MNG_FN_READ_SBIT 2615 00922 #define MNG_FN_READ_SPLT 2616 00923 #define MNG_FN_READ_HIST 2617 00924 #define MNG_FN_READ_TIME 2618 00925 #define MNG_FN_READ_MHDR 2619 00926 #define MNG_FN_READ_MEND 2620 00927 #define MNG_FN_READ_LOOP 2621 00928 #define MNG_FN_READ_ENDL 2622 00929 #define MNG_FN_READ_DEFI 2623 00930 #define MNG_FN_READ_BASI 2624 00931 #define MNG_FN_READ_CLON 2625 00932 #define MNG_FN_READ_PAST 2626 00933 #define MNG_FN_READ_DISC 2627 00934 #define MNG_FN_READ_BACK 2628 00935 #define MNG_FN_READ_FRAM 2629 00936 #define MNG_FN_READ_MOVE 2630 00937 #define MNG_FN_READ_CLIP 2631 00938 #define MNG_FN_READ_SHOW 2632 00939 #define MNG_FN_READ_TERM 2633 00940 #define MNG_FN_READ_SAVE 2634 00941 #define MNG_FN_READ_SEEK 2635 00942 #define MNG_FN_READ_EXPI 2636 00943 #define MNG_FN_READ_FPRI 2637 00944 #define MNG_FN_READ_NEED 2638 00945 #define MNG_FN_READ_PHYG 2639 00946 #define MNG_FN_READ_JHDR 2640 00947 #define MNG_FN_READ_JDAT 2641 00948 #define MNG_FN_READ_JSEP 2642 00949 #define MNG_FN_READ_DHDR 2643 00950 #define MNG_FN_READ_PROM 2644 00951 #define MNG_FN_READ_IPNG 2645 00952 #define MNG_FN_READ_PPLT 2646 00953 #define MNG_FN_READ_IJNG 2647 00954 #define MNG_FN_READ_DROP 2648 00955 #define MNG_FN_READ_DBYK 2649 00956 #define MNG_FN_READ_ORDR 2650 00957 #define MNG_FN_READ_UNKNOWN 2651 00958 #define MNG_FN_READ_MAGN 2652 00959 #define MNG_FN_READ_JDAA 2653 00960 00961 /* ************************************************************************** */ 00962 00963 #define MNG_FN_WRITE_IHDR 2801 00964 #define MNG_FN_WRITE_PLTE 2802 00965 #define MNG_FN_WRITE_IDAT 2803 00966 #define MNG_FN_WRITE_IEND 2804 00967 #define MNG_FN_WRITE_TRNS 2805 00968 #define MNG_FN_WRITE_GAMA 2806 00969 #define MNG_FN_WRITE_CHRM 2807 00970 #define MNG_FN_WRITE_SRGB 2808 00971 #define MNG_FN_WRITE_ICCP 2809 00972 #define MNG_FN_WRITE_TEXT 2810 00973 #define MNG_FN_WRITE_ZTXT 2811 00974 #define MNG_FN_WRITE_ITXT 2812 00975 #define MNG_FN_WRITE_BKGD 2813 00976 #define MNG_FN_WRITE_PHYS 2814 00977 #define MNG_FN_WRITE_SBIT 2815 00978 #define MNG_FN_WRITE_SPLT 2816 00979 #define MNG_FN_WRITE_HIST 2817 00980 #define MNG_FN_WRITE_TIME 2818 00981 #define MNG_FN_WRITE_MHDR 2819 00982 #define MNG_FN_WRITE_MEND 2820 00983 #define MNG_FN_WRITE_LOOP 2821 00984 #define MNG_FN_WRITE_ENDL 2822 00985 #define MNG_FN_WRITE_DEFI 2823 00986 #define MNG_FN_WRITE_BASI 2824 00987 #define MNG_FN_WRITE_CLON 2825 00988 #define MNG_FN_WRITE_PAST 2826 00989 #define MNG_FN_WRITE_DISC 2827 00990 #define MNG_FN_WRITE_BACK 2828 00991 #define MNG_FN_WRITE_FRAM 2829 00992 #define MNG_FN_WRITE_MOVE 2830 00993 #define MNG_FN_WRITE_CLIP 2831 00994 #define MNG_FN_WRITE_SHOW 2832 00995 #define MNG_FN_WRITE_TERM 2833 00996 #define MNG_FN_WRITE_SAVE 2834 00997 #define MNG_FN_WRITE_SEEK 2835 00998 #define MNG_FN_WRITE_EXPI 2836 00999 #define MNG_FN_WRITE_FPRI 2837 01000 #define MNG_FN_WRITE_NEED 2838 01001 #define MNG_FN_WRITE_PHYG 2839 01002 #define MNG_FN_WRITE_JHDR 2840 01003 #define MNG_FN_WRITE_JDAT 2841 01004 #define MNG_FN_WRITE_JSEP 2842 01005 #define MNG_FN_WRITE_DHDR 2843 01006 #define MNG_FN_WRITE_PROM 2844 01007 #define MNG_FN_WRITE_IPNG 2845 01008 #define MNG_FN_WRITE_PPLT 2846 01009 #define MNG_FN_WRITE_IJNG 2847 01010 #define MNG_FN_WRITE_DROP 2848 01011 #define MNG_FN_WRITE_DBYK 2849 01012 #define MNG_FN_WRITE_ORDR 2850 01013 #define MNG_FN_WRITE_UNKNOWN 2851 01014 #define MNG_FN_WRITE_MAGN 2852 01015 #define MNG_FN_WRITE_JDAA 2853 01016 01017 /* ************************************************************************** */ 01018 01019 #define MNG_FN_ZLIB_INITIALIZE 3001 01020 #define MNG_FN_ZLIB_CLEANUP 3002 01021 #define MNG_FN_ZLIB_INFLATEINIT 3003 01022 #define MNG_FN_ZLIB_INFLATEROWS 3004 01023 #define MNG_FN_ZLIB_INFLATEDATA 3005 01024 #define MNG_FN_ZLIB_INFLATEFREE 3006 01025 #define MNG_FN_ZLIB_DEFLATEINIT 3007 01026 #define MNG_FN_ZLIB_DEFLATEROWS 3008 01027 #define MNG_FN_ZLIB_DEFLATEDATA 3009 01028 #define MNG_FN_ZLIB_DEFLATEFREE 3010 01029 01030 /* ************************************************************************** */ 01031 01032 #define MNG_FN_PROCESS_DISPLAY_IHDR 3201 01033 #define MNG_FN_PROCESS_DISPLAY_PLTE 3202 01034 #define MNG_FN_PROCESS_DISPLAY_IDAT 3203 01035 #define MNG_FN_PROCESS_DISPLAY_IEND 3204 01036 #define MNG_FN_PROCESS_DISPLAY_TRNS 3205 01037 #define MNG_FN_PROCESS_DISPLAY_GAMA 3206 01038 #define MNG_FN_PROCESS_DISPLAY_CHRM 3207 01039 #define MNG_FN_PROCESS_DISPLAY_SRGB 3208 01040 #define MNG_FN_PROCESS_DISPLAY_ICCP 3209 01041 #define MNG_FN_PROCESS_DISPLAY_BKGD 3210 01042 #define MNG_FN_PROCESS_DISPLAY_PHYS 3211 01043 #define MNG_FN_PROCESS_DISPLAY_SBIT 3212 01044 #define MNG_FN_PROCESS_DISPLAY_SPLT 3213 01045 #define MNG_FN_PROCESS_DISPLAY_HIST 3214 01046 #define MNG_FN_PROCESS_DISPLAY_MHDR 3215 01047 #define MNG_FN_PROCESS_DISPLAY_MEND 3216 01048 #define MNG_FN_PROCESS_DISPLAY_LOOP 3217 01049 #define MNG_FN_PROCESS_DISPLAY_ENDL 3218 01050 #define MNG_FN_PROCESS_DISPLAY_DEFI 3219 01051 #define MNG_FN_PROCESS_DISPLAY_BASI 3220 01052 #define MNG_FN_PROCESS_DISPLAY_CLON 3221 01053 #define MNG_FN_PROCESS_DISPLAY_PAST 3222 01054 #define MNG_FN_PROCESS_DISPLAY_DISC 3223 01055 #define MNG_FN_PROCESS_DISPLAY_BACK 3224 01056 #define MNG_FN_PROCESS_DISPLAY_FRAM 3225 01057 #define MNG_FN_PROCESS_DISPLAY_MOVE 3226 01058 #define MNG_FN_PROCESS_DISPLAY_CLIP 3227 01059 #define MNG_FN_PROCESS_DISPLAY_SHOW 3228 01060 #define MNG_FN_PROCESS_DISPLAY_TERM 3229 01061 #define MNG_FN_PROCESS_DISPLAY_SAVE 3230 01062 #define MNG_FN_PROCESS_DISPLAY_SEEK 3231 01063 #define MNG_FN_PROCESS_DISPLAY_EXPI 3232 01064 #define MNG_FN_PROCESS_DISPLAY_FPRI 3233 01065 #define MNG_FN_PROCESS_DISPLAY_NEED 3234 01066 #define MNG_FN_PROCESS_DISPLAY_PHYG 3235 01067 #define MNG_FN_PROCESS_DISPLAY_JHDR 3236 01068 #define MNG_FN_PROCESS_DISPLAY_JDAT 3237 01069 #define MNG_FN_PROCESS_DISPLAY_JSEP 3238 01070 #define MNG_FN_PROCESS_DISPLAY_DHDR 3239 01071 #define MNG_FN_PROCESS_DISPLAY_PROM 3240 01072 #define MNG_FN_PROCESS_DISPLAY_IPNG 3241 01073 #define MNG_FN_PROCESS_DISPLAY_PPLT 3242 01074 #define MNG_FN_PROCESS_DISPLAY_IJNG 3243 01075 #define MNG_FN_PROCESS_DISPLAY_DROP 3244 01076 #define MNG_FN_PROCESS_DISPLAY_DBYK 3245 01077 #define MNG_FN_PROCESS_DISPLAY_ORDR 3246 01078 #define MNG_FN_PROCESS_DISPLAY_MAGN 3247 01079 #define MNG_FN_PROCESS_DISPLAY_JDAA 3248 01080 01081 /* ************************************************************************** */ 01082 01083 #define MNG_FN_JPEG_INITIALIZE 3401 01084 #define MNG_FN_JPEG_CLEANUP 3402 01085 #define MNG_FN_JPEG_DECOMPRESSINIT 3403 01086 #define MNG_FN_JPEG_DECOMPRESSDATA 3404 01087 #define MNG_FN_JPEG_DECOMPRESSFREE 3405 01088 01089 #define MNG_FN_STORE_JPEG_G8 3501 01090 #define MNG_FN_STORE_JPEG_RGB8 3502 01091 #define MNG_FN_STORE_JPEG_G12 3503 01092 #define MNG_FN_STORE_JPEG_RGB12 3504 01093 #define MNG_FN_STORE_JPEG_GA8 3505 01094 #define MNG_FN_STORE_JPEG_RGBA8 3506 01095 #define MNG_FN_STORE_JPEG_GA12 3507 01096 #define MNG_FN_STORE_JPEG_RGBA12 3508 01097 #define MNG_FN_STORE_JPEG_G8_ALPHA 3509 01098 #define MNG_FN_STORE_JPEG_RGB8_ALPHA 3510 01099 01100 #define MNG_FN_INIT_JPEG_A1_NI 3511 01101 #define MNG_FN_INIT_JPEG_A2_NI 3512 01102 #define MNG_FN_INIT_JPEG_A4_NI 3513 01103 #define MNG_FN_INIT_JPEG_A8_NI 3514 01104 #define MNG_FN_INIT_JPEG_A16_NI 3515 01105 01106 #define MNG_FN_STORE_JPEG_G8_A1 3521 01107 #define MNG_FN_STORE_JPEG_G8_A2 3522 01108 #define MNG_FN_STORE_JPEG_G8_A4 3523 01109 #define MNG_FN_STORE_JPEG_G8_A8 3524 01110 #define MNG_FN_STORE_JPEG_G8_A16 3525 01111 01112 #define MNG_FN_STORE_JPEG_RGB8_A1 3531 01113 #define MNG_FN_STORE_JPEG_RGB8_A2 3532 01114 #define MNG_FN_STORE_JPEG_RGB8_A4 3533 01115 #define MNG_FN_STORE_JPEG_RGB8_A8 3534 01116 #define MNG_FN_STORE_JPEG_RGB8_A16 3535 01117 01118 #define MNG_FN_STORE_JPEG_G12_A1 3541 01119 #define MNG_FN_STORE_JPEG_G12_A2 3542 01120 #define MNG_FN_STORE_JPEG_G12_A4 3543 01121 #define MNG_FN_STORE_JPEG_G12_A8 3544 01122 #define MNG_FN_STORE_JPEG_G12_A16 3545 01123 01124 #define MNG_FN_STORE_JPEG_RGB12_A1 3551 01125 #define MNG_FN_STORE_JPEG_RGB12_A2 3552 01126 #define MNG_FN_STORE_JPEG_RGB12_A4 3553 01127 #define MNG_FN_STORE_JPEG_RGB12_A8 3554 01128 #define MNG_FN_STORE_JPEG_RGB12_A16 3555 01129 01130 #define MNG_FN_NEXT_JPEG_ALPHAROW 3591 01131 #define MNG_FN_NEXT_JPEG_ROW 3592 01132 #define MNG_FN_DISPLAY_JPEG_ROWS 3593 01133 01134 /* ************************************************************************** */ 01135 01136 #define MNG_FN_MAGNIFY_G8_X1 3701 01137 #define MNG_FN_MAGNIFY_G8_X2 3702 01138 #define MNG_FN_MAGNIFY_RGB8_X1 3703 01139 #define MNG_FN_MAGNIFY_RGB8_X2 3704 01140 #define MNG_FN_MAGNIFY_GA8_X1 3705 01141 #define MNG_FN_MAGNIFY_GA8_X2 3706 01142 #define MNG_FN_MAGNIFY_GA8_X3 3707 01143 #define MNG_FN_MAGNIFY_GA8_X4 3708 01144 #define MNG_FN_MAGNIFY_RGBA8_X1 3709 01145 #define MNG_FN_MAGNIFY_RGBA8_X2 3710 01146 #define MNG_FN_MAGNIFY_RGBA8_X3 3711 01147 #define MNG_FN_MAGNIFY_RGBA8_X4 3712 01148 #define MNG_FN_MAGNIFY_G8_X3 3713 01149 #define MNG_FN_MAGNIFY_RGB8_X3 3714 01150 #define MNG_FN_MAGNIFY_GA8_X5 3715 01151 #define MNG_FN_MAGNIFY_RGBA8_X5 3716 01152 01153 #define MNG_FN_MAGNIFY_G8_Y1 3751 01154 #define MNG_FN_MAGNIFY_G8_Y2 3752 01155 #define MNG_FN_MAGNIFY_RGB8_Y1 3753 01156 #define MNG_FN_MAGNIFY_RGB8_Y2 3754 01157 #define MNG_FN_MAGNIFY_GA8_Y1 3755 01158 #define MNG_FN_MAGNIFY_GA8_Y2 3756 01159 #define MNG_FN_MAGNIFY_GA8_Y3 3757 01160 #define MNG_FN_MAGNIFY_GA8_Y4 3758 01161 #define MNG_FN_MAGNIFY_RGBA8_Y1 3759 01162 #define MNG_FN_MAGNIFY_RGBA8_Y2 3760 01163 #define MNG_FN_MAGNIFY_RGBA8_Y3 3761 01164 #define MNG_FN_MAGNIFY_RGBA8_Y4 3762 01165 #define MNG_FN_MAGNIFY_G8_Y3 3763 01166 #define MNG_FN_MAGNIFY_RGB8_Y3 3764 01167 #define MNG_FN_MAGNIFY_GA8_Y5 3765 01168 #define MNG_FN_MAGNIFY_RGBA8_Y5 3766 01169 01170 /* ************************************************************************** */ 01171 01172 #define MNG_FN_DELTA_G1_G1 3801 01173 #define MNG_FN_DELTA_G2_G2 3802 01174 #define MNG_FN_DELTA_G4_G4 3803 01175 #define MNG_FN_DELTA_G8_G8 3804 01176 #define MNG_FN_DELTA_G16_G16 3805 01177 #define MNG_FN_DELTA_RGB8_RGB8 3806 01178 #define MNG_FN_DELTA_RGB16_RGB16 3807 01179 #define MNG_FN_DELTA_GA8_GA8 3808 01180 #define MNG_FN_DELTA_GA8_G8 3809 01181 #define MNG_FN_DELTA_GA8_A8 3810 01182 #define MNG_FN_DELTA_GA16_GA16 3811 01183 #define MNG_FN_DELTA_GA16_G16 3812 01184 #define MNG_FN_DELTA_GA16_A16 3813 01185 #define MNG_FN_DELTA_RGBA8_RGBA8 3814 01186 #define MNG_FN_DELTA_RGBA8_RGB8 3815 01187 #define MNG_FN_DELTA_RGBA8_A8 3816 01188 #define MNG_FN_DELTA_RGBA16_RGBA16 3817 01189 #define MNG_FN_DELTA_RGBA16_RGB16 3818 01190 #define MNG_FN_DELTA_RGBA16_A16 3819 01191 01192 /* ************************************************************************** */ 01193 /* * * */ 01194 /* * Trace string-table entry * */ 01195 /* * * */ 01196 /* ************************************************************************** */ 01197 01198 typedef struct { 01199 mng_uint32 iFunction; 01200 mng_pchar zTracetext; 01201 } mng_trace_entry; 01202 typedef mng_trace_entry * mng_trace_entryp; 01203 01204 /* ************************************************************************** */ 01205 01206 #endif /* MNG_INCLUDE_TRACE_PROCS */ 01207 01208 /* ************************************************************************** */ 01209 01210 #endif /* _libmng_trace_h_ */ 01211 01212 /* ************************************************************************** */ 01213 /* * end of file * */ 01214 /* ************************************************************************** */ 01215