Classes | Macros | Typedefs | Functions | Variables
png.h File Reference
#include "zlib.h"
#include "pngconf.h"
Include dependency graph for png.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Macros

#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_ASM_FLAG_MMX_READ_COMBINE_ROW   0x04
 
#define PNG_ASM_FLAG_MMX_READ_FILTER_AVG   0x40
 
#define PNG_ASM_FLAG_MMX_READ_FILTER_PAETH   0x80
 
#define PNG_ASM_FLAG_MMX_READ_FILTER_SUB   0x10
 
#define PNG_ASM_FLAG_MMX_READ_FILTER_UP   0x20
 
#define PNG_ASM_FLAG_MMX_READ_INTERLACE   0x08
 
#define PNG_ASM_FLAG_MMX_SUPPORT_COMPILED   0x01 /* not user-settable */
 
#define PNG_ASM_FLAG_MMX_SUPPORT_IN_CPU   0x02 /* not user-settable */
 
#define PNG_ASM_FLAGS_INITIALIZED   0x80000000 /* not user-settable */
 
#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
 
#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)
 
#define png_composite_16(composite, fg, alpha, bg)
 
#define PNG_COMPRESSION_TYPE_BASE   0 /* Deflate method 8, 32K window */
 
#define PNG_COMPRESSION_TYPE_DEFAULT   PNG_COMPRESSION_TYPE_BASE
 
#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, m)
 
#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
 
#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.32 - September 18, 2008\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)
 
#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
 
#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 */
 
#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
 
#define PNG_LIBPNG_BUILD_PRIVATE
 
#define PNG_LIBPNG_BUILD_RC   3
 
#define PNG_LIBPNG_BUILD_RELEASE_STATUS_MASK   7
 
#define PNG_LIBPNG_BUILD_SPECIAL
 
#define PNG_LIBPNG_BUILD_STABLE   4
 
#define PNG_LIBPNG_BUILD_TYPE   (PNG_LIBPNG_BUILD_BASE_TYPE)
 
#define PNG_LIBPNG_VER   10232 /* 1.2.32 */
 
#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   32
 
#define PNG_LIBPNG_VER_SONUM   0
 
#define PNG_LIBPNG_VER_STRING   "1.2.32"
 
#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_MMX_FLAGS
 
#define PNG_MMX_READ_FLAGS
 
#define PNG_MMX_WRITE_FLAGS   ( 0 )
 
#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_SELECT_READ   1
 
#define PNG_SELECT_WRITE   2
 
#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 */
 
#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
 

Typedefs

typedef struct png_color_struct png_color
 
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 png_color FARpng_colorp
 
typedef png_color FAR *FARpng_colorpp
 
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_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_struct_def png_struct
 
typedef png_struct FARpng_structp
 
typedef png_struct FAR *FARpng_structpp
 
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 *FARpng_unknown_chunkpp
 
typedef png_voidp png_malloc_ptr PNGARG((png_structp, png_size_t))
 
typedef png_structp version_1_2_32
 

Functions

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_destroy_write_struct) PNGARG((png_structpp png_ptr_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 (png_uint_32, png_get_mmx_flagmask) PNGARG((int flag_select
 
 PNG_EXPORT (png_uint_32, png_get_asm_flagmask) PNGARG((int flag_select))
 
 PNG_EXPORT (png_uint_32, png_get_asm_flags) PNGARG((png_structp png_ptr))
 
 PNG_EXPORT (png_byte, png_get_mmx_bitdepth_threshold) PNGARG((png_structp png_ptr))
 
 PNG_EXPORT (png_uint_32, png_get_mmx_rowbytes_threshold) PNGARG((png_structp png_ptr))
 
 PNG_EXPORT (void, png_set_asm_flags) PNGARG((png_structp png_ptr
 
 PNG_EXPORT (void, png_set_mmx_thresholds) PNGARG((png_structp png_ptr
 
 PNG_EXPORT (int, png_mmx_support) PNGARG((void))
 
 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
 
 PNG_EXPORT_VAR (PNG_CONST char) png_libpng_ver[18]
 
 PNG_EXPORT_VAR (PNG_CONST int FARDATA) png_pass_start[7]
 
void png_read_destroy PNGARG ((png_structp png_ptr, png_infop info_ptr, png_infop end_info_ptr))
 
void png_write_destroy PNGARG ((png_structp png_ptr))
 
typedef void (PNGAPI *png_error_ptr) PNGARG((png_structp
 

Variables

int int ancil_action
 
png_uint_32 asm_flags
 
png_infop png_color_16pbackground
 
png_color_16p background_color
 
png_color_16p int int double background_gamma
 
png_color_16p int background_gamma_code
 
png_infop png_uint_32 png_uint_32 intbit_depth
 
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
 
png_infop png_bytep buffer
 
png_infop png_bytep png_size_t buffer_size
 
png_infop int chunk
 
int png_bytep chunk_list
 
png_bytep chunk_name
 
png_infop png_uint_32 png_uint_32 int intcolor_type
 
intcompilerID
 
png_infop png_uint_32 png_uint_32 int int int intcompression_method
 
png_infop png_charpp intcompression_type
 
int crit_action
 
png_bytep png_bytep data
 
double double default_file_gamma
 
png_bytepp png_bytepp display_row
 
int empty_plte_permitted
 
png_voidp png_progressive_info_ptr png_progressive_row_ptr png_progressive_end_ptr end_fn
 
png_infopp png_infopp end_info_ptr_ptr
 
png_infop png_sPLT_tpp entries
 
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 png_doublep filter_costs
 
png_infop png_uint_32 png_uint_32 int int int int intfilter_method
 
int int png_doublep filter_weights
 
int int filters
 
png_infop png_uint_32 flag
 
png_uint_32 int flags
 
png_FILE_p fp
 
png_voidp png_error_ptr png_error_ptr png_voidp png_malloc_ptr png_free_ptr free_fn
 
png_infop png_uint_32 free_me
 
png_infop int freer
 
png_colorp int int png_uint_16p int full_dither
 
int double double green
 
png_infop double double double double double * green_x
 
png_infop double double double double double double * green_y
 
png_infop png_uint_32 png_uint_32height
 
int heuristic_method
 
png_infop png_uint_16phist
 
png_colorp int int png_uint_16p histogram
 
png_uint_32 i
 
png_bytepp image
 
png_voidp png_progressive_info_ptr info_fn
 
png_infop info_ptr
 
png_infopp info_ptr_ptr
 
typedef int
 
png_infop png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_pointint_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_pointint_blue_y
 
png_infop png_fixed_pointint_file_gamma
 
png_infop png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_pointint_green_x
 
png_infop png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_point png_fixed_pointint_green_y
 
png_infop png_fixed_point png_fixed_point png_fixed_pointint_red_x
 
png_infop png_fixed_point png_fixed_point png_fixed_point png_fixed_pointint_red_y
 
png_infop png_fixed_pointint_white_x
 
png_infop png_fixed_point png_fixed_pointint_white_y
 
png_infop intintent
 
png_infop png_uint_32 png_uint_32 int int intinterlace_method
 
png_voidp io_ptr
 
int keep
 
png_bytep png_bytep png_size_t length
 
int level
 
png_infop int int location
 
png_voidp png_error_ptr png_error_ptr png_voidp png_malloc_ptr malloc_fn
 
png_infop int png_uint_32 mask
 
png_colorp int int maximum_colors
 
int mem_level
 
png_voidp png_error_ptr png_error_ptr png_voidp mem_ptr
 
int method
 
png_byte mmx_bitdepth_threshold
 
png_byte png_uint_32 mmx_rowbytes_threshold
 
png_uint_32 mng_features_permitted
 
png_infop png_timepmod_time
 
png_infop png_charpp name
 
png_color_16p int int need_expand
 
png_infop png_sPLT_tp int nentries
 
png_bytep png_bytep new_row
 
png_infop png_charp png_int_32 png_int_32 int intnparams
 
int nrows
 
int num
 
int num_bytes
 
int png_bytep int num_chunks
 
png_colorp int num_palette
 
png_bytepp png_bytepp png_uint_32 num_rows
 
png_infop png_textp intnum_text
 
png_size_t png_size_t num_to_check
 
png_infop png_bytep intnum_trans
 
png_infop png_unknown_chunkp int num_unknowns
 
int int num_weights
 
png_infop png_int_32offset_x
 
png_infop png_int_32 png_int_32offset_y
 
png_bytep old_row
 
png_voidp png_rw_ptr png_flush_ptr output_flush_fn
 
png_colorp palette
 
png_infop png_charp png_int_32 png_int_32 int int png_charp png_charppparams
 
typedef png_bytep
 
typedef png_const_charp
 
png_size_t png_info_struct_size
 
typedef png_size_t
 
typedef png_uint_32
 
png_infop png_charpp int png_charpp profile
 
png_infop png_charpp int png_charpp png_uint_32proflen
 
png_voidp progressive_ptr
 
png_timep ptime
 
png_voidp ptr
 
png_infop png_charppurpose
 
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
 
int double red
 
png_infop double double double * red_x
 
png_infop double double double double * red_y
 
png_infop png_uint_32res_x
 
png_infop png_uint_32 png_uint_32res_y
 
png_bytepp row
 
png_voidp png_progressive_info_ptr png_progressive_row_ptr row_fn
 
png_infop png_bytepp row_pointers
 
png_voidp s1
 
png_voidp png_voidp s2
 
double screen_gamma
 
png_infop png_color_8psig_bit
 
png_uint_32 size
 
png_size_t start
 
int strategy
 
png_uint_32 strip_mode
 
png_infop png_textptext_ptr
 
png_infop png_byteptrans
 
png_infop png_bytep int png_color_16ptrans_values
 
png_infop int transforms
 
png_color_8p true_bits
 
struct tm FARttime
 
png_infop png_charp png_int_32 png_int_32 inttype
 
png_infop intunit
 
png_infop png_int_32 png_int_32 intunit_type
 
png_infop png_charp png_int_32 png_int_32 int int png_charpunits
 
png_infop png_unknown_chunkp unknowns
 
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 png_uint_32width
 
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
 
png_infop png_charp png_int_32X0
 
png_infop png_charp png_int_32 png_int_32X1
 

Macro Definition Documentation

#define int_p_NULL   (int *)NULL

Definition at line 500 of file png.h.

#define PNG_AFTER_IDAT   0x08 /* Have complete zlib datastream */

Definition at line 2762 of file png.h.

#define PNG_ALL_FILTERS
Value:
#define PNG_FILTER_PAETH
Definition: png.h:1860
#define PNG_FILTER_SUB
Definition: png.h:1857
#define PNG_FILTER_UP
Definition: png.h:1858
#define PNG_FILTER_AVG
Definition: png.h:1859
#define PNG_FILTER_NONE
Definition: png.h:1856

Definition at line 1861 of file png.h.

#define PNG_ALL_MNG_FEATURES   0x05

Definition at line 1157 of file png.h.

#define PNG_ASM_FLAG_MMX_READ_COMBINE_ROW   0x04

Definition at line 2586 of file png.h.

#define PNG_ASM_FLAG_MMX_READ_FILTER_AVG   0x40

Definition at line 2590 of file png.h.

#define PNG_ASM_FLAG_MMX_READ_FILTER_PAETH   0x80

Definition at line 2591 of file png.h.

#define PNG_ASM_FLAG_MMX_READ_FILTER_SUB   0x10

Definition at line 2588 of file png.h.

#define PNG_ASM_FLAG_MMX_READ_FILTER_UP   0x20

Definition at line 2589 of file png.h.

#define PNG_ASM_FLAG_MMX_READ_INTERLACE   0x08

Definition at line 2587 of file png.h.

#define PNG_ASM_FLAG_MMX_SUPPORT_COMPILED   0x01 /* not user-settable */

Definition at line 2584 of file png.h.

#define PNG_ASM_FLAG_MMX_SUPPORT_IN_CPU   0x02 /* not user-settable */

Definition at line 2585 of file png.h.

#define PNG_ASM_FLAGS_INITIALIZED   0x80000000 /* not user-settable */

Definition at line 2592 of file png.h.

#define PNG_BACKGROUND_GAMMA_FILE   2

Definition at line 1708 of file png.h.

#define PNG_BACKGROUND_GAMMA_SCREEN   1

Definition at line 1707 of file png.h.

#define PNG_BACKGROUND_GAMMA_UNIQUE   3

Definition at line 1709 of file png.h.

#define PNG_BACKGROUND_GAMMA_UNKNOWN   0

Definition at line 1706 of file png.h.

#define png_bytep_NULL   (png_bytep)NULL

Definition at line 501 of file png.h.

#define png_bytepp_NULL   (png_bytepp)NULL

Definition at line 502 of file png.h.

#define PNG_CHUNK_NAME_LENGTH   5

Definition at line 692 of file png.h.

#define PNG_COLOR_MASK_ALPHA   4

Definition at line 1000 of file png.h.

#define PNG_COLOR_MASK_COLOR   2

Definition at line 999 of file png.h.

#define PNG_COLOR_MASK_PALETTE   1

Definition at line 998 of file png.h.

#define PNG_COLOR_TYPE_GA   PNG_COLOR_TYPE_GRAY_ALPHA

Definition at line 1010 of file png.h.

#define PNG_COLOR_TYPE_GRAY   0

Definition at line 1003 of file png.h.

#define PNG_COLOR_TYPE_GRAY_ALPHA   (PNG_COLOR_MASK_ALPHA)

Definition at line 1007 of file png.h.

#define PNG_COLOR_TYPE_PALETTE   (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_PALETTE)

Definition at line 1004 of file png.h.

#define PNG_COLOR_TYPE_RGB   (PNG_COLOR_MASK_COLOR)

Definition at line 1005 of file png.h.

#define PNG_COLOR_TYPE_RGB_ALPHA   (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_ALPHA)

Definition at line 1006 of file png.h.

#define PNG_COLOR_TYPE_RGBA   PNG_COLOR_TYPE_RGB_ALPHA

Definition at line 1009 of file png.h.

#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); }
unsigned char png_byte
Definition: pngconf.h:1120
unsigned short png_uint_16
Definition: pngconf.h:1118

Definition at line 2685 of file png.h.

#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); }
typedef png_uint_32
Definition: png.h:1113
unsigned short png_uint_16
Definition: pngconf.h:1118
unsigned long png_uint_32
Definition: pngconf.h:1116

Definition at line 2691 of file png.h.

#define PNG_COMPRESSION_TYPE_BASE   0 /* Deflate method 8, 32K window */

Definition at line 1013 of file png.h.

#define PNG_COMPRESSION_TYPE_DEFAULT   PNG_COMPRESSION_TYPE_BASE

Definition at line 1014 of file png.h.

#define PNG_CRC_DEFAULT   0 /* error/quit warn/discard data */

Definition at line 1829 of file png.h.

#define PNG_CRC_ERROR_QUIT   1 /* error/quit error/quit */

Definition at line 1830 of file png.h.

#define PNG_CRC_NO_CHANGE   5 /* use current value use current value */

Definition at line 1834 of file png.h.

#define PNG_CRC_QUIET_USE   4 /* quiet/use data quiet/use data */

Definition at line 1833 of file png.h.

#define PNG_CRC_WARN_DISCARD   2 /* (INVALID) warn/discard data */

Definition at line 1831 of file png.h.

#define PNG_CRC_WARN_USE   3 /* warn/use data warn/use data */

Definition at line 1832 of file png.h.

#define png_debug (   l,
 
)

Definition at line 2556 of file png.h.

#define png_debug1 (   l,
  m,
  p1 
)

Definition at line 2559 of file png.h.

#define png_debug2 (   l,
  m,
  p1,
  p2 
)

Definition at line 2562 of file png.h.

#define PNG_DESTROY_WILL_FREE_DATA   1

Definition at line 2084 of file png.h.

#define png_doublep_NULL   (png_doublep)NULL

Definition at line 503 of file png.h.

#define PNG_EQUATION_ARBITRARY   2 /* Arbitrary base exponential transform */

Definition at line 1034 of file png.h.

#define PNG_EQUATION_BASE_E   1 /* Exponential base e transform */

Definition at line 1033 of file png.h.

#define PNG_EQUATION_HYPERBOLIC   3 /* Hyperbolic sine transformation */

Definition at line 1035 of file png.h.

#define PNG_EQUATION_LAST   4 /* Not a valid value */

Definition at line 1036 of file png.h.

#define PNG_EQUATION_LINEAR   0 /* Linear transformation */

Definition at line 1032 of file png.h.

#define png_error_ptr_NULL   (png_error_ptr)NULL

Definition at line 504 of file png.h.

#define PNG_FILLER_AFTER   1

Definition at line 1659 of file png.h.

#define PNG_FILLER_BEFORE   0

Definition at line 1658 of file png.h.

#define PNG_FILTER_AVG   0x40

Definition at line 1859 of file png.h.

#define PNG_FILTER_HEURISTIC_DEFAULT   0 /* Currently "UNWEIGHTED" */

Definition at line 1913 of file png.h.

#define PNG_FILTER_HEURISTIC_LAST   3 /* Not a valid value */

Definition at line 1916 of file png.h.

#define PNG_FILTER_HEURISTIC_UNWEIGHTED   1 /* Used by libpng < 0.95 */

Definition at line 1914 of file png.h.

#define PNG_FILTER_HEURISTIC_WEIGHTED   2 /* Experimental feature */

Definition at line 1915 of file png.h.

#define PNG_FILTER_NONE   0x08

Definition at line 1856 of file png.h.

#define PNG_FILTER_PAETH   0x80

Definition at line 1860 of file png.h.

#define PNG_FILTER_SUB   0x10

Definition at line 1857 of file png.h.

#define PNG_FILTER_TYPE_BASE   0 /* Single row per-byte filtering */

Definition at line 1017 of file png.h.

#define PNG_FILTER_TYPE_DEFAULT   PNG_FILTER_TYPE_BASE

Definition at line 1019 of file png.h.

#define PNG_FILTER_UP   0x20

Definition at line 1858 of file png.h.

#define PNG_FILTER_VALUE_AVG   3

Definition at line 1870 of file png.h.

#define PNG_FILTER_VALUE_LAST   5

Definition at line 1872 of file png.h.

#define PNG_FILTER_VALUE_NONE   0

Definition at line 1867 of file png.h.

#define PNG_FILTER_VALUE_PAETH   4

Definition at line 1871 of file png.h.

#define PNG_FILTER_VALUE_SUB   1

Definition at line 1868 of file png.h.

#define PNG_FILTER_VALUE_UP   2

Definition at line 1869 of file png.h.

#define PNG_FLAG_MNG_EMPTY_PLTE   0x01

Definition at line 1155 of file png.h.

#define PNG_FLAG_MNG_FILTER_64   0x04

Definition at line 1156 of file png.h.

#define png_flush_ptr_NULL   (png_flush_ptr)NULL

Definition at line 505 of file png.h.

#define PNG_FREE_ALL   0x7fff

Definition at line 2099 of file png.h.

#define PNG_FREE_HIST   0x0008

Definition at line 2088 of file png.h.

#define PNG_FREE_ICCP   0x0010

Definition at line 2089 of file png.h.

#define PNG_FREE_LIST   0x0400

Definition at line 2095 of file png.h.

#define PNG_FREE_MUL   0x4220 /* PNG_FREE_SPLT|PNG_FREE_TEXT|PNG_FREE_UNKN */

Definition at line 2100 of file png.h.

#define PNG_FREE_PCAL   0x0080

Definition at line 2092 of file png.h.

#define PNG_FREE_PLTE   0x1000

Definition at line 2096 of file png.h.

#define png_free_ptr_NULL   (png_free_ptr)NULL

Definition at line 506 of file png.h.

#define PNG_FREE_ROWS   0x0040

Definition at line 2091 of file png.h.

#define PNG_FREE_SCAL   0x0100

Definition at line 2093 of file png.h.

#define PNG_FREE_SPLT   0x0020

Definition at line 2090 of file png.h.

#define PNG_FREE_TEXT   0x4000

Definition at line 2098 of file png.h.

#define PNG_FREE_TRNS   0x2000

Definition at line 2097 of file png.h.

#define PNG_FREE_UNKN   0x0200

Definition at line 2094 of file png.h.

#define PNG_HANDLE_CHUNK_ALWAYS   3

Definition at line 2579 of file png.h.

#define PNG_HANDLE_CHUNK_AS_DEFAULT   0

Definition at line 2576 of file png.h.

#define PNG_HANDLE_CHUNK_IF_SAFE   2

Definition at line 2578 of file png.h.

#define PNG_HANDLE_CHUNK_NEVER   1

Definition at line 2577 of file png.h.

#define PNG_HAVE_IDAT   0x04

Definition at line 2761 of file png.h.

#define PNG_HAVE_IEND   0x10

Definition at line 2763 of file png.h.

#define PNG_HAVE_IHDR   0x01

Definition at line 2759 of file png.h.

#define PNG_HAVE_PLTE   0x02

Definition at line 2760 of file png.h.

#define PNG_HEADER_VERSION_STRING   " libpng version 1.2.32 - September 18, 2008\n"

Definition at line 414 of file png.h.

#define PNG_INFO_bKGD   0x0020

Definition at line 1072 of file png.h.

#define PNG_INFO_cHRM   0x0004

Definition at line 1069 of file png.h.

#define PNG_INFO_gAMA   0x0001

Definition at line 1067 of file png.h.

#define PNG_INFO_hIST   0x0040

Definition at line 1073 of file png.h.

#define PNG_INFO_iCCP   0x1000 /* ESR, 1.0.6 */

Definition at line 1079 of file png.h.

#define PNG_INFO_IDAT   0x8000L /* ESR, 1.0.6 */

Definition at line 1082 of file png.h.

#define png_info_init (   info_ptr)
Value:
void PNGAPI png_info_init_3(png_infopp ptr_ptr, png_size_t png_info_struct_size)
Definition: png.c:301
png_infop info_ptr
Definition: png.h:1571
#define png_sizeof(x)
Definition: pngconf.h:1129

Definition at line 1562 of file png.h.

#define PNG_INFO_oFFs   0x0100

Definition at line 1075 of file png.h.

#define PNG_INFO_pCAL   0x0400

Definition at line 1077 of file png.h.

#define PNG_INFO_pHYs   0x0080

Definition at line 1074 of file png.h.

#define PNG_INFO_PLTE   0x0008

Definition at line 1070 of file png.h.

#define PNG_INFO_sBIT   0x0002

Definition at line 1068 of file png.h.

#define PNG_INFO_sCAL   0x4000 /* ESR, 1.0.6 */

Definition at line 1081 of file png.h.

#define PNG_INFO_sPLT   0x2000 /* ESR, 1.0.6 */

Definition at line 1080 of file png.h.

#define PNG_INFO_sRGB   0x0800 /* GR-P, 0.96a */

Definition at line 1078 of file png.h.

#define PNG_INFO_tIME   0x0200

Definition at line 1076 of file png.h.

#define PNG_INFO_tRNS   0x0010

Definition at line 1071 of file png.h.

#define png_infopp_NULL   (png_infopp)NULL

Definition at line 507 of file png.h.

#define PNG_INTERLACE_ADAM7   1 /* Adam7 interlacing */

Definition at line 1023 of file png.h.

#define PNG_INTERLACE_LAST   2 /* Not a valid value */

Definition at line 1024 of file png.h.

#define PNG_INTERLACE_NONE   0 /* Non-interlaced image */

Definition at line 1022 of file png.h.

#define PNG_INTRAPIXEL_DIFFERENCING   64 /* Used only in MNG datastreams */

Definition at line 1018 of file png.h.

#define PNG_ITXT_COMPRESSION_NONE   1

Definition at line 664 of file png.h.

#define PNG_ITXT_COMPRESSION_zTXt   2

Definition at line 665 of file png.h.

#define PNG_KEYWORD_MAX_LENGTH   79

Definition at line 1057 of file png.h.

#define PNG_LIBPNG_BUILD_ALPHA   1

Definition at line 430 of file png.h.

#define PNG_LIBPNG_BUILD_BASE_TYPE   PNG_LIBPNG_BUILD_STABLE

Definition at line 444 of file png.h.

#define PNG_LIBPNG_BUILD_BETA   2

Definition at line 431 of file png.h.

#define PNG_LIBPNG_BUILD_PATCH
Value:
8 /* Can be OR'ed with
PNG_LIBPNG_BUILD_STABLE only */

Definition at line 437 of file png.h.

#define PNG_LIBPNG_BUILD_PRIVATE
Value:
16 /* Cannot be OR'ed with
PNG_LIBPNG_BUILD_SPECIAL */

Definition at line 439 of file png.h.

#define PNG_LIBPNG_BUILD_RC   3

Definition at line 432 of file png.h.

#define PNG_LIBPNG_BUILD_RELEASE_STATUS_MASK   7

Definition at line 434 of file png.h.

#define PNG_LIBPNG_BUILD_SPECIAL
Value:
32 /* Cannot be OR'ed with
PNG_LIBPNG_BUILD_PRIVATE */

Definition at line 441 of file png.h.

#define PNG_LIBPNG_BUILD_STABLE   4

Definition at line 433 of file png.h.

#define PNG_LIBPNG_BUILD_TYPE   (PNG_LIBPNG_BUILD_BASE_TYPE)

Definition at line 482 of file png.h.

#define PNG_LIBPNG_VER   10232 /* 1.2.32 */

Definition at line 451 of file png.h.

#define PNG_LIBPNG_VER_BUILD   0

Definition at line 427 of file png.h.

#define PNG_LIBPNG_VER_DLLNUM   13

Definition at line 418 of file png.h.

#define PNG_LIBPNG_VER_MAJOR   1

Definition at line 421 of file png.h.

#define PNG_LIBPNG_VER_MINOR   2

Definition at line 422 of file png.h.

#define PNG_LIBPNG_VER_RELEASE   32

Definition at line 423 of file png.h.

#define PNG_LIBPNG_VER_SONUM   0

Definition at line 417 of file png.h.

#define PNG_LIBPNG_VER_STRING   "1.2.32"

Definition at line 413 of file png.h.

#define png_malloc_ptr_NULL   (png_malloc_ptr)NULL

Definition at line 508 of file png.h.

#define PNG_MAX_PALETTE_LENGTH   256

Definition at line 1060 of file png.h.

#define PNG_MAX_UINT   PNG_UINT_31_MAX

Definition at line 993 of file png.h.

#define PNG_MMX_FLAGS
Value:
#define PNG_MMX_READ_FLAGS
Definition: png.h:2594
#define PNG_ASM_FLAG_MMX_SUPPORT_IN_CPU
Definition: png.h:2585
#define PNG_ASM_FLAG_MMX_SUPPORT_COMPILED
Definition: png.h:2584
#define PNG_MMX_WRITE_FLAGS
Definition: png.h:2600

Definition at line 2602 of file png.h.

#define PNG_MMX_READ_FLAGS
Value:
#define PNG_ASM_FLAG_MMX_READ_FILTER_UP
Definition: png.h:2589
#define PNG_ASM_FLAG_MMX_READ_FILTER_PAETH
Definition: png.h:2591
#define PNG_ASM_FLAG_MMX_READ_FILTER_AVG
Definition: png.h:2590
#define PNG_ASM_FLAG_MMX_READ_FILTER_SUB
Definition: png.h:2588
#define PNG_ASM_FLAG_MMX_READ_COMBINE_ROW
Definition: png.h:2586
#define PNG_ASM_FLAG_MMX_READ_INTERLACE
Definition: png.h:2587

Definition at line 2594 of file png.h.

#define PNG_MMX_WRITE_FLAGS   ( 0 )

Definition at line 2600 of file png.h.

#define PNG_NO_FILTERS   0x00

Definition at line 1855 of file png.h.

#define PNG_OFFSET_LAST   2 /* Not a valid value */

Definition at line 1029 of file png.h.

#define PNG_OFFSET_MICROMETER   1 /* Offset in micrometers (1/10^6 meter) */

Definition at line 1028 of file png.h.

#define PNG_OFFSET_PIXEL   0 /* Offset in pixels */

Definition at line 1027 of file png.h.

#define png_read_status_ptr_NULL   (png_read_status_ptr)NULL

Definition at line 509 of file png.h.

#define PNG_RESOLUTION_LAST   2 /* Not a valid value */

Definition at line 1047 of file png.h.

#define PNG_RESOLUTION_METER   1 /* pixels/meter */

Definition at line 1046 of file png.h.

#define PNG_RESOLUTION_UNKNOWN   0 /* pixels/unknown unit (aspect ratio) */

Definition at line 1045 of file png.h.

#define png_rw_ptr_NULL   (png_rw_ptr)NULL

Definition at line 510 of file png.h.

#define PNG_SCALE_LAST   3 /* Not a valid value */

Definition at line 1042 of file png.h.

#define PNG_SCALE_METER   1 /* meters per pixel */

Definition at line 1040 of file png.h.

#define PNG_SCALE_RADIAN   2 /* radians per pixel */

Definition at line 1041 of file png.h.

#define PNG_SCALE_UNKNOWN   0 /* unknown unit (image scale) */

Definition at line 1039 of file png.h.

#define PNG_SELECT_READ   1

Definition at line 2607 of file png.h.

#define PNG_SELECT_WRITE   2

Definition at line 2608 of file png.h.

#define PNG_SET_WILL_FREE_DATA   1

Definition at line 2085 of file png.h.

#define PNG_SIZE_MAX   ((png_size_t)(-1))

Definition at line 990 of file png.h.

#define PNG_sRGB_INTENT_ABSOLUTE   3

Definition at line 1053 of file png.h.

#define PNG_sRGB_INTENT_LAST   4 /* Not a valid value */

Definition at line 1054 of file png.h.

#define PNG_sRGB_INTENT_PERCEPTUAL   0

Definition at line 1050 of file png.h.

#define PNG_sRGB_INTENT_RELATIVE   1

Definition at line 1051 of file png.h.

#define PNG_sRGB_INTENT_SATURATION   2

Definition at line 1052 of file png.h.

#define png_structp_NULL   (png_structp)NULL

Definition at line 511 of file png.h.

#define PNG_TEXT_COMPRESSION_LAST   3 /* Not a valid value */

Definition at line 666 of file png.h.

#define PNG_TEXT_COMPRESSION_NONE   -1

Definition at line 662 of file png.h.

#define PNG_TEXT_COMPRESSION_NONE_WR   -3

Definition at line 660 of file png.h.

#define PNG_TEXT_COMPRESSION_zTXt   0

Definition at line 663 of file png.h.

#define PNG_TEXT_COMPRESSION_zTXt_WR   -2

Definition at line 661 of file png.h.

#define PNG_TRANSFORM_BGR   0x0080 /* read and write */

Definition at line 1148 of file png.h.

#define PNG_TRANSFORM_EXPAND   0x0010 /* read only */

Definition at line 1145 of file png.h.

#define PNG_TRANSFORM_IDENTITY   0x0000 /* read and write */

Definition at line 1140 of file png.h.

#define PNG_TRANSFORM_INVERT_ALPHA   0x0400 /* read and write */

Definition at line 1151 of file png.h.

#define PNG_TRANSFORM_INVERT_MONO   0x0020 /* read and write */

Definition at line 1146 of file png.h.

#define PNG_TRANSFORM_PACKING   0x0004 /* read and write */

Definition at line 1143 of file png.h.

#define PNG_TRANSFORM_PACKSWAP   0x0008 /* read and write */

Definition at line 1144 of file png.h.

#define PNG_TRANSFORM_SHIFT   0x0040 /* read and write */

Definition at line 1147 of file png.h.

#define PNG_TRANSFORM_STRIP_16   0x0001 /* read only */

Definition at line 1141 of file png.h.

#define PNG_TRANSFORM_STRIP_ALPHA   0x0002 /* read only */

Definition at line 1142 of file png.h.

#define PNG_TRANSFORM_STRIP_FILLER   0x0800 /* WRITE only */

Definition at line 1152 of file png.h.

#define PNG_TRANSFORM_SWAP_ALPHA   0x0100 /* read and write */

Definition at line 1149 of file png.h.

#define PNG_TRANSFORM_SWAP_ENDIAN   0x0200 /* read and write */

Definition at line 1150 of file png.h.

#define png_uint_16p_NULL   (png_uint_16p)NULL

Definition at line 512 of file png.h.

#define PNG_UINT_31_MAX   ((png_uint_32)0x7fffffffL)

Definition at line 988 of file png.h.

#define PNG_UINT_32_MAX   ((png_uint_32)(-1))

Definition at line 989 of file png.h.

#define PNG_USER_WILL_FREE_DATA   2

Definition at line 2086 of file png.h.

#define png_voidp_NULL   (png_voidp)NULL

Definition at line 513 of file png.h.

#define png_write_status_ptr_NULL   (png_write_status_ptr)NULL

Definition at line 514 of file png.h.

Typedef Documentation

typedef struct png_color_struct png_color

Definition at line 582 of file png.h.

Definition at line 583 of file png.h.

Definition at line 593 of file png.h.

Definition at line 594 of file png.h.

Definition at line 571 of file png.h.

Definition at line 572 of file png.h.

typedef struct png_info_struct png_info
typedef png_infop

Definition at line 984 of file png.h.

Definition at line 985 of file png.h.

typedef png_row_infop

Definition at line 1098 of file png.h.

Definition at line 1099 of file png.h.

Definition at line 608 of file png.h.

Definition at line 609 of file png.h.

typedef struct png_sPLT_struct png_sPLT_t

Definition at line 623 of file png.h.

Definition at line 624 of file png.h.

typedef struct png_struct_def png_struct

Definition at line 1107 of file png.h.

Definition at line 1108 of file png.h.

Definition at line 1474 of file png.h.

typedef struct png_text_struct png_text

Definition at line 654 of file png.h.

Definition at line 655 of file png.h.

typedef struct png_time_struct png_time

Definition at line 683 of file png.h.

Definition at line 684 of file png.h.

Definition at line 703 of file png.h.

Definition at line 704 of file png.h.

typedef void png_free_ptr PNGARG((png_structp, png_voidp))

Definition at line 1159 of file png.h.

Definition at line 1472 of file png.h.

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 ( 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_destroy_write_struct   
)
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 ( png_uint_32  ,
png_get_mmx_flagmask   
)
PNG_EXPORT ( png_uint_32  ,
png_get_asm_flagmask   
)
PNG_EXPORT ( png_uint_32  ,
png_get_asm_flags   
)
PNG_EXPORT ( png_byte  ,
png_get_mmx_bitdepth_threshold   
)
PNG_EXPORT ( void  ,
png_set_asm_flags   
)
PNG_EXPORT ( void  ,
png_set_mmx_thresholds   
)
PNG_EXPORT ( int  ,
png_mmx_support   
)
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)
void png_read_destroy PNGARG ( (png_structp png_ptr, png_infop info_ptr, png_infop end_info_ptr)  )
void png_write_destroy PNGARG ( (png_structp png_ptr)  )
typedef void ( PNGAPI png_error_ptr)

Variable Documentation

int int ancil_action

Definition at line 1818 of file png.h.

png_uint_32 asm_flags

Definition at line 2634 of file png.h.

Definition at line 2241 of file png.h.

png_color_16p background_color

Definition at line 1703 of file png.h.

png_color_16p int int double background_gamma

Definition at line 1703 of file png.h.

png_color_16p int background_gamma_code

Definition at line 1703 of file png.h.

Definition at line 2309 of file png.h.

png_infop double double double double double double double blue_x

Definition at line 2252 of file png.h.

png_infop double double double double double double double double blue_y

Definition at line 2252 of file png.h.

png_bytep buf

Definition at line 2729 of file png.h.

Definition at line 2042 of file png.h.

Definition at line 2042 of file png.h.

png_infop int chunk

Definition at line 2487 of file png.h.

int png_bytep chunk_list

Definition at line 2483 of file png.h.

png_bytep chunk_name

Definition at line 1541 of file png.h.

Definition at line 2309 of file png.h.

int* compilerID

Definition at line 2614 of file png.h.

Definition at line 2309 of file png.h.

png_infop png_charp int compression_type

Definition at line 2382 of file png.h.

int crit_action

Definition at line 1818 of file png.h.

png_bytep data

Definition at line 1541 of file png.h.

double double default_file_gamma

Definition at line 1728 of file png.h.

png_bytep png_bytep display_row

Definition at line 1759 of file png.h.

int empty_plte_permitted

Definition at line 1738 of file png.h.

png_voidp png_progressive_info_ptr png_progressive_row_ptr png_progressive_end_ptr end_fn

Definition at line 2032 of file png.h.

png_infopp png_infopp end_info_ptr_ptr

Definition at line 1803 of file png.h.

Definition at line 2396 of file png.h.

int error_action

Definition at line 1628 of file png.h.

png_voidp png_error_ptr error_fn

Definition at line 1506 of file png.h.

png_const_charp error_message

Definition at line 2123 of file png.h.

png_voidp error_ptr

Definition at line 1506 of file png.h.

png_infop double file_gamma

Definition at line 2283 of file png.h.

png_uint_32 filler

Definition at line 1656 of file png.h.

Definition at line 1905 of file png.h.

Definition at line 2309 of file png.h.

int int png_doublep filter_weights

Definition at line 1905 of file png.h.

int int filters

Definition at line 1847 of file png.h.

Definition at line 2159 of file png.h.

Definition at line 1656 of file png.h.

Definition at line 1951 of file png.h.

png_voidp png_malloc_ptr png_free_ptr free_fn

Definition at line 1530 of file png.h.

Definition at line 2076 of file png.h.

png_infop int freer

Definition at line 2081 of file png.h.

Definition at line 1720 of file png.h.

Definition at line 1628 of file png.h.

png_infop double double double double double green_x

Definition at line 2252 of file png.h.

png_infop double double double double double double green_y

Definition at line 2252 of file png.h.

png_infop int double double height

Definition at line 2309 of file png.h.

int heuristic_method

Definition at line 1905 of file png.h.

Definition at line 2300 of file png.h.

Definition at line 1720 of file png.h.

unsigned int i

Definition at line 2735 of file png.h.

png_bytepp image

Definition at line 1772 of file png.h.

png_voidp png_progressive_info_ptr info_fn

Definition at line 2032 of file png.h.

png_infop info_ptr

Definition at line 1571 of file png.h.

png_infopp info_ptr_ptr

Definition at line 1799 of file png.h.

typedef int

Definition at line 1113 of file png.h.

Definition at line 2258 of file png.h.

Definition at line 2258 of file png.h.

png_infop png_fixed_point int_file_gamma

Definition at line 2286 of file png.h.

Definition at line 2258 of file png.h.

Definition at line 2258 of file png.h.

Definition at line 2258 of file png.h.

Definition at line 2258 of file png.h.

Definition at line 2258 of file png.h.

Definition at line 2258 of file png.h.

png_infop int intent

Definition at line 2370 of file png.h.

Definition at line 2309 of file png.h.

png_voidp io_ptr

Definition at line 1974 of file png.h.

int keep

Definition at line 2483 of file png.h.

Definition at line 1541 of file png.h.

int level

Definition at line 1926 of file png.h.

png_infop int int location

Definition at line 2487 of file png.h.

png_voidp png_malloc_ptr malloc_fn

Definition at line 1530 of file png.h.

png_infop int mask

Definition at line 2081 of file png.h.

png_colorp int int maximum_colors

Definition at line 1720 of file png.h.

int mem_level

Definition at line 1929 of file png.h.

png_voidp mem_ptr

Definition at line 1530 of file png.h.

int method

Definition at line 1847 of file png.h.

png_byte mmx_bitdepth_threshold

Definition at line 2638 of file png.h.

png_byte png_uint_32 mmx_rowbytes_threshold

Definition at line 2638 of file png.h.

png_uint_32 mng_features_permitted

Definition at line 2572 of file png.h.

png_infop png_timep mod_time

Definition at line 2425 of file png.h.

Definition at line 2382 of file png.h.

png_color_16p int int need_expand

Definition at line 1703 of file png.h.

Definition at line 2401 of file png.h.

Definition at line 2048 of file png.h.

Definition at line 2332 of file png.h.

int nrows

Definition at line 1744 of file png.h.

Definition at line 1502 of file png.h.

int num_bytes

Definition at line 1489 of file png.h.

int png_bytep int num_chunks

Definition at line 2483 of file png.h.

png_infop png_colorp int num_palette

Definition at line 1720 of file png.h.

Definition at line 1759 of file png.h.

Definition at line 2407 of file png.h.

png_size_t png_size_t num_to_check

Definition at line 1496 of file png.h.

png_infop png_bytep int num_trans

Definition at line 2435 of file png.h.

Definition at line 2485 of file png.h.

int int num_weights

Definition at line 1905 of file png.h.

Definition at line 2320 of file png.h.

Definition at line 2320 of file png.h.

png_bytep old_row

Definition at line 2048 of file png.h.

png_voidp png_rw_ptr png_flush_ptr output_flush_fn

Definition at line 1974 of file png.h.

Definition at line 1637 of file png.h.

Definition at line 2332 of file png.h.

typedef png_bytep

Definition at line 1111 of file png.h.

typedef png_const_charp

Definition at line 1110 of file png.h.

png_size_t png_info_struct_size

Definition at line 1567 of file png.h.

typedef png_size_t

Definition at line 1111 of file png.h.

typedef png_uint_32

Definition at line 1113 of file png.h.

Definition at line 2382 of file png.h.

Definition at line 2382 of file png.h.

png_voidp progressive_ptr

Definition at line 2032 of file png.h.

png_timep ptime

Definition at line 1583 of file png.h.

png_voidp ptr

Definition at line 2063 of file png.h.

Definition at line 2332 of file png.h.

png_voidp png_rw_ptr read_data_fn

Definition at line 1978 of file png.h.

png_read_status_ptr read_row_fn

Definition at line 1984 of file png.h.

png_voidp png_user_chunk_ptr read_user_chunk_fn

Definition at line 2022 of file png.h.

png_user_transform_ptr read_user_transform_fn

Definition at line 2000 of file png.h.

Definition at line 1628 of file png.h.

png_infop double double double red_x

Definition at line 2252 of file png.h.

png_infop double double double double red_y

Definition at line 2252 of file png.h.

Definition at line 2344 of file png.h.

Definition at line 2344 of file png.h.

Definition at line 1759 of file png.h.

png_voidp png_progressive_info_ptr png_progressive_row_ptr row_fn

Definition at line 2032 of file png.h.

png_infop png_bytepp row_pointers

Definition at line 2173 of file png.h.

Definition at line 2110 of file png.h.

Definition at line 2110 of file png.h.

double screen_gamma

Definition at line 1728 of file png.h.

Definition at line 2360 of file png.h.

Definition at line 1521 of file png.h.

png_size_t start

Definition at line 1496 of file png.h.

int strategy

Definition at line 1932 of file png.h.

png_uint_32 strip_mode

Definition at line 2652 of file png.h.

png_infop png_textp text_ptr

Definition at line 2407 of file png.h.

Definition at line 2435 of file png.h.

Definition at line 2435 of file png.h.

png_infop int transforms

Definition at line 2505 of file png.h.

png_color_8p true_bits

Definition at line 1685 of file png.h.

time_t ttime

Definition at line 1591 of file png.h.

Definition at line 2332 of file png.h.

png_infop int unit

Definition at line 2451 of file png.h.

Definition at line 2320 of file png.h.

Definition at line 2332 of file png.h.

Definition at line 2485 of file png.h.

png_voidp user_chunk_ptr

Definition at line 2022 of file png.h.

png_uint_32 png_uint_32 user_height_max

Definition at line 2660 of file png.h.

png_voidp int int user_transform_channels

Definition at line 2013 of file png.h.

png_voidp int user_transform_depth

Definition at line 2013 of file png.h.

png_voidp user_transform_ptr

Definition at line 2013 of file png.h.

png_uint_32 user_width_max

Definition at line 2660 of file png.h.

png_voidp int value

Definition at line 2113 of file png.h.

png_voidp png_error_ptr png_error_ptr warn_fn

Definition at line 1506 of file png.h.

png_voidp png_error_ptr png_error_ptr warning_fn

Definition at line 1963 of file png.h.

png_const_charp warning_message

Definition at line 2136 of file png.h.

png_infop double white_x

Definition at line 2252 of file png.h.

png_infop double double white_y

Definition at line 2252 of file png.h.

png_infop int double width

Definition at line 2309 of file png.h.

int window_bits

Definition at line 1935 of file png.h.

png_voidp png_rw_ptr write_data_fn

Definition at line 1974 of file png.h.

png_write_status_ptr write_row_fn

Definition at line 1987 of file png.h.

png_user_transform_ptr write_user_transform_fn

Definition at line 2006 of file png.h.

Definition at line 2332 of file png.h.

Definition at line 2332 of file png.h.



openhrp3
Author(s): AIST, General Robotix Inc., Nakamura Lab of Dept. of Mechano Informatics at University of Tokyo
autogenerated on Sat Apr 13 2019 02:14:27