Eneboo - Documentación para desarrolladores
src/qt/src/3rdparty/libmng/libmng_chunk_prc.h
Ir a la documentación de este archivo.
00001 /* ************************************************************************** */
00002 /* *             For conditions of distribution and use,                    * */
00003 /* *                see copyright notice in libmng.h                        * */
00004 /* ************************************************************************** */
00005 /* *                                                                        * */
00006 /* * project   : libmng                                                     * */
00007 /* * file      : libmng_chunk_prc.h        copyright (c) 2000 G.Juyn        * */
00008 /* * version   : 1.0.0                                                      * */
00009 /* *                                                                        * */
00010 /* * purpose   : Chunk initialization & cleanup (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 chunk initialization & cleanup routines  * */
00017 /* *                                                                        * */
00018 /* * changes   : 0.5.1 - 05/08/2000 - G.Juyn                                * */
00019 /* *             - changed strict-ANSI stuff                                * */
00020 /* *                                                                        * */
00021 /* *             0.9.2 - 08/05/2000 - G.Juyn                                * */
00022 /* *             - changed file-prefixes                                    * */
00023 /* *                                                                        * */
00024 /* *             0.9.3 - 08/26/2000 - G.Juyn                                * */
00025 /* *             - added MAGN chunk                                         * */
00026 /* *             0.9.3 - 10/16/2000 - G.Juyn                                * */
00027 /* *             - added support for JDAA                                   * */
00028 /* *                                                                        * */
00029 /* ************************************************************************** */
00030 
00031 #if defined(__BORLANDC__) && defined(MNG_STRICT_ANSI)
00032 #pragma option -A                      /* force ANSI-C */
00033 #endif
00034 
00035 #ifndef _libmng_chunk_prc_h_
00036 #define _libmng_chunk_prc_h_
00037 
00038 /* ************************************************************************** */
00039 
00040 void add_chunk (mng_datap  pData,
00041                 mng_chunkp pChunk);
00042 
00043 /* ************************************************************************** */
00044 
00045 #define INIT_CHUNK_HDR(n) mng_retcode n (mng_datap   pData,    \
00046                                          mng_chunkp  pHeader,  \
00047                                          mng_chunkp* ppChunk)
00048 
00049 INIT_CHUNK_HDR (init_ihdr) ;
00050 INIT_CHUNK_HDR (init_plte) ;
00051 INIT_CHUNK_HDR (init_idat) ;
00052 INIT_CHUNK_HDR (init_iend) ;
00053 INIT_CHUNK_HDR (init_trns) ;
00054 INIT_CHUNK_HDR (init_gama) ;
00055 INIT_CHUNK_HDR (init_chrm) ;
00056 INIT_CHUNK_HDR (init_srgb) ;
00057 INIT_CHUNK_HDR (init_iccp) ;
00058 INIT_CHUNK_HDR (init_text) ;
00059 INIT_CHUNK_HDR (init_ztxt) ;
00060 INIT_CHUNK_HDR (init_itxt) ;
00061 INIT_CHUNK_HDR (init_bkgd) ;
00062 INIT_CHUNK_HDR (init_phys) ;
00063 INIT_CHUNK_HDR (init_sbit) ;
00064 INIT_CHUNK_HDR (init_splt) ;
00065 INIT_CHUNK_HDR (init_hist) ;
00066 INIT_CHUNK_HDR (init_time) ;
00067 INIT_CHUNK_HDR (init_mhdr) ;
00068 INIT_CHUNK_HDR (init_mend) ;
00069 INIT_CHUNK_HDR (init_loop) ;
00070 INIT_CHUNK_HDR (init_endl) ;
00071 INIT_CHUNK_HDR (init_defi) ;
00072 INIT_CHUNK_HDR (init_basi) ;
00073 INIT_CHUNK_HDR (init_clon) ;
00074 INIT_CHUNK_HDR (init_past) ;
00075 INIT_CHUNK_HDR (init_disc) ;
00076 INIT_CHUNK_HDR (init_back) ;
00077 INIT_CHUNK_HDR (init_fram) ;
00078 INIT_CHUNK_HDR (init_move) ;
00079 INIT_CHUNK_HDR (init_clip) ;
00080 INIT_CHUNK_HDR (init_show) ;
00081 INIT_CHUNK_HDR (init_term) ;
00082 INIT_CHUNK_HDR (init_save) ;
00083 INIT_CHUNK_HDR (init_seek) ;
00084 INIT_CHUNK_HDR (init_expi) ;
00085 INIT_CHUNK_HDR (init_fpri) ;
00086 INIT_CHUNK_HDR (init_need) ;
00087 INIT_CHUNK_HDR (init_phyg) ;
00088 INIT_CHUNK_HDR (init_jhdr) ;
00089 INIT_CHUNK_HDR (init_jdaa) ;
00090 INIT_CHUNK_HDR (init_jdat) ;
00091 INIT_CHUNK_HDR (init_jsep) ;
00092 INIT_CHUNK_HDR (init_dhdr) ;
00093 INIT_CHUNK_HDR (init_prom) ;
00094 INIT_CHUNK_HDR (init_ipng) ;
00095 INIT_CHUNK_HDR (init_pplt) ;
00096 INIT_CHUNK_HDR (init_ijng) ;
00097 INIT_CHUNK_HDR (init_drop) ;
00098 INIT_CHUNK_HDR (init_dbyk) ;
00099 INIT_CHUNK_HDR (init_ordr) ;
00100 INIT_CHUNK_HDR (init_magn) ;
00101 INIT_CHUNK_HDR (init_unknown) ;
00102 
00103 /* ************************************************************************** */
00104 
00105 #define FREE_CHUNK_HDR(n) mng_retcode n (mng_datap   pData,    \
00106                                          mng_chunkp  pHeader)
00107 
00108 FREE_CHUNK_HDR (free_ihdr) ;
00109 FREE_CHUNK_HDR (free_plte) ;
00110 FREE_CHUNK_HDR (free_idat) ;
00111 FREE_CHUNK_HDR (free_iend) ;
00112 FREE_CHUNK_HDR (free_trns) ;
00113 FREE_CHUNK_HDR (free_gama) ;
00114 FREE_CHUNK_HDR (free_chrm) ;
00115 FREE_CHUNK_HDR (free_srgb) ;
00116 FREE_CHUNK_HDR (free_iccp) ;
00117 FREE_CHUNK_HDR (free_text) ;
00118 FREE_CHUNK_HDR (free_ztxt) ;
00119 FREE_CHUNK_HDR (free_itxt) ;
00120 FREE_CHUNK_HDR (free_bkgd) ;
00121 FREE_CHUNK_HDR (free_phys) ;
00122 FREE_CHUNK_HDR (free_sbit) ;
00123 FREE_CHUNK_HDR (free_splt) ;
00124 FREE_CHUNK_HDR (free_hist) ;
00125 FREE_CHUNK_HDR (free_time) ;
00126 FREE_CHUNK_HDR (free_mhdr) ;
00127 FREE_CHUNK_HDR (free_mend) ;
00128 FREE_CHUNK_HDR (free_loop) ;
00129 FREE_CHUNK_HDR (free_endl) ;
00130 FREE_CHUNK_HDR (free_defi) ;
00131 FREE_CHUNK_HDR (free_basi) ;
00132 FREE_CHUNK_HDR (free_clon) ;
00133 FREE_CHUNK_HDR (free_past) ;
00134 FREE_CHUNK_HDR (free_disc) ;
00135 FREE_CHUNK_HDR (free_back) ;
00136 FREE_CHUNK_HDR (free_fram) ;
00137 FREE_CHUNK_HDR (free_move) ;
00138 FREE_CHUNK_HDR (free_clip) ;
00139 FREE_CHUNK_HDR (free_show) ;
00140 FREE_CHUNK_HDR (free_term) ;
00141 FREE_CHUNK_HDR (free_save) ;
00142 FREE_CHUNK_HDR (free_seek) ;
00143 FREE_CHUNK_HDR (free_expi) ;
00144 FREE_CHUNK_HDR (free_fpri) ;
00145 FREE_CHUNK_HDR (free_need) ;
00146 FREE_CHUNK_HDR (free_phyg) ;
00147 FREE_CHUNK_HDR (free_jhdr) ;
00148 FREE_CHUNK_HDR (free_jdaa) ;
00149 FREE_CHUNK_HDR (free_jdat) ;
00150 FREE_CHUNK_HDR (free_jsep) ;
00151 FREE_CHUNK_HDR (free_dhdr) ;
00152 FREE_CHUNK_HDR (free_prom) ;
00153 FREE_CHUNK_HDR (free_ipng) ;
00154 FREE_CHUNK_HDR (free_pplt) ;
00155 FREE_CHUNK_HDR (free_ijng) ;
00156 FREE_CHUNK_HDR (free_drop) ;
00157 FREE_CHUNK_HDR (free_dbyk) ;
00158 FREE_CHUNK_HDR (free_ordr) ;
00159 FREE_CHUNK_HDR (free_magn) ;
00160 FREE_CHUNK_HDR (free_unknown) ;
00161 
00162 /* ************************************************************************** */
00163 
00164 #endif /* _libmng_chunk_prc_h_ */
00165 
00166 /* ************************************************************************** */
00167 /* * end of file                                                            * */
00168 /* ************************************************************************** */
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'