Angband
Data Structures | Macros | Typedefs | Functions | Variables
libpng12/png.h File Reference
#include "zlib.h"
#include "pngconf.h"

Go to the source code of this file.

Data Structures

struct  png_color_struct
struct  png_color_16_struct
struct  png_color_8_struct
struct  png_sPLT_entry_struct
struct  png_sPLT_struct
struct  png_text_struct
struct  png_time_struct
struct  png_unknown_chunk_t
struct  png_info_struct
struct  png_row_info_struct
struct  png_struct_def

Macros

#define PNG_LIBPNG_VER_STRING   "1.2.37"
#define PNG_HEADER_VERSION_STRING   " libpng version 1.2.37 - June 4, 2009\n"
#define PNG_LIBPNG_VER_SONUM   0
#define PNG_LIBPNG_VER_DLLNUM   13
#define PNG_LIBPNG_VER_MAJOR   1
#define PNG_LIBPNG_VER_MINOR   2
#define PNG_LIBPNG_VER_RELEASE   37
#define PNG_LIBPNG_VER_BUILD   0
#define PNG_LIBPNG_BUILD_ALPHA   1
#define PNG_LIBPNG_BUILD_BETA   2
#define PNG_LIBPNG_BUILD_RC   3
#define PNG_LIBPNG_BUILD_STABLE   4
#define PNG_LIBPNG_BUILD_RELEASE_STATUS_MASK   7
#define PNG_LIBPNG_BUILD_PATCH
#define PNG_LIBPNG_BUILD_PRIVATE
#define PNG_LIBPNG_BUILD_SPECIAL
#define PNG_LIBPNG_BUILD_BASE_TYPE   PNG_LIBPNG_BUILD_STABLE
#define PNG_LIBPNG_VER   10237 /* 1.2.37 */
#define PNG_LIBPNG_BUILD_TYPE   (PNG_LIBPNG_BUILD_BASE_TYPE)
#define int_p_NULL   (int *)NULL
#define png_bytep_NULL   (png_bytep)NULL
#define png_bytepp_NULL   (png_bytepp)NULL
#define png_doublep_NULL   (png_doublep)NULL
#define png_error_ptr_NULL   (png_error_ptr)NULL
#define png_flush_ptr_NULL   (png_flush_ptr)NULL
#define png_free_ptr_NULL   (png_free_ptr)NULL
#define png_infopp_NULL   (png_infopp)NULL
#define png_malloc_ptr_NULL   (png_malloc_ptr)NULL
#define png_read_status_ptr_NULL   (png_read_status_ptr)NULL
#define png_rw_ptr_NULL   (png_rw_ptr)NULL
#define png_structp_NULL   (png_structp)NULL
#define png_uint_16p_NULL   (png_uint_16p)NULL
#define png_voidp_NULL   (png_voidp)NULL
#define png_write_status_ptr_NULL   (png_write_status_ptr)NULL
#define PNG_TEXT_COMPRESSION_NONE_WR   -3
#define PNG_TEXT_COMPRESSION_zTXt_WR   -2
#define PNG_TEXT_COMPRESSION_NONE   -1
#define PNG_TEXT_COMPRESSION_zTXt   0
#define PNG_ITXT_COMPRESSION_NONE   1
#define PNG_ITXT_COMPRESSION_zTXt   2
#define PNG_TEXT_COMPRESSION_LAST   3 /* Not a valid value */
#define PNG_CHUNK_NAME_LENGTH   5
#define PNG_UINT_31_MAX   ((png_uint_32)0x7fffffffL)
#define PNG_UINT_32_MAX   ((png_uint_32)(-1))
#define PNG_SIZE_MAX   ((png_size_t)(-1))
#define PNG_MAX_UINT   PNG_UINT_31_MAX
#define PNG_COLOR_MASK_PALETTE   1
#define PNG_COLOR_MASK_COLOR   2
#define PNG_COLOR_MASK_ALPHA   4
#define PNG_COLOR_TYPE_GRAY   0
#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_GRAY_ALPHA   (PNG_COLOR_MASK_ALPHA)
#define PNG_COLOR_TYPE_RGBA   PNG_COLOR_TYPE_RGB_ALPHA
#define PNG_COLOR_TYPE_GA   PNG_COLOR_TYPE_GRAY_ALPHA
#define PNG_COMPRESSION_TYPE_BASE   0 /* Deflate method 8, 32K window */
#define PNG_COMPRESSION_TYPE_DEFAULT   PNG_COMPRESSION_TYPE_BASE
#define PNG_FILTER_TYPE_BASE   0 /* Single row per-byte filtering */
#define PNG_INTRAPIXEL_DIFFERENCING   64 /* Used only in MNG datastreams */
#define PNG_FILTER_TYPE_DEFAULT   PNG_FILTER_TYPE_BASE
#define PNG_INTERLACE_NONE   0 /* Non-interlaced image */
#define PNG_INTERLACE_ADAM7   1 /* Adam7 interlacing */
#define PNG_INTERLACE_LAST   2 /* Not a valid value */
#define PNG_OFFSET_PIXEL   0 /* Offset in pixels */
#define PNG_OFFSET_MICROMETER   1 /* Offset in micrometers (1/10^6 meter) */
#define PNG_OFFSET_LAST   2 /* Not a valid value */
#define PNG_EQUATION_LINEAR   0 /* Linear transformation */
#define PNG_EQUATION_BASE_E   1 /* Exponential base e transform */
#define PNG_EQUATION_ARBITRARY   2 /* Arbitrary base exponential transform */
#define PNG_EQUATION_HYPERBOLIC   3 /* Hyperbolic sine transformation */
#define PNG_EQUATION_LAST   4 /* Not a valid value */
#define PNG_SCALE_UNKNOWN   0 /* unknown unit (image scale) */
#define PNG_SCALE_METER   1 /* meters per pixel */
#define PNG_SCALE_RADIAN   2 /* radians per pixel */
#define PNG_SCALE_LAST   3 /* Not a valid value */
#define PNG_RESOLUTION_UNKNOWN   0 /* pixels/unknown unit (aspect ratio) */
#define PNG_RESOLUTION_METER   1 /* pixels/meter */
#define PNG_RESOLUTION_LAST   2 /* Not a valid value */
#define PNG_sRGB_INTENT_PERCEPTUAL   0
#define PNG_sRGB_INTENT_RELATIVE   1
#define PNG_sRGB_INTENT_SATURATION   2
#define PNG_sRGB_INTENT_ABSOLUTE   3
#define PNG_sRGB_INTENT_LAST   4 /* Not a valid value */
#define PNG_KEYWORD_MAX_LENGTH   79
#define PNG_MAX_PALETTE_LENGTH   256
#define PNG_INFO_gAMA   0x0001
#define PNG_INFO_sBIT   0x0002
#define PNG_INFO_cHRM   0x0004
#define PNG_INFO_PLTE   0x0008
#define PNG_INFO_tRNS   0x0010
#define PNG_INFO_bKGD   0x0020
#define PNG_INFO_hIST   0x0040
#define PNG_INFO_pHYs   0x0080
#define PNG_INFO_oFFs   0x0100
#define PNG_INFO_tIME   0x0200
#define PNG_INFO_pCAL   0x0400
#define PNG_INFO_sRGB   0x0800 /* GR-P, 0.96a */
#define PNG_INFO_iCCP   0x1000 /* ESR, 1.0.6 */
#define PNG_INFO_sPLT   0x2000 /* ESR, 1.0.6 */
#define PNG_INFO_sCAL   0x4000 /* ESR, 1.0.6 */
#define PNG_INFO_IDAT   0x8000L /* ESR, 1.0.6 */
#define PNG_TRANSFORM_IDENTITY   0x0000 /* read and write */
#define PNG_TRANSFORM_STRIP_16   0x0001 /* read only */
#define PNG_TRANSFORM_STRIP_ALPHA   0x0002 /* read only */
#define PNG_TRANSFORM_PACKING   0x0004 /* read and write */
#define PNG_TRANSFORM_PACKSWAP   0x0008 /* read and write */
#define PNG_TRANSFORM_EXPAND   0x0010 /* read only */
#define PNG_TRANSFORM_INVERT_MONO   0x0020 /* read and write */
#define PNG_TRANSFORM_SHIFT   0x0040 /* read and write */
#define PNG_TRANSFORM_BGR   0x0080 /* read and write */
#define PNG_TRANSFORM_SWAP_ALPHA   0x0100 /* read and write */
#define PNG_TRANSFORM_SWAP_ENDIAN   0x0200 /* read and write */
#define PNG_TRANSFORM_INVERT_ALPHA   0x0400 /* read and write */
#define PNG_TRANSFORM_STRIP_FILLER   0x0800 /* WRITE only, deprecated */
#define PNG_TRANSFORM_STRIP_FILLER_BEFORE   0x0800 /* WRITE only */
#define PNG_TRANSFORM_STRIP_FILLER_AFTER   0x1000 /* WRITE only */
#define PNG_FLAG_MNG_EMPTY_PLTE   0x01
#define PNG_FLAG_MNG_FILTER_64   0x04
#define PNG_ALL_MNG_FEATURES   0x05
#define png_info_init(info_ptr)
#define PNG_FILLER_BEFORE   0
#define PNG_FILLER_AFTER   1
#define PNG_BACKGROUND_GAMMA_UNKNOWN   0
#define PNG_BACKGROUND_GAMMA_SCREEN   1
#define PNG_BACKGROUND_GAMMA_FILE   2
#define PNG_BACKGROUND_GAMMA_UNIQUE   3
#define PNG_CRC_DEFAULT   0 /* error/quit warn/discard data */
#define PNG_CRC_ERROR_QUIT   1 /* error/quit error/quit */
#define PNG_CRC_WARN_DISCARD   2 /* (INVALID) warn/discard data */
#define PNG_CRC_WARN_USE   3 /* warn/use data warn/use data */
#define PNG_CRC_QUIET_USE   4 /* quiet/use data quiet/use data */
#define PNG_CRC_NO_CHANGE   5 /* use current value use current value */
#define PNG_NO_FILTERS   0x00
#define PNG_FILTER_NONE   0x08
#define PNG_FILTER_SUB   0x10
#define PNG_FILTER_UP   0x20
#define PNG_FILTER_AVG   0x40
#define PNG_FILTER_PAETH   0x80
#define PNG_ALL_FILTERS
#define PNG_FILTER_VALUE_NONE   0
#define PNG_FILTER_VALUE_SUB   1
#define PNG_FILTER_VALUE_UP   2
#define PNG_FILTER_VALUE_AVG   3
#define PNG_FILTER_VALUE_PAETH   4
#define PNG_FILTER_VALUE_LAST   5
#define PNG_FILTER_HEURISTIC_DEFAULT   0 /* Currently "UNWEIGHTED" */
#define PNG_FILTER_HEURISTIC_UNWEIGHTED   1 /* Used by libpng < 0.95 */
#define PNG_FILTER_HEURISTIC_WEIGHTED   2 /* Experimental feature */
#define PNG_FILTER_HEURISTIC_LAST   3 /* Not a valid value */
#define PNG_DESTROY_WILL_FREE_DATA   1
#define PNG_SET_WILL_FREE_DATA   1
#define PNG_USER_WILL_FREE_DATA   2
#define PNG_FREE_HIST   0x0008
#define PNG_FREE_ICCP   0x0010
#define PNG_FREE_SPLT   0x0020
#define PNG_FREE_ROWS   0x0040
#define PNG_FREE_PCAL   0x0080
#define PNG_FREE_SCAL   0x0100
#define PNG_FREE_UNKN   0x0200
#define PNG_FREE_LIST   0x0400
#define PNG_FREE_PLTE   0x1000
#define PNG_FREE_TRNS   0x2000
#define PNG_FREE_TEXT   0x4000
#define PNG_FREE_ALL   0x7fff
#define PNG_FREE_MUL   0x4220 /* PNG_FREE_SPLT|PNG_FREE_TEXT|PNG_FREE_UNKN */
#define png_debug(l, m)
#define png_debug1(l, m, p1)
#define png_debug2(l, m, p1, p2)
#define PNG_HANDLE_CHUNK_AS_DEFAULT   0
#define PNG_HANDLE_CHUNK_NEVER   1
#define PNG_HANDLE_CHUNK_IF_SAFE   2
#define PNG_HANDLE_CHUNK_ALWAYS   3
#define png_composite(composite, fg, alpha, bg)
#define png_composite_16(composite, fg, alpha, bg)
#define PNG_HAVE_IHDR   0x01
#define PNG_HAVE_PLTE   0x02
#define PNG_HAVE_IDAT   0x04
#define PNG_AFTER_IDAT   0x08 /* Have complete zlib datastream */
#define PNG_HAVE_IEND   0x10

Typedefs

typedef struct png_color_struct png_color
typedef png_color FARpng_colorp
typedef png_color FAR *FARpng_colorpp
typedef struct png_color_16_struct png_color_16
typedef png_color_16 FARpng_color_16p
typedef png_color_16 FAR *FARpng_color_16pp
typedef struct png_color_8_struct png_color_8
typedef png_color_8 FARpng_color_8p
typedef png_color_8 FAR *FARpng_color_8pp
typedef struct
png_sPLT_entry_struct 
png_sPLT_entry
typedef png_sPLT_entry FARpng_sPLT_entryp
typedef png_sPLT_entry FAR *FARpng_sPLT_entrypp
typedef struct png_sPLT_struct png_sPLT_t
typedef png_sPLT_t FARpng_sPLT_tp
typedef png_sPLT_t FAR *FARpng_sPLT_tpp
typedef struct png_text_struct png_text
typedef png_text FARpng_textp
typedef png_text FAR *FARpng_textpp
typedef struct png_time_struct png_time
typedef png_time FARpng_timep
typedef png_time FAR *FARpng_timepp
typedef struct png_unknown_chunk_t png_unknown_chunk
typedef png_unknown_chunk FARpng_unknown_chunkp
typedef png_unknown_chunk FAR
*FAR
png_unknown_chunkpp
typedef struct png_info_struct png_info
typedef png_info FARpng_infop
typedef png_info FAR *FARpng_infopp
typedef struct png_row_info_struct png_row_info
typedef png_row_info FARpng_row_infop
typedef png_row_info FAR *FARpng_row_infopp
typedef struct png_struct_def png_struct
typedef png_struct FARpng_structp
typedef png_voidp png_malloc_ptr PNGARG ((png_structp, png_size_t))
typedef png_structp version_1_2_37
typedef png_struct FAR *FARpng_structpp

Functions

 PNG_EXPORT_VAR (PNG_CONST char) png_libpng_ver[18]
 PNG_EXPORT_VAR (PNG_CONST int FARDATA) png_pass_start[7]
typedef void (PNGAPI *png_error_ptr) PNGARG((png_structp
typedef int (PNGAPI *png_user_chunk_ptr) PNGARG((png_structp
 PNG_EXPORT (png_uint_32, png_access_version_number) PNGARG((void))
 PNG_EXPORT (void, png_set_sig_bytes) PNGARG((png_structp png_ptr
 PNG_EXPORT (int, png_sig_cmp) PNGARG((png_bytep sig
 PNG_EXPORT (int, png_check_sig) PNGARG((png_bytep sig
 PNG_EXPORT (png_structp, png_create_read_struct) PNGARG((png_const_charp user_png_ver
 PNG_EXPORT (png_structp, png_create_write_struct) PNGARG((png_const_charp user_png_ver
 PNG_EXPORT (png_uint_32, png_get_compression_buffer_size) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_compression_buffer_size) PNGARG((png_structp png_ptr
 PNG_EXPORT (int, png_reset_zstream) PNGARG((png_structp png_ptr))
 PNG_EXPORT (png_structp, png_create_read_struct_2) PNGARG((png_const_charp user_png_ver
 PNG_EXPORT (png_structp, png_create_write_struct_2) PNGARG((png_const_charp user_png_ver
 PNG_EXPORT (void, png_write_chunk) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_write_chunk_start) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_write_chunk_data) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_write_chunk_end) PNGARG((png_structp png_ptr))
 PNG_EXPORT (png_infop, png_create_info_struct) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_info_init) PNGARG((png_infop info_ptr))
 PNG_EXPORT (void, png_info_init_3) PNGARG((png_infopp info_ptr
 PNG_EXPORT (void, png_write_info_before_PLTE) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_write_info) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_read_info) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_charp, png_convert_to_rfc1123) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_convert_from_struct_tm) PNGARG((png_timep ptime
 PNG_EXPORT (void, png_convert_from_time_t) PNGARG((png_timep ptime
 PNG_EXPORT (void, png_set_expand) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_expand_gray_1_2_4_to_8) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_palette_to_rgb) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_tRNS_to_alpha) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_gray_1_2_4_to_8) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_bgr) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_gray_to_rgb) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_rgb_to_gray) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_rgb_to_gray_fixed) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_byte, png_get_rgb_to_gray_status) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_build_grayscale_palette) PNGARG((int bit_depth
 PNG_EXPORT (void, png_set_strip_alpha) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_swap_alpha) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_invert_alpha) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_filler) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_add_alpha) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_swap) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_packing) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_packswap) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_shift) PNGARG((png_structp png_ptr
 PNG_EXPORT (int, png_set_interlace_handling) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_invert_mono) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_background) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_strip_16) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_dither) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_gamma) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_permit_empty_plte) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_flush) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_write_flush) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_start_read_image) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_read_update_info) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_read_rows) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_read_row) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_read_image) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_write_row) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_write_rows) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_write_image) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_write_end) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_read_end) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_destroy_info_struct) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_destroy_read_struct) PNGARG((png_structpp png_ptr_ptr
 PNG_EXPORT (void, png_read_destroy) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_destroy_write_struct) PNGARG((png_structpp png_ptr_ptr
 PNG_EXPORT (void, png_write_destroy) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_crc_action) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_filter) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_filter_heuristics) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_compression_level) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_compression_mem_level) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_compression_strategy) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_compression_window_bits) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_compression_method) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_init_io) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_error_fn) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_voidp, png_get_error_ptr) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_write_fn) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_read_fn) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_voidp, png_get_io_ptr) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_read_status_fn) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_write_status_fn) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_mem_fn) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_voidp, png_get_mem_ptr) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_read_user_transform_fn) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_write_user_transform_fn) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_user_transform_info) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_voidp, png_get_user_transform_ptr) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_read_user_chunk_fn) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_voidp, png_get_user_chunk_ptr) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_set_progressive_read_fn) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_voidp, png_get_progressive_ptr) PNGARG((png_structp png_ptr))
 PNG_EXPORT (void, png_process_data) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_progressive_combine_row) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_voidp, png_malloc) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_voidp, png_malloc_warn) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_free) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_free_data) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_data_freer) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_voidp, png_malloc_default) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_free_default) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_voidp, png_memcpy_check) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_voidp, png_memset_check) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_error) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_chunk_error) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_warning) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_chunk_warning) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_valid) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_rowbytes) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_bytepp, png_get_rows) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_rows) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_byte, png_get_channels) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_image_width) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_image_height) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_byte, png_get_bit_depth) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_byte, png_get_color_type) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_byte, png_get_filter_type) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_byte, png_get_interlace_type) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_byte, png_get_compression_type) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_pixels_per_meter) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_x_pixels_per_meter) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_y_pixels_per_meter) PNGARG((png_structp png_ptr
 PNG_EXPORT (float, png_get_pixel_aspect_ratio) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_int_32, png_get_x_offset_pixels) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_int_32, png_get_y_offset_pixels) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_int_32, png_get_x_offset_microns) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_int_32, png_get_y_offset_microns) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_bytep, png_get_signature) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_bKGD) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_bKGD) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_cHRM) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_cHRM_fixed) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_cHRM) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_cHRM_fixed) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_gAMA) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_gAMA_fixed) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_gAMA) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_gAMA_fixed) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_hIST) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_hIST) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_IHDR) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_IHDR) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_oFFs) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_oFFs) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_pCAL) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_pCAL) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_pHYs) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_pHYs) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_PLTE) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_PLTE) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_sBIT) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_sBIT) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_sRGB) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_sRGB) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_sRGB_gAMA_and_cHRM) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_iCCP) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_iCCP) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_sPLT) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_sPLT) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_text) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_text) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_tIME) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_tIME) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_tRNS) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_tRNS) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_sCAL) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_sCAL) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_keep_unknown_chunks) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_unknown_chunks) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_unknown_chunk_location) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_unknown_chunks) PNGARG((png_structp png_ptr
 PNG_EXPORT (int, png_handle_as_unknown) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_invalid) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_read_png) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_write_png) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_charp, png_get_copyright) PNGARG((png_structp png_ptr))
 PNG_EXPORT (png_charp, png_get_header_ver) PNGARG((png_structp png_ptr))
 PNG_EXPORT (png_charp, png_get_header_version) PNGARG((png_structp png_ptr))
 PNG_EXPORT (png_charp, png_get_libpng_ver) PNGARG((png_structp png_ptr))
 PNG_EXPORT (png_uint_32, png_permit_mng_features) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_strip_error_numbers) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_set_user_limits) PNGARG((png_structp png_ptr
 PNG_EXPORT (png_uint_32, png_get_user_width_max) PNGARG((png_structp png_ptr))
 PNG_EXPORT (png_uint_32, png_get_user_height_max) PNGARG((png_structp png_ptr))
 PNG_EXPORT (png_uint_32, png_get_uint_32) PNGARG((png_bytep buf))
 PNG_EXPORT (png_uint_16, png_get_uint_16) PNGARG((png_bytep buf))
 PNG_EXPORT (png_int_32, png_get_int_32) PNGARG((png_bytep buf))
 PNG_EXPORT (png_uint_32, png_get_uint_31) PNGARG((png_structp png_ptr
 PNG_EXPORT (void, png_save_uint_32) PNGARG((png_bytep buf
 PNG_EXPORT (void, png_save_int_32) PNGARG((png_bytep buf
 PNG_EXPORT (void, png_save_uint_16) PNGARG((png_bytep buf

Variables

typedef png_const_charp
typedef png_bytep
typedef png_size_t
typedef png_uint_32
typedef int
int num_bytes
png_size_t start
png_size_t png_size_t num_to_check
int num
png_voidp error_ptr
png_voidp png_error_ptr error_fn
png_voidp png_error_ptr
png_error_ptr 
warn_fn
png_uint_32 size
png_voidp png_error_ptr
png_error_ptr png_voidp 
mem_ptr
png_voidp png_error_ptr
png_error_ptr png_voidp
png_malloc_ptr 
malloc_fn
png_voidp png_error_ptr
png_error_ptr png_voidp
png_malloc_ptr png_free_ptr 
free_fn
png_bytep chunk_name
png_bytep png_bytep data
png_bytep png_bytep png_size_t length
png_size_t png_info_struct_size
png_infop info_ptr
png_timep ptime
struct tm FARttime
int error_action
int double red
int double double green
png_colorp palette
png_uint_32 filler
png_uint_32 int flags
png_color_8p true_bits
png_color_16p background_color
png_color_16p int background_gamma_code
png_color_16p int int need_expand
png_color_16p int int double background_gamma
png_colorp int num_palette
png_colorp int int maximum_colors
png_colorp int int png_uint_16p histogram
png_colorp int int png_uint_16p int full_dither
double screen_gamma
double double default_file_gamma
int empty_plte_permitted
int nrows
png_bytepp row
png_bytepp png_bytepp display_row
png_bytepp png_bytepp png_uint_32 num_rows
png_bytepp image
png_infopp info_ptr_ptr
png_infopp png_infopp end_info_ptr_ptr
png_infop png_infop end_info_ptr
int crit_action
int int ancil_action
int method
int int filters
int heuristic_method
int int num_weights
int int png_doublep filter_weights
int int png_doublep png_doublep filter_costs
int level
int mem_level
int strategy
int window_bits
png_FILE_p fp
png_voidp png_error_ptr
png_error_ptr 
warning_fn
png_voidp io_ptr
png_voidp png_rw_ptr write_data_fn
png_voidp png_rw_ptr png_flush_ptr output_flush_fn
png_voidp png_rw_ptr read_data_fn
png_read_status_ptr read_row_fn
png_write_status_ptr write_row_fn
png_user_transform_ptr read_user_transform_fn
png_user_transform_ptr write_user_transform_fn
png_voidp user_transform_ptr
png_voidp int user_transform_depth
png_voidp int int user_transform_channels
png_voidp user_chunk_ptr
png_voidp png_user_chunk_ptr read_user_chunk_fn
png_voidp progressive_ptr
png_voidp png_progressive_info_ptr info_fn
png_voidp
png_progressive_info_ptr
png_progressive_row_ptr 
row_fn
png_voidp
png_progressive_info_ptr
png_progressive_row_ptr
png_progressive_end_ptr 
end_fn
png_infop png_bytep buffer
png_infop png_bytep png_size_t buffer_size
png_bytep old_row
png_bytep png_bytep new_row
png_voidp ptr
png_infop png_uint_32 free_me
png_infop int freer
png_infop int png_uint_32 mask
png_voidp s1
png_voidp png_voidp s2
png_voidp int value
png_const_charp error_message
png_const_charp warning_message
png_infop png_uint_32 flag
png_infop png_bytepp row_pointers
png_infop png_color_16pbackground
png_infop double * white_x
png_infop double double * white_y
png_infop double double double * red_x
png_infop double double double
double * 
red_y
png_infop double double double
double double * 
green_x
png_infop double double double
double double double * 
green_y
png_infop double double double
double double double double * 
blue_x
png_infop double double double
double double double double
double * 
blue_y
png_infop png_fixed_pointint_white_x
png_infop png_fixed_point
png_fixed_point
int_white_y
png_infop png_fixed_point
png_fixed_point
png_fixed_point
int_red_x
png_infop png_fixed_point
png_fixed_point
png_fixed_point
png_fixed_point
int_red_y
png_infop png_fixed_point
png_fixed_point
png_fixed_point
png_fixed_point
png_fixed_point
int_green_x
png_infop png_fixed_point
png_fixed_point
png_fixed_point
png_fixed_point
png_fixed_point
png_fixed_point
int_green_y
png_infop png_fixed_point
png_fixed_point
png_fixed_point
png_fixed_point
png_fixed_point
png_fixed_point
png_fixed_point
int_blue_x
png_infop png_fixed_point
png_fixed_point
png_fixed_point
png_fixed_point
png_fixed_point
png_fixed_point
png_fixed_point
png_fixed_point
int_blue_y
png_infop double * file_gamma
png_infop png_fixed_pointint_file_gamma
png_infop png_uint_16phist
png_infop png_uint_32width
png_infop png_uint_32 png_uint_32height
png_infop png_uint_32
png_uint_32 int
bit_depth
png_infop png_uint_32
png_uint_32 int int
color_type
png_infop png_uint_32
png_uint_32 int int int
interlace_method
png_infop png_uint_32
png_uint_32 int int int int
compression_method
png_infop png_uint_32
png_uint_32 int int int int
int
filter_method
png_infop png_int_32offset_x
png_infop png_int_32 png_int_32offset_y
png_infop png_int_32
png_int_32 int
unit_type
png_infop png_charppurpose
png_infop png_charp png_int_32X0
png_infop png_charp png_int_32
png_int_32
X1
png_infop png_charp png_int_32
png_int_32 int
type
png_infop png_charp png_int_32
png_int_32 int int
nparams
png_infop png_charp png_int_32
png_int_32 int int png_charp
units
png_infop png_charp png_int_32
png_int_32 int int png_charp
png_charpp
params
png_infop png_uint_32res_x
png_infop png_uint_32 png_uint_32res_y
png_infop png_color_8psig_bit
png_infop intintent
png_infop png_charpp name
png_infop png_charpp intcompression_type
png_infop png_charpp int png_charpp profile
png_infop png_charpp int
png_charpp png_uint_32
proflen
png_infop png_sPLT_tpp entries
png_infop png_sPLT_tp int nentries
png_infop png_textptext_ptr
png_infop png_textp intnum_text
png_infop png_timepmod_time
png_infop png_byteptrans
png_infop png_bytep intnum_trans
png_infop png_bytep int
png_color_16p
trans_values
png_infop intunit
int keep
int png_bytep chunk_list
int png_bytep int num_chunks
png_infop png_unknown_chunkp unknowns
png_infop png_unknown_chunkp int num_unknowns
png_infop int chunk
png_infop int int location
png_infop int transforms
png_uint_32 mng_features_permitted
png_uint_32 strip_mode
png_uint_32 user_width_max
png_uint_32 png_uint_32 user_height_max
png_bytep buf
png_uint_32 i

Macro Definition Documentation

#define int_p_NULL   (int *)NULL
#define PNG_AFTER_IDAT   0x08 /* Have complete zlib datastream */
#define PNG_ALL_FILTERS
#define PNG_ALL_MNG_FEATURES   0x05
#define PNG_BACKGROUND_GAMMA_FILE   2
#define PNG_BACKGROUND_GAMMA_SCREEN   1
#define PNG_BACKGROUND_GAMMA_UNIQUE   3
#define PNG_BACKGROUND_GAMMA_UNKNOWN   0
#define png_bytep_NULL   (png_bytep)NULL
#define png_bytepp_NULL   (png_bytepp)NULL
#define PNG_CHUNK_NAME_LENGTH   5
#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

Referenced by ReadDIB2_PNG().

#define PNG_COLOR_TYPE_GRAY_ALPHA   (PNG_COLOR_MASK_ALPHA)

Referenced by ReadDIB2_PNG().

#define PNG_COLOR_TYPE_PALETTE   (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_PALETTE)

Referenced by ReadDIB2_PNG().

#define PNG_COLOR_TYPE_RGB   (PNG_COLOR_MASK_COLOR)

Referenced by SaveWindow_PNG().

#define PNG_COLOR_TYPE_RGB_ALPHA   (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_ALPHA)

Referenced by ReadDIB2_PNG().

#define PNG_COLOR_TYPE_RGBA   PNG_COLOR_TYPE_RGB_ALPHA
#define png_composite (   composite,
  fg,
  alpha,
  bg 
)
Value:
{ png_uint_16 temp = (png_uint_16)((png_uint_16)(fg) * (png_uint_16)(alpha) \
+ (png_uint_16)(bg)*(png_uint_16)(255 - \
(png_uint_16)(alpha)) + (png_uint_16)128); \
(composite) = (png_byte)((temp + (temp >> 8)) >> 8); }
#define png_composite_16 (   composite,
  fg,
  alpha,
  bg 
)
Value:
{ png_uint_32 temp = (png_uint_32)((png_uint_32)(fg) * (png_uint_32)(alpha) \
+ (png_uint_32)(bg)*(png_uint_32)(65535L - \
(png_uint_32)(alpha)) + (png_uint_32)32768L); \
(composite) = (png_uint_16)((temp + (temp >> 16)) >> 16); }
#define PNG_COMPRESSION_TYPE_BASE   0 /* Deflate method 8, 32K window */
#define PNG_COMPRESSION_TYPE_DEFAULT   PNG_COMPRESSION_TYPE_BASE

Referenced by SaveWindow_PNG().

#define PNG_CRC_DEFAULT   0 /* error/quit warn/discard data */
#define PNG_CRC_ERROR_QUIT   1 /* error/quit error/quit */
#define PNG_CRC_NO_CHANGE   5 /* use current value use current value */
#define PNG_CRC_QUIET_USE   4 /* quiet/use data quiet/use data */
#define PNG_CRC_WARN_DISCARD   2 /* (INVALID) warn/discard data */
#define PNG_CRC_WARN_USE   3 /* warn/use data warn/use data */
#define png_debug (   l,
 
)
#define png_debug1 (   l,
  m,
  p1 
)
#define png_debug2 (   l,
  m,
  p1,
  p2 
)
#define PNG_DESTROY_WILL_FREE_DATA   1
#define png_doublep_NULL   (png_doublep)NULL
#define PNG_EQUATION_ARBITRARY   2 /* Arbitrary base exponential transform */
#define PNG_EQUATION_BASE_E   1 /* Exponential base e transform */
#define PNG_EQUATION_HYPERBOLIC   3 /* Hyperbolic sine transformation */
#define PNG_EQUATION_LAST   4 /* Not a valid value */
#define PNG_EQUATION_LINEAR   0 /* Linear transformation */
#define png_error_ptr_NULL   (png_error_ptr)NULL
#define PNG_FILLER_AFTER   1
#define PNG_FILLER_BEFORE   0
#define PNG_FILTER_AVG   0x40
#define PNG_FILTER_HEURISTIC_DEFAULT   0 /* Currently "UNWEIGHTED" */
#define PNG_FILTER_HEURISTIC_LAST   3 /* Not a valid value */
#define PNG_FILTER_HEURISTIC_UNWEIGHTED   1 /* Used by libpng < 0.95 */
#define PNG_FILTER_HEURISTIC_WEIGHTED   2 /* Experimental feature */
#define PNG_FILTER_NONE   0x08
#define PNG_FILTER_PAETH   0x80
#define PNG_FILTER_SUB   0x10
#define PNG_FILTER_TYPE_BASE   0 /* Single row per-byte filtering */
#define PNG_FILTER_TYPE_DEFAULT   PNG_FILTER_TYPE_BASE

Referenced by SaveWindow_PNG().

#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_flush_ptr_NULL   (png_flush_ptr)NULL
#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 /* PNG_FREE_SPLT|PNG_FREE_TEXT|PNG_FREE_UNKN */
#define PNG_FREE_PCAL   0x0080
#define PNG_FREE_PLTE   0x1000
#define png_free_ptr_NULL   (png_free_ptr)NULL
#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_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_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.2.37 - June 4, 2009\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 /* ESR, 1.0.6 */
#define PNG_INFO_IDAT   0x8000L /* ESR, 1.0.6 */
#define png_info_init (   info_ptr)
Value:
png_info_init_3(&info_ptr,\
#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 /* ESR, 1.0.6 */
#define PNG_INFO_sPLT   0x2000 /* ESR, 1.0.6 */
#define PNG_INFO_sRGB   0x0800 /* GR-P, 0.96a */
#define PNG_INFO_tIME   0x0200
#define PNG_INFO_tRNS   0x0010

Referenced by ReadDIB2_PNG().

#define png_infopp_NULL   (png_infopp)NULL
#define PNG_INTERLACE_ADAM7   1 /* Adam7 interlacing */
#define PNG_INTERLACE_LAST   2 /* Not a valid value */
#define PNG_INTERLACE_NONE   0 /* Non-interlaced image */

Referenced by SaveWindow_PNG().

#define PNG_INTRAPIXEL_DIFFERENCING   64 /* Used only in MNG datastreams */
#define PNG_ITXT_COMPRESSION_NONE   1
#define PNG_ITXT_COMPRESSION_zTXt   2
#define PNG_KEYWORD_MAX_LENGTH   79
#define PNG_LIBPNG_BUILD_ALPHA   1
#define PNG_LIBPNG_BUILD_BASE_TYPE   PNG_LIBPNG_BUILD_STABLE
#define PNG_LIBPNG_BUILD_BETA   2
#define PNG_LIBPNG_BUILD_PATCH
Value:
8 /* Can be OR'ed with
PNG_LIBPNG_BUILD_STABLE only */
#define PNG_LIBPNG_BUILD_PRIVATE
Value:
16 /* Cannot be OR'ed with
PNG_LIBPNG_BUILD_SPECIAL */
#define PNG_LIBPNG_BUILD_RC   3
#define PNG_LIBPNG_BUILD_RELEASE_STATUS_MASK   7
#define PNG_LIBPNG_BUILD_SPECIAL
Value:
32 /* Cannot be OR'ed with
PNG_LIBPNG_BUILD_PRIVATE */
#define PNG_LIBPNG_BUILD_STABLE   4
#define PNG_LIBPNG_BUILD_TYPE   (PNG_LIBPNG_BUILD_BASE_TYPE)
#define PNG_LIBPNG_VER   10237 /* 1.2.37 */
#define PNG_LIBPNG_VER_BUILD   0
#define PNG_LIBPNG_VER_DLLNUM   13
#define PNG_LIBPNG_VER_MAJOR   1
#define PNG_LIBPNG_VER_MINOR   2
#define PNG_LIBPNG_VER_RELEASE   37
#define PNG_LIBPNG_VER_SONUM   0
#define PNG_LIBPNG_VER_STRING   "1.2.37"

Referenced by ReadDIB2_PNG(), and SaveWindow_PNG().

#define png_malloc_ptr_NULL   (png_malloc_ptr)NULL
#define PNG_MAX_PALETTE_LENGTH   256
#define PNG_MAX_UINT   PNG_UINT_31_MAX
#define PNG_NO_FILTERS   0x00
#define PNG_OFFSET_LAST   2 /* Not a valid value */
#define PNG_OFFSET_MICROMETER   1 /* Offset in micrometers (1/10^6 meter) */
#define PNG_OFFSET_PIXEL   0 /* Offset in pixels */
#define png_read_status_ptr_NULL   (png_read_status_ptr)NULL
#define PNG_RESOLUTION_LAST   2 /* Not a valid value */
#define PNG_RESOLUTION_METER   1 /* pixels/meter */
#define PNG_RESOLUTION_UNKNOWN   0 /* pixels/unknown unit (aspect ratio) */
#define png_rw_ptr_NULL   (png_rw_ptr)NULL
#define PNG_SCALE_LAST   3 /* Not a valid value */
#define PNG_SCALE_METER   1 /* meters per pixel */
#define PNG_SCALE_RADIAN   2 /* radians per pixel */
#define PNG_SCALE_UNKNOWN   0 /* unknown unit (image scale) */
#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 /* Not a valid value */
#define PNG_sRGB_INTENT_PERCEPTUAL   0
#define PNG_sRGB_INTENT_RELATIVE   1
#define PNG_sRGB_INTENT_SATURATION   2
#define png_structp_NULL   (png_structp)NULL
#define PNG_TEXT_COMPRESSION_LAST   3 /* Not a valid value */
#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 /* read and write */
#define PNG_TRANSFORM_EXPAND   0x0010 /* read only */
#define PNG_TRANSFORM_IDENTITY   0x0000 /* read and write */
#define PNG_TRANSFORM_INVERT_ALPHA   0x0400 /* read and write */
#define PNG_TRANSFORM_INVERT_MONO   0x0020 /* read and write */
#define PNG_TRANSFORM_PACKING   0x0004 /* read and write */
#define PNG_TRANSFORM_PACKSWAP   0x0008 /* read and write */
#define PNG_TRANSFORM_SHIFT   0x0040 /* read and write */
#define PNG_TRANSFORM_STRIP_16   0x0001 /* read only */
#define PNG_TRANSFORM_STRIP_ALPHA   0x0002 /* read only */
#define PNG_TRANSFORM_STRIP_FILLER   0x0800 /* WRITE only, deprecated */
#define PNG_TRANSFORM_STRIP_FILLER_AFTER   0x1000 /* WRITE only */
#define PNG_TRANSFORM_STRIP_FILLER_BEFORE   0x0800 /* WRITE only */
#define PNG_TRANSFORM_SWAP_ALPHA   0x0100 /* read and write */
#define PNG_TRANSFORM_SWAP_ENDIAN   0x0200 /* read and write */
#define png_uint_16p_NULL   (png_uint_16p)NULL
#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
#define png_voidp_NULL   (png_voidp)NULL
#define png_write_status_ptr_NULL   (png_write_status_ptr)NULL

Typedef Documentation

typedef struct png_color_struct png_color
typedef struct png_info_struct png_info
typedef png_infop
typedef png_row_infop
typedef struct png_sPLT_struct png_sPLT_t
typedef struct png_struct_def png_struct
typedef struct png_text_struct png_text
typedef struct png_time_struct png_time
typedef void png_free_ptr PNGARG((png_structp, png_voidp))

Function Documentation

typedef int ( PNGAPI png_user_chunk_ptr)
PNG_EXPORT ( png_uint_32  ,
png_access_version_number   
)
PNG_EXPORT ( void  ,
png_set_sig_bytes   
)
PNG_EXPORT ( int  ,
png_sig_cmp   
)
PNG_EXPORT ( int  ,
png_check_sig   
)
PNG_EXPORT ( png_structp  ,
png_create_read_struct   
)
PNG_EXPORT ( png_structp  ,
png_create_write_struct   
)
PNG_EXPORT ( png_uint_32  ,
png_get_compression_buffer_size   
)
PNG_EXPORT ( void  ,
png_set_compression_buffer_size   
)
PNG_EXPORT ( int  ,
png_reset_zstream   
)
PNG_EXPORT ( png_structp  ,
png_create_read_struct_2   
)
PNG_EXPORT ( png_structp  ,
png_create_write_struct_2   
)
PNG_EXPORT ( void  ,
png_write_chunk   
)
PNG_EXPORT ( void  ,
png_write_chunk_start   
)
PNG_EXPORT ( void  ,
png_write_chunk_data   
)
PNG_EXPORT ( void  ,
png_write_chunk_end   
)
PNG_EXPORT ( png_infop  ,
png_create_info_struct   
)
PNG_EXPORT ( void  ,
png_info_init   
)
PNG_EXPORT ( void  ,
png_info_init_3   
)
PNG_EXPORT ( void  ,
png_write_info_before_PLTE   
)
PNG_EXPORT ( void  ,
png_write_info   
)
PNG_EXPORT ( void  ,
png_read_info   
)
PNG_EXPORT ( png_charp  ,
png_convert_to_rfc1123   
)
PNG_EXPORT ( void  ,
png_convert_from_struct_tm   
)
PNG_EXPORT ( void  ,
png_convert_from_time_t   
)
PNG_EXPORT ( void  ,
png_set_expand   
)
PNG_EXPORT ( void  ,
png_set_expand_gray_1_2_4_to_8   
)
PNG_EXPORT ( void  ,
png_set_palette_to_rgb   
)
PNG_EXPORT ( void  ,
png_set_tRNS_to_alpha   
)
PNG_EXPORT ( void  ,
png_set_gray_1_2_4_to_8   
)
PNG_EXPORT ( void  ,
png_set_bgr   
)
PNG_EXPORT ( void  ,
png_set_gray_to_rgb   
)
PNG_EXPORT ( void  ,
png_set_rgb_to_gray   
)
PNG_EXPORT ( void  ,
png_set_rgb_to_gray_fixed   
)
PNG_EXPORT ( png_byte  ,
png_get_rgb_to_gray_status   
)
PNG_EXPORT ( void  ,
png_build_grayscale_palette   
)
PNG_EXPORT ( void  ,
png_set_strip_alpha   
)
PNG_EXPORT ( void  ,
png_set_swap_alpha   
)
PNG_EXPORT ( void  ,
png_set_invert_alpha   
)
PNG_EXPORT ( void  ,
png_set_filler   
)
PNG_EXPORT ( void  ,
png_set_add_alpha   
)
PNG_EXPORT ( void  ,
png_set_swap   
)
PNG_EXPORT ( void  ,
png_set_packing   
)
PNG_EXPORT ( void  ,
png_set_packswap   
)
PNG_EXPORT ( void  ,
png_set_shift   
)
PNG_EXPORT ( int  ,
png_set_interlace_handling   
)
PNG_EXPORT ( void  ,
png_set_invert_mono   
)
PNG_EXPORT ( void  ,
png_set_background   
)
PNG_EXPORT ( void  ,
png_set_strip_16   
)
PNG_EXPORT ( void  ,
png_set_dither   
)
PNG_EXPORT ( void  ,
png_set_gamma   
)
PNG_EXPORT ( void  ,
png_permit_empty_plte   
)
PNG_EXPORT ( void  ,
png_set_flush   
)
PNG_EXPORT ( void  ,
png_write_flush   
)
PNG_EXPORT ( void  ,
png_start_read_image   
)
PNG_EXPORT ( void  ,
png_read_update_info   
)
PNG_EXPORT ( void  ,
png_read_rows   
)
PNG_EXPORT ( void  ,
png_read_row   
)
PNG_EXPORT ( void  ,
png_read_image   
)
PNG_EXPORT ( void  ,
png_write_row   
)
PNG_EXPORT ( void  ,
png_write_rows   
)
PNG_EXPORT ( void  ,
png_write_image   
)
PNG_EXPORT ( void  ,
png_write_end   
)
PNG_EXPORT ( void  ,
png_read_end   
)
PNG_EXPORT ( void  ,
png_destroy_info_struct   
)
PNG_EXPORT ( void  ,
png_destroy_read_struct   
)
PNG_EXPORT ( void  ,
png_read_destroy   
)
PNG_EXPORT ( void  ,
png_destroy_write_struct   
)
PNG_EXPORT ( void  ,
png_write_destroy   
)
PNG_EXPORT ( void  ,
png_set_crc_action   
)
PNG_EXPORT ( void  ,
png_set_filter   
)
PNG_EXPORT ( void  ,
png_set_filter_heuristics   
)
PNG_EXPORT ( void  ,
png_set_compression_level   
)
PNG_EXPORT ( void  ,
png_set_compression_mem_level   
)
PNG_EXPORT ( void  ,
png_set_compression_strategy   
)
PNG_EXPORT ( void  ,
png_set_compression_window_bits   
)
PNG_EXPORT ( void  ,
png_set_compression_method   
)
PNG_EXPORT ( void  ,
png_init_io   
)
PNG_EXPORT ( void  ,
png_set_error_fn   
)
PNG_EXPORT ( png_voidp  ,
png_get_error_ptr   
)
PNG_EXPORT ( void  ,
png_set_write_fn   
)
PNG_EXPORT ( void  ,
png_set_read_fn   
)
PNG_EXPORT ( png_voidp  ,
png_get_io_ptr   
)
PNG_EXPORT ( void  ,
png_set_read_status_fn   
)
PNG_EXPORT ( void  ,
png_set_write_status_fn   
)
PNG_EXPORT ( void  ,
png_set_mem_fn   
)
PNG_EXPORT ( png_voidp  ,
png_get_mem_ptr   
)
PNG_EXPORT ( void  ,
png_set_read_user_transform_fn   
)
PNG_EXPORT ( void  ,
png_set_write_user_transform_fn   
)
PNG_EXPORT ( void  ,
png_set_user_transform_info   
)
PNG_EXPORT ( png_voidp  ,
png_get_user_transform_ptr   
)
PNG_EXPORT ( void  ,
png_set_read_user_chunk_fn   
)
PNG_EXPORT ( png_voidp  ,
png_get_user_chunk_ptr   
)
PNG_EXPORT ( void  ,
png_set_progressive_read_fn   
)
PNG_EXPORT ( png_voidp  ,
png_get_progressive_ptr   
)
PNG_EXPORT ( void  ,
png_process_data   
)
PNG_EXPORT ( void  ,
png_progressive_combine_row   
)
PNG_EXPORT ( png_voidp  ,
png_malloc   
)
PNG_EXPORT ( png_voidp  ,
png_malloc_warn   
)
PNG_EXPORT ( void  ,
png_free   
)
PNG_EXPORT ( void  ,
png_free_data   
)
PNG_EXPORT ( void  ,
png_data_freer   
)
PNG_EXPORT ( png_voidp  ,
png_malloc_default   
)
PNG_EXPORT ( void  ,
png_free_default   
)
PNG_EXPORT ( png_voidp  ,
png_memcpy_check   
)
PNG_EXPORT ( png_voidp  ,
png_memset_check   
)
PNG_EXPORT ( void  ,
png_error   
)
PNG_EXPORT ( void  ,
png_chunk_error   
)
PNG_EXPORT ( void  ,
png_warning   
)
PNG_EXPORT ( void  ,
png_chunk_warning   
)
PNG_EXPORT ( png_uint_32  ,
png_get_valid   
)
PNG_EXPORT ( png_uint_32  ,
png_get_rowbytes   
)
PNG_EXPORT ( png_bytepp  ,
png_get_rows   
)
PNG_EXPORT ( void  ,
png_set_rows   
)
PNG_EXPORT ( png_byte  ,
png_get_channels   
)
PNG_EXPORT ( png_uint_32  ,
png_get_image_width   
)
PNG_EXPORT ( png_uint_32  ,
png_get_image_height   
)
PNG_EXPORT ( png_byte  ,
png_get_bit_depth   
)
PNG_EXPORT ( png_byte  ,
png_get_color_type   
)
PNG_EXPORT ( png_byte  ,
png_get_filter_type   
)
PNG_EXPORT ( png_byte  ,
png_get_interlace_type   
)
PNG_EXPORT ( png_byte  ,
png_get_compression_type   
)
PNG_EXPORT ( png_uint_32  ,
png_get_pixels_per_meter   
)
PNG_EXPORT ( png_uint_32  ,
png_get_x_pixels_per_meter   
)
PNG_EXPORT ( png_uint_32  ,
png_get_y_pixels_per_meter   
)
PNG_EXPORT ( float  ,
png_get_pixel_aspect_ratio   
)
PNG_EXPORT ( png_int_32  ,
png_get_x_offset_pixels   
)
PNG_EXPORT ( png_int_32  ,
png_get_y_offset_pixels   
)
PNG_EXPORT ( png_int_32  ,
png_get_x_offset_microns   
)
PNG_EXPORT ( png_int_32  ,
png_get_y_offset_microns   
)
PNG_EXPORT ( png_bytep  ,
png_get_signature   
)
PNG_EXPORT ( png_uint_32  ,
png_get_bKGD   
)
PNG_EXPORT ( void  ,
png_set_bKGD   
)
PNG_EXPORT ( png_uint_32  ,
png_get_cHRM   
)
PNG_EXPORT ( png_uint_32  ,
png_get_cHRM_fixed   
)
PNG_EXPORT ( void  ,
png_set_cHRM   
)
PNG_EXPORT ( void  ,
png_set_cHRM_fixed   
)
PNG_EXPORT ( png_uint_32  ,
png_get_gAMA   
)
PNG_EXPORT ( png_uint_32  ,
png_get_gAMA_fixed   
)
PNG_EXPORT ( void  ,
png_set_gAMA   
)
PNG_EXPORT ( void  ,
png_set_gAMA_fixed   
)
PNG_EXPORT ( png_uint_32  ,
png_get_hIST   
)
PNG_EXPORT ( void  ,
png_set_hIST   
)
PNG_EXPORT ( png_uint_32  ,
png_get_IHDR   
)
PNG_EXPORT ( void  ,
png_set_IHDR   
)
PNG_EXPORT ( png_uint_32  ,
png_get_oFFs   
)
PNG_EXPORT ( void  ,
png_set_oFFs   
)
PNG_EXPORT ( png_uint_32  ,
png_get_pCAL   
)
PNG_EXPORT ( void  ,
png_set_pCAL   
)
PNG_EXPORT ( png_uint_32  ,
png_get_pHYs   
)
PNG_EXPORT ( void  ,
png_set_pHYs   
)
PNG_EXPORT ( png_uint_32  ,
png_get_PLTE   
)
PNG_EXPORT ( void  ,
png_set_PLTE   
)
PNG_EXPORT ( png_uint_32  ,
png_get_sBIT   
)
PNG_EXPORT ( void  ,
png_set_sBIT   
)
PNG_EXPORT ( png_uint_32  ,
png_get_sRGB   
)
PNG_EXPORT ( void  ,
png_set_sRGB   
)
PNG_EXPORT ( void  ,
png_set_sRGB_gAMA_and_cHRM   
)
PNG_EXPORT ( png_uint_32  ,
png_get_iCCP   
)
PNG_EXPORT ( void  ,
png_set_iCCP   
)
PNG_EXPORT ( png_uint_32  ,
png_get_sPLT   
)
PNG_EXPORT ( void  ,
png_set_sPLT   
)
PNG_EXPORT ( png_uint_32  ,
png_get_text   
)
PNG_EXPORT ( void  ,
png_set_text   
)
PNG_EXPORT ( png_uint_32  ,
png_get_tIME   
)
PNG_EXPORT ( void  ,
png_set_tIME   
)
PNG_EXPORT ( png_uint_32  ,
png_get_tRNS   
)
PNG_EXPORT ( void  ,
png_set_tRNS   
)
PNG_EXPORT ( png_uint_32  ,
png_get_sCAL   
)
PNG_EXPORT ( void  ,
png_set_sCAL   
)
PNG_EXPORT ( void  ,
png_set_keep_unknown_chunks   
)
PNG_EXPORT ( void  ,
png_set_unknown_chunks   
)
PNG_EXPORT ( void  ,
png_set_unknown_chunk_location   
)
PNG_EXPORT ( png_uint_32  ,
png_get_unknown_chunks   
)
PNG_EXPORT ( int  ,
png_handle_as_unknown   
)
PNG_EXPORT ( void  ,
png_set_invalid   
)
PNG_EXPORT ( void  ,
png_read_png   
)
PNG_EXPORT ( void  ,
png_write_png   
)
PNG_EXPORT ( png_charp  ,
png_get_copyright   
)
PNG_EXPORT ( png_charp  ,
png_get_header_ver   
)
PNG_EXPORT ( png_charp  ,
png_get_header_version   
)
PNG_EXPORT ( png_charp  ,
png_get_libpng_ver   
)
PNG_EXPORT ( png_uint_32  ,
png_permit_mng_features   
)
PNG_EXPORT ( void  ,
png_set_strip_error_numbers   
)
PNG_EXPORT ( void  ,
png_set_user_limits   
)
PNG_EXPORT ( png_uint_32  ,
png_get_user_width_max   
)
PNG_EXPORT ( png_uint_32  ,
png_get_user_height_max   
)
PNG_EXPORT ( png_uint_32  ,
png_get_uint_32   
)
PNG_EXPORT ( png_uint_16  ,
png_get_uint_16   
)
PNG_EXPORT ( png_int_32  ,
png_get_int_32   
)
PNG_EXPORT ( png_uint_32  ,
png_get_uint_31   
)
PNG_EXPORT ( void  ,
png_save_uint_32   
)
PNG_EXPORT ( void  ,
png_save_int_32   
)
PNG_EXPORT ( void  ,
png_save_uint_16   
)
PNG_EXPORT_VAR ( PNG_CONST  char)
PNG_EXPORT_VAR ( PNG_CONST int  FARDATA)
typedef void ( PNGAPI png_error_ptr)

Referenced by bell(), build_moria(), death_info(), death_knowledge(), default_layout_win(), display_group_member(), display_message(), do_cmd_buy(), do_cmd_help(), do_cmd_load_screen(), do_cmd_pref(), do_cmd_retrieve(), do_cmd_save_screen_html(), do_cmd_save_screen_text(), do_cmd_view_map(), do_cmd_wiz_cure_all(), draw_path(), effect_handler_DARKEN_AREA(), effect_handler_DESTRUCTION(), effect_handler_EARTHQUAKE(), effect_handler_LIGHT_AREA(), effect_handler_TRAP_DART_SLOW(), effect_handler_TRAP_GAS_BLIND(), effect_handler_TRAP_GAS_CONFUSE(), effect_handler_TRAP_GAS_POISON(), effect_handler_TRAP_GAS_SLEEP(), effect_handler_TRAP_PIT_POISON(), effect_handler_TRAP_PIT_SPIKES(), ego_display(), ego_menu(), feat_lore(), feat_prompt(), file_open(), file_vputf(), gauntlet_gen(), generate_starburst_room(), get_chamber_monsters(), handle_signal_abort(), handle_signal_simple(), handle_signal_suspend(), hit_trap(), html_screenshot(), inkey_aux(), inkey_ex(), lair_gen(), main(), make_attack_normal(), make_attack_spell(), melee_effect_handler_EAT_ITEM(), move_cursor_relative(), move_cursor_relative_map(), msg(), my_strcpy(), parse_prefs_load(), pause_line(), place_monster(), player_pickup_gold(), print_tomb(), process_world(), project_player_handler_CHAOS(), project_player_handler_DARK(), project_player_handler_FORCE(), project_player_handler_GRAVITY(), project_player_handler_ICE(), project_player_handler_INERTIA(), project_player_handler_LIGHT(), project_player_handler_PLASMA(), project_player_handler_SHARD(), project_player_handler_SOUND(), project_player_handler_WATER(), quit_hook(), randname_make(), recall_prompt(), reset_visuals(), show_file(), signals_handle_tstp(), signals_ignore_tstp(), signals_init(), spell_cast(), spread_monsters(), subwindow_flag_changed(), Term_big_putch(), Term_big_queue_char(), Term_fresh(), Term_fresh_row_both(), Term_fresh_row_pict(), Term_fresh_row_text(), Term_load(), text_out(), text_out_c(), text_out_e(), text_out_to_file(), text_out_to_screen(), textui_cmd_ignore_menu(), textui_get_command(), textui_init(), textui_target_closest(), vstrnfmt(), wiz_cheat_death(), and write_character_dump().

Variable Documentation

int int ancil_action
png_color_16p background_color
png_color_16p int int double background_gamma
png_color_16p int background_gamma_code

Referenced by ReadDIB2_PNG(), and SaveWindow_PNG().

png_infop double double double double double double double blue_x
png_infop double double double double double double double double blue_y
png_bytep buf

Referenced by activation_message(), adjust_level(), artifact_gen_name(), artifact_power(), bell(), cmd_sub_entry(), death_file(), dir_create(), display_message(), display_player_stat_info(), display_winner(), do_cmd_birth_init(), do_cmd_change_name(), do_cmd_keylog(), do_cmd_load_screen(), do_cmd_query_symbol(), do_cmd_save_screen_text(), do_cmd_wiz_help(), do_randart(), dump_history(), dump_pref_file(), ego_display(), eval_monster_power(), file_delete(), file_move(), file_open(), file_vputf(), flavor_init(), flush_monster_messages(), get_file_backup(), get_mon_msg_action(), history_add_artifact(), history_display(), ignore_sval_menu_display(), init_file_paths(), init_graphics_modes(), keymap_dump(), lore_append_exp(), mon_take_hit(), msg(), msgt(), nds_load_kbd(), nds_load_tile_bmp(), nds_load_tiles(), object_value_real(), parse_file(), player_outfit(), player_pickup_gold(), player_safe_name(), print_tomb(), process_character_pref_files(), process_pref_file_layered(), prt_speed(), rd_item(), rd_messages(), rd_monster_memory(), rd_player(), remove_old_dump(), show_file(), show_splashscreen(), spell_menu_select(), spoil_artifact(), spoil_mon_desc(), spoil_mon_info(), spoil_obj_desc(), store_display_frame(), target_set_interactive_aux(), text_out(), text_out_c(), text_out_e(), text_out_to_file(), text_out_to_screen(), wiz_create_item_action(), wiz_create_item_display(), wiz_create_item_subdisplay(), wiz_display_item(), wr_description(), write_character_dump(), write_flags(), and write_monster_entries().

int png_bytep chunk_list
png_bytep chunk_name
png_infop png_charp int compression_type
int crit_action
png_bytep data
double double default_file_gamma
png_bytep png_bytep display_row
int empty_plte_permitted
png_voidp png_progressive_info_ptr png_progressive_row_ptr png_progressive_end_ptr end_fn
png_infop png_infop end_info_ptr
png_infopp png_infopp end_info_ptr_ptr

Referenced by history_init().

int error_action
png_voidp png_error_ptr error_fn
png_const_charp error_message
png_voidp error_ptr
png_infop double file_gamma
png_uint_32 filler
int int png_doublep filter_weights
int int filters
png_voidp png_malloc_ptr png_free_ptr free_fn
png_infop int freer
png_infop double double double double double green_x
png_infop double double double double double double green_y
png_infop int double double height
int heuristic_method
unsigned int i

Referenced by _find_in_range(), _set_find(), ac_power(), add_activation(), add_high_resist(), add_low_resist(), add_monster_lights(), add_monster_message(), adj_energy(), adjust_dam(), alloc_stairs(), apply_magic(), array_filler(), artifacts_acceptable(), black_market_ok(), brand_collect(), brand_object(), build_color_point(), build_freq_table(), build_gamma_table(), build_greater_vault(), build_huge(), build_large(), build_moria(), build_nest(), build_pit(), build_prob(), build_room_of_chambers(), build_streamer(), build_tunnel(), calc_bonuses(), calc_digging_chances(), calc_inventory(), calc_mana(), calc_spells(), calc_torch(), call_monster(), cave_generate(), cave_illuminate(), cave_light(), cave_unlight(), cavern_chunk(), cavern_gen(), change_path(), check_for_inscrip(), check_slay_cache(), choose_attack_spell(), choose_item(), choose_profile(), chunk_copy(), chunk_find(), chunk_find_name(), chunk_list_remove(), classic_gen(), cleanup_angband(), cleanup_arrays(), cleanup_body(), cleanup_class(), cleanup_ignore(), cleanup_names(), cleanup_obj_make(), cleanup_pain(), cleanup_player(), cleanup_profile(), cleanup_stores(), cleanup_trap(), clear_question(), clear_small_regions(), cmd_get_arg(), cmd_idx(), cmd_init(), cmd_lookup_key(), cmd_set_arg(), cmd_verb(), colors_modify(), connect_caverns(), copy_artifact_data(), count_colors(), count_known_monsters(), create_mask(), create_slay_cache(), damroll(), decrease_timeouts(), default_layout_win(), describe_blows(), describe_damage(), describe_digger(), describe_ego(), describe_elements(), describe_hates(), describe_ignores(), describe_misc_magic(), describe_stats(), dice_add_variable(), dice_bind_expression(), dice_reset(), display_area(), display_explosion(), display_glyphs(), display_knowledge(), display_panel(), display_player_equippy(), display_player_flag_info(), display_player_stat_info(), display_player_sust_info(), display_player_xtra_info(), display_resistance_panel(), display_scrolling(), display_tiles(), display_winner(), do_animation(), do_cmd_accept_character(), do_cmd_buy(), do_cmd_disarm_aux(), do_cmd_disarm_chest(), do_cmd_fire_at_nearest(), do_cmd_keylog(), do_cmd_knowledge_ego_items(), do_cmd_knowledge_features(), do_cmd_knowledge_monsters(), do_cmd_load_screen(), do_cmd_lock_door(), do_cmd_messages(), do_cmd_open_aux(), do_cmd_open_chest(), do_cmd_options_win(), do_cmd_query_symbol(), do_cmd_rerate(), do_cmd_roll_stats(), do_cmd_save_screen_html(), do_cmd_study_book(), do_cmd_wiz_advance(), do_cmd_wiz_change_aux(), do_cmd_wiz_features(), do_cmd_wiz_hack_ben(), do_cmd_wiz_learn(), do_cmd_wiz_named(), do_cmd_wiz_summon(), do_cmd_wiz_zap(), do_ident_item(), do_vblank(), draw_path(), drop_near(), dump_autoinscriptions(), dump_colors(), dump_features(), dump_history(), dump_monsters(), dump_objects(), effect_handler_AGGRAVATE(), effect_handler_BANISH(), effect_handler_DEEP_DESCENT(), effect_handler_DETECT_EVIL(), effect_handler_DETECT_INVISIBLE_MONSTERS(), effect_handler_DETECT_VISIBLE_MONSTERS(), effect_handler_DISENCHANT(), effect_handler_EARTHQUAKE(), effect_handler_MAP_AREA(), effect_handler_MASS_BANISH(), effect_handler_PROBE(), effect_handler_PROJECT_LOS(), effect_handler_RECHARGE(), effect_handler_STAR(), effect_handler_STAR_BALL(), effect_handler_TELEPORT(), effect_handler_THRUST_AWAY(), effect_handler_TRAP_RUNE_SUMMON(), effect_lookup(), ego_apply_magic(), ego_apply_minima(), ego_find_random(), ego_item_name(), ego_menu(), element_info_collect(), element_power(), enchant(), equip_notice_after_time(), equip_notice_element(), equip_notice_flag(), equip_notice_on_attack(), equip_notice_on_defend(), equip_notice_to_hit_on_attack(), equipped_item_slot(), eval_max_dam(), eval_monster_power(), event_add_handler_set(), event_remove_handler_set(), expression_add_operations_string(), expression_copy(), expression_evaluate(), expression_test_copy(), fake_pvals_to_mods(), file_getl(), file_readc(), fill_circle(), fill_slay_cache(), fill_terrain_info(), find_cave_profile(), find_hiding(), find_inven(), find_loader(), find_safety(), find_space(), findpath(), finish_parse_body(), finish_parse_grafmode(), finish_parse_lore(), finish_parse_monster(), finish_parse_names(), finish_parse_prefs(), finish_parse_profile(), first_color(), fix_colors(), flag_comp_union(), flag_diff(), flag_info_collect(), flag_inter(), flag_is_empty(), flag_is_full(), flag_is_inter(), flag_is_subset(), flag_negate(), flag_union(), flags_power(), flavor_assign_fixed(), flavor_assign_random(), flavor_init(), flush_monster_messages(), free_slay_cache(), gauntlet_gen(), gear_excise_object(), gear_to_label(), generate_starburst_room(), get_artifact_from_kind(), get_attack_colors(), get_chamber_monsters(), get_cursor_key(), get_debug_command(), get_known_elements(), get_mon_num(), get_mon_num_prep(), get_mon_race_aux(), get_moves(), get_moves_fear(), get_moves_flow(), get_new_attr(), get_screen_loc(), get_stats(), get_tag(), get_vault_monsters(), gf_display(), gf_name_to_idx(), grab_element_flag(), grab_index_and_int(), grab_int_value(), grab_name(), grab_rand_value(), hard_centre_gen(), highscore_count(), highscore_read(), highscore_where(), history_display(), history_is_artifact_known(), history_is_artifact_logged(), history_know_artifact(), history_lose_artifact(), history_unmask_unknown(), hook_quit(), ignore_birth_init(), ignore_collect_kind(), ignore_level_of(), ignore_name_for_type(), ignore_tval(), ignore_type_of(), info_out_list(), init_angband(), init_arrays(), init_ignore(), init_names(), init_nds(), init_obj_make(), init_parse_prefs(), init_race_allocs(), int_to_roman(), is_quest(), item_is_available(), join_region(), kbd_init(), kbd_vblank(), kbd_xy2key(), key_confirm_command(), keycode_find_code(), keycode_find_desc(), keymap_free(), keypress_to_readable(), keypress_to_text(), kind_info(), label_to_equip(), label_to_inven(), label_to_quiver(), labyrinth_chunk(), labyrinth_gen(), lair_gen(), light_room(), load_path(), load_roller_data(), log_flags(), lookup_artifact_name(), lookup_feat(), lookup_flag(), lookup_monster(), lookup_symbol(), lookup_trap(), lore_append_attack(), lore_append_list(), lore_append_spell_descriptions(), lore_append_spells(), lore_do_probe(), lore_update(), main(), make_artifact(), make_artifact_special(), make_chamber(), mass_roll(), mean(), minus_ac(), modified_chunk(), modified_gen(), modifier_power(), modify_stat_value(), mods_to_fake_pvals(), mon_restrict(), mon_summary(), mon_timed_name_to_idx(), monster_list_collect(), monster_list_get_glyphs(), moria_chunk(), moria_gen(), multiply_monster(), myReadTouchValue(), nds_buttons_to_btnid(), nds_exit(), nds_fatal_err(), nds_init_buttons(), nds_init_fonts(), nds_load_file(), nds_load_kbd(), nds_load_tile_bmp(), next_to_corr(), obj_can_browse(), obj_desc_inscrip(), obj_desc_mods(), obj_known_blows(), obj_known_damage(), obj_known_digging(), object_all_elements_are_known(), object_check_for_ident(), object_flavor_aware(), object_high_resist_is_possible(), object_info_ego(), object_is_equipped(), object_know_all_elements(), object_list_collect(), object_notice_ego(), object_notice_on_wield(), object_prep(), object_stackable(), object_to_book(), option_dump(), option_toggle_menu(), pack_overflow(), parse_artifact_name(), parse_class_title(), parse_ego_type(), parse_frequencies(), parse_pain_message(), parse_prefs_gf(), parse_profile_name(), parse_profile_room(), parse_random(), path_filename_index(), path_process(), pile_check_integrity(), place_feeling(), place_monster(), place_new_monster_group(), place_new_monster_one(), place_tile_cursor(), player_book_has_unlearned_spells(), player_init(), player_outfit(), player_pickup_item(), player_quests_free(), player_quests_reset(), player_safe_name(), player_spells_init(), point_based_points(), point_set_contains(), poly_race(), process_monster(), process_monsters(), process_player_cleanup(), process_world(), project(), project_m_apply_side_effects(), project_player_drain_stats(), project_player_handler_TIME(), prt_equippy(), prt_speed(), prt_state(), prt_tmd(), prt_welcome(), py_attack_real(), quarks_free(), quest_check(), rand_dir(), Rand_state_init(), random_high_resist(), ranged_helper(), rd_artifacts(), rd_dungeon_aux(), rd_history(), rd_ignore(), rd_item(), rd_messages(), rd_monster_memory(), rd_monsters_aux(), rd_object_memory(), rd_player(), rd_player_hp(), rd_player_spells(), rd_quests(), rd_randomizer(), rd_stores_aux(), rd_string(), rd_trap(), recalculate_stats(), redraw_stuff(), redundant_monster_message(), region_erase(), region_erase_bordered(), remove_bad_spells(), remove_curse_aux(), remove_tiles(), reset_monsters(), reset_stats(), reset_visuals(), roll_hp(), roman_to_int(), run_init(), run_test(), save_roller_data(), scan_items(), scramble_artifact(), see_floor_items(), seen_tval(), set_del(), set_pit_type(), setup_menus(), show_command_list(), show_equip(), show_file(), show_floor(), show_inven(), show_obj_list(), show_quiver(), shuffle(), skill_help(), slay_collect(), slay_power(), slot_by_name(), slot_by_type(), spell_book_count_spells(), spell_collect_from_book(), spell_learn(), spell_okay_list(), spoil_artifact(), spoil_mon_desc(), spoil_mon_info(), spoil_obj_desc(), spread_monsters(), stat_name_to_idx(), store_base_power(), store_can_carry(), store_carry(), store_is_staple(), store_maint(), store_reset(), store_stock_list(), subwindow_set_flags(), summon_name_to_idx(), summon_specific(), symmetry_transform(), target_pick(), target_set_interactive(), term_data_link(), Term_erase(), Term_pict_nds(), Term_redraw_section(), Term_resize(), Term_text_nds(), Term_wipe_nds(), Term_xtra_nds(), test_0(), test_length(), test_names(), text_out_to_file(), text_out_to_screen(), textblock_append_utf8(), textblock_to_file(), textui_browse_knowledge(), textui_browse_object_knowledge(), textui_knowledge_init(), textui_prefs_free(), textui_prefs_init(), timed_name_to_idx(), toggle_inven_equip(), town_gen(), try_save(), tval_find_idx(), tval_find_name(), tval_has_ignore_type(), tval_sval_count(), tval_sval_list(), update_bonuses(), update_messages_subwindow(), update_monsters(), update_player_compact_subwindow(), update_sidebar(), update_statusline(), variance(), vault_monsters(), vault_objects(), vault_traps(), VblankHandler(), vstrnfmt(), weight_limit(), weight_remaining(), wiz_create_item(), wiz_create_item_action(), wiz_light(), wiz_statistics(), wiz_tweak_item(), wr_artifacts(), wr_dungeon_aux(), wr_history(), wr_ignore(), wr_item(), wr_messages(), wr_monsters_aux(), wr_options(), wr_player(), wr_player_hp(), wr_player_spells(), wr_quests(), wr_randomizer(), wr_stores(), wr_trap(), write_character_dump(), write_dummy_object_record(), and write_monster_entries().

png_bytepp image
png_voidp png_progressive_info_ptr info_fn
png_infop info_ptr

Referenced by ReadDIB2_PNG(), and SaveWindow_PNG().

png_infopp info_ptr_ptr
typedef int
png_infop png_fixed_point int_file_gamma
png_infop int intent
png_voidp io_ptr
int keep

Referenced by do_cmd_wiz_features().

int level
png_infop int int location
png_voidp png_malloc_ptr malloc_fn
png_infop int mask

Referenced by flags_mask().

png_colorp int int maximum_colors
int mem_level
png_voidp mem_ptr
int method
png_uint_32 mng_features_permitted
png_infop png_timep mod_time
png_color_16p int int need_expand
int nrows
int num_bytes
int png_bytep int num_chunks
png_infop png_colorp int num_palette
png_size_t png_size_t num_to_check
png_infop png_bytep int num_trans
int int num_weights
png_bytep old_row
png_voidp png_rw_ptr png_flush_ptr output_flush_fn
typedef png_bytep
typedef png_const_charp
png_size_t png_info_struct_size
typedef png_size_t
typedef png_uint_32
png_voidp progressive_ptr
png_timep ptime
png_voidp ptr

Referenced by dir_create().

png_voidp png_rw_ptr read_data_fn
png_read_status_ptr read_row_fn
png_voidp png_user_chunk_ptr read_user_chunk_fn
png_user_transform_ptr read_user_transform_fn
png_infop double double double red_x
png_infop double double double double red_y
png_voidp png_progressive_info_ptr png_progressive_row_ptr row_fn
png_infop png_bytepp row_pointers

Referenced by ReadDIB2_PNG(), and SaveWindow_PNG().

double screen_gamma
png_size_t start
int strategy
png_uint_32 strip_mode
png_infop png_textp text_ptr
png_infop int transforms
png_color_8p true_bits
time_t ttime
png_infop int unit
png_voidp user_chunk_ptr
png_uint_32 png_uint_32 user_height_max
png_voidp int int user_transform_channels
png_voidp int user_transform_depth
png_voidp user_transform_ptr
png_uint_32 user_width_max
png_voidp int value
png_voidp png_error_ptr png_error_ptr warn_fn
png_voidp png_error_ptr png_error_ptr warning_fn
png_const_charp warning_message
png_infop double white_x
png_infop double double white_y
png_infop int double width
int window_bits
png_voidp png_rw_ptr write_data_fn
png_write_status_ptr write_row_fn
png_user_transform_ptr write_user_transform_fn