PageRenderTime 51ms CodeModel.GetById 14ms app.highlight 33ms RepoModel.GetById 1ms app.codeStats 0ms

/src/FreeImage/Source/LibMNG/libmng_object_prc.h

https://bitbucket.org/cabalistic/ogredeps/
C++ Header | 690 lines | 531 code | 74 blank | 85 comment | 1 complexity | b24a859e8377e39afe26109505e52d09 MD5 | raw file
  1/* ************************************************************************** */
  2/* *             For conditions of distribution and use,                    * */
  3/* *                see copyright notice in libmng.h                        * */
  4/* ************************************************************************** */
  5/* *                                                                        * */
  6/* * project   : libmng                                                     * */
  7/* * file      : libmng_object_prc.h       copyright (c) 2000-2007 G.Juyn   * */
  8/* * version   : 1.0.10                                                     * */
  9/* *                                                                        * */
 10/* * purpose   : Object processing routines (definition)                    * */
 11/* *                                                                        * */
 12/* * author    : G.Juyn                                                     * */
 13/* *                                                                        * */
 14/* * comment   : Definition of the internal object processing routines      * */
 15/* *                                                                        * */
 16/* * changes   : 0.5.1 - 05/08/2000 - G.Juyn                                * */
 17/* *             - changed strict-ANSI stuff                                * */
 18/* *                                                                        * */
 19/* *             0.5.2 - 05/24/2000 - G.Juyn                                * */
 20/* *             - added support for global color-chunks in animation       * */
 21/* *             - added support for global PLTE,tRNS,bKGD in animation     * */
 22/* *             - added SAVE & SEEK animation objects                      * */
 23/* *             0.5.2 - 05/29/2000 - G.Juyn                                * */
 24/* *             - changed ani_object create routines not to return the     * */
 25/* *               created object (wasn't necessary)                        * */
 26/* *             - added compression/filter/interlace fields to             * */
 27/* *               object-buffer for delta-image processing                 * */
 28/* *                                                                        * */
 29/* *             0.5.3 - 06/22/2000 - G.Juyn                                * */
 30/* *             - added support for PPLT chunk                             * */
 31/* *                                                                        * */
 32/* *             0.9.2 - 08/05/2000 - G.Juyn                                * */
 33/* *             - changed file-prefixes                                    * */
 34/* *                                                                        * */
 35/* *             0.9.3 - 08/26/2000 - G.Juyn                                * */
 36/* *             - added MAGN chunk                                         * */
 37/* *             0.9.3 - 10/17/2000 - G.Juyn                                * */
 38/* *             - added routine to discard "invalid" objects               * */
 39/* *                                                                        * */
 40/* *             1.0.5 - 08/19/2002 - G.Juyn                                * */
 41/* *             - B597134 - libmng pollutes the linker namespace           * */
 42/* *             1.0.5 - 09/13/2002 - G.Juyn                                * */
 43/* *             - fixed read/write of MAGN chunk                           * */
 44/* *             1.0.5 - 09/15/2002 - G.Juyn                                * */
 45/* *             - added event handling for dynamic MNG                     * */
 46/* *             1.0.5 - 09/20/2002 - G.Juyn                                * */
 47/* *             - added support for PAST                                   * */
 48/* *             1.0.5 - 09/23/2002 - G.Juyn                                * */
 49/* *             - added in-memory color-correction of abstract images      * */
 50/* *             1.0.5 - 10/07/2002 - G.Juyn                                * */
 51/* *             - fixed DISC support                                       * */
 52/* *                                                                        * */
 53/* *             1.0.6 - 07/07/2003 - G.R-P                                 * */
 54/* *             - added conditionals around Delta-PNG code                 * */
 55/* *             - added SKIPCHUNK feature                                  * */
 56/* *             1.0.6 - 07/29/2003 - G.R-P                                 * */
 57/* *             - added conditionals around PAST chunk support             * */
 58/* *                                                                        * */
 59/* *             1.0.7 - 03/24/2004 - G.R-P                                 * */
 60/* *             - added more SKIPCHUNK conditionals                        * */
 61/* *                                                                        * */
 62/* *             1.0.9 - 12/05/2004 - G.Juyn                                * */
 63/* *             - added conditional MNG_OPTIMIZE_OBJCLEANUP                * */
 64/* *                                                                        * */
 65/* *             1.0.10 - 04/08/2007 - G.Juyn                               * */
 66/* *             - added support for mPNG proposal                          * */
 67/* *             1.0.10 - 04/12/2007 - G.Juyn                               * */
 68/* *             - added support for ANG proposal                           * */
 69/* *                                                                        * */
 70/* ************************************************************************** */
 71
 72#if defined(__BORLANDC__) && defined(MNG_STRICT_ANSI)
 73#pragma option -A                      /* force ANSI-C */
 74#endif
 75
 76#ifndef _libmng_object_prc_h_
 77#define _libmng_object_prc_h_
 78
 79/* ************************************************************************** */
 80
 81#ifdef MNG_INCLUDE_DISPLAY_PROCS
 82
 83/* ************************************************************************** */
 84
 85mng_retcode mng_drop_invalid_objects   (mng_datap      pData);
 86
 87/* ************************************************************************** */
 88
 89mng_retcode mng_create_imagedataobject (mng_datap      pData,
 90                                        mng_bool       bConcrete,
 91                                        mng_bool       bViewable,
 92                                        mng_uint32     iWidth,
 93                                        mng_uint32     iHeight,
 94                                        mng_uint8      iBitdepth,
 95                                        mng_uint8      iColortype,
 96                                        mng_uint8      iCompression,
 97                                        mng_uint8      iFilter,
 98                                        mng_uint8      iInterlace,
 99                                        mng_imagedatap *ppObject);
100
101mng_retcode mng_free_imagedataobject   (mng_datap      pData,
102                                        mng_imagedatap pImagedata);
103
104mng_retcode mng_clone_imagedataobject  (mng_datap      pData,
105                                        mng_bool       bConcrete,
106                                        mng_imagedatap pSource,
107                                        mng_imagedatap *ppClone);
108
109/* ************************************************************************** */
110
111mng_retcode mng_create_imageobject   (mng_datap  pData,
112                                      mng_uint16 iId,
113                                      mng_bool   bConcrete,
114                                      mng_bool   bVisible,
115                                      mng_bool   bViewable,
116                                      mng_uint32 iWidth,
117                                      mng_uint32 iHeight,
118                                      mng_uint8  iBitdepth,
119                                      mng_uint8  iColortype,
120                                      mng_uint8  iCompression,
121                                      mng_uint8  iFilter,
122                                      mng_uint8  iInterlace,
123                                      mng_int32  iPosx,
124                                      mng_int32  iPosy,
125                                      mng_bool   bClipped,
126                                      mng_int32  iClipl,
127                                      mng_int32  iClipr,
128                                      mng_int32  iClipt,
129                                      mng_int32  iClipb,
130                                      mng_imagep *ppObject);
131
132mng_retcode mng_free_imageobject     (mng_datap  pData,
133                                      mng_imagep pImage);
134
135mng_imagep  mng_find_imageobject     (mng_datap  pData,
136                                      mng_uint16 iId);
137
138mng_retcode mng_clone_imageobject    (mng_datap  pData,
139                                      mng_uint16 iId,
140                                      mng_bool   bPartial,
141                                      mng_bool   bVisible,
142                                      mng_bool   bAbstract,
143                                      mng_bool   bHasloca,
144                                      mng_uint8  iLocationtype,
145                                      mng_int32  iLocationx,
146                                      mng_int32  iLocationy,
147                                      mng_imagep pSource,
148                                      mng_imagep *ppClone);
149
150mng_retcode mng_renum_imageobject    (mng_datap  pData,
151                                      mng_imagep pSource,
152                                      mng_uint16 iId,
153                                      mng_bool   bVisible,
154                                      mng_bool   bAbstract,
155                                      mng_bool   bHasloca,
156                                      mng_uint8  iLocationtype,
157                                      mng_int32  iLocationx,
158                                      mng_int32  iLocationy);
159
160mng_retcode mng_reset_object_details (mng_datap  pData,
161                                      mng_imagep pImage,
162                                      mng_uint32 iWidth,
163                                      mng_uint32 iHeight,
164                                      mng_uint8  iBitdepth,
165                                      mng_uint8  iColortype,
166                                      mng_uint8  iCompression,
167                                      mng_uint8  iFilter,
168                                      mng_uint8  iInterlace,
169                                      mng_bool   bResetall);
170
171mng_retcode mng_promote_imageobject  (mng_datap  pData,
172                                      mng_imagep pImage,
173                                      mng_uint8  iBitdepth,
174                                      mng_uint8  iColortype,
175                                      mng_uint8  iFilltype);
176
177mng_retcode mng_magnify_imageobject  (mng_datap  pData,
178                                      mng_imagep pImage);
179
180mng_retcode mng_colorcorrect_object  (mng_datap  pData,
181                                      mng_imagep pImage);
182
183/* ************************************************************************** */
184
185mng_retcode mng_create_ani_image  (mng_datap      pData);
186
187#ifndef MNG_OPTIMIZE_CHUNKREADER
188
189mng_retcode mng_create_ani_plte   (mng_datap      pData,
190                                   mng_uint32     iEntrycount,
191                                   mng_palette8ep paEntries);
192
193mng_retcode mng_create_ani_trns   (mng_datap      pData,
194                                   mng_uint32     iRawlen,
195                                   mng_uint8p     pRawdata);
196
197mng_retcode mng_create_ani_gama   (mng_datap      pData,
198                                   mng_bool       bEmpty,
199                                   mng_uint32     iGamma);
200
201mng_retcode mng_create_ani_chrm   (mng_datap      pData,
202                                   mng_bool       bEmpty,
203                                   mng_uint32     iWhitepointx,
204                                   mng_uint32     iWhitepointy,
205                                   mng_uint32     iRedx,
206                                   mng_uint32     iRedy,
207                                   mng_uint32     iGreenx,
208                                   mng_uint32     iGreeny,
209                                   mng_uint32     iBluex,
210                                   mng_uint32     iBluey);
211
212mng_retcode mng_create_ani_srgb   (mng_datap      pData,
213                                   mng_bool       bEmpty,
214                                   mng_uint8      iRenderinginent);
215
216mng_retcode mng_create_ani_iccp   (mng_datap      pData,
217                                   mng_bool       bEmpty,
218                                   mng_uint32     iProfilesize,
219                                   mng_ptr        pProfile);
220
221mng_retcode mng_create_ani_bkgd   (mng_datap      pData,
222                                   mng_uint16     iRed,
223                                   mng_uint16     iGreen,
224                                   mng_uint16     iBlue);
225
226mng_retcode mng_create_ani_loop   (mng_datap      pData,
227                                   mng_uint8      iLevel,
228                                   mng_uint32     iRepeatcount,
229                                   mng_uint8      iTermcond,
230                                   mng_uint32     iItermin,
231                                   mng_uint32     iItermax,
232                                   mng_uint32     iCount,
233                                   mng_uint32p    pSignals);
234
235mng_retcode mng_create_ani_endl   (mng_datap      pData,
236                                   mng_uint8      iLevel);
237
238mng_retcode mng_create_ani_defi   (mng_datap      pData);
239
240mng_retcode mng_create_ani_basi   (mng_datap      pData,
241                                   mng_uint16     iRed,
242                                   mng_uint16     iGreen,
243                                   mng_uint16     iBlue,
244                                   mng_bool       bHasalpha,
245                                   mng_uint16     iAlpha,
246                                   mng_uint8      iViewable);
247
248mng_retcode mng_create_ani_clon   (mng_datap      pData,
249                                   mng_uint16     iSourceid,
250                                   mng_uint16     iCloneid,
251                                   mng_uint8      iClonetype,
252                                   mng_bool       bHasdonotshow,
253                                   mng_uint8      iDonotshow,
254                                   mng_uint8      iConcrete,
255                                   mng_bool       bHasloca,
256                                   mng_uint8      iLocatype,
257                                   mng_int32      iLocax,
258                                   mng_int32      iLocay);
259
260mng_retcode mng_create_ani_back   (mng_datap      pData,
261                                   mng_uint16     iRed,
262                                   mng_uint16     iGreen,
263                                   mng_uint16     iBlue,
264                                   mng_uint8      iMandatory,
265                                   mng_uint16     iImageid,
266                                   mng_uint8      iTile);
267
268mng_retcode mng_create_ani_fram   (mng_datap      pData,
269                                   mng_uint8      iFramemode,
270                                   mng_uint8      iChangedelay,
271                                   mng_uint32     iDelay,
272                                   mng_uint8      iChangetimeout,
273                                   mng_uint32     iTimeout,
274                                   mng_uint8      iChangeclipping,
275                                   mng_uint8      iCliptype,
276                                   mng_int32      iClipl,
277                                   mng_int32      iClipr,
278                                   mng_int32      iClipt,
279                                   mng_int32      iClipb);
280
281mng_retcode mng_create_ani_move   (mng_datap      pData,
282                                   mng_uint16     iFirstid,
283                                   mng_uint16     iLastid,
284                                   mng_uint8      iType,
285                                   mng_int32      iLocax,
286                                   mng_int32      iLocay);
287
288mng_retcode mng_create_ani_clip   (mng_datap      pData,
289                                   mng_uint16     iFirstid,
290                                   mng_uint16     iLastid,
291                                   mng_uint8      iType,
292                                   mng_int32      iClipl,
293                                   mng_int32      iClipr,
294                                   mng_int32      iClipt,
295                                   mng_int32      iClipb);
296
297mng_retcode mng_create_ani_show   (mng_datap      pData,
298                                   mng_uint16     iFirstid,
299                                   mng_uint16     iLastid,
300                                   mng_uint8      iMode);
301
302mng_retcode mng_create_ani_term   (mng_datap      pData,
303                                   mng_uint8      iTermaction,
304                                   mng_uint8      iIteraction,
305                                   mng_uint32     iDelay,
306                                   mng_uint32     iItermax);
307
308#ifndef MNG_SKIPCHUNK_SAVE
309mng_retcode mng_create_ani_save   (mng_datap      pData);
310#endif
311#ifndef MNG_SKIPCHUNK_SEEK
312mng_retcode mng_create_ani_seek   (mng_datap      pData,
313                                   mng_uint32     iSegmentnamesize,
314                                   mng_pchar      zSegmentname);
315#endif
316#ifndef MNG_NO_DELTA_PNG
317mng_retcode mng_create_ani_dhdr   (mng_datap      pData,
318                                   mng_uint16     iObjectid,
319                                   mng_uint8      iImagetype,
320                                   mng_uint8      iDeltatype,
321                                   mng_uint32     iBlockwidth,
322                                   mng_uint32     iBlockheight,
323                                   mng_uint32     iBlockx,
324                                   mng_uint32     iBlocky);
325
326mng_retcode mng_create_ani_prom   (mng_datap      pData,
327                                   mng_uint8      iBitdepth,
328                                   mng_uint8      iColortype,
329                                   mng_uint8      iFilltype);
330
331mng_retcode mng_create_ani_ipng   (mng_datap      pData);
332mng_retcode mng_create_ani_ijng   (mng_datap      pData);
333
334mng_retcode mng_create_ani_pplt   (mng_datap      pData,
335                                   mng_uint8      iType,
336                                   mng_uint32     iCount,
337                                   mng_palette8ep paIndexentries,
338                                   mng_uint8p     paAlphaentries,
339                                   mng_uint8p     paUsedentries);
340#endif
341
342#ifndef MNG_SKIPCHUNK_MAGN
343mng_retcode mng_create_ani_magn   (mng_datap      pData,
344                                   mng_uint16     iFirstid,
345                                   mng_uint16     iLastid,
346                                   mng_uint8      iMethodX,
347                                   mng_uint16     iMX,
348                                   mng_uint16     iMY,
349                                   mng_uint16     iML,
350                                   mng_uint16     iMR,
351                                   mng_uint16     iMT,
352                                   mng_uint16     iMB,
353                                   mng_uint8      iMethodY);
354#endif
355
356#ifndef MNG_SKIPCHUNK_PAST
357mng_retcode mng_create_ani_past   (mng_datap      pData,
358                                   mng_uint16     iTargetid,
359                                   mng_uint8      iTargettype,
360                                   mng_int32      iTargetx,
361                                   mng_int32      iTargety,
362                                   mng_uint32     iCount,
363                                   mng_ptr        pSources);
364#endif
365
366#ifndef MNG_SKIPCHUNK_DISC
367mng_retcode mng_create_ani_disc   (mng_datap      pData,
368                                   mng_uint32     iCount,
369                                   mng_uint16p    pIds);
370#endif
371
372#else /* MNG_OPTIMIZE_CHUNKREADER */
373
374mng_retcode mng_create_ani_plte   (mng_datap      pData);
375mng_retcode mng_create_ani_trns   (mng_datap      pData);
376mng_retcode mng_create_ani_gama   (mng_datap      pData,
377                                   mng_chunkp     pChunk);
378mng_retcode mng_create_ani_chrm   (mng_datap      pData,
379                                   mng_chunkp     pChunk);
380mng_retcode mng_create_ani_srgb   (mng_datap      pData,
381                                   mng_chunkp     pChunk);
382mng_retcode mng_create_ani_iccp   (mng_datap      pData,
383                                   mng_chunkp     pChunk);
384mng_retcode mng_create_ani_bkgd   (mng_datap      pData);
385mng_retcode mng_create_ani_loop   (mng_datap      pData,
386                                   mng_chunkp     pChunk);
387mng_retcode mng_create_ani_endl   (mng_datap      pData,
388                                   mng_uint8      iLevel);
389mng_retcode mng_create_ani_defi   (mng_datap      pData);
390mng_retcode mng_create_ani_basi   (mng_datap      pData,
391                                   mng_chunkp     pChunk);
392mng_retcode mng_create_ani_clon   (mng_datap      pData,
393                                   mng_chunkp     pChunk);
394mng_retcode mng_create_ani_back   (mng_datap      pData);
395mng_retcode mng_create_ani_fram   (mng_datap      pData,
396                                   mng_chunkp     pChunk);
397mng_retcode mng_create_ani_move   (mng_datap      pData,
398                                   mng_chunkp     pChunk);
399mng_retcode mng_create_ani_clip   (mng_datap      pData,
400                                   mng_chunkp     pChunk);
401mng_retcode mng_create_ani_show   (mng_datap      pData);
402mng_retcode mng_create_ani_term   (mng_datap      pData,
403                                   mng_chunkp     pChunk);
404#ifndef MNG_SKIPCHUNK_SAVE
405mng_retcode mng_create_ani_save   (mng_datap      pData);
406#endif
407#ifndef MNG_SKIPCHUNK_SEEK
408mng_retcode mng_create_ani_seek   (mng_datap      pData,
409                                   mng_chunkp     pChunk);
410#endif
411#ifndef MNG_NO_DELTA_PNG
412mng_retcode mng_create_ani_dhdr   (mng_datap      pData,
413                                   mng_chunkp     pChunk);
414mng_retcode mng_create_ani_prom   (mng_datap      pData,
415                                   mng_chunkp     pChunk);
416mng_retcode mng_create_ani_ipng   (mng_datap      pData);
417mng_retcode mng_create_ani_ijng   (mng_datap      pData);
418
419mng_retcode mng_create_ani_pplt   (mng_datap      pData,
420                                   mng_uint8      iType,
421                                   mng_uint32     iCount,
422                                   mng_palette8ep paIndexentries,
423                                   mng_uint8p     paAlphaentries,
424                                   mng_uint8p     paUsedentries);
425#endif
426
427#ifndef MNG_SKIPCHUNK_MAGN
428mng_retcode mng_create_ani_magn   (mng_datap      pData,
429                                   mng_chunkp     pChunk);
430#endif
431#ifndef MNG_SKIPCHUNK_PAST
432mng_retcode mng_create_ani_past   (mng_datap      pData,
433                                   mng_chunkp     pChunk);
434#endif
435#ifndef MNG_SKIPCHUNK_DISC
436mng_retcode mng_create_ani_disc   (mng_datap      pData,
437                                   mng_chunkp     pChunk);
438#endif
439
440#endif /* MNG_OPTIMIZE_CHUNKREADER */
441
442/* ************************************************************************** */
443
444mng_retcode mng_free_ani_image    (mng_datap    pData,
445                                   mng_objectp  pObject);
446
447#ifndef MNG_OPTIMIZE_OBJCLEANUP
448
449mng_retcode mng_free_ani_plte     (mng_datap    pData,
450                                   mng_objectp  pObject);
451mng_retcode mng_free_ani_trns     (mng_datap    pData,
452                                   mng_objectp  pObject);
453mng_retcode mng_free_ani_gama     (mng_datap    pData,
454                                   mng_objectp  pObject);
455#ifndef MNG_SKIPCHUNK_cHRM
456mng_retcode mng_free_ani_chrm     (mng_datap    pData,
457                                   mng_objectp  pObject);
458#endif
459#ifndef MNG_SKIPCHUNK_sRGB
460mng_retcode mng_free_ani_srgb     (mng_datap    pData,
461                                   mng_objectp  pObject);
462#endif
463#ifndef MNG_SKIPCHUNK_bKGD
464mng_retcode mng_free_ani_bkgd     (mng_datap    pData,
465                                   mng_objectp  pObject);
466#endif
467#ifndef MNG_SKIPCHUNK_LOOP
468mng_retcode mng_free_ani_endl     (mng_datap    pData,
469                                   mng_objectp  pObject);
470#endif
471mng_retcode mng_free_ani_defi     (mng_datap    pData,
472                                   mng_objectp  pObject);
473mng_retcode mng_free_ani_basi     (mng_datap    pData,
474                                   mng_objectp  pObject);
475mng_retcode mng_free_ani_clon     (mng_datap    pData,
476                                   mng_objectp  pObject);
477mng_retcode mng_free_ani_back     (mng_datap    pData,
478                                   mng_objectp  pObject);
479mng_retcode mng_free_ani_fram     (mng_datap    pData,
480                                   mng_objectp  pObject);
481mng_retcode mng_free_ani_move     (mng_datap    pData,
482                                   mng_objectp  pObject);
483mng_retcode mng_free_ani_clip     (mng_datap    pData,
484                                   mng_objectp  pObject);
485mng_retcode mng_free_ani_show     (mng_datap    pData,
486                                   mng_objectp  pObject);
487mng_retcode mng_free_ani_term     (mng_datap    pData,
488                                   mng_objectp  pObject);
489#ifndef MNG_SKIPCHUNK_SAVE
490mng_retcode mng_free_ani_save     (mng_datap    pData,
491                                   mng_objectp  pObject);
492#endif
493#ifndef MNG_NO_DELTA_PNG
494mng_retcode mng_free_ani_dhdr     (mng_datap    pData,
495                                   mng_objectp  pObject);
496mng_retcode mng_free_ani_prom     (mng_datap    pData,
497                                   mng_objectp  pObject);
498mng_retcode mng_free_ani_ipng     (mng_datap    pData,
499                                   mng_objectp  pObject);
500mng_retcode mng_free_ani_ijng     (mng_datap    pData,
501                                   mng_objectp  pObject);
502mng_retcode mng_free_ani_pplt     (mng_datap    pData,
503                                   mng_objectp  pObject);
504#endif
505#ifndef MNG_SKIPCHUNK_MAGN
506mng_retcode mng_free_ani_magn     (mng_datap    pData,
507                                   mng_objectp  pObject);
508#endif
509
510#endif /* MNG_OPTIMIZE_OBJCLEANUP */
511
512
513#ifndef MNG_SKIPCHUNK_iCCP
514mng_retcode mng_free_ani_iccp     (mng_datap    pData,
515                                   mng_objectp  pObject);
516#endif
517#ifndef MNG_SKIPCHUNK_LOOP
518mng_retcode mng_free_ani_loop     (mng_datap    pData,
519                                   mng_objectp  pObject);
520#endif
521#ifndef MNG_SKIPCHUNK_SAVE
522mng_retcode mng_free_ani_seek     (mng_datap    pData,
523                                   mng_objectp  pObject);
524#endif
525#ifndef MNG_SKIPCHUNK_PAST
526mng_retcode mng_free_ani_past     (mng_datap    pData,
527                                   mng_objectp  pObject);
528#endif
529mng_retcode mng_free_ani_disc     (mng_datap    pData,
530                                   mng_objectp  pObject);
531
532/* ************************************************************************** */
533
534mng_retcode mng_process_ani_image (mng_datap    pData,
535                                   mng_objectp  pObject);
536
537mng_retcode mng_process_ani_plte  (mng_datap    pData,
538                                   mng_objectp  pObject);
539mng_retcode mng_process_ani_trns  (mng_datap    pData,
540                                   mng_objectp  pObject);
541mng_retcode mng_process_ani_gama  (mng_datap    pData,
542                                   mng_objectp  pObject);
543#ifndef MNG_SKIPCHUNK_cHRM
544mng_retcode mng_process_ani_chrm  (mng_datap    pData,
545                                   mng_objectp  pObject);
546#endif
547#ifndef MNG_SKIPCHUNK_sRGB
548mng_retcode mng_process_ani_srgb  (mng_datap    pData,
549                                   mng_objectp  pObject);
550#endif
551#ifndef MNG_SKIPCHUNK_iCCP
552mng_retcode mng_process_ani_iccp  (mng_datap    pData,
553                                   mng_objectp  pObject);
554#endif
555#ifndef MNG_SKIPCHUNK_bKGD
556mng_retcode mng_process_ani_bkgd  (mng_datap    pData,
557                                   mng_objectp  pObject);
558#endif
559#ifndef MNG_SKIPCHUNK_LOOP
560mng_retcode mng_process_ani_loop  (mng_datap    pData,
561                                   mng_objectp  pObject);
562mng_retcode mng_process_ani_endl  (mng_datap    pData,
563                                   mng_objectp  pObject);
564#endif
565mng_retcode mng_process_ani_defi  (mng_datap    pData,
566                                   mng_objectp  pObject);
567mng_retcode mng_process_ani_basi  (mng_datap    pData,
568                                   mng_objectp  pObject);
569mng_retcode mng_process_ani_clon  (mng_datap    pData,
570                                   mng_objectp  pObject);
571mng_retcode mng_process_ani_back  (mng_datap    pData,
572                                   mng_objectp  pObject);
573mng_retcode mng_process_ani_fram  (mng_datap    pData,
574                                   mng_objectp  pObject);
575mng_retcode mng_process_ani_move  (mng_datap    pData,
576                                   mng_objectp  pObject);
577mng_retcode mng_process_ani_clip  (mng_datap    pData,
578                                   mng_objectp  pObject);
579mng_retcode mng_process_ani_show  (mng_datap    pData,
580                                   mng_objectp  pObject);
581mng_retcode mng_process_ani_term  (mng_datap    pData,
582                                   mng_objectp  pObject);
583#ifndef MNG_SKIPCHUNK_SAVE
584mng_retcode mng_process_ani_save  (mng_datap    pData,
585                                   mng_objectp  pObject);
586#endif
587#ifndef MNG_SKIPCHUNK_SEEK
588mng_retcode mng_process_ani_seek  (mng_datap    pData,
589                                   mng_objectp  pObject);
590#endif
591#ifndef MNG_NO_DELTA_PNG
592mng_retcode mng_process_ani_dhdr  (mng_datap    pData,
593                                   mng_objectp  pObject);
594mng_retcode mng_process_ani_prom  (mng_datap    pData,
595                                   mng_objectp  pObject);
596mng_retcode mng_process_ani_ipng  (mng_datap    pData,
597                                   mng_objectp  pObject);
598mng_retcode mng_process_ani_ijng  (mng_datap    pData,
599                                   mng_objectp  pObject);
600mng_retcode mng_process_ani_pplt  (mng_datap    pData,
601                                   mng_objectp  pObject);
602#endif
603mng_retcode mng_process_ani_magn  (mng_datap    pData,
604                                   mng_objectp  pObject);
605#ifndef MNG_SKIPCHUNK_PAST
606mng_retcode mng_process_ani_past  (mng_datap    pData,
607                                   mng_objectp  pObject);
608#endif
609mng_retcode mng_process_ani_disc  (mng_datap    pData,
610                                   mng_objectp  pObject);
611
612/* ************************************************************************** */
613
614#ifdef MNG_SUPPORT_DYNAMICMNG
615#ifndef MNG_OPTIMIZE_CHUNKREADER
616mng_retcode mng_create_event      (mng_datap    pData,
617                                   mng_uint8    iEventtype,
618                                   mng_uint8    iMasktype,
619                                   mng_int32    iLeft,
620                                   mng_int32    iRight,
621                                   mng_int32    iTop,
622                                   mng_int32    iBottom,
623                                   mng_uint16   iObjectid,
624                                   mng_uint8    iIndex,
625                                   mng_uint32   iSegmentnamesize,
626                                   mng_pchar    zSegmentname);
627#else
628mng_retcode mng_create_event      (mng_datap    pData,
629                                   mng_ptr      pEntry);
630#endif
631mng_retcode mng_free_event        (mng_datap    pData,
632                                   mng_objectp  pObject);
633mng_retcode mng_process_event     (mng_datap    pData,
634                                   mng_objectp  pObject);
635#endif
636
637/* ************************************************************************** */
638
639#ifdef MNG_INCLUDE_MPNG_PROPOSAL
640#ifndef MNG_OPTIMIZE_CHUNKREADER
641mng_retcode mng_create_mpng_obj   (mng_datap    pData,
642                                   mng_uint32   iFramewidth,
643                                   mng_uint32   iFrameheight,
644                                   mng_uint16   iNumplays,
645                                   mng_uint16   iTickspersec,
646                                   mng_uint32   iFramessize,
647                                   mng_ptr      pFrames);
648#else
649mng_retcode mng_create_mpng_obj   (mng_datap    pData,
650                                   mng_ptr      pEntry);
651#endif
652mng_retcode mng_free_mpng_obj     (mng_datap    pData,
653                                   mng_objectp  pObject);
654mng_retcode mng_process_mpng_obj  (mng_datap    pData,
655                                   mng_objectp  pObject);
656#endif
657
658/* ************************************************************************** */
659
660#ifdef MNG_INCLUDE_ANG_PROPOSAL
661#ifndef MNG_OPTIMIZE_CHUNKREADER
662mng_retcode mng_create_ang_obj    (mng_datap    pData,
663                                   mng_uint32   iNumframes,
664                                   mng_uint32   iTickspersec,
665                                   mng_uint32   iNumplays,
666                                   mng_uint32   iTilewidth,
667                                   mng_uint32   iTileheight,
668                                   mng_uint8    iInterlace,
669                                   mng_uint8    iStillused);
670#else
671mng_retcode mng_create_ang_obj    (mng_datap    pData,
672                                   mng_ptr      pEntry);
673#endif
674mng_retcode mng_free_ang_obj      (mng_datap    pData,
675                                   mng_objectp  pObject);
676mng_retcode mng_process_ang_obj   (mng_datap    pData,
677                                   mng_objectp  pObject);
678#endif
679
680/* ************************************************************************** */
681
682#endif /* MNG_INCLUDE_DISPLAY_PROCS */
683
684/* ************************************************************************** */
685
686#endif /* _libmng_object_prc_h_ */
687
688/* ************************************************************************** */
689/* * end of file                                                            * */
690/* ************************************************************************** */