#include "zlib.h"#include "pngconf.h"
Include dependency graph for png.h:| #define PNG_AFTER_IDAT 0x08 |
| #define PNG_ALL_FILTERS |
(PNG_FILTER_NONE | PNG_FILTER_SUB | PNG_FILTER_UP | \ PNG_FILTER_AVG | PNG_FILTER_PAETH)
| #define PNG_ALL_MNG_FEATURES 0x05 |
| #define PNG_COLOR_MASK_ALPHA 4 |
| #define PNG_COLOR_MASK_COLOR 2 |
| #define PNG_COLOR_MASK_PALETTE 1 |
| #define PNG_COLOR_TYPE_GA PNG_COLOR_TYPE_GRAY_ALPHA |
| #define PNG_COLOR_TYPE_GRAY 0 |
| #define PNG_COLOR_TYPE_GRAY_ALPHA (PNG_COLOR_MASK_ALPHA) |
| #define PNG_COLOR_TYPE_PALETTE (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_PALETTE) |
| #define PNG_COLOR_TYPE_RGB (PNG_COLOR_MASK_COLOR) |
| #define PNG_COLOR_TYPE_RGB_ALPHA (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_ALPHA) |
| #define PNG_COLOR_TYPE_RGBA PNG_COLOR_TYPE_RGB_ALPHA |
| #define png_composite | ( | composite, | ||
| fg, | ||||
| alpha, | ||||
| bg | ||||
| ) |
(composite) = (png_byte)(((png_uint_16)(fg) * (png_uint_16)(alpha) + \ (png_uint_16)(bg) * (png_uint_16)(255 - (png_uint_16)(alpha)) + \ (png_uint_16)127) / 255)
| #define png_composite_16 | ( | composite, | ||
| fg, | ||||
| alpha, | ||||
| bg | ||||
| ) |
(composite) = (png_uint_16)(((png_uint_32)(fg) * (png_uint_32)(alpha) + \ (png_uint_32)(bg)*(png_uint_32)(65535L - (png_uint_32)(alpha)) + \ (png_uint_32)32767) / (png_uint_32)65535L)
| #define PNG_COMPRESSION_TYPE_BASE 0 |
| #define PNG_COMPRESSION_TYPE_DEFAULT PNG_COMPRESSION_TYPE_BASE |
| #define PNG_CRC_DEFAULT 0 |
| #define PNG_CRC_ERROR_QUIT 1 |
| #define PNG_CRC_NO_CHANGE 5 |
| #define PNG_CRC_QUIET_USE 4 |
| #define PNG_CRC_WARN_DISCARD 2 |
| #define PNG_CRC_WARN_USE 3 |
| #define PNG_DESTROY_WILL_FREE_DATA 1 |
| #define PNG_EQUATION_ARBITRARY 2 |
| #define PNG_EQUATION_BASE_E 1 |
| #define PNG_EQUATION_HYPERBOLIC 3 |
| #define PNG_EQUATION_LAST 4 |
| #define PNG_EQUATION_LINEAR 0 |
| #define PNG_FILTER_AVG 0x40 |
| #define PNG_FILTER_HEURISTIC_DEFAULT 0 |
| #define PNG_FILTER_HEURISTIC_LAST 3 |
| #define PNG_FILTER_HEURISTIC_UNWEIGHTED 1 |
| #define PNG_FILTER_HEURISTIC_WEIGHTED 2 |
| #define PNG_FILTER_NONE 0x08 |
| #define PNG_FILTER_PAETH 0x80 |
| #define PNG_FILTER_SUB 0x10 |
| #define PNG_FILTER_TYPE_BASE 0 |
| #define PNG_FILTER_TYPE_DEFAULT PNG_FILTER_TYPE_BASE |
| #define PNG_FILTER_UP 0x20 |
| #define PNG_FILTER_VALUE_AVG 3 |
| #define PNG_FILTER_VALUE_LAST 5 |
| #define PNG_FILTER_VALUE_NONE 0 |
| #define PNG_FILTER_VALUE_PAETH 4 |
| #define PNG_FILTER_VALUE_SUB 1 |
| #define PNG_FILTER_VALUE_UP 2 |
| #define PNG_FLAG_MNG_EMPTY_PLTE 0x01 |
| #define PNG_FLAG_MNG_FILTER_64 0x04 |
| #define PNG_FREE_ALL 0x7fff |
| #define PNG_FREE_HIST 0x0008 |
| #define PNG_FREE_ICCP 0x0010 |
| #define PNG_FREE_LIST 0x0400 |
| #define PNG_FREE_MUL 0x4220 |
| #define PNG_FREE_PCAL 0x0080 |
| #define PNG_FREE_PLTE 0x1000 |
| #define PNG_FREE_ROWS 0x0040 |
| #define PNG_FREE_SCAL 0x0100 |
| #define PNG_FREE_SPLT 0x0020 |
| #define PNG_FREE_TEXT 0x4000 |
| #define PNG_FREE_TRNS 0x2000 |
| #define PNG_FREE_UNKN 0x0200 |
| #define png_get_uint_16 | ( | buf | ) |
(((png_uint_32)(*(buf)) << 8) + \
((png_uint_32)(*((buf) + 1))))
| #define png_get_uint_32 | ( | buf | ) |
(((png_uint_32)(*(buf)) << 24) + \
((png_uint_32)(*((buf) + 1)) << 16) + \
((png_uint_32)(*((buf) + 2)) << 8) + \
((png_uint_32)(*((buf) + 3))))
| #define PNG_HANDLE_CHUNK_ALWAYS 3 |
| #define PNG_HANDLE_CHUNK_AS_DEFAULT 0 |
| #define PNG_HANDLE_CHUNK_IF_SAFE 2 |
| #define PNG_HANDLE_CHUNK_NEVER 1 |
| #define PNG_HAVE_cHRM 0x40 |
| #define PNG_HAVE_gAMA 0x20 |
| #define PNG_HAVE_IDAT 0x04 |
| #define PNG_HAVE_IEND 0x10 |
| #define PNG_HAVE_IHDR 0x01 |
| #define PNG_HAVE_PLTE 0x02 |
| #define PNG_HEADER_VERSION_STRING " libpng version 1.4.0 - January 3, 2010\n" |
| #define PNG_INFO_bKGD 0x0020 |
| #define PNG_INFO_cHRM 0x0004 |
| #define PNG_INFO_gAMA 0x0001 |
| #define PNG_INFO_hIST 0x0040 |
| #define PNG_INFO_iCCP 0x1000 |
| #define PNG_INFO_IDAT 0x8000L |
| #define PNG_INFO_oFFs 0x0100 |
| #define PNG_INFO_pCAL 0x0400 |
| #define PNG_INFO_pHYs 0x0080 |
| #define PNG_INFO_PLTE 0x0008 |
| #define PNG_INFO_sBIT 0x0002 |
| #define PNG_INFO_sCAL 0x4000 |
| #define PNG_INFO_sPLT 0x2000 |
| #define PNG_INFO_sRGB 0x0800 |
| #define PNG_INFO_tIME 0x0200 |
| #define PNG_INFO_tRNS 0x0010 |
| #define PNG_INTERLACE_ADAM7 1 |
| #define PNG_INTERLACE_LAST 2 |
| #define PNG_INTERLACE_NONE 0 |
| #define PNG_INTRAPIXEL_DIFFERENCING 64 |
| #define PNG_IO_CHUNK_CRC 0x0080 |
| #define PNG_IO_CHUNK_DATA 0x0040 |
| #define PNG_IO_CHUNK_HDR 0x0020 |
| #define PNG_IO_MASK_LOC 0x00f0 |
| #define PNG_IO_MASK_OP 0x000f |
| #define PNG_IO_NONE 0x0000 |
| #define PNG_IO_READING 0x0001 |
| #define PNG_IO_SIGNATURE 0x0010 |
| #define PNG_IO_WRITING 0x0002 |
| #define PNG_ITXT_COMPRESSION_NONE 1 |
| #define PNG_ITXT_COMPRESSION_zTXt 2 |
| #define png_jmpbuf | ( | png_ptr | ) | (*png_set_longjmp_fn((png_ptr), longjmp, sizeof (jmp_buf))) |
| #define PNG_KEYWORD_MAX_LENGTH 79 |
| #define PNG_LIBPNG_BUILD_ALPHA 1 |
| #define PNG_LIBPNG_BUILD_BASE_TYPE PNG_LIBPNG_BUILD_BETA |
| #define PNG_LIBPNG_BUILD_BETA 2 |
| #define PNG_LIBPNG_BUILD_PATCH 8 |
| #define PNG_LIBPNG_BUILD_PRIVATE 16 |
| #define PNG_LIBPNG_BUILD_RC 3 |
| #define PNG_LIBPNG_BUILD_RELEASE_STATUS_MASK 7 |
| #define PNG_LIBPNG_BUILD_SPECIAL 32 |
| #define PNG_LIBPNG_BUILD_STABLE 4 |
| #define PNG_LIBPNG_BUILD_TYPE (PNG_LIBPNG_BUILD_BASE_TYPE) |
| #define png_libpng_ver png_get_header_ver(NULL) |
| #define PNG_LIBPNG_VER 10400 |
| #define PNG_LIBPNG_VER_BUILD 0 |
| #define PNG_LIBPNG_VER_DLLNUM 14 |
| #define PNG_LIBPNG_VER_MAJOR 1 |
| #define PNG_LIBPNG_VER_MINOR 4 |
| #define PNG_LIBPNG_VER_RELEASE 0 |
| #define PNG_LIBPNG_VER_SONUM 14 |
| #define PNG_LIBPNG_VER_STRING "1.4.0" |
| #define PNG_MAX_PALETTE_LENGTH 256 |
| #define PNG_NO_FILTERS 0x00 |
| #define PNG_OFFSET_LAST 2 |
| #define PNG_OFFSET_MICROMETER 1 |
| #define PNG_OFFSET_PIXEL 0 |
| #define PNG_RESOLUTION_LAST 2 |
| #define PNG_RESOLUTION_METER 1 |
| #define PNG_RESOLUTION_UNKNOWN 0 |
| #define PNG_SCALE_LAST 3 |
| #define PNG_SCALE_METER 1 |
| #define PNG_SCALE_RADIAN 2 |
| #define PNG_SCALE_UNKNOWN 0 |
| #define PNG_SET_WILL_FREE_DATA 1 |
| #define PNG_SIZE_MAX ((png_size_t)(-1)) |
| #define PNG_sRGB_INTENT_ABSOLUTE 3 |
| #define PNG_sRGB_INTENT_LAST 4 |
| #define PNG_sRGB_INTENT_PERCEPTUAL 0 |
| #define PNG_sRGB_INTENT_RELATIVE 1 |
| #define PNG_sRGB_INTENT_SATURATION 2 |
| #define PNG_TEXT_COMPRESSION_LAST 3 |
| #define PNG_TEXT_COMPRESSION_NONE -1 |
| #define PNG_TEXT_COMPRESSION_NONE_WR -3 |
| #define PNG_TEXT_COMPRESSION_zTXt 0 |
| #define PNG_TEXT_COMPRESSION_zTXt_WR -2 |
| #define PNG_TRANSFORM_BGR 0x0080 |
| #define PNG_TRANSFORM_EXPAND 0x0010 |
| #define PNG_TRANSFORM_GRAY_TO_RGB 0x2000 |
| #define PNG_TRANSFORM_IDENTITY 0x0000 |
| #define PNG_TRANSFORM_INVERT_ALPHA 0x0400 |
| #define PNG_TRANSFORM_INVERT_MONO 0x0020 |
| #define PNG_TRANSFORM_PACKING 0x0004 |
| #define PNG_TRANSFORM_PACKSWAP 0x0008 |
| #define PNG_TRANSFORM_SHIFT 0x0040 |
| #define PNG_TRANSFORM_STRIP_16 0x0001 |
| #define PNG_TRANSFORM_STRIP_ALPHA 0x0002 |
| #define PNG_TRANSFORM_STRIP_FILLER 0x0800 |
| #define PNG_TRANSFORM_STRIP_FILLER_AFTER 0x1000 |
| #define PNG_TRANSFORM_STRIP_FILLER_BEFORE PNG_TRANSFORM_STRIP_FILLER |
| #define PNG_TRANSFORM_SWAP_ALPHA 0x0100 |
| #define PNG_TRANSFORM_SWAP_ENDIAN 0x0200 |
| #define PNG_UINT_31_MAX ((png_uint_32)0x7fffffffL) |
| #define PNG_UINT_32_MAX ((png_uint_32)(-1)) |
| #define PNG_USER_WILL_FREE_DATA 2 |
| typedef struct png_color_struct png_color |
| typedef struct png_color_16_struct png_color_16 |
| typedef png_color_16 FAR* png_color_16p |
| typedef png_color_16 FAR* FAR* png_color_16pp |
| typedef struct png_color_8_struct png_color_8 |
| typedef png_color_8 FAR* png_color_8p |
| typedef png_color_8 FAR* FAR* png_color_8pp |
| typedef png_color FAR* png_colorp |
| typedef png_color FAR* FAR* png_colorpp |
| typedef void( * png_error_ptr)() |
| typedef void( * png_flush_ptr)() |
| typedef void(* png_free_ptr)() |
| typedef struct png_info_struct png_info |
| typedef png_info FAR* FAR* png_infopp |
| typedef void( * png_longjmp_ptr)() |
| typedef png_voidp(* png_malloc_ptr)() |
| typedef void( * png_read_status_ptr)() |
| typedef struct png_row_info_struct png_row_info |
| typedef png_row_info FAR* png_row_infop |
| typedef png_row_info FAR* FAR* png_row_infopp |
| typedef void( * png_rw_ptr)() |
| typedef struct png_sPLT_entry_struct png_sPLT_entry |
| typedef png_sPLT_entry FAR* png_sPLT_entryp |
| typedef png_sPLT_entry FAR* FAR* png_sPLT_entrypp |
| typedef struct png_sPLT_struct png_sPLT_t |
| typedef png_sPLT_t FAR* png_sPLT_tp |
| typedef png_sPLT_t FAR* FAR* png_sPLT_tpp |
| typedef struct png_struct_def png_struct |
| typedef png_struct FAR* png_structp |
| typedef png_struct FAR* FAR* png_structpp |
| typedef struct png_time_struct png_time |
| typedef png_time FAR* FAR* png_timepp |
| typedef struct png_unknown_chunk_t png_unknown_chunk |
| typedef png_unknown_chunk FAR* png_unknown_chunkp |
| typedef png_unknown_chunk FAR* FAR* png_unknown_chunkpp |
| typedef void( * png_write_status_ptr)() |
| typedef png_structp version_1_4_0 |
| png_uint_32 MOZ_PNG_access_vn | ( | ) |
| void MOZ_PNG_build_g_p | ( | ) |
| void MOZ_PNG_chunk_warn | ( | ) |
| png_infop MOZ_PNG_cr_info_str | ( | ) |
| png_structp MOZ_PNG_cr_read_str | ( | ) |
| png_structp MOZ_PNG_cr_write_str | ( | ) |
| png_charp MOZ_PNG_cv_to_rfc1123 | ( | ) |
| void MOZ_PNG_data_freer | ( | ) |
| void MOZ_PNG_dest_info_str | ( | ) |
| void MOZ_PNG_dest_read_str | ( | ) |
| void MOZ_PNG_dest_write_str | ( | ) |
| void MOZ_PNG_err | ( | ) |
| void MOZ_PNG_free | ( | ) |
| void MOZ_PNG_free_data | ( | ) |
| png_byte MOZ_PNG_get_channels | ( | ) |
| png_charp MOZ_PNG_get_copyright | ( | ) |
| png_voidp MOZ_PNG_get_error_ptr | ( | ) |
| png_charp MOZ_PNG_get_hdr_ver | ( | ) |
| png_charp MOZ_PNG_get_hdr_vn | ( | ) |
| png_uint_32 MOZ_PNG_get_IHDR | ( | ) |
| png_voidp MOZ_PNG_get_io_ptr | ( | ) |
| png_charp MOZ_PNG_get_libpng_ver | ( | ) |
| png_uint_32 MOZ_PNG_get_PLTE | ( | ) |
| png_size_t MOZ_PNG_get_rowbytes | ( | ) |
| png_bytep MOZ_PNG_get_signature | ( | ) |
| png_uint_32 MOZ_PNG_get_uint_31 | ( | ) |
| png_uint_32 MOZ_PNG_get_user_height_max | ( | ) |
| png_uint_32 MOZ_PNG_get_user_width_max | ( | ) |
| png_uint_32 MOZ_PNG_get_valid | ( | ) |
| int MOZ_PNG_handle_as_unknown | ( | ) |
| void MOZ_PNG_info_init_3 | ( | ) |
| void MOZ_PNG_init_io | ( | ) |
| png_voidp MOZ_PNG_malloc | ( | ) |
| png_voidp MOZ_PNG_malloc_warn | ( | ) |
| void MOZ_PNG_read_update_info | ( | ) |
| int MOZ_PNG_reset_zs | ( | ) |
| void MOZ_PNG_save_int_32 | ( | ) |
| void MOZ_PNG_save_uint_16 | ( | ) |
| void MOZ_PNG_save_uint_32 | ( | ) |
| void MOZ_PNG_set_comp_level | ( | ) |
| void MOZ_PNG_set_comp_mem_lev | ( | ) |
| void MOZ_PNG_set_comp_method | ( | ) |
| void MOZ_PNG_set_comp_strategy | ( | ) |
| void MOZ_PNG_set_comp_win_bits | ( | ) |
| void MOZ_PNG_set_crc_action | ( | ) |
| void MOZ_PNG_set_error_fn | ( | ) |
| void MOZ_PNG_set_filter | ( | ) |
| void MOZ_PNG_set_IHDR | ( | ) |
| void MOZ_PNG_set_invalid | ( | ) |
| void MOZ_PNG_set_keep_unknown_chunks | ( | ) |
| void MOZ_PNG_set_PLTE | ( | ) |
| void MOZ_PNG_set_read_fn | ( | ) |
| void MOZ_PNG_set_read_status_fn | ( | ) |
| void MOZ_PNG_set_sig_b | ( | ) |
| void MOZ_PNG_set_user_limits | ( | ) |
| void MOZ_PNG_set_write_fn | ( | ) |
| void MOZ_PNG_set_write_status_fn | ( | ) |
| int MOZ_PNG_sig_cmp | ( | ) |
| void MOZ_PNG_start_read_image | ( | ) |
| void MOZ_PNG_warning | ( | ) |
| void MOZ_PNG_write_chunk | ( | ) |
| void MOZ_PNG_write_chunk_data | ( | ) |
| void MOZ_PNG_write_chunk_end | ( | ) |
| void MOZ_PNG_write_chunk_start | ( | ) |
| void MOZ_PNG_write_end | ( | ) |
| void MOZ_PNG_write_image | ( | ) |
| void MOZ_PNG_write_info | ( | ) |
| void MOZ_PNG_write_info_before_PLTE | ( | ) |
| void MOZ_PNG_write_row | ( | ) |
| void MOZ_PNG_write_rows | ( | ) |
| void MOZ_PNG_write_sig | ( | ) |
| png_voidp png_calloc | ( | ) |
| png_uint_32 png_get_chunk_cache_max | ( | ) |
| png_bytep png_get_io_chunk_name | ( | ) |
| png_uint_32 png_get_io_state | ( | ) |
| void png_set_chunk_cache_max | ( | ) |
| jmp_buf* png_set_longjmp_fn | ( | ) |
1.7.1