Back to index

lightning-sunbird  0.9+nobinonly
mozpngconf.h
Go to the documentation of this file.
00001 /* ***** BEGIN LICENSE BLOCK *****
00002  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
00003  *
00004  * The contents of this file are subject to the Mozilla Public License Version
00005  * 1.1 (the "License"); you may not use this file except in compliance with
00006  * the License. You may obtain a copy of the License at
00007  * http://www.mozilla.org/MPL/
00008  *
00009  * Software distributed under the License is distributed on an "AS IS" basis,
00010  * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00011  * for the specific language governing rights and limitations under the
00012  * License.
00013  *
00014  * The Original Code is mozilla libpng configuration.
00015  *
00016  * The Initial Developer of the Original Code is
00017  * Tim Rowley.
00018  * Portions created by the Initial Developer are Copyright (C) 2003
00019  * the Initial Developer. All Rights Reserved.
00020  *
00021  * Contributor(s): Tim Rowley <tor@cs.brown.edu>
00022  *
00023  * Alternatively, the contents of this file may be used under the terms of
00024  * either the GNU General Public License Version 2 or later (the "GPL"), or
00025  * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
00026  * in which case the provisions of the GPL or the LGPL are applicable instead
00027  * of those above. If you wish to allow use of your version of this file only
00028  * under the terms of either the GPL or the LGPL, and not to allow others to
00029  * use your version of this file under the terms of the MPL, indicate your
00030  * decision by deleting the provisions above and replace them with the notice
00031  * and other provisions required by the GPL or the LGPL. If you do not delete
00032  * the provisions above, a recipient may use your version of this file under
00033  * the terms of any one of the MPL, the GPL or the LGPL.
00034  *
00035  * ***** END LICENSE BLOCK ***** */
00036 
00037 #ifndef MOZPNGCONF_H
00038 #define MOZPNGCONF_H
00039 
00040 #define PNG_NO_GLOBAL_ARRAYS
00041 
00042 #define PNG_NO_INFO_IMAGE
00043 #define PNG_NO_READ_BACKGROUND
00044 #define PNG_NO_READ_DITHER
00045 #define PNG_NO_READ_INVERT
00046 #define PNG_NO_READ_SHIFT
00047 #define PNG_NO_READ_PACK
00048 #define PNG_NO_READ_PACKSWAP
00049 #define PNG_NO_READ_FILLER
00050 #define PNG_NO_READ_SWAP_ALPHA
00051 #define PNG_NO_READ_INVERT_ALPHA
00052 #define PNG_NO_READ_RGB_TO_GRAY
00053 #define PNG_NO_READ_USER_TRANSFORM
00054 #define PNG_NO_READ_bKGD
00055 #define PNG_NO_READ_cHRM
00056 #define PNG_NO_READ_hIST
00057 #define PNG_NO_READ_iCCP
00058 #define PNG_NO_READ_pCAL
00059 #define PNG_NO_READ_pHYs
00060 #define PNG_NO_READ_sBIT
00061 #define PNG_NO_READ_sCAL
00062 #define PNG_NO_READ_sPLT
00063 #define PNG_NO_READ_TEXT
00064 #define PNG_NO_READ_tIME
00065 #define PNG_NO_READ_UNKNOWN_CHUNKS
00066 #define PNG_NO_READ_USER_CHUNKS
00067 #define PNG_NO_USER_MEM
00068 #define PNG_NO_READ_EMPTY_PLTE
00069 #define PNG_NO_FIXED_POINT_SUPPORTED
00070 #define PNG_NO_READ_OPT_PLTE
00071 #define PNG_NO_MNG_FEATURES
00072 
00073 #ifdef MOZ_PNG_WRITE
00074 #define PNG_NO_WRITE_BACKGROUND
00075 #define PNG_NO_WRITE_DITHER
00076 #define PNG_NO_WRITE_INVERT
00077 #define PNG_NO_WRITE_SHIFT
00078 #define PNG_NO_WRITE_PACK
00079 #define PNG_NO_WRITE_PACKSWAP
00080 #define PNG_NO_WRITE_FILLER
00081 #define PNG_NO_WRITE_SWAP_ALPHA
00082 #define PNG_NO_WRITE_INVERT_ALPHA
00083 #define PNG_NO_WRITE_RGB_TO_GRAY
00084 #define PNG_NO_WRITE_USER_TRANSFORM
00085 #define PNG_NO_WRITE_bKGD
00086 #define PNG_NO_WRITE_cHRM
00087 #define PNG_NO_WRITE_hIST
00088 #define PNG_NO_WRITE_iCCP
00089 #define PNG_NO_WRITE_pCAL
00090 #define PNG_NO_WRITE_pHYs
00091 #define PNG_NO_WRITE_sBIT
00092 #define PNG_NO_WRITE_sCAL
00093 #define PNG_NO_WRITE_sPLT
00094 #define PNG_NO_WRITE_TEXT
00095 #define PNG_NO_WRITE_tIME
00096 #define PNG_NO_WRITE_UNKNOWN_CHUNKS
00097 #define PNG_NO_WRITE_USER_CHUNKS
00098 #define PNG_NO_WRITE_EMPTY_PLTE
00099 #define PNG_NO_WRITE_OPT_PLTE
00100 #else
00101 #define PNG_NO_WRITE_SUPPORTED
00102 #endif
00103 
00104 #define PNG_NO_READ_STRIP_ALPHA
00105 #define PNG_NO_USER_TRANSFORM_PTR
00106 #define PNG_NO_READ_oFFs
00107 #define PNG_NO_HANDLE_AS_UNKNOWN
00108 #define PNG_NO_CONSOLE_IO
00109 #define PNG_NO_ZALLOC_ZERO
00110 #define PNG_NO_ERROR_NUMBERS
00111 #define PNG_NO_EASY_ACCESS
00112 
00113 #define PNG_NO_SEQUENTIAL_READ_SUPPORTED
00114 
00115 /* Mangle names of exported libpng functions so different libpng versions
00116    can coexist. It is recommended that if you do this, you give your
00117    library a different name such as "mozlibpng" instead of "libpng". */
00118 
00119 /* The following has been present since libpng-0.88, has never changed, and
00120    is unaffected by conditional compilation macros.  It will not be mangled
00121    and it is the only choice for use in configure scripts for detecting the
00122    presence of any libpng version since 0.88.
00123 
00124    png_get_io_ptr
00125 */
00126 
00127 /* Mozilla: mangle it anyway. */
00128 #define png_get_io_ptr                  MOZ_PNG_get_io_ptr
00129 
00130 /* The following weren't present in libpng-0.88 but have never changed since
00131    they were first introduced and are not affected by any conditional compile
00132    choices and therefore don't need to be mangled.  We'll mangle them anyway. */
00133 #define png_sig_cmp                     MOZ_PNG_sig_cmp               /* 0.90 */
00134 #define png_memcpy_check                MOZ_PNG_memcpy_ck             /* 1.0.0 */
00135 #define png_memset_check                MOZ_PNG_memset_ck             /* 1.0.0 */
00136 #define png_access_version_number       MOZ_PNG_access_vn             /* 1.0.7 */
00137 
00138 /* These have never changed since they were first introduced but they
00139    make direct reference to members of png_ptr that might have been moved,
00140    so they will be mangled. */
00141 
00142 #define png_set_sig_bytes               MOZ_PNG_set_sig_b             /* 0.90 */
00143 #define png_reset_zstream               MOZ_PNG_reset_zs              /* 1.0.7 */
00144 
00145 /* The following may have changed, or can be affected by conditional compilation
00146    choices, and will be mangled. */
00147 #define png_build_gamma_table           MOZ_PNG_build_gamma_tab
00148 #define png_build_grayscale_palette     MOZ_PNG_build_g_p
00149 #define png_calculate_crc               MOZ_PNG_calc_crc
00150 #define png_check_chunk_name            MOZ_PNG_ck_chunk_name
00151 #define png_check_sig                   MOZ_PNG_ck_sig
00152 #define png_chunk_error                 MOZ_PNG_chunk_err
00153 #define png_chunk_warning               MOZ_PNG_chunk_warn
00154 #define png_combine_row                 MOZ_PNG_combine_row
00155 #define png_convert_from_struct_tm      MOZ_PNG_cv_from_struct_tm
00156 #define png_convert_from_time_t         MOZ_PNG_cv_from_time_t
00157 #define png_convert_to_rfc1123          MOZ_PNG_cv_to_rfc1123
00158 #define png_crc_error                   MOZ_PNG_crc_error
00159 #define png_crc_finish                  MOZ_PNG_crc_finish
00160 #define png_crc_read                    MOZ_PNG_crc_read
00161 #define png_create_info_struct          MOZ_PNG_cr_info_str
00162 #define png_create_read_struct          MOZ_PNG_cr_read_str
00163 #define png_create_read_struct_2        MOZ_PNG_cr_read_str_2
00164 #define png_create_struct               MOZ_PNG_create_st
00165 #define png_create_struct_2             MOZ_PNG_create_s2
00166 #define png_create_write_struct         MOZ_PNG_cr_write_str
00167 #define png_create_write_struct_2       MOZ_PNG_cr_write_str_2
00168 #define png_data_freer                  MOZ_PNG_data_freer
00169 #define png_decompress_chunk            MOZ_PNG_decomp_chunk
00170 #define png_default_error               MOZ_PNG_def_error
00171 #define png_default_flush               MOZ_PNG_def_flush
00172 #define png_default_read                MOZ_PNG_def_read
00173 #define png_default_read_data           MOZ_PNG_def_read_data
00174 #define png_default_warning             MOZ_PNG_def_warning
00175 #define png_default_write               MOZ_PNG_def_write
00176 #define png_destroy_info_struct         MOZ_PNG_dest_info_str
00177 #define png_destroy_read_struct         MOZ_PNG_dest_read_str
00178 #define png_destroy_struct              MOZ_PNG_dest_str
00179 #define png_destroy_struct_2            MOZ_PNG_dest_str_2
00180 #define png_destroy_write_struct        MOZ_PNG_dest_write_str
00181 #define png_digit                       MOZ_PNG_digit
00182 #define png_do_background               MOZ_PNG_do_back
00183 #define png_do_bgr                      MOZ_PNG_do_bgr
00184 #define png_do_chop                     MOZ_PNG_do_chop
00185 #define png_do_dither                   MOZ_PNG_do_dith
00186 #define png_do_expand                   MOZ_PNG_do_expand
00187 #define png_do_expand_palette           MOZ_PNG_do_expand_plte
00188 #define png_do_gamma                    MOZ_PNG_do_gamma
00189 #define png_do_gray_to_rgb              MOZ_PNG_do_g_to_rgb
00190 #define png_do_invert                   MOZ_PNG_do_invert
00191 #define png_do_packswap                 MOZ_PNG_do_packswap
00192 #define png_do_read_filler              MOZ_PNG_do_read_fill
00193 #define png_do_read_interlace           MOZ_PNG_do_read_int
00194 #define png_do_read_intrapixel          MOZ_PNG_do_read_intra
00195 #define png_do_read_invert_alpha        MOZ_PNG_do_read_inv_alph
00196 #define png_do_read_swap_alpha          MOZ_PNG_do_read_swap_alph
00197 #define png_do_read_transformations     MOZ_PNG_do_read_trans
00198 #define png_do_rgb_to_gray              MOZ_PNG_do_rgb_to_g
00199 #define png_do_strip_filler             MOZ_PNG_do_strip_fill
00200 #define png_do_swap                     MOZ_PNG_do_swap
00201 #define png_do_unpack                   MOZ_PNG_do_unpack
00202 #define png_do_unshift                  MOZ_PNG_do_unshift
00203 #define png_error                       MOZ_PNG_error
00204 #define png_format_buffer               MOZ_PNG_format_buf
00205 #define png_free                        MOZ_PNG_free
00206 #define png_free_data                   MOZ_PNG_free_data
00207 #define png_free_default                MOZ_PNG_free_def
00208 #define png_gamma_shift                 MOZ_PNG_gamma_shift
00209 #define png_get_IHDR                    MOZ_PNG_get_IHDR
00210 #define png_get_PLTE                    MOZ_PNG_get_PLTE
00211 #define png_get_asm_flagmask            MOZ_PNG_get_asm_mask
00212 #define png_get_asm_flags               MOZ_PNG_get_asm_flags
00213 #define png_get_bKGD                    MOZ_PNG_get_bKGD
00214 #define png_get_bit_depth               MOZ_PNG_get_bit_depth
00215 #define png_get_cHRM                    MOZ_PNG_get_cHRM
00216 #define png_get_cHRM_fixed              MOZ_PNG_get_cHRM_fixed
00217 #define png_get_channels                MOZ_PNG_get_channels
00218 #define png_get_color_type              MOZ_PNG_get_color_type
00219 #define png_get_compression_buffer_size MOZ_PNG_get_comp_buf_siz
00220 #define png_get_compression_type        MOZ_PNG_get_comp_type
00221 #define png_get_copyright               MOZ_PNG_get_copyright
00222 #define png_get_error_ptr               MOZ_PNG_get_error_ptr
00223 #define png_get_filter_type             MOZ_PNG_get_filter_type
00224 #define png_get_gAMA                    MOZ_PNG_get_gAMA
00225 #define png_get_gAMA_fixed              MOZ_PNG_get_gAMA_fixed
00226 #define png_get_hIST                    MOZ_PNG_get_hIST
00227 #define png_get_header_ver              MOZ_PNG_get_hdr_ver
00228 #define png_get_header_version          MOZ_PNG_get_hdr_vn
00229 #define png_get_iCCP                    MOZ_PNG_get_iCCP
00230 #define png_get_image_height            MOZ_PNG_get_image_h
00231 #define png_get_image_width             MOZ_PNG_get_image_w
00232 #define png_get_int_32                  MOZ_PNG_get_int_32
00233 #define png_get_interlace_type          MOZ_PNG_get_interlace_type
00234 #define png_get_libpng_ver              MOZ_PNG_get_libpng_ver
00235 #define png_get_mem_ptr                 MOZ_PNG_get_mem_ptr
00236 #define png_get_mmx_bitdepth_threshold  MOZ_PNG_get_mmx_bitdepth_thr
00237 #define png_get_mmx_flagmask            MOZ_PNG_get_mmx_flagmask
00238 #define png_get_mmx_rowbytes_threshold  MOZ_PNG_get_mmx_rowbytes_thr
00239 #define png_get_oFFs                    MOZ_PNG_get_oFFs
00240 #define png_get_pCAL                    MOZ_PNG_get_pCAL
00241 #define png_get_pHYs                    MOZ_PNG_get_pHYs
00242 #define png_get_pixel_aspect_ratio      MOZ_PNG_get_pixel_aspect_ratio
00243 #define png_get_pixels_per_meter        MOZ_PNG_get_pixels_p_m
00244 #define png_get_progressive_ptr         MOZ_PNG_get_progressive_ptr
00245 #define png_get_rgb_to_gray_status      MOZ_PNG_get_rgb_to_gray_status
00246 #define png_get_rowbytes                MOZ_PNG_get_rowbytes
00247 #define png_get_rows                    MOZ_PNG_get_rows
00248 #define png_get_sBIT                    MOZ_PNG_get_sBIT
00249 #define png_get_sCAL                    MOZ_PNG_get_sCAL
00250 #define png_get_sCAL_s                  MOZ_PNG_get_sCAL_s
00251 #define png_get_sPLT                    MOZ_PNG_get_sPLT
00252 #define png_get_sRGB                    MOZ_PNG_get_sRGB
00253 #define png_get_signature               MOZ_PNG_get_signature
00254 #define png_get_tIME                    MOZ_PNG_get_tIME
00255 #define png_get_tRNS                    MOZ_PNG_get_tRNS
00256 #define png_get_text                    MOZ_PNG_get_text
00257 #define png_get_uint_16                 MOZ_PNG_get_uint_16
00258 #define png_get_uint_32                 MOZ_PNG_get_uint_32
00259 #define png_get_unknown_chunks          MOZ_PNG_get_unk_chunks
00260 #define png_get_user_chunk_ptr          MOZ_PNG_get_user_chunk_ptr
00261 #define png_get_user_transform_ptr      MOZ_PNG_get_user_transform_ptr
00262 #define png_get_valid                   MOZ_PNG_get_valid
00263 #define png_get_x_offset_microns        MOZ_PNG_get_x_offs_microns
00264 #define png_get_x_offset_pixels         MOZ_PNG_get_x_offs_pixels
00265 #define png_get_x_pixels_per_meter      MOZ_PNG_get_x_pix_per_meter
00266 #define png_get_y_offset_microns        MOZ_PNG_get_y_offs_microns
00267 #define png_get_y_offset_pixels         MOZ_PNG_get_y_offs_pixels
00268 #define png_get_y_pixels_per_meter      MOZ_PNG_get_y_pix_per_meter
00269 #define png_handle_IEND                 MOZ_PNG_handle_IEND
00270 #define png_handle_IHDR                 MOZ_PNG_handle_IHDR
00271 #define png_handle_PLTE                 MOZ_PNG_handle_PLTE
00272 #define png_handle_as_unknown           MOZ_PNG_handle_as_unknown
00273 #define png_handle_bKGD                 MOZ_PNG_handle_bKGD
00274 #define png_handle_cHRM                 MOZ_PNG_handle_cHRM
00275 #define png_handle_gAMA                 MOZ_PNG_handle_gAMA
00276 #define png_handle_hIST                 MOZ_PNG_handle_hIST
00277 #define png_handle_iCCP                 MOZ_PNG_handle_iCCP
00278 #define png_handle_oFFs                 MOZ_PNG_handle_oFFs
00279 #define png_handle_pCAL                 MOZ_PNG_handle_pCAL
00280 #define png_handle_pHYs                 MOZ_PNG_handle_pHYs
00281 #define png_handle_sBIT                 MOZ_PNG_handle_sBIT
00282 #define png_handle_sCAL                 MOZ_PNG_handle_sCAL
00283 #define png_handle_sPLT                 MOZ_PNG_handle_sPLT
00284 #define png_handle_sRGB                 MOZ_PNG_handle_sRGB
00285 #define png_handle_tEXt                 MOZ_PNG_handle_tEXt
00286 #define png_handle_tIME                 MOZ_PNG_handle_tIME
00287 #define png_handle_tRNS                 MOZ_PNG_handle_tRNS
00288 #define png_handle_unknown              MOZ_PNG_handle_unknown
00289 #define png_handle_zTXt                 MOZ_PNG_handle_zTXt
00290 #define png_info_destroy                MOZ_PNG_info_dest
00291 #define png_info_init_3                 MOZ_PNG_info_init_3
00292 #define png_init_io                     MOZ_PNG_init_io
00293 #define png_init_mmx_flags              MOZ_PNG_init_mmx_flags
00294 #define png_init_read_transformations   MOZ_PNG_init_read_transf
00295 #define png_malloc                      MOZ_PNG_malloc
00296 #define png_malloc_default              MOZ_PNG_malloc_default
00297 #define png_malloc_warn                 MOZ_PNG_malloc_warn
00298 #define png_mmx_support                 MOZ_PNG_mmx_support
00299 #define png_permit_empty_plte           MOZ_PNG_permit_mng_empty_plte
00300 #define png_permit_mng_features         MOZ_PNG_permit_mng_features
00301 #define png_process_IDAT_data           MOZ_PNG_proc_IDAT_data
00302 #define png_process_data                MOZ_PNG_process_data
00303 #define png_process_some_data           MOZ_PNG_proc_some_data
00304 #define png_progressive_combine_row     MOZ_PNG_progressive_combine_row
00305 #define png_push_crc_finish             MOZ_PNG_push_crc_finish
00306 #define png_push_crc_skip               MOZ_PNG_push_crc_skip
00307 #define png_push_fill_buffer            MOZ_PNG_push_fill_buffer
00308 #define png_push_handle_tEXt            MOZ_PNG_push_handle_tEXt
00309 #define png_push_handle_unknown         MOZ_PNG_push_handle_unk
00310 #define png_push_handle_zTXt            MOZ_PNG_push_handle_ztXt
00311 #define png_push_have_end               MOZ_PNG_push_have_end
00312 #define png_push_have_info              MOZ_PNG_push_have_info
00313 #define png_push_have_row               MOZ_PNG_push_have_row
00314 #define png_push_process_row            MOZ_PNG_push_proc_row
00315 #define png_push_read_IDAT              MOZ_PNG_push_read_IDAT
00316 #define png_push_read_chunk             MOZ_PNG_push_read_chunk
00317 #define png_push_read_sig               MOZ_PNG_push_read_sig
00318 #define png_push_read_tEXt              MOZ_PNG_push_read_tEXt
00319 #define png_push_read_zTXt              MOZ_PNG_push_read_zTXt
00320 #define png_push_restore_buffer         MOZ_PNG_push_rest_buf
00321 #define png_push_save_buffer            MOZ_PNG_push_save_buf
00322 #define png_read_data                   MOZ_PNG_read_data
00323 #define png_read_destroy                MOZ_PNG_read_dest
00324 #define png_read_end                    MOZ_PNG_read_end
00325 #define png_read_filter_row             MOZ_PNG_read_filt_row
00326 #define png_read_finish_row             MOZ_PNG_read_finish_row
00327 #define png_read_image                  MOZ_PNG_read_image
00328 #define png_read_info                   MOZ_PNG_read_info
00329 #define png_read_init_2                 MOZ_PNG_read_init_2
00330 #define png_read_init_3                 MOZ_PNG_read_init_3
00331 #define png_read_png                    MOZ_PNG_read_png
00332 #define png_read_push_finish_row        MOZ_PNG_read_push_finish_row
00333 #define png_read_row                    MOZ_PNG_read_row
00334 #define png_read_rows                   MOZ_PNG_read_rows
00335 #define png_read_start_row              MOZ_PNG_read_start_row
00336 #define png_read_transform_info         MOZ_PNG_read_transform_info
00337 #define png_read_update_info            MOZ_PNG_read_update_info
00338 #define png_reset_crc                   MOZ_PNG_reset_crc
00339 #define png_set_IHDR                    MOZ_PNG_set_IHDR
00340 #define png_set_PLTE                    MOZ_PNG_set_PLTE
00341 #define png_set_asm_flags               MOZ_PNG_set_asm_flags
00342 #define png_set_bKGD                    MOZ_PNG_set_bKGD
00343 #define png_set_background              MOZ_PNG_set_background
00344 #define png_set_bgr                     MOZ_PNG_set_bgr
00345 #define png_set_cHRM                    MOZ_PNG_set_cHRM
00346 #define png_set_cHRM_fixed              MOZ_PNG_set_cHRM_fixed
00347 #define png_set_compression_buffer_size MOZ_PNG_set_comp_buf_siz
00348 #define png_set_compression_level       MOZ_PNG_set_comp_level
00349 #define png_set_compression_mem_level   MOZ_PNG_set_comp_mem_lev
00350 #define png_set_compression_method      MOZ_PNG_set_comp_method
00351 #define png_set_compression_strategy    MOZ_PNG_set_comp_strategy
00352 #define png_set_compression_window_bits MOZ_PNG_set_comp_win_bits
00353 #define png_set_crc_action              MOZ_PNG_set_crc_action
00354 #define png_set_dither                  MOZ_PNG_set_dither
00355 #define png_set_error_fn                MOZ_PNG_set_error_fn
00356 #define png_set_expand                  MOZ_PNG_set_expand
00357 #define png_set_filler                  MOZ_PNG_set_filler
00358 #define png_set_filter                  MOZ_PNG_set_filter
00359 #define png_set_filter_heuristics       MOZ_PNG_set_filter_heur
00360 #define png_set_flush                   MOZ_PNG_set_flush
00361 #define png_set_gAMA                    MOZ_PNG_set_gAMA
00362 #define png_set_gAMA_fixed              MOZ_PNG_set_gAMA_fixed
00363 #define png_set_gamma                   MOZ_PNG_set_gamma
00364 #define png_set_gray_1_2_4_to_8         MOZ_PNG_set_gray_1_2_4_to_8
00365 #define png_set_gray_to_rgb             MOZ_PNG_set_gray_to_rgb
00366 #define png_set_hIST                    MOZ_PNG_set_hIST
00367 #define png_set_iCCP                    MOZ_PNG_set_iCCP
00368 #define png_set_interlace_handling      MOZ_PNG_set_interlace_handling
00369 #define png_set_invalid                 MOZ_PNG_set_invalid
00370 #define png_set_invert_alpha            MOZ_PNG_set_invert_alpha
00371 #define png_set_invert_mono             MOZ_PNG_set_invert_mono
00372 #define png_set_keep_unknown_chunks     MOZ_PNG_set_keep_unknown_chunks
00373 #define png_set_mem_fn                  MOZ_PNG_set_mem_fn
00374 #define png_set_mmx_thresholds          MOZ_PNG_set_mmx_thr
00375 #define png_set_oFFs                    MOZ_PNG_set_oFFs
00376 #define png_set_pCAL                    MOZ_PNG_set_pCAL
00377 #define png_set_pHYs                    MOZ_PNG_set_pHYs
00378 #define png_set_packing                 MOZ_PNG_set_packing
00379 #define png_set_packswap                MOZ_PNG_set_packswap
00380 #define png_set_palette_to_rgb          MOZ_PNG_set_palette_to_rgb
00381 #define png_set_progressive_read_fn     MOZ_PNG_set_progressive_read_fn
00382 #define png_set_read_fn                 MOZ_PNG_set_read_fn
00383 #define png_set_read_status_fn          MOZ_PNG_set_read_status_fn
00384 #define png_set_read_user_chunk_fn      MOZ_PNG_set_read_user_chunk_fn
00385 #define png_set_read_user_transform_fn  MOZ_PNG_set_read_user_trans_fn
00386 #define png_set_rgb_to_gray             MOZ_PNG_set_rgb_to_gray
00387 #define png_set_rgb_to_gray_fixed       MOZ_PNG_set_rgb_to_gray_fixed
00388 #define png_set_rows                    MOZ_PNG_set_rows
00389 #define png_set_sBIT                    MOZ_PNG_set_sBIT
00390 #define png_set_sCAL                    MOZ_PNG_set_sCAL
00391 #define png_set_sCAL_s                  MOZ_PNG_set_sCAL_s
00392 #define png_set_sPLT                    MOZ_PNG_set_sPLT
00393 #define png_set_sRGB                    MOZ_PNG_set_sRGB
00394 #define png_set_sRGB_gAMA_and_cHRM      MOZ_PNG_set_sRGB_gAMA_and_cHRM
00395 #define png_set_shift                   MOZ_PNG_set_shift
00396 #define png_set_strip_16                MOZ_PNG_set_strip_16
00397 #define png_set_strip_alpha             MOZ_PNG_set_strip_alpha
00398 #define png_set_strip_error_numbers     MOZ_PNG_set_strip_err_nums
00399 #define png_set_swap                    MOZ_PNG_set_swap
00400 #define png_set_swap_alpha              MOZ_PNG_set_swap_alpha
00401 #define png_set_tIME                    MOZ_PNG_set_tIME
00402 #define png_set_tRNS                    MOZ_PNG_set_tRNS
00403 #define png_set_tRNS_to_alpha           MOZ_PNG_set_tRNS_to_alpha
00404 #define png_set_text                    MOZ_PNG_set_text
00405 #define png_set_text_2                  MOZ_PNG_set_text-2
00406 #define png_set_unknown_chunk_location  MOZ_PNG_set_unknown_chunk_loc
00407 #define png_set_unknown_chunks          MOZ_PNG_set_unknown_chunks
00408 #define png_set_user_transform_info     MOZ_PNG_set_user_transform_info
00409 #define png_set_write_fn                MOZ_PNG_set_write_fn
00410 #define png_set_write_status_fn         MOZ_PNG_set_write_status_fn
00411 #define png_set_write_user_transform_fn MOZ_PNG_set_write_user_trans_fn
00412 #define png_sig_bytes                   MOZ_PNG_sig_bytes
00413 #define png_start_read_image            MOZ_PNG_start_read_image
00414 #define png_warning                     MOZ_PNG_warning
00415 #define png_write_chunk                 MOZ_PNG_write_chunk
00416 #define png_write_chunk_data            MOZ_PNG_write_chunk_data
00417 #define png_write_chunk_end             MOZ_PNG_write_chunk_end
00418 #define png_write_chunk_start           MOZ_PNG_write_chunk_start
00419 #define png_write_end                   MOZ_PNG_write_end
00420 #define png_write_flush                 MOZ_PNG_write_flush
00421 #define png_write_image                 MOZ_PNG_write_image
00422 #define png_write_info                  MOZ_PNG_write_info
00423 #define png_write_info_before_PLTE      MOZ_PNG_write_info_before_PLTE
00424 #define png_write_init                  MOZ_PNG_write_init
00425 #define png_write_init_2                MOZ_PNG_write_init_2
00426 #define png_write_init_3                MOZ_PNG_write_init_3
00427 #define png_write_png                   MOZ_PNG_write_png
00428 #define png_write_row                   MOZ_PNG_write_row
00429 #define png_write_rows                  MOZ_PNG_write_rows
00430 #define png_zalloc                      MOZ_PNG_zalloc
00431 #define png_zfree                       MOZ_PNG_zfree
00432 
00433 /* libpng-1.2.6 additions */
00434 #define png_convert_size                MOZ_PNG_convert_size
00435 #define png_get_uint_31                 MOZ_PNG_get_uint_31
00436 #define png_get_user_height_max         MOZ_PNG_get_user_height_max
00437 #define png_get_user_width_max          MOZ_PNG_get_user_width_max
00438 #define png_set_user_limits             MOZ_PNG_set_user_limits
00439 
00440 /* libpng-1.2.7 addition */
00441 #define png_set_add_alpha               MOZ_PNG_set_add_alpha
00442 
00443 #endif