SWILIB API (NSG)    
Loading...
Searching...
No Matches
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.5"
 
#define PNG_LIBPNG_VER_SONUM   0
 
#define PNG_LIBPNG_VER_DLLNUM   %DLLNUM%
 
#define PNG_LIBPNG_VER_MAJOR   1
 
#define PNG_LIBPNG_VER_MINOR   2
 
#define PNG_LIBPNG_VER_RELEASE   5
 
#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_TYPEMASK   7
 
#define PNG_LIBPNG_BUILD_PATCH   8 /* Can be OR'ed with STABLE only */
 
#define PNG_LIBPNG_BUILD_TYPE   4
 
#define PNG_LIBPNG_VER   10205 /* 1.2.5 */
 
#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_MAX_UINT   ((png_uint_32)0x7fffffffL)
 
#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 */
 
#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)   png_info_init_3(&info_ptr, sizeof(png_info));
 
#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_ASM_FLAG_MMX_SUPPORT_COMPILED   0x01 /* not user-settable */
 
#define PNG_ASM_FLAG_MMX_SUPPORT_IN_CPU   0x02 /* not user-settable */
 
#define PNG_ASM_FLAG_MMX_READ_COMBINE_ROW   0x04
 
#define PNG_ASM_FLAG_MMX_READ_INTERLACE   0x08
 
#define PNG_ASM_FLAG_MMX_READ_FILTER_SUB   0x10
 
#define PNG_ASM_FLAG_MMX_READ_FILTER_UP   0x20
 
#define PNG_ASM_FLAG_MMX_READ_FILTER_AVG   0x40
 
#define PNG_ASM_FLAG_MMX_READ_FILTER_PAETH   0x80
 
#define PNG_ASM_FLAGS_INITIALIZED   0x80000000 /* not user-settable */
 
#define PNG_MMX_READ_FLAGS
 
#define PNG_MMX_WRITE_FLAGS   ( 0 )
 
#define PNG_MMX_FLAGS
 
#define PNG_SELECT_READ   1
 
#define PNG_SELECT_WRITE   2
 
#define PNG_HEADER_VERSION_STRING    " libpng version 1.2.5 - October 3, 2002 (header)\n"
 
#define png_composite(composite, fg, alpha, bg)
 
#define png_composite_16(composite, fg, alpha, bg)
 

Typedefs

typedef struct png_color_struct png_color
 
typedef png_color * png_colorp
 
typedef png_color ** png_colorpp
 
typedef struct png_color_16_struct png_color_16
 
typedef png_color_16 * png_color_16p
 
typedef png_color_16 ** png_color_16pp
 
typedef struct png_color_8_struct png_color_8
 
typedef png_color_8 * png_color_8p
 
typedef png_color_8 ** png_color_8pp
 
typedef struct png_sPLT_entry_struct png_sPLT_entry
 
typedef png_sPLT_entry * png_sPLT_entryp
 
typedef png_sPLT_entry ** png_sPLT_entrypp
 
typedef struct png_sPLT_struct png_sPLT_t
 
typedef png_sPLT_t * png_sPLT_tp
 
typedef png_sPLT_t ** png_sPLT_tpp
 
typedef struct png_text_struct png_text
 
typedef png_text * png_textp
 
typedef png_text ** png_textpp
 
typedef struct png_time_struct png_time
 
typedef png_time * png_timep
 
typedef png_time ** png_timepp
 
typedef struct png_unknown_chunk_t png_unknown_chunk
 
typedef png_unknown_chunk * png_unknown_chunkp
 
typedef png_unknown_chunk ** png_unknown_chunkpp
 
typedef struct png_info_struct png_info
 
typedef png_info * png_infop
 
typedef png_info ** png_infopp
 
typedef struct png_row_info_struct png_row_info
 
typedef png_row_info * png_row_infop
 
typedef png_row_info ** png_row_infopp
 
typedef struct png_struct_def png_struct
 
typedef png_struct * png_structp
 
typedef void(* png_error_ptr) ()
 
typedef void(* png_rw_ptr) ()
 
typedef void(* png_flush_ptr) ()
 
typedef void(* png_read_status_ptr) ()
 
typedef void(* png_write_status_ptr) ()
 
typedef void(* png_progressive_info_ptr) ()
 
typedef void(* png_progressive_end_ptr) ()
 
typedef void(* png_progressive_row_ptr) ()
 
typedef void(* png_user_transform_ptr) ()
 
typedef int(* png_user_chunk_ptr) ()
 
typedef void(* png_unknown_chunk_ptr) ()
 
typedef png_voidp(* png_malloc_ptr) ()
 
typedef void(* png_free_ptr) ()
 
typedef png_structp version_1_2_5
 
typedef png_struct ** png_structpp
 

Functions

png_uint_32 png_access_version_number ()
 
int png_sig_cmp ()
 
png_structp png_create_write_struct ()
 
png_uint_32 png_get_compression_buffer_size ()
 
void png_set_compression_buffer_size ()
 
int png_reset_zstream ()
 
png_structp png_create_write_struct_2 ()
 
void png_write_chunk ()
 
void png_write_chunk_start ()
 
void png_write_chunk_data ()
 
void png_write_chunk_end ()
 
void png_info_init ()
 
void png_info_init_3 ()
 
void png_write_info_before_PLTE ()
 
void png_write_info ()
 
void png_set_expand ()
 
void png_set_bgr ()
 
void png_set_rgb_to_gray ()
 
void png_set_rgb_to_gray_fixed ()
 
png_byte png_get_rgb_to_gray_status ()
 
void png_build_grayscale_palette ()
 
void png_set_strip_alpha ()
 
void png_set_swap_alpha ()
 
void png_set_invert_alpha ()
 
void png_set_swap ()
 
void png_set_packswap ()
 
void png_set_shift ()
 
int png_set_interlace_handling ()
 
void png_set_background ()
 
void png_set_dither ()
 
void png_set_gamma ()
 
void png_permit_empty_plte ()
 
void png_set_flush ()
 
void png_write_flush ()
 
void png_start_read_image ()
 
void png_write_row ()
 
void png_write_rows ()
 
void png_write_image ()
 
void png_write_end ()
 
void png_destroy_info_struct ()
 
void png_read_destroy ()
 
void png_destroy_write_struct ()
 
void png_write_destroy ()
 
void png_set_crc_action ()
 
void png_set_filter ()
 
void png_set_filter_heuristics ()
 
void png_set_compression_level ()
 
void png_set_compression_mem_level ()
 
void png_set_compression_strategy ()
 
void png_set_compression_window_bits ()
 
void png_set_compression_method ()
 
void png_set_error_fn ()
 
png_voidp png_get_error_ptr ()
 
void png_set_write_fn ()
 
void png_set_read_status_fn ()
 
void png_set_write_status_fn ()
 
void png_set_mem_fn ()
 
png_voidp png_get_mem_ptr ()
 
void png_set_read_user_transform_fn ()
 
void png_set_write_user_transform_fn ()
 
void png_set_user_transform_info ()
 
png_voidp png_get_user_transform_ptr ()
 
void png_set_read_user_chunk_fn ()
 
png_voidp png_get_user_chunk_ptr ()
 
void png_set_progressive_read_fn ()
 
png_voidp png_get_progressive_ptr ()
 
void png_process_data ()
 
void png_progressive_combine_row ()
 
png_voidp png_malloc_warn ()
 
void png_free ()
 
void png_free_data ()
 
void png_data_freer ()
 
png_voidp png_malloc_default ()
 
void png_free_default ()
 
png_voidp png_memcpy_check ()
 
png_voidp png_memset_check ()
 
void png_error ()
 
void png_chunk_error ()
 
void png_warning ()
 
void png_chunk_warning ()
 
png_bytepp png_get_rows ()
 
void png_set_rows ()
 
png_byte png_get_channels ()
 
png_uint_32 png_get_image_width ()
 
png_uint_32 png_get_image_height ()
 
png_byte png_get_bit_depth ()
 
png_byte png_get_color_type ()
 
png_byte png_get_filter_type ()
 
png_byte png_get_interlace_type ()
 
png_byte png_get_compression_type ()
 
png_uint_32 png_get_pixels_per_meter ()
 
png_uint_32 png_get_x_pixels_per_meter ()
 
png_uint_32 png_get_y_pixels_per_meter ()
 
float png_get_pixel_aspect_ratio ()
 
png_int_32 png_get_x_offset_pixels ()
 
png_int_32 png_get_y_offset_pixels ()
 
png_int_32 png_get_x_offset_microns ()
 
png_int_32 png_get_y_offset_microns ()
 
png_bytep png_get_signature ()
 
png_uint_32 png_get_bKGD ()
 
void png_set_bKGD ()
 
png_uint_32 png_get_cHRM ()
 
png_uint_32 png_get_cHRM_fixed ()
 
void png_set_cHRM ()
 
void png_set_cHRM_fixed ()
 
png_uint_32 png_get_gAMA ()
 
png_uint_32 png_get_gAMA_fixed ()
 
void png_set_gAMA ()
 
void png_set_gAMA_fixed ()
 
png_uint_32 png_get_hIST ()
 
void png_set_hIST ()
 
void png_set_IHDR ()
 
png_uint_32 png_get_oFFs ()
 
void png_set_oFFs ()
 
png_uint_32 png_get_pCAL ()
 
void png_set_pCAL ()
 
png_uint_32 png_get_pHYs ()
 
void png_set_pHYs ()
 
png_uint_32 png_get_PLTE ()
 
void png_set_PLTE ()
 
png_uint_32 png_get_sBIT ()
 
void png_set_sBIT ()
 
png_uint_32 png_get_sRGB ()
 
void png_set_sRGB ()
 
void png_set_sRGB_gAMA_and_cHRM ()
 
png_uint_32 png_get_iCCP ()
 
void png_set_iCCP ()
 
png_uint_32 png_get_sPLT ()
 
void png_set_sPLT ()
 
png_uint_32 png_get_text ()
 
void png_set_text ()
 
png_uint_32 png_get_tRNS ()
 
void png_set_tRNS ()
 
png_uint_32 png_get_sCAL ()
 
void png_set_sCAL ()
 
void png_set_sCAL_s ()
 
void png_set_keep_unknown_chunks ()
 
void png_set_unknown_chunks ()
 
void png_set_unknown_chunk_location ()
 
png_uint_32 png_get_unknown_chunks ()
 
int png_handle_as_unknown ()
 
void png_set_invalid ()
 
void png_read_png ()
 
void png_write_png ()
 
png_bytep png_sig_bytes ()
 
png_charp png_get_copyright ()
 
png_charp png_get_header_ver ()
 
png_charp png_get_header_version ()
 
png_charp png_get_libpng_ver ()
 
png_uint_32 png_permit_mng_features ()
 
png_uint_32 png_get_mmx_flagmask ()
 
png_uint_32 png_get_asm_flagmask ()
 
png_uint_32 png_get_asm_flags ()
 
png_byte png_get_mmx_bitdepth_threshold ()
 
png_uint_32 png_get_mmx_rowbytes_threshold ()
 
void png_set_asm_flags ()
 
void png_set_mmx_thresholds ()
 
int png_mmx_support ()
 
void png_set_strip_error_numbers ()
 

Variables

char png_libpng_ver [18]
 
int png_pass_start [7]
 
int png_pass_inc [7]
 
int png_pass_ystart [7]
 
int png_pass_yinc [7]
 
int png_pass_mask [7]
 
int png_pass_dsp_mask [7]
 

Data Structure Documentation

◆ png_color_struct

struct png_color_struct

◆ png_color_16_struct

struct png_color_16_struct

◆ png_color_8_struct

struct png_color_8_struct

◆ png_sPLT_entry_struct

struct png_sPLT_entry_struct

◆ png_sPLT_struct

struct png_sPLT_struct

◆ png_text_struct

struct png_text_struct

◆ png_time_struct

struct png_time_struct

◆ png_unknown_chunk_t

struct png_unknown_chunk_t

◆ png_info_struct

struct png_info_struct

◆ png_row_info_struct

struct png_row_info_struct

◆ png_struct_def

struct png_struct_def

Macro Definition Documentation

◆ PNG_LIBPNG_VER_STRING

#define PNG_LIBPNG_VER_STRING   "1.2.5"

Definition at line 297 of file png.h.

◆ PNG_LIBPNG_VER_SONUM

#define PNG_LIBPNG_VER_SONUM   0

Definition at line 299 of file png.h.

◆ PNG_LIBPNG_VER_DLLNUM

#define PNG_LIBPNG_VER_DLLNUM   %DLLNUM%

Definition at line 300 of file png.h.

◆ PNG_LIBPNG_VER_MAJOR

#define PNG_LIBPNG_VER_MAJOR   1

Definition at line 303 of file png.h.

◆ PNG_LIBPNG_VER_MINOR

#define PNG_LIBPNG_VER_MINOR   2

Definition at line 304 of file png.h.

◆ PNG_LIBPNG_VER_RELEASE

#define PNG_LIBPNG_VER_RELEASE   5

Definition at line 305 of file png.h.

◆ PNG_LIBPNG_VER_BUILD

#define PNG_LIBPNG_VER_BUILD   0

Definition at line 309 of file png.h.

◆ PNG_LIBPNG_BUILD_ALPHA

#define PNG_LIBPNG_BUILD_ALPHA   1

Definition at line 311 of file png.h.

◆ PNG_LIBPNG_BUILD_BETA

#define PNG_LIBPNG_BUILD_BETA   2

Definition at line 312 of file png.h.

◆ PNG_LIBPNG_BUILD_RC

#define PNG_LIBPNG_BUILD_RC   3

Definition at line 313 of file png.h.

◆ PNG_LIBPNG_BUILD_STABLE

#define PNG_LIBPNG_BUILD_STABLE   4

Definition at line 314 of file png.h.

◆ PNG_LIBPNG_BUILD_TYPEMASK

#define PNG_LIBPNG_BUILD_TYPEMASK   7

Definition at line 315 of file png.h.

◆ PNG_LIBPNG_BUILD_PATCH

#define PNG_LIBPNG_BUILD_PATCH   8 /* Can be OR'ed with STABLE only */

Definition at line 316 of file png.h.

◆ PNG_LIBPNG_BUILD_TYPE

#define PNG_LIBPNG_BUILD_TYPE   4

Definition at line 317 of file png.h.

◆ PNG_LIBPNG_VER

#define PNG_LIBPNG_VER   10205 /* 1.2.5 */

Definition at line 324 of file png.h.

◆ int_p_NULL

#define int_p_NULL   (int *)NULL

Definition at line 346 of file png.h.

◆ png_bytep_NULL

#define png_bytep_NULL   (png_bytep)NULL

Definition at line 347 of file png.h.

◆ png_bytepp_NULL

#define png_bytepp_NULL   (png_bytepp)NULL

Definition at line 348 of file png.h.

◆ png_doublep_NULL

#define png_doublep_NULL   (png_doublep)NULL

Definition at line 349 of file png.h.

◆ png_error_ptr_NULL

#define png_error_ptr_NULL   (png_error_ptr)NULL

Definition at line 350 of file png.h.

◆ png_flush_ptr_NULL

#define png_flush_ptr_NULL   (png_flush_ptr)NULL

Definition at line 351 of file png.h.

◆ png_free_ptr_NULL

#define png_free_ptr_NULL   (png_free_ptr)NULL

Definition at line 352 of file png.h.

◆ png_infopp_NULL

#define png_infopp_NULL   (png_infopp)NULL

Definition at line 353 of file png.h.

◆ png_malloc_ptr_NULL

#define png_malloc_ptr_NULL   (png_malloc_ptr)NULL

Definition at line 354 of file png.h.

◆ png_read_status_ptr_NULL

#define png_read_status_ptr_NULL   (png_read_status_ptr)NULL

Definition at line 355 of file png.h.

◆ png_rw_ptr_NULL

#define png_rw_ptr_NULL   (png_rw_ptr)NULL

Definition at line 356 of file png.h.

◆ png_structp_NULL

#define png_structp_NULL   (png_structp)NULL

Definition at line 357 of file png.h.

◆ png_uint_16p_NULL

#define png_uint_16p_NULL   (png_uint_16p)NULL

Definition at line 358 of file png.h.

◆ png_voidp_NULL

#define png_voidp_NULL   (png_voidp)NULL

Definition at line 359 of file png.h.

◆ png_write_status_ptr_NULL

#define png_write_status_ptr_NULL   (png_write_status_ptr)NULL

Definition at line 360 of file png.h.

◆ PNG_TEXT_COMPRESSION_NONE_WR

#define PNG_TEXT_COMPRESSION_NONE_WR   -3

Definition at line 509 of file png.h.

◆ PNG_TEXT_COMPRESSION_zTXt_WR

#define PNG_TEXT_COMPRESSION_zTXt_WR   -2

Definition at line 510 of file png.h.

◆ PNG_TEXT_COMPRESSION_NONE

#define PNG_TEXT_COMPRESSION_NONE   -1

Definition at line 511 of file png.h.

◆ PNG_TEXT_COMPRESSION_zTXt

#define PNG_TEXT_COMPRESSION_zTXt   0

Definition at line 512 of file png.h.

◆ PNG_ITXT_COMPRESSION_NONE

#define PNG_ITXT_COMPRESSION_NONE   1

Definition at line 513 of file png.h.

◆ PNG_ITXT_COMPRESSION_zTXt

#define PNG_ITXT_COMPRESSION_zTXt   2

Definition at line 514 of file png.h.

◆ PNG_TEXT_COMPRESSION_LAST

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

Definition at line 515 of file png.h.

◆ PNG_MAX_UINT

#define PNG_MAX_UINT   ((png_uint_32)0x7fffffffL)

Definition at line 836 of file png.h.

◆ PNG_COLOR_MASK_PALETTE

#define PNG_COLOR_MASK_PALETTE   1

Definition at line 840 of file png.h.

◆ PNG_COLOR_MASK_COLOR

#define PNG_COLOR_MASK_COLOR   2

Definition at line 841 of file png.h.

◆ PNG_COLOR_MASK_ALPHA

#define PNG_COLOR_MASK_ALPHA   4

Definition at line 842 of file png.h.

◆ PNG_COLOR_TYPE_GRAY

#define PNG_COLOR_TYPE_GRAY   0

Definition at line 845 of file png.h.

◆ PNG_COLOR_TYPE_PALETTE

#define PNG_COLOR_TYPE_PALETTE   (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_PALETTE)

Definition at line 846 of file png.h.

◆ PNG_COLOR_TYPE_RGB

#define PNG_COLOR_TYPE_RGB   (PNG_COLOR_MASK_COLOR)

Definition at line 847 of file png.h.

◆ PNG_COLOR_TYPE_RGB_ALPHA

#define PNG_COLOR_TYPE_RGB_ALPHA   (PNG_COLOR_MASK_COLOR | PNG_COLOR_MASK_ALPHA)

Definition at line 848 of file png.h.

◆ PNG_COLOR_TYPE_GRAY_ALPHA

#define PNG_COLOR_TYPE_GRAY_ALPHA   (PNG_COLOR_MASK_ALPHA)

Definition at line 849 of file png.h.

◆ PNG_COLOR_TYPE_RGBA

#define PNG_COLOR_TYPE_RGBA   PNG_COLOR_TYPE_RGB_ALPHA

Definition at line 851 of file png.h.

◆ PNG_COLOR_TYPE_GA

#define PNG_COLOR_TYPE_GA   PNG_COLOR_TYPE_GRAY_ALPHA

Definition at line 852 of file png.h.

◆ PNG_COMPRESSION_TYPE_BASE

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

Definition at line 855 of file png.h.

◆ PNG_COMPRESSION_TYPE_DEFAULT

#define PNG_COMPRESSION_TYPE_DEFAULT   PNG_COMPRESSION_TYPE_BASE

Definition at line 856 of file png.h.

◆ PNG_FILTER_TYPE_BASE

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

Definition at line 859 of file png.h.

◆ PNG_INTRAPIXEL_DIFFERENCING

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

Definition at line 860 of file png.h.

◆ PNG_FILTER_TYPE_DEFAULT

#define PNG_FILTER_TYPE_DEFAULT   PNG_FILTER_TYPE_BASE

Definition at line 861 of file png.h.

◆ PNG_INTERLACE_NONE

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

Definition at line 864 of file png.h.

◆ PNG_INTERLACE_ADAM7

#define PNG_INTERLACE_ADAM7   1 /* Adam7 interlacing */

Definition at line 865 of file png.h.

◆ PNG_INTERLACE_LAST

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

Definition at line 866 of file png.h.

◆ PNG_OFFSET_PIXEL

#define PNG_OFFSET_PIXEL   0 /* Offset in pixels */

Definition at line 869 of file png.h.

◆ PNG_OFFSET_MICROMETER

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

Definition at line 870 of file png.h.

◆ PNG_OFFSET_LAST

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

Definition at line 871 of file png.h.

◆ PNG_EQUATION_LINEAR

#define PNG_EQUATION_LINEAR   0 /* Linear transformation */

Definition at line 874 of file png.h.

◆ PNG_EQUATION_BASE_E

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

Definition at line 875 of file png.h.

◆ PNG_EQUATION_ARBITRARY

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

Definition at line 876 of file png.h.

◆ PNG_EQUATION_HYPERBOLIC

#define PNG_EQUATION_HYPERBOLIC   3 /* Hyperbolic sine transformation */

Definition at line 877 of file png.h.

◆ PNG_EQUATION_LAST

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

Definition at line 878 of file png.h.

◆ PNG_SCALE_UNKNOWN

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

Definition at line 881 of file png.h.

◆ PNG_SCALE_METER

#define PNG_SCALE_METER   1 /* meters per pixel */

Definition at line 882 of file png.h.

◆ PNG_SCALE_RADIAN

#define PNG_SCALE_RADIAN   2 /* radians per pixel */

Definition at line 883 of file png.h.

◆ PNG_SCALE_LAST

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

Definition at line 884 of file png.h.

◆ PNG_RESOLUTION_UNKNOWN

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

Definition at line 887 of file png.h.

◆ PNG_RESOLUTION_METER

#define PNG_RESOLUTION_METER   1 /* pixels/meter */

Definition at line 888 of file png.h.

◆ PNG_RESOLUTION_LAST

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

Definition at line 889 of file png.h.

◆ PNG_sRGB_INTENT_PERCEPTUAL

#define PNG_sRGB_INTENT_PERCEPTUAL   0

Definition at line 892 of file png.h.

◆ PNG_sRGB_INTENT_RELATIVE

#define PNG_sRGB_INTENT_RELATIVE   1

Definition at line 893 of file png.h.

◆ PNG_sRGB_INTENT_SATURATION

#define PNG_sRGB_INTENT_SATURATION   2

Definition at line 894 of file png.h.

◆ PNG_sRGB_INTENT_ABSOLUTE

#define PNG_sRGB_INTENT_ABSOLUTE   3

Definition at line 895 of file png.h.

◆ PNG_sRGB_INTENT_LAST

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

Definition at line 896 of file png.h.

◆ PNG_KEYWORD_MAX_LENGTH

#define PNG_KEYWORD_MAX_LENGTH   79

Definition at line 899 of file png.h.

◆ PNG_MAX_PALETTE_LENGTH

#define PNG_MAX_PALETTE_LENGTH   256

Definition at line 902 of file png.h.

◆ PNG_INFO_gAMA

#define PNG_INFO_gAMA   0x0001

Definition at line 909 of file png.h.

◆ PNG_INFO_sBIT

#define PNG_INFO_sBIT   0x0002

Definition at line 910 of file png.h.

◆ PNG_INFO_cHRM

#define PNG_INFO_cHRM   0x0004

Definition at line 911 of file png.h.

◆ PNG_INFO_PLTE

#define PNG_INFO_PLTE   0x0008

Definition at line 912 of file png.h.

◆ PNG_INFO_tRNS

#define PNG_INFO_tRNS   0x0010

Definition at line 913 of file png.h.

◆ PNG_INFO_bKGD

#define PNG_INFO_bKGD   0x0020

Definition at line 914 of file png.h.

◆ PNG_INFO_hIST

#define PNG_INFO_hIST   0x0040

Definition at line 915 of file png.h.

◆ PNG_INFO_pHYs

#define PNG_INFO_pHYs   0x0080

Definition at line 916 of file png.h.

◆ PNG_INFO_oFFs

#define PNG_INFO_oFFs   0x0100

Definition at line 917 of file png.h.

◆ PNG_INFO_tIME

#define PNG_INFO_tIME   0x0200

Definition at line 918 of file png.h.

◆ PNG_INFO_pCAL

#define PNG_INFO_pCAL   0x0400

Definition at line 919 of file png.h.

◆ PNG_INFO_sRGB

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

Definition at line 920 of file png.h.

◆ PNG_INFO_iCCP

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

Definition at line 921 of file png.h.

◆ PNG_INFO_sPLT

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

Definition at line 922 of file png.h.

◆ PNG_INFO_sCAL

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

Definition at line 923 of file png.h.

◆ PNG_INFO_IDAT

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

Definition at line 924 of file png.h.

◆ PNG_TRANSFORM_IDENTITY

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

Definition at line 982 of file png.h.

◆ PNG_TRANSFORM_STRIP_16

#define PNG_TRANSFORM_STRIP_16   0x0001 /* read only */

Definition at line 983 of file png.h.

◆ PNG_TRANSFORM_STRIP_ALPHA

#define PNG_TRANSFORM_STRIP_ALPHA   0x0002 /* read only */

Definition at line 984 of file png.h.

◆ PNG_TRANSFORM_PACKING

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

Definition at line 985 of file png.h.

◆ PNG_TRANSFORM_PACKSWAP

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

Definition at line 986 of file png.h.

◆ PNG_TRANSFORM_EXPAND

#define PNG_TRANSFORM_EXPAND   0x0010 /* read only */

Definition at line 987 of file png.h.

◆ PNG_TRANSFORM_INVERT_MONO

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

Definition at line 988 of file png.h.

◆ PNG_TRANSFORM_SHIFT

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

Definition at line 989 of file png.h.

◆ PNG_TRANSFORM_BGR

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

Definition at line 990 of file png.h.

◆ PNG_TRANSFORM_SWAP_ALPHA

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

Definition at line 991 of file png.h.

◆ PNG_TRANSFORM_SWAP_ENDIAN

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

Definition at line 992 of file png.h.

◆ PNG_TRANSFORM_INVERT_ALPHA

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

Definition at line 993 of file png.h.

◆ PNG_TRANSFORM_STRIP_FILLER

#define PNG_TRANSFORM_STRIP_FILLER   0x0800 /* WRITE only */

Definition at line 994 of file png.h.

◆ PNG_FLAG_MNG_EMPTY_PLTE

#define PNG_FLAG_MNG_EMPTY_PLTE   0x01

Definition at line 997 of file png.h.

◆ PNG_FLAG_MNG_FILTER_64

#define PNG_FLAG_MNG_FILTER_64   0x04

Definition at line 998 of file png.h.

◆ PNG_ALL_MNG_FEATURES

#define PNG_ALL_MNG_FEATURES   0x05

Definition at line 999 of file png.h.

◆ png_info_init

#define png_info_init ( info_ptr)    png_info_init_3(&info_ptr, sizeof(png_info));

Definition at line 1374 of file png.h.

◆ PNG_FILLER_BEFORE

#define PNG_FILLER_BEFORE   0

Definition at line 1458 of file png.h.

◆ PNG_FILLER_AFTER

#define PNG_FILLER_AFTER   1

Definition at line 1459 of file png.h.

◆ PNG_BACKGROUND_GAMMA_UNKNOWN

#define PNG_BACKGROUND_GAMMA_UNKNOWN   0

Definition at line 1501 of file png.h.

◆ PNG_BACKGROUND_GAMMA_SCREEN

#define PNG_BACKGROUND_GAMMA_SCREEN   1

Definition at line 1502 of file png.h.

◆ PNG_BACKGROUND_GAMMA_FILE

#define PNG_BACKGROUND_GAMMA_FILE   2

Definition at line 1503 of file png.h.

◆ PNG_BACKGROUND_GAMMA_UNIQUE

#define PNG_BACKGROUND_GAMMA_UNIQUE   3

Definition at line 1504 of file png.h.

◆ PNG_CRC_DEFAULT

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

Definition at line 1614 of file png.h.

◆ PNG_CRC_ERROR_QUIT

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

Definition at line 1615 of file png.h.

◆ PNG_CRC_WARN_DISCARD

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

Definition at line 1616 of file png.h.

◆ PNG_CRC_WARN_USE

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

Definition at line 1617 of file png.h.

◆ PNG_CRC_QUIET_USE

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

Definition at line 1618 of file png.h.

◆ PNG_CRC_NO_CHANGE

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

Definition at line 1619 of file png.h.

◆ PNG_NO_FILTERS

#define PNG_NO_FILTERS   0x00

Definition at line 1640 of file png.h.

◆ PNG_FILTER_NONE

#define PNG_FILTER_NONE   0x08

Definition at line 1641 of file png.h.

◆ PNG_FILTER_SUB

#define PNG_FILTER_SUB   0x10

Definition at line 1642 of file png.h.

◆ PNG_FILTER_UP

#define PNG_FILTER_UP   0x20

Definition at line 1643 of file png.h.

◆ PNG_FILTER_AVG

#define PNG_FILTER_AVG   0x40

Definition at line 1644 of file png.h.

◆ PNG_FILTER_PAETH

#define PNG_FILTER_PAETH   0x80

Definition at line 1645 of file png.h.

◆ PNG_ALL_FILTERS

#define PNG_ALL_FILTERS
Value:
#define PNG_FILTER_SUB
Definition png.h:1642
#define PNG_FILTER_PAETH
Definition png.h:1645
#define PNG_FILTER_NONE
Definition png.h:1641
#define PNG_FILTER_AVG
Definition png.h:1644
#define PNG_FILTER_UP
Definition png.h:1643

Definition at line 1646 of file png.h.

◆ PNG_FILTER_VALUE_NONE

#define PNG_FILTER_VALUE_NONE   0

Definition at line 1652 of file png.h.

◆ PNG_FILTER_VALUE_SUB

#define PNG_FILTER_VALUE_SUB   1

Definition at line 1653 of file png.h.

◆ PNG_FILTER_VALUE_UP

#define PNG_FILTER_VALUE_UP   2

Definition at line 1654 of file png.h.

◆ PNG_FILTER_VALUE_AVG

#define PNG_FILTER_VALUE_AVG   3

Definition at line 1655 of file png.h.

◆ PNG_FILTER_VALUE_PAETH

#define PNG_FILTER_VALUE_PAETH   4

Definition at line 1656 of file png.h.

◆ PNG_FILTER_VALUE_LAST

#define PNG_FILTER_VALUE_LAST   5

Definition at line 1657 of file png.h.

◆ PNG_FILTER_HEURISTIC_DEFAULT

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

Definition at line 1698 of file png.h.

◆ PNG_FILTER_HEURISTIC_UNWEIGHTED

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

Definition at line 1699 of file png.h.

◆ PNG_FILTER_HEURISTIC_WEIGHTED

#define PNG_FILTER_HEURISTIC_WEIGHTED   2 /* Experimental feature */

Definition at line 1700 of file png.h.

◆ PNG_FILTER_HEURISTIC_LAST

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

Definition at line 1701 of file png.h.

◆ PNG_DESTROY_WILL_FREE_DATA

#define PNG_DESTROY_WILL_FREE_DATA   1

Definition at line 1869 of file png.h.

◆ PNG_SET_WILL_FREE_DATA

#define PNG_SET_WILL_FREE_DATA   1

Definition at line 1870 of file png.h.

◆ PNG_USER_WILL_FREE_DATA

#define PNG_USER_WILL_FREE_DATA   2

Definition at line 1871 of file png.h.

◆ PNG_FREE_HIST

#define PNG_FREE_HIST   0x0008

Definition at line 1873 of file png.h.

◆ PNG_FREE_ICCP

#define PNG_FREE_ICCP   0x0010

Definition at line 1874 of file png.h.

◆ PNG_FREE_SPLT

#define PNG_FREE_SPLT   0x0020

Definition at line 1875 of file png.h.

◆ PNG_FREE_ROWS

#define PNG_FREE_ROWS   0x0040

Definition at line 1876 of file png.h.

◆ PNG_FREE_PCAL

#define PNG_FREE_PCAL   0x0080

Definition at line 1877 of file png.h.

◆ PNG_FREE_SCAL

#define PNG_FREE_SCAL   0x0100

Definition at line 1878 of file png.h.

◆ PNG_FREE_UNKN

#define PNG_FREE_UNKN   0x0200

Definition at line 1879 of file png.h.

◆ PNG_FREE_LIST

#define PNG_FREE_LIST   0x0400

Definition at line 1880 of file png.h.

◆ PNG_FREE_PLTE

#define PNG_FREE_PLTE   0x1000

Definition at line 1881 of file png.h.

◆ PNG_FREE_TRNS

#define PNG_FREE_TRNS   0x2000

Definition at line 1882 of file png.h.

◆ PNG_FREE_TEXT

#define PNG_FREE_TEXT   0x4000

Definition at line 1883 of file png.h.

◆ PNG_FREE_ALL

#define PNG_FREE_ALL   0x7fff

Definition at line 1884 of file png.h.

◆ PNG_FREE_MUL

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

Definition at line 1885 of file png.h.

◆ png_debug

#define png_debug ( l,
m )

Definition at line 2331 of file png.h.

◆ png_debug1

#define png_debug1 ( l,
m,
p1 )

Definition at line 2334 of file png.h.

◆ png_debug2

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

Definition at line 2337 of file png.h.

◆ PNG_ASM_FLAG_MMX_SUPPORT_COMPILED

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

Definition at line 2354 of file png.h.

◆ PNG_ASM_FLAG_MMX_SUPPORT_IN_CPU

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

Definition at line 2355 of file png.h.

◆ PNG_ASM_FLAG_MMX_READ_COMBINE_ROW

#define PNG_ASM_FLAG_MMX_READ_COMBINE_ROW   0x04

Definition at line 2356 of file png.h.

◆ PNG_ASM_FLAG_MMX_READ_INTERLACE

#define PNG_ASM_FLAG_MMX_READ_INTERLACE   0x08

Definition at line 2357 of file png.h.

◆ PNG_ASM_FLAG_MMX_READ_FILTER_SUB

#define PNG_ASM_FLAG_MMX_READ_FILTER_SUB   0x10

Definition at line 2358 of file png.h.

◆ PNG_ASM_FLAG_MMX_READ_FILTER_UP

#define PNG_ASM_FLAG_MMX_READ_FILTER_UP   0x20

Definition at line 2359 of file png.h.

◆ PNG_ASM_FLAG_MMX_READ_FILTER_AVG

#define PNG_ASM_FLAG_MMX_READ_FILTER_AVG   0x40

Definition at line 2360 of file png.h.

◆ PNG_ASM_FLAG_MMX_READ_FILTER_PAETH

#define PNG_ASM_FLAG_MMX_READ_FILTER_PAETH   0x80

Definition at line 2361 of file png.h.

◆ PNG_ASM_FLAGS_INITIALIZED

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

Definition at line 2362 of file png.h.

◆ PNG_MMX_READ_FLAGS

#define PNG_MMX_READ_FLAGS
Value:
#define PNG_ASM_FLAG_MMX_READ_COMBINE_ROW
Definition png.h:2356
#define PNG_ASM_FLAG_MMX_READ_FILTER_PAETH
Definition png.h:2361
#define PNG_ASM_FLAG_MMX_READ_FILTER_UP
Definition png.h:2359
#define PNG_ASM_FLAG_MMX_READ_FILTER_SUB
Definition png.h:2358
#define PNG_ASM_FLAG_MMX_READ_INTERLACE
Definition png.h:2357
#define PNG_ASM_FLAG_MMX_READ_FILTER_AVG
Definition png.h:2360

Definition at line 2364 of file png.h.

◆ PNG_MMX_WRITE_FLAGS

#define PNG_MMX_WRITE_FLAGS   ( 0 )

Definition at line 2370 of file png.h.

◆ PNG_MMX_FLAGS

#define PNG_MMX_FLAGS
Value:
#define PNG_MMX_WRITE_FLAGS
Definition png.h:2370
#define PNG_ASM_FLAG_MMX_SUPPORT_IN_CPU
Definition png.h:2355
#define PNG_MMX_READ_FLAGS
Definition png.h:2364
#define PNG_ASM_FLAG_MMX_SUPPORT_COMPILED
Definition png.h:2354

Definition at line 2372 of file png.h.

◆ PNG_SELECT_READ

#define PNG_SELECT_READ   1

Definition at line 2377 of file png.h.

◆ PNG_SELECT_WRITE

#define PNG_SELECT_WRITE   2

Definition at line 2378 of file png.h.

◆ PNG_HEADER_VERSION_STRING

#define PNG_HEADER_VERSION_STRING    " libpng version 1.2.5 - October 3, 2002 (header)\n"

Definition at line 2428 of file png.h.

◆ png_composite

#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 short png_uint_16
Definition pngconf.h:996
unsigned char png_byte
Definition pngconf.h:998

Definition at line 2446 of file png.h.

◆ png_composite_16

#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); }
unsigned long png_uint_32
Definition pngconf.h:994

Definition at line 2452 of file png.h.

Typedef Documentation

◆ png_color

typedef struct png_color_struct png_color

◆ png_colorp

Definition at line 420 of file png.h.

◆ png_colorpp

typedef png_color* * png_colorpp

Definition at line 421 of file png.h.

◆ png_color_16

◆ png_color_16p

Definition at line 431 of file png.h.

◆ png_color_16pp

Definition at line 432 of file png.h.

◆ png_color_8

◆ png_color_8p

Definition at line 442 of file png.h.

◆ png_color_8pp

Definition at line 443 of file png.h.

◆ png_sPLT_entry

◆ png_sPLT_entryp

Definition at line 457 of file png.h.

◆ png_sPLT_entrypp

Definition at line 458 of file png.h.

◆ png_sPLT_t

typedef struct png_sPLT_struct png_sPLT_t

◆ png_sPLT_tp

Definition at line 472 of file png.h.

◆ png_sPLT_tpp

Definition at line 473 of file png.h.

◆ png_text

typedef struct png_text_struct png_text

◆ png_textp

typedef png_text* png_textp

Definition at line 503 of file png.h.

◆ png_textpp

typedef png_text* * png_textpp

Definition at line 504 of file png.h.

◆ png_time

typedef struct png_time_struct png_time

◆ png_timep

typedef png_time* png_timep

Definition at line 532 of file png.h.

◆ png_timepp

typedef png_time* * png_timepp

Definition at line 533 of file png.h.

◆ png_unknown_chunk

◆ png_unknown_chunkp

Definition at line 551 of file png.h.

◆ png_unknown_chunkpp

Definition at line 552 of file png.h.

◆ png_info

typedef struct png_info_struct png_info

◆ png_infop

typedef png_info* png_infop

Definition at line 832 of file png.h.

◆ png_infopp

typedef png_info* * png_infopp

Definition at line 833 of file png.h.

◆ png_row_info

◆ png_row_infop

Definition at line 940 of file png.h.

◆ png_row_infopp

Definition at line 941 of file png.h.

◆ png_struct

typedef struct png_struct_def png_struct

Definition at line 949 of file png.h.

◆ png_structp

Definition at line 950 of file png.h.

◆ png_error_ptr

typedef void( * png_error_ptr) ()

Definition at line 952 of file png.h.

◆ png_rw_ptr

typedef void( * png_rw_ptr) ()

Definition at line 953 of file png.h.

◆ png_flush_ptr

typedef void( * png_flush_ptr) ()

Definition at line 954 of file png.h.

◆ png_read_status_ptr

typedef void( * png_read_status_ptr) ()

Definition at line 955 of file png.h.

◆ png_write_status_ptr

typedef void( * png_write_status_ptr) ()

Definition at line 957 of file png.h.

◆ png_progressive_info_ptr

typedef void( * png_progressive_info_ptr) ()

Definition at line 961 of file png.h.

◆ png_progressive_end_ptr

typedef void( * png_progressive_end_ptr) ()

Definition at line 962 of file png.h.

◆ png_progressive_row_ptr

typedef void( * png_progressive_row_ptr) ()

Definition at line 963 of file png.h.

◆ png_user_transform_ptr

typedef void( * png_user_transform_ptr) ()

Definition at line 970 of file png.h.

◆ png_user_chunk_ptr

typedef int( * png_user_chunk_ptr) ()

Definition at line 975 of file png.h.

◆ png_unknown_chunk_ptr

typedef void( * png_unknown_chunk_ptr) ()

Definition at line 978 of file png.h.

◆ png_malloc_ptr

typedef png_voidp(* png_malloc_ptr) ()

Definition at line 1001 of file png.h.

◆ png_free_ptr

typedef void(* png_free_ptr) ()

Definition at line 1002 of file png.h.

◆ version_1_2_5

Definition at line 1289 of file png.h.

◆ png_structpp

Definition at line 1291 of file png.h.

Function Documentation

◆ png_access_version_number()

png_uint_32 png_access_version_number ( )
extern

◆ png_sig_cmp()

int png_sig_cmp ( )
extern

◆ png_create_write_struct()

png_structp png_create_write_struct ( )
extern

◆ png_get_compression_buffer_size()

png_uint_32 png_get_compression_buffer_size ( )
extern

◆ png_set_compression_buffer_size()

void png_set_compression_buffer_size ( )
extern

◆ png_reset_zstream()

int png_reset_zstream ( )
extern

◆ png_create_write_struct_2()

png_structp png_create_write_struct_2 ( )
extern

◆ png_write_chunk()

void png_write_chunk ( )
extern

◆ png_write_chunk_start()

void png_write_chunk_start ( )
extern

◆ png_write_chunk_data()

void png_write_chunk_data ( )
extern

◆ png_write_chunk_end()

void png_write_chunk_end ( )
extern

◆ png_info_init()

void png_info_init ( )
extern

◆ png_info_init_3()

void png_info_init_3 ( )
extern

◆ png_write_info_before_PLTE()

void png_write_info_before_PLTE ( )
extern

◆ png_write_info()

void png_write_info ( )
extern

◆ png_set_expand()

void png_set_expand ( )
extern

◆ png_set_bgr()

void png_set_bgr ( )
extern

◆ png_set_rgb_to_gray()

void png_set_rgb_to_gray ( )
extern

◆ png_set_rgb_to_gray_fixed()

void png_set_rgb_to_gray_fixed ( )
extern

◆ png_get_rgb_to_gray_status()

png_byte png_get_rgb_to_gray_status ( )
extern

◆ png_build_grayscale_palette()

void png_build_grayscale_palette ( )
extern

◆ png_set_strip_alpha()

void png_set_strip_alpha ( )
extern

◆ png_set_swap_alpha()

void png_set_swap_alpha ( )
extern

◆ png_set_invert_alpha()

void png_set_invert_alpha ( )
extern

◆ png_set_swap()

void png_set_swap ( )
extern

◆ png_set_packswap()

void png_set_packswap ( )
extern

◆ png_set_shift()

void png_set_shift ( )
extern

◆ png_set_interlace_handling()

int png_set_interlace_handling ( )
extern

◆ png_set_background()

void png_set_background ( )
extern

◆ png_set_dither()

void png_set_dither ( )
extern

◆ png_set_gamma()

void png_set_gamma ( )
extern

◆ png_permit_empty_plte()

void png_permit_empty_plte ( )
extern

◆ png_set_flush()

void png_set_flush ( )
extern

◆ png_write_flush()

void png_write_flush ( )
extern

◆ png_start_read_image()

void png_start_read_image ( )
extern

◆ png_write_row()

void png_write_row ( )
extern

◆ png_write_rows()

void png_write_rows ( )
extern

◆ png_write_image()

void png_write_image ( )
extern

◆ png_write_end()

void png_write_end ( )
extern

◆ png_destroy_info_struct()

void png_destroy_info_struct ( )
extern

◆ png_read_destroy()

void png_read_destroy ( )
extern

◆ png_destroy_write_struct()

void png_destroy_write_struct ( )
extern

◆ png_write_destroy()

void png_write_destroy ( )
extern

◆ png_set_crc_action()

void png_set_crc_action ( )
extern

◆ png_set_filter()

void png_set_filter ( )
extern

◆ png_set_filter_heuristics()

void png_set_filter_heuristics ( )
extern

◆ png_set_compression_level()

void png_set_compression_level ( )
extern

◆ png_set_compression_mem_level()

void png_set_compression_mem_level ( )
extern

◆ png_set_compression_strategy()

void png_set_compression_strategy ( )
extern

◆ png_set_compression_window_bits()

void png_set_compression_window_bits ( )
extern

◆ png_set_compression_method()

void png_set_compression_method ( )
extern

◆ png_set_error_fn()

void png_set_error_fn ( )
extern

◆ png_get_error_ptr()

png_voidp png_get_error_ptr ( )
extern

◆ png_set_write_fn()

void png_set_write_fn ( )
extern

◆ png_set_read_status_fn()

void png_set_read_status_fn ( )
extern

◆ png_set_write_status_fn()

void png_set_write_status_fn ( )
extern

◆ png_set_mem_fn()

void png_set_mem_fn ( )
extern

◆ png_get_mem_ptr()

png_voidp png_get_mem_ptr ( )
extern

◆ png_set_read_user_transform_fn()

void png_set_read_user_transform_fn ( )
extern

◆ png_set_write_user_transform_fn()

void png_set_write_user_transform_fn ( )
extern

◆ png_set_user_transform_info()

void png_set_user_transform_info ( )
extern

◆ png_get_user_transform_ptr()

png_voidp png_get_user_transform_ptr ( )
extern

◆ png_set_read_user_chunk_fn()

void png_set_read_user_chunk_fn ( )
extern

◆ png_get_user_chunk_ptr()

png_voidp png_get_user_chunk_ptr ( )
extern

◆ png_set_progressive_read_fn()

void png_set_progressive_read_fn ( )
extern

◆ png_get_progressive_ptr()

png_voidp png_get_progressive_ptr ( )
extern

◆ png_process_data()

void png_process_data ( )
extern

◆ png_progressive_combine_row()

void png_progressive_combine_row ( )
extern

◆ png_malloc_warn()

png_voidp png_malloc_warn ( )
extern

◆ png_free()

void png_free ( )
extern

◆ png_free_data()

void png_free_data ( )
extern

◆ png_data_freer()

void png_data_freer ( )
extern

◆ png_malloc_default()

png_voidp png_malloc_default ( )
extern

◆ png_free_default()

void png_free_default ( )
extern

◆ png_memcpy_check()

png_voidp png_memcpy_check ( )
extern

◆ png_memset_check()

png_voidp png_memset_check ( )
extern

◆ png_error()

void png_error ( )
extern

◆ png_chunk_error()

void png_chunk_error ( )
extern

◆ png_warning()

void png_warning ( )
extern

◆ png_chunk_warning()

void png_chunk_warning ( )
extern

◆ png_get_rows()

png_bytepp png_get_rows ( )
extern

◆ png_set_rows()

void png_set_rows ( )
extern

◆ png_get_channels()

png_byte png_get_channels ( )
extern

◆ png_get_image_width()

png_uint_32 png_get_image_width ( )
extern

◆ png_get_image_height()

png_uint_32 png_get_image_height ( )
extern

◆ png_get_bit_depth()

png_byte png_get_bit_depth ( )
extern

◆ png_get_color_type()

png_byte png_get_color_type ( )
extern

◆ png_get_filter_type()

png_byte png_get_filter_type ( )
extern

◆ png_get_interlace_type()

png_byte png_get_interlace_type ( )
extern

◆ png_get_compression_type()

png_byte png_get_compression_type ( )
extern

◆ png_get_pixels_per_meter()

png_uint_32 png_get_pixels_per_meter ( )
extern

◆ png_get_x_pixels_per_meter()

png_uint_32 png_get_x_pixels_per_meter ( )
extern

◆ png_get_y_pixels_per_meter()

png_uint_32 png_get_y_pixels_per_meter ( )
extern

◆ png_get_pixel_aspect_ratio()

float png_get_pixel_aspect_ratio ( )
extern

◆ png_get_x_offset_pixels()

png_int_32 png_get_x_offset_pixels ( )
extern

◆ png_get_y_offset_pixels()

png_int_32 png_get_y_offset_pixels ( )
extern

◆ png_get_x_offset_microns()

png_int_32 png_get_x_offset_microns ( )
extern

◆ png_get_y_offset_microns()

png_int_32 png_get_y_offset_microns ( )
extern

◆ png_get_signature()

png_bytep png_get_signature ( )
extern

◆ png_get_bKGD()

png_uint_32 png_get_bKGD ( )
extern

◆ png_set_bKGD()

void png_set_bKGD ( )
extern

◆ png_get_cHRM()

png_uint_32 png_get_cHRM ( )
extern

◆ png_get_cHRM_fixed()

png_uint_32 png_get_cHRM_fixed ( )
extern

◆ png_set_cHRM()

void png_set_cHRM ( )
extern

◆ png_set_cHRM_fixed()

void png_set_cHRM_fixed ( )
extern

◆ png_get_gAMA()

png_uint_32 png_get_gAMA ( )
extern

◆ png_get_gAMA_fixed()

png_uint_32 png_get_gAMA_fixed ( )
extern

◆ png_set_gAMA()

void png_set_gAMA ( )
extern

◆ png_set_gAMA_fixed()

void png_set_gAMA_fixed ( )
extern

◆ png_get_hIST()

png_uint_32 png_get_hIST ( )
extern

◆ png_set_hIST()

void png_set_hIST ( )
extern

◆ png_set_IHDR()

void png_set_IHDR ( )
extern

◆ png_get_oFFs()

png_uint_32 png_get_oFFs ( )
extern

◆ png_set_oFFs()

void png_set_oFFs ( )
extern

◆ png_get_pCAL()

png_uint_32 png_get_pCAL ( )
extern

◆ png_set_pCAL()

void png_set_pCAL ( )
extern

◆ png_get_pHYs()

png_uint_32 png_get_pHYs ( )
extern

◆ png_set_pHYs()

void png_set_pHYs ( )
extern

◆ png_get_PLTE()

png_uint_32 png_get_PLTE ( )
extern

◆ png_set_PLTE()

void png_set_PLTE ( )
extern

◆ png_get_sBIT()

png_uint_32 png_get_sBIT ( )
extern

◆ png_set_sBIT()

void png_set_sBIT ( )
extern

◆ png_get_sRGB()

png_uint_32 png_get_sRGB ( )
extern

◆ png_set_sRGB()

void png_set_sRGB ( )
extern

◆ png_set_sRGB_gAMA_and_cHRM()

void png_set_sRGB_gAMA_and_cHRM ( )
extern

◆ png_get_iCCP()

png_uint_32 png_get_iCCP ( )
extern

◆ png_set_iCCP()

void png_set_iCCP ( )
extern

◆ png_get_sPLT()

png_uint_32 png_get_sPLT ( )
extern

◆ png_set_sPLT()

void png_set_sPLT ( )
extern

◆ png_get_text()

png_uint_32 png_get_text ( )
extern

◆ png_set_text()

void png_set_text ( )
extern

◆ png_get_tRNS()

png_uint_32 png_get_tRNS ( )
extern

◆ png_set_tRNS()

void png_set_tRNS ( )
extern

◆ png_get_sCAL()

png_uint_32 png_get_sCAL ( )
extern

◆ png_set_sCAL()

void png_set_sCAL ( )
extern

◆ png_set_sCAL_s()

void png_set_sCAL_s ( )
extern

◆ png_set_keep_unknown_chunks()

void png_set_keep_unknown_chunks ( )
extern

◆ png_set_unknown_chunks()

void png_set_unknown_chunks ( )
extern

◆ png_set_unknown_chunk_location()

void png_set_unknown_chunk_location ( )
extern

◆ png_get_unknown_chunks()

png_uint_32 png_get_unknown_chunks ( )
extern

◆ png_handle_as_unknown()

int png_handle_as_unknown ( )

◆ png_set_invalid()

void png_set_invalid ( )
extern

◆ png_read_png()

void png_read_png ( )
extern

◆ png_write_png()

void png_write_png ( )
extern

◆ png_sig_bytes()

png_bytep png_sig_bytes ( )
extern

◆ png_get_copyright()

png_charp png_get_copyright ( )
extern

◆ png_get_header_ver()

png_charp png_get_header_ver ( )
extern

◆ png_get_header_version()

png_charp png_get_header_version ( )
extern

◆ png_get_libpng_ver()

png_charp png_get_libpng_ver ( )
extern

◆ png_permit_mng_features()

png_uint_32 png_permit_mng_features ( )
extern

◆ png_get_mmx_flagmask()

png_uint_32 png_get_mmx_flagmask ( )
extern

◆ png_get_asm_flagmask()

png_uint_32 png_get_asm_flagmask ( )
extern

◆ png_get_asm_flags()

png_uint_32 png_get_asm_flags ( )
extern

◆ png_get_mmx_bitdepth_threshold()

png_byte png_get_mmx_bitdepth_threshold ( )
extern

◆ png_get_mmx_rowbytes_threshold()

png_uint_32 png_get_mmx_rowbytes_threshold ( )
extern

◆ png_set_asm_flags()

void png_set_asm_flags ( )
extern

◆ png_set_mmx_thresholds()

void png_set_mmx_thresholds ( )
extern

◆ png_mmx_support()

int png_mmx_support ( )
extern

◆ png_set_strip_error_numbers()

void png_set_strip_error_numbers ( )
extern

Variable Documentation

◆ png_libpng_ver

char png_libpng_ver[18]
extern

◆ png_pass_start

int png_pass_start[7]
extern

◆ png_pass_inc

int png_pass_inc[7]
extern

◆ png_pass_ystart

int png_pass_ystart[7]
extern

◆ png_pass_yinc

int png_pass_yinc[7]
extern

◆ png_pass_mask

int png_pass_mask[7]
extern

◆ png_pass_dsp_mask

int png_pass_dsp_mask[7]
extern