| Bsoft 1.9 Bernard's software package

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

Macros | Typedefs | Functions
pngpriv.h File Reference
`#include <stdlib.h>`
`#include "png.h"`
`#include "pnginfo.h"`
`#include "pngstruct.h"`
`#include <float.h>`
`#include <math.h>`
`#include "pngdebug.h"`

Go to the source code of this file.

## Macros
#define | PNGLIB_BUILD
#define | PNG_UNUSED(param) (void)param;
#define | PNG_EXTERN
#define | PNGFAPI PNGAPI
#define | PNG_ABORT() abort()
#define | CVT_PTR(ptr) (ptr)
#define | CVT_PTR_NOCHECK(ptr) (ptr)
#define | png_strcpy strcpy
#define | png_strncpy strncpy /* Added to v 1.2.6 */
#define | png_strlen strlen
#define | png_memcmp memcmp /* SJT: added */
#define | png_memcpy memcpy
#define | png_memset memset
#define | png_sprintf sprintf
#define | png_snprintf snprintf /* Added to v 1.2.19 */
#define | png_snprintf2 snprintf
#define | png_snprintf6 snprintf
#define | PNG_HAVE_IHDR 0x01
#define | PNG_HAVE_PLTE 0x02
#define | PNG_HAVE_IDAT 0x04
#define | PNG_AFTER_IDAT 0x08 /* Have complete zlib datastream */
#define | PNG_HAVE_IEND 0x10
#define | PNG_HAVE_gAMA 0x20
#define | PNG_HAVE_cHRM 0x40
#define | PNG_HAVE_sRGB 0x80
#define | PNG_HAVE_CHUNK_HEADER 0x100
#define | PNG_WROTE_tIME 0x200
#define | PNG_WROTE_INFO_BEFORE_PLTE 0x400
#define | PNG_BACKGROUND_IS_GRAY 0x800
#define | PNG_HAVE_PNG_SIGNATURE 0x1000
#define | PNG_HAVE_CHUNK_AFTER_IDAT 0x2000 /* Have another chunk after IDAT */
#define | PNG_BGR 0x0001
#define | PNG_INTERLACE 0x0002
#define | PNG_PACK 0x0004
#define | PNG_SHIFT 0x0008
#define | PNG_SWAP_BYTES 0x0010
#define | PNG_INVERT_MONO 0x0020
#define | PNG_QUANTIZE 0x0040
#define | PNG_BACKGROUND 0x0080
#define | PNG_BACKGROUND_EXPAND 0x0100
#define | PNG_16_TO_8 0x0400
#define | PNG_RGBA 0x0800
#define | PNG_EXPAND 0x1000
#define | PNG_GAMMA 0x2000
#define | PNG_GRAY_TO_RGB 0x4000
#define | PNG_FILLER 0x8000L
#define | PNG_PACKSWAP 0x10000L
#define | PNG_SWAP_ALPHA 0x20000L
#define | PNG_STRIP_ALPHA 0x40000L
#define | PNG_INVERT_ALPHA 0x80000L
#define | PNG_USER_TRANSFORM 0x100000L
#define | PNG_RGB_TO_GRAY_ERR 0x200000L
#define | PNG_RGB_TO_GRAY_WARN 0x400000L
#define | PNG_RGB_TO_GRAY 0x600000L /* two bits, RGB_TO_GRAY_ERR|WARN */
#define | PNG_ADD_ALPHA 0x1000000L /* Added to libpng-1.2.7 */
#define | PNG_EXPAND_tRNS 0x2000000L /* Added to libpng-1.2.9 */
#define | PNG_STRUCT_PNG 0x0001
#define | PNG_STRUCT_INFO 0x0002
#define | PNG_WEIGHT_FACTOR (1<<(PNG_WEIGHT_SHIFT))
#define | PNG_COST_FACTOR (1<<(PNG_COST_SHIFT))
#define | PNG_FLAG_ZLIB_CUSTOM_STRATEGY 0x0001
#define | PNG_FLAG_ZLIB_CUSTOM_LEVEL 0x0002
#define | PNG_FLAG_ZLIB_CUSTOM_MEM_LEVEL 0x0004
#define | PNG_FLAG_ZLIB_CUSTOM_WINDOW_BITS 0x0008
#define | PNG_FLAG_ZLIB_CUSTOM_METHOD 0x0010
#define | PNG_FLAG_ZLIB_FINISHED 0x0020
#define | PNG_FLAG_ROW_INIT 0x0040
#define | PNG_FLAG_FILLER_AFTER 0x0080
#define | PNG_FLAG_CRC_ANCILLARY_USE 0x0100
#define | PNG_FLAG_CRC_ANCILLARY_NOWARN 0x0200
#define | PNG_FLAG_CRC_CRITICAL_USE 0x0400
#define | PNG_FLAG_CRC_CRITICAL_IGNORE 0x0800
#define | PNG_FLAG_KEEP_UNKNOWN_CHUNKS 0x8000L
#define | PNG_FLAG_KEEP_UNSAFE_CHUNKS 0x10000L
#define | PNG_FLAG_LIBRARY_MISMATCH 0x20000L
#define | PNG_FLAG_STRIP_ERROR_NUMBERS 0x40000L
#define | PNG_FLAG_STRIP_ERROR_TEXT 0x80000L
#define | PNG_FLAG_MALLOC_NULL_MEM_OK 0x100000L
#define | PNG_FLAG_ADD_ALPHA 0x200000L /* Added to libpng-1.2.8 */
#define | PNG_FLAG_STRIP_ALPHA 0x400000L /* Added to libpng-1.2.8 */
#define | PNG_FLAG_BENIGN_ERRORS_WARN 0x800000L /* Added to libpng-1.4.0 */
#define | PNG_FLAG_CRC_ANCILLARY_MASK
#define | PNG_FLAG_CRC_CRITICAL_MASK
#define | PNG_FLAG_CRC_MASK
#define | ZLIB_IO_MAX ((uInt)-1)
#define | PNG_COLOR_DIST(c1, c2)
#define | PNG_ROWBYTES(pixel_bits, width)
#define | PNG_OUT_OF_RANGE(value, ideal, delta) ( (value) < (ideal)-(delta) || (value) > (ideal)+(delta) )
#define | png_float(png_ptr, fixed, s) (.00001 * (fixed))
#define | PNG_IHDR PNG_CONST png_byte png_IHDR[5] = { 73, 72, 68, 82, '\0'}
#define | PNG_IDAT PNG_CONST png_byte png_IDAT[5] = { 73, 68, 65, 84, '\0'}
#define | PNG_IEND PNG_CONST png_byte png_IEND[5] = { 73, 69, 78, 68, '\0'}
#define | PNG_PLTE PNG_CONST png_byte png_PLTE[5] = { 80, 76, 84, 69, '\0'}
#define | PNG_bKGD PNG_CONST png_byte png_bKGD[5] = { 98, 75, 71, 68, '\0'}
#define | PNG_cHRM PNG_CONST png_byte png_cHRM[5] = { 99, 72, 82, 77, '\0'}
#define | PNG_gAMA PNG_CONST png_byte png_gAMA[5] = {103, 65, 77, 65, '\0'}
#define | PNG_hIST PNG_CONST png_byte png_hIST[5] = {104, 73, 83, 84, '\0'}
#define | PNG_iCCP PNG_CONST png_byte png_iCCP[5] = {105, 67, 67, 80, '\0'}
#define | PNG_iTXt PNG_CONST png_byte png_iTXt[5] = {105, 84, 88, 116, '\0'}
#define | PNG_oFFs PNG_CONST png_byte png_oFFs[5] = {111, 70, 70, 115, '\0'}
#define | PNG_pCAL PNG_CONST png_byte png_pCAL[5] = {112, 67, 65, 76, '\0'}
#define | PNG_sCAL PNG_CONST png_byte png_sCAL[5] = {115, 67, 65, 76, '\0'}
#define | PNG_pHYs PNG_CONST png_byte png_pHYs[5] = {112, 72, 89, 115, '\0'}
#define | PNG_sBIT PNG_CONST png_byte png_sBIT[5] = {115, 66, 73, 84, '\0'}
#define | PNG_sPLT PNG_CONST png_byte png_sPLT[5] = {115, 80, 76, 84, '\0'}
#define | PNG_sRGB PNG_CONST png_byte png_sRGB[5] = {115, 82, 71, 66, '\0'}
#define | PNG_sTER PNG_CONST png_byte png_sTER[5] = {115, 84, 69, 82, '\0'}
#define | PNG_tEXt PNG_CONST png_byte png_tEXt[5] = {116, 69, 88, 116, '\0'}
#define | PNG_tIME PNG_CONST png_byte png_tIME[5] = {116, 73, 77, 69, '\0'}
#define | PNG_tRNS PNG_CONST png_byte png_tRNS[5] = {116, 82, 78, 83, '\0'}
#define | PNG_zTXt PNG_CONST png_byte png_zTXt[5] = {122, 84, 88, 116, '\0'}
#define | PNG_sCAL_MAX_DIGITS (PNG_sCAL_PRECISION+1/*.*/+1/*E*/+10/*exponent*/)
#define | PNG_FP_INTEGER 0 /* before or in integer */
#define | PNG_FP_FRACTION 1 /* before or in fraction */
#define | PNG_FP_EXPONENT 2 /* before or in exponent */
#define | PNG_FP_STATE 3 /* mask for the above */
#define | PNG_FP_SAW_SIGN 4 /* Saw +/- in current state */
#define | PNG_FP_SAW_DIGIT 8 /* Saw a digit in current state */
#define | PNG_FP_SAW_DOT 16 /* Saw a dot in current state */
#define | PNG_FP_SAW_E 32 /* Saw an E (or e) in current state */
#define | PNG_FP_SAW_ANY 60 /* Saw any of the above 4 */
#define | PNG_FP_WAS_VALID 64 /* Preceding substring is a valid fp number */
#define | PNG_FP_INVALID 128 /* Available for callers as a distinct value */
#define | PNG_FP_MAYBE 0 /* The number may be valid in the future */
#define | PNG_FP_OK 1 /* The number is valid */

## Typedefs
typedef PNG_CONST png_uint_16p FAR * | png_const_uint_16pp

## Functions
PNG_EXTERN png_fixed_point png_fixed | PNGARG ((png_structp png_ptr, double fp, png_const_charp text))
PNG_EXTERN | PNG_FUNCTION (png_voidp, png_create_struct, PNGARG((int type)), PNG_ALLOCATED)
PNG_EXTERN void png_destroy_struct | PNGARG ((png_voidp struct_ptr))
PNG_EXTERN | PNG_FUNCTION (png_voidp, png_create_struct_2, PNGARG((int type, png_malloc_ptr malloc_fn, png_voidp mem_ptr)), PNG_ALLOCATED)
PNG_EXTERN void png_destroy_struct_2 | PNGARG ((png_voidp struct_ptr, png_free_ptr free_fn, png_voidp mem_ptr))
PNG_EXTERN void png_info_destroy | PNGARG ((png_structp png_ptr, png_infop info_ptr))
PNG_EXTERN | PNG_FUNCTION (voidpf, png_zalloc, PNGARG((voidpf png_ptr, uInt items, uInt size)), PNG_ALLOCATED)
PNG_EXTERN void png_zfree | PNGARG ((voidpf png_ptr, voidpf ptr))
PNG_EXTERN void PNGCBAPI png_default_read_data | PNGARG ((png_structp png_ptr, png_bytep data, png_size_t length))
PNG_EXTERN void PNGCBAPI png_push_fill_buffer | PNGARG ((png_structp png_ptr, png_bytep buffer, png_size_t length))
PNG_EXTERN void PNGCBAPI png_default_flush | PNGARG ((png_structp png_ptr))
PNG_EXTERN void png_write_data | PNGARG ((png_structp png_ptr, png_const_bytep data, png_size_t length))
PNG_EXTERN void png_read_sig | PNGARG ((png_structp png_ptr, png_infop info_ptr))
PNG_EXTERN void png_read_data | PNGARG ((png_structp png_ptr, png_bytep data, png_size_t length))
PNG_EXTERN void png_crc_read | PNGARG ((png_structp png_ptr, png_bytep buf, png_size_t length))
PNG_EXTERN void png_decompress_chunk | PNGARG ((png_structp png_ptr, int comp_type, png_size_t chunklength, png_size_t prefix_length, png_size_t *data_length))
PNG_EXTERN int png_crc_finish | PNGARG ((png_structp png_ptr, png_uint_32 skip))
PNG_EXTERN void png_calculate_crc | PNGARG ((png_structp png_ptr, png_const_bytep ptr, png_size_t length))
PNG_EXTERN void png_write_IHDR | PNGARG ((png_structp png_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int compression_method, int filter_method, int interlace_method))
PNG_EXTERN void png_write_PLTE | PNGARG ((png_structp png_ptr, png_const_colorp palette, png_uint_32 num_pal))
PNG_EXTERN void png_write_gAMA | PNGARG ((png_structp png_ptr, double file_gamma))
PNG_EXTERN void png_write_gAMA_fixed | PNGARG ((png_structp png_ptr, png_fixed_point file_gamma))
PNG_EXTERN void png_write_sBIT | PNGARG ((png_structp png_ptr, png_const_color_8p sbit, int color_type))
PNG_EXTERN void png_write_cHRM | PNGARG ((png_structp png_ptr, double white_x, double white_y, double red_x, double red_y, double green_x, double green_y, double blue_x, double blue_y))
PNG_EXTERN void png_write_cHRM_fixed | PNGARG ((png_structp png_ptr, png_fixed_point int_white_x, png_fixed_point int_white_y, png_fixed_point int_red_x, png_fixed_point int_red_y, png_fixed_point int_green_x, png_fixed_point int_green_y, png_fixed_point int_blue_x, png_fixed_point int_blue_y))
PNG_EXTERN void png_write_sRGB | PNGARG ((png_structp png_ptr, int intent))
PNG_EXTERN void png_write_iCCP | PNGARG ((png_structp png_ptr, png_const_charp name, int compression_type, png_const_charp profile, int proflen))
PNG_EXTERN void png_write_sPLT | PNGARG ((png_structp png_ptr, png_const_sPLT_tp palette))
PNG_EXTERN void png_write_tRNS | PNGARG ((png_structp png_ptr, png_const_bytep trans, png_const_color_16p values, int number, int color_type))
PNG_EXTERN void png_write_bKGD | PNGARG ((png_structp png_ptr, png_const_color_16p values, int color_type))
PNG_EXTERN void png_write_hIST | PNGARG ((png_structp png_ptr, png_const_uint_16p hist, int num_hist))
PNG_EXTERN png_size_t png_check_keyword | PNGARG ((png_structp png_ptr, png_const_charp key, png_charpp new_key))
PNG_EXTERN void png_write_tEXt | PNGARG ((png_structp png_ptr, png_const_charp key, png_const_charp text, png_size_t text_len))
PNG_EXTERN void png_write_zTXt | PNGARG ((png_structp png_ptr, png_const_charp key, png_const_charp text, png_size_t text_len, int compression))
PNG_EXTERN void png_write_iTXt | PNGARG ((png_structp png_ptr, int compression, png_const_charp key, png_const_charp lang, png_const_charp lang_key, png_const_charp text))
PNG_EXTERN int png_set_text_2 | PNGARG ((png_structp png_ptr, png_infop info_ptr, png_const_textp text_ptr, int num_text))
PNG_EXTERN void png_write_oFFs | PNGARG ((png_structp png_ptr, png_int_32 x_offset, png_int_32 y_offset, int unit_type))
PNG_EXTERN void png_write_pCAL | PNGARG ((png_structp png_ptr, png_charp purpose, png_int_32 X0, png_int_32 X1, int type, int nparams, png_const_charp units, png_charpp params))
PNG_EXTERN void png_write_pHYs | PNGARG ((png_structp png_ptr, png_uint_32 x_pixels_per_unit, png_uint_32 y_pixels_per_unit, int unit_type))
PNG_EXTERN void png_write_tIME | PNGARG ((png_structp png_ptr, png_const_timep mod_time))
PNG_EXTERN void png_write_sCAL_s | PNGARG ((png_structp png_ptr, int unit, png_const_charp width, png_const_charp height))
PNG_EXTERN void png_combine_row | PNGARG ((png_structp png_ptr, png_bytep row, int mask))
PNG_EXTERN void png_do_write_interlace | PNGARG ((png_row_infop row_info, png_bytep row, int pass))
PNG_EXTERN void png_read_filter_row | PNGARG ((png_structp png_ptr, png_row_infop row_info, png_bytep row, png_const_bytep prev_row, int filter))
PNG_EXTERN void png_write_find_filter | PNGARG ((png_structp png_ptr, png_row_infop row_info))
PNG_EXTERN void png_write_filtered_row | PNGARG ((png_structp png_ptr, png_bytep filtered_row))
PNG_EXTERN void png_do_read_filler | PNGARG ((png_row_infop row_info, png_bytep row, png_uint_32 filler, png_uint_32 flags))
PNG_EXTERN void png_do_read_swap_alpha | PNGARG ((png_row_infop row_info, png_bytep row))
PNG_EXTERN void png_do_strip_filler | PNGARG ((png_row_infop row_info, png_bytep row, png_uint_32 flags))
PNG_EXTERN int png_do_rgb_to_gray | PNGARG ((png_structp png_ptr, png_row_infop row_info, png_bytep row))
PNG_EXTERN void png_do_unshift | PNGARG ((png_row_infop row_info, png_bytep row, png_const_color_8p sig_bits))
PNG_EXTERN void png_do_quantize | PNGARG ((png_row_infop row_info, png_bytep row, png_const_bytep palette_lookup, png_const_bytep quantize_lookup))
PNG_EXTERN void png_do_pack | PNGARG ((png_row_infop row_info, png_bytep row, png_uint_32 bit_depth))
PNG_EXTERN void png_do_shift | PNGARG ((png_row_infop row_info, png_bytep row, png_const_color_8p bit_depth))
PNG_EXTERN void png_do_background | PNGARG ((png_row_infop row_info, png_bytep row, png_const_color_16p trans_color, png_const_color_16p background, png_const_color_16p background_1, png_const_bytep gamma_table, png_const_bytep gamma_from_1, png_const_bytep gamma_to_1, png_const_uint_16pp gamma_16, png_const_uint_16pp gamma_16_from_1, png_const_uint_16pp gamma_16_to_1, int gamma_shift))
PNG_EXTERN void png_do_gamma | PNGARG ((png_row_infop row_info, png_bytep row, png_const_bytep gamma_table, png_const_uint_16pp gamma_16_table, int gamma_shift))
PNG_EXTERN void png_do_expand_palette | PNGARG ((png_row_infop row_info, png_bytep row, png_const_colorp palette, png_const_bytep trans, int num_trans))
PNG_EXTERN void png_do_expand | PNGARG ((png_row_infop row_info, png_bytep row, png_const_color_16p trans_color))
PNG_EXTERN void png_handle_IHDR | PNGARG ((png_structp png_ptr, png_infop info_ptr, png_uint_32 length))
PNG_EXTERN void png_handle_unknown | PNGARG ((png_structp png_ptr, png_infop info_ptr, png_uint_32 length))
PNG_EXTERN void png_check_chunk_name | PNGARG ((png_structp png_ptr, png_const_bytep chunk_name))
PNG_EXTERN void png_push_crc_skip | PNGARG ((png_structp png_ptr, png_uint_32 length))
PNG_EXTERN void png_push_restore_buffer | PNGARG ((png_structp png_ptr, png_bytep buffer, png_size_t buffer_length))
PNG_EXTERN void png_push_handle_unknown | PNGARG ((png_structp png_ptr, png_infop info_ptr, png_uint_32 length))
PNG_EXTERN void png_push_have_info | PNGARG ((png_structp png_ptr, png_infop info_ptr))
PNG_EXTERN void png_push_have_row | PNGARG ((png_structp png_ptr, png_bytep row))
PNG_EXTERN void png_64bit_product | PNGARG ((long v1, long v2, unsigned long *hi_product, unsigned long *lo_product))
PNG_EXTERN void png_check_IHDR | PNGARG ((png_structp png_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int interlace_type, int compression_type, int filter_type))
PNG_EXTERN void png_read_destroy | PNGARG ((png_structp png_ptr, png_infop info_ptr, png_infop end_info_ptr))
PNG_EXTERN | PNG_FUNCTION (void, png_fixed_error,(png_structp png_ptr, png_const_charp name), PNG_NORETURN)
PNG_EXTERN void png_ascii_from_fp | PNGARG ((png_structp png_ptr, png_charp ascii, png_size_t size, double fp, unsigned int precision))
PNG_EXTERN void png_ascii_from_fixed | PNGARG ((png_structp png_ptr, png_charp ascii, png_size_t size, png_fixed_point fp))
PNG_EXTERN int png_check_fp_number | PNGARG ((png_const_charp string, png_size_t size, int *statep, png_size_tp whereami))
PNG_EXTERN int png_check_fp_string | PNGARG ((png_const_charp string, png_size_t size))
PNG_EXTERN int png_muldiv | PNGARG ((png_fixed_point_p res, png_fixed_point a, png_int_32 times, png_int_32 div))
PNG_EXTERN png_fixed_point png_muldiv_warn | PNGARG ((png_structp png_ptr, png_fixed_point a, png_int_32 times, png_int_32 div))
PNG_EXTERN png_fixed_point png_reciprocal | PNGARG ((png_fixed_point a))
PNG_EXTERN png_fixed_point png_reciprocal2 | PNGARG ((png_fixed_point a, png_fixed_point b))
PNG_EXTERN png_uint_16 png_gamma_correct | PNGARG ((png_structp png_ptr, unsigned int value, png_fixed_point gamma))
PNG_EXTERN int png_gamma_significant | PNGARG ((png_fixed_point gamma))
PNG_EXTERN png_uint_16 png_gamma_16bit_correct | PNGARG ((unsigned int value, png_fixed_point gamma))
PNG_EXTERN void png_build_gamma_table | PNGARG ((png_structp png_ptr, int bit_depth))

## Macro Definition Documentation

#define CVT_PTR | ( |  | ptr | ) | (ptr)

Definition at line 220 of file pngpriv.h.

#define CVT_PTR_NOCHECK | ( |  | ptr | ) | (ptr)

Definition at line 221 of file pngpriv.h.

#define PNG_16_TO_8 0x0400

Definition at line 290 of file pngpriv.h.

#define PNG_ABORT | ( |  | ) | abort()

Definition at line 191 of file pngpriv.h.

#define PNG_ADD_ALPHA 0x1000000L /* Added to libpng-1.2.7 */

Definition at line 305 of file pngpriv.h.

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

Definition at line 267 of file pngpriv.h.

#define PNG_BACKGROUND 0x0080

Definition at line 287 of file pngpriv.h.

#define PNG_BACKGROUND_EXPAND 0x0100

Definition at line 288 of file pngpriv.h.

#define PNG_BACKGROUND_IS_GRAY 0x800

Definition at line 275 of file pngpriv.h.

#define PNG_BGR 0x0001

Definition at line 280 of file pngpriv.h.

#define PNG_bKGD PNG_CONST png_byte png_bKGD[5] = { 98, 75, 71, 68, '\0'}

Definition at line 442 of file pngpriv.h.

#define PNG_cHRM PNG_CONST png_byte png_cHRM[5] = { 99, 72, 82, 77, '\0'}

Definition at line 443 of file pngpriv.h.

#define PNG_COLOR_DIST | ( |  | c1,
|  |  | c2
| ) |  |

Value:
(abs((int)((c1).red) - (int)((c2).red)) + \
abs((int)((c1).green) - (int)((c2).green)) + \
abs((int)((c1).blue) - (int)((c2).blue)))

Definition at line 377 of file pngpriv.h.

#define PNG_COST_FACTOR (1<<(PNG_COST_SHIFT))

Definition at line 319 of file pngpriv.h.

#define PNG_EXPAND 0x1000

Definition at line 292 of file pngpriv.h.

#define PNG_EXPAND_tRNS 0x2000000L /* Added to libpng-1.2.9 */

Definition at line 306 of file pngpriv.h.

#define PNG_EXTERN

Definition at line 123 of file pngpriv.h.

#define PNG_FILLER 0x8000L

Definition at line 295 of file pngpriv.h.

#define PNG_FLAG_ADD_ALPHA 0x200000L /* Added to libpng-1.2.8 */

Definition at line 343 of file pngpriv.h.

#define PNG_FLAG_BENIGN_ERRORS_WARN 0x800000L /* Added to libpng-1.4.0 */

Definition at line 345 of file pngpriv.h.

#define PNG_FLAG_CRC_ANCILLARY_MASK

Value:
(PNG_FLAG_CRC_ANCILLARY_USE | \
PNG_FLAG_CRC_ANCILLARY_NOWARN)
PNG_FLAG_CRC_ANCILLARY_USE
#define PNG_FLAG_CRC_ANCILLARY_USE
Definition: pngpriv.h:330

Definition at line 354 of file pngpriv.h.

#define PNG_FLAG_CRC_ANCILLARY_NOWARN 0x0200

Definition at line 331 of file pngpriv.h.

#define PNG_FLAG_CRC_ANCILLARY_USE 0x0100

Definition at line 330 of file pngpriv.h.

#define PNG_FLAG_CRC_CRITICAL_IGNORE 0x0800

Definition at line 333 of file pngpriv.h.

#define PNG_FLAG_CRC_CRITICAL_MASK

Value:
(PNG_FLAG_CRC_CRITICAL_USE | \
PNG_FLAG_CRC_CRITICAL_IGNORE)
PNG_FLAG_CRC_CRITICAL_USE
#define PNG_FLAG_CRC_CRITICAL_USE
Definition: pngpriv.h:332

Definition at line 357 of file pngpriv.h.

#define PNG_FLAG_CRC_CRITICAL_USE 0x0400

Definition at line 332 of file pngpriv.h.

#define PNG_FLAG_CRC_MASK

Value:
(PNG_FLAG_CRC_ANCILLARY_MASK | \
PNG_FLAG_CRC_CRITICAL_MASK)
PNG_FLAG_CRC_ANCILLARY_MASK
#define PNG_FLAG_CRC_ANCILLARY_MASK
Definition: pngpriv.h:354

Definition at line 360 of file pngpriv.h.

#define PNG_FLAG_FILLER_AFTER 0x0080

Definition at line 329 of file pngpriv.h.

#define PNG_FLAG_KEEP_UNKNOWN_CHUNKS 0x8000L

Definition at line 337 of file pngpriv.h.

#define PNG_FLAG_KEEP_UNSAFE_CHUNKS 0x10000L

Definition at line 338 of file pngpriv.h.

#define PNG_FLAG_LIBRARY_MISMATCH 0x20000L

Definition at line 339 of file pngpriv.h.

#define PNG_FLAG_MALLOC_NULL_MEM_OK 0x100000L

Definition at line 342 of file pngpriv.h.

#define PNG_FLAG_ROW_INIT 0x0040

Definition at line 328 of file pngpriv.h.

#define PNG_FLAG_STRIP_ALPHA 0x400000L /* Added to libpng-1.2.8 */

Definition at line 344 of file pngpriv.h.

#define PNG_FLAG_STRIP_ERROR_NUMBERS 0x40000L

Definition at line 340 of file pngpriv.h.

#define PNG_FLAG_STRIP_ERROR_TEXT 0x80000L

Definition at line 341 of file pngpriv.h.

#define PNG_FLAG_ZLIB_CUSTOM_LEVEL 0x0002

Definition at line 323 of file pngpriv.h.

#define PNG_FLAG_ZLIB_CUSTOM_MEM_LEVEL 0x0004

Definition at line 324 of file pngpriv.h.

#define PNG_FLAG_ZLIB_CUSTOM_METHOD 0x0010

Definition at line 326 of file pngpriv.h.

#define PNG_FLAG_ZLIB_CUSTOM_STRATEGY 0x0001

Definition at line 322 of file pngpriv.h.

#define PNG_FLAG_ZLIB_CUSTOM_WINDOW_BITS 0x0008

Definition at line 325 of file pngpriv.h.

#define PNG_FLAG_ZLIB_FINISHED 0x0020

Definition at line 327 of file pngpriv.h.

#define png_float | ( |  | png_ptr,
|  |  | fixed,
|  |  | s
| ) |  | (.00001 * (fixed))

Definition at line 407 of file pngpriv.h.

#define PNG_FP_EXPONENT 2 /* before or in exponent */

Definition at line 1137 of file pngpriv.h.

#define PNG_FP_FRACTION 1 /* before or in fraction */

Definition at line 1136 of file pngpriv.h.

#define PNG_FP_INTEGER 0 /* before or in integer */

Definition at line 1135 of file pngpriv.h.

#define PNG_FP_INVALID 128 /* Available for callers as a distinct value */

Definition at line 1145 of file pngpriv.h.

#define PNG_FP_MAYBE 0 /* The number may be valid in the future */

Definition at line 1150 of file pngpriv.h.

#define PNG_FP_OK 1 /* The number is valid */

Definition at line 1151 of file pngpriv.h.

#define PNG_FP_SAW_ANY 60 /* Saw any of the above 4 */

Definition at line 1143 of file pngpriv.h.

#define PNG_FP_SAW_DIGIT 8 /* Saw a digit in current state */

Definition at line 1140 of file pngpriv.h.

#define PNG_FP_SAW_DOT 16 /* Saw a dot in current state */

Definition at line 1141 of file pngpriv.h.

#define PNG_FP_SAW_E 32 /* Saw an E (or e) in current state */

Definition at line 1142 of file pngpriv.h.

#define PNG_FP_SAW_SIGN 4 /* Saw +/- in current state */

Definition at line 1139 of file pngpriv.h.

#define PNG_FP_STATE 3 /* mask for the above */

Definition at line 1138 of file pngpriv.h.

#define PNG_FP_WAS_VALID 64 /* Preceding substring is a valid fp number */

Definition at line 1144 of file pngpriv.h.

#define PNG_gAMA PNG_CONST png_byte png_gAMA[5] = {103, 65, 77, 65, '\0'}

Definition at line 444 of file pngpriv.h.

#define PNG_GAMMA 0x2000

Definition at line 293 of file pngpriv.h.

#define PNG_GRAY_TO_RGB 0x4000

Definition at line 294 of file pngpriv.h.

#define PNG_HAVE_cHRM 0x40

Definition at line 270 of file pngpriv.h.

#define PNG_HAVE_CHUNK_AFTER_IDAT 0x2000 /* Have another chunk after IDAT */

Definition at line 277 of file pngpriv.h.

#define PNG_HAVE_CHUNK_HEADER 0x100

Definition at line 272 of file pngpriv.h.

#define PNG_HAVE_gAMA 0x20

Definition at line 269 of file pngpriv.h.

#define PNG_HAVE_IDAT 0x04

Definition at line 266 of file pngpriv.h.

#define PNG_HAVE_IEND 0x10

Definition at line 268 of file pngpriv.h.

#define PNG_HAVE_IHDR 0x01

Definition at line 264 of file pngpriv.h.

#define PNG_HAVE_PLTE 0x02

Definition at line 265 of file pngpriv.h.

#define PNG_HAVE_PNG_SIGNATURE 0x1000

Definition at line 276 of file pngpriv.h.

#define PNG_HAVE_sRGB 0x80

Definition at line 271 of file pngpriv.h.

#define PNG_hIST PNG_CONST png_byte png_hIST[5] = {104, 73, 83, 84, '\0'}

Definition at line 445 of file pngpriv.h.

#define PNG_iCCP PNG_CONST png_byte png_iCCP[5] = {105, 67, 67, 80, '\0'}

Definition at line 446 of file pngpriv.h.

#define PNG_IDAT PNG_CONST png_byte png_IDAT[5] = { 73, 68, 65, 84, '\0'}

Definition at line 439 of file pngpriv.h.

#define PNG_IEND PNG_CONST png_byte png_IEND[5] = { 73, 69, 78, 68, '\0'}

Definition at line 440 of file pngpriv.h.

#define PNG_IHDR PNG_CONST png_byte png_IHDR[5] = { 73, 72, 68, 82, '\0'}

Definition at line 438 of file pngpriv.h.

#define PNG_INTERLACE 0x0002

Definition at line 281 of file pngpriv.h.

#define PNG_INVERT_ALPHA 0x80000L

Definition at line 299 of file pngpriv.h.

#define PNG_INVERT_MONO 0x0020

Definition at line 285 of file pngpriv.h.

#define PNG_iTXt PNG_CONST png_byte png_iTXt[5] = {105, 84, 88, 116, '\0'}

Definition at line 447 of file pngpriv.h.

#define png_memcmp memcmp /* SJT: added */

Definition at line 225 of file pngpriv.h.

#define png_memcpy memcpy

Definition at line 226 of file pngpriv.h.

#define png_memset memset

Definition at line 227 of file pngpriv.h.

#define PNG_oFFs PNG_CONST png_byte png_oFFs[5] = {111, 70, 70, 115, '\0'}

Definition at line 448 of file pngpriv.h.

#define PNG_OUT_OF_RANGE | ( |  | value,
|  |  | ideal,
|  |  | delta
| ) |  | ( (value) < (ideal)-(delta) || (value) > (ideal)+(delta) )

Definition at line 392 of file pngpriv.h.

#define PNG_PACK 0x0004

Definition at line 282 of file pngpriv.h.

#define PNG_PACKSWAP 0x10000L

Definition at line 296 of file pngpriv.h.

#define PNG_pCAL PNG_CONST png_byte png_pCAL[5] = {112, 67, 65, 76, '\0'}

Definition at line 449 of file pngpriv.h.

#define PNG_pHYs PNG_CONST png_byte png_pHYs[5] = {112, 72, 89, 115, '\0'}

Definition at line 451 of file pngpriv.h.

#define PNG_PLTE PNG_CONST png_byte png_PLTE[5] = { 80, 76, 84, 69, '\0'}

Definition at line 441 of file pngpriv.h.

#define PNG_QUANTIZE 0x0040

Definition at line 286 of file pngpriv.h.

#define PNG_RGB_TO_GRAY 0x600000L /* two bits, RGB_TO_GRAY_ERR|WARN */

Definition at line 303 of file pngpriv.h.

#define PNG_RGB_TO_GRAY_ERR 0x200000L

Definition at line 301 of file pngpriv.h.

#define PNG_RGB_TO_GRAY_WARN 0x400000L

Definition at line 302 of file pngpriv.h.

#define PNG_RGBA 0x0800

Definition at line 291 of file pngpriv.h.

#define PNG_ROWBYTES | ( |  | pixel_bits,
|  |  | width
| ) |  |

Value:
((pixel_bits) >= 8 ? \
((png_size_t)(width) * (((png_size_t)(pixel_bits)) >> 3)) : \
(( ((png_size_t)(width) * ((png_size_t)(pixel_bits))) + 7) >> 3) )
png_size_t
size_t png_size_t
Definition: pngconf.h:490

Definition at line 382 of file pngpriv.h.

#define PNG_sBIT PNG_CONST png_byte png_sBIT[5] = {115, 66, 73, 84, '\0'}

Definition at line 452 of file pngpriv.h.

#define PNG_sCAL PNG_CONST png_byte png_sCAL[5] = {115, 67, 65, 76, '\0'}

Definition at line 450 of file pngpriv.h.

#define PNG_sCAL_MAX_DIGITS (PNG_sCAL_PRECISION+1/*.*/+1/*E*/+10/*exponent*/)

Definition at line 1091 of file pngpriv.h.

#define PNG_SHIFT 0x0008

Definition at line 283 of file pngpriv.h.

#define png_snprintf snprintf /* Added to v 1.2.19 */

Definition at line 239 of file pngpriv.h.

#define png_snprintf2 snprintf

Definition at line 240 of file pngpriv.h.

#define png_snprintf6 snprintf

Definition at line 241 of file pngpriv.h.

#define PNG_sPLT PNG_CONST png_byte png_sPLT[5] = {115, 80, 76, 84, '\0'}

Definition at line 453 of file pngpriv.h.

#define png_sprintf sprintf

Definition at line 228 of file pngpriv.h.

#define PNG_sRGB PNG_CONST png_byte png_sRGB[5] = {115, 82, 71, 66, '\0'}

Definition at line 454 of file pngpriv.h.

#define PNG_sTER PNG_CONST png_byte png_sTER[5] = {115, 84, 69, 82, '\0'}

Definition at line 455 of file pngpriv.h.

#define png_strcpy strcpy

Definition at line 222 of file pngpriv.h.

#define PNG_STRIP_ALPHA 0x40000L

Definition at line 298 of file pngpriv.h.

#define png_strlen strlen

Definition at line 224 of file pngpriv.h.

#define png_strncpy strncpy /* Added to v 1.2.6 */

Definition at line 223 of file pngpriv.h.

#define PNG_STRUCT_INFO 0x0002

Definition at line 315 of file pngpriv.h.

#define PNG_STRUCT_PNG 0x0001

Definition at line 314 of file pngpriv.h.

#define PNG_SWAP_ALPHA 0x20000L

Definition at line 297 of file pngpriv.h.

#define PNG_SWAP_BYTES 0x0010

Definition at line 284 of file pngpriv.h.

#define PNG_tEXt PNG_CONST png_byte png_tEXt[5] = {116, 69, 88, 116, '\0'}

Definition at line 456 of file pngpriv.h.

#define PNG_tIME PNG_CONST png_byte png_tIME[5] = {116, 73, 77, 69, '\0'}

Definition at line 457 of file pngpriv.h.

#define PNG_tRNS PNG_CONST png_byte png_tRNS[5] = {116, 82, 78, 83, '\0'}

Definition at line 458 of file pngpriv.h.

#define PNG_UNUSED | ( |  | param | ) | (void)param;

Definition at line 92 of file pngpriv.h.

#define PNG_USER_TRANSFORM 0x100000L

Definition at line 300 of file pngpriv.h.

#define PNG_WEIGHT_FACTOR (1<<(PNG_WEIGHT_SHIFT))

Definition at line 318 of file pngpriv.h.

#define PNG_WROTE_INFO_BEFORE_PLTE 0x400

Definition at line 274 of file pngpriv.h.

#define PNG_WROTE_tIME 0x200

Definition at line 273 of file pngpriv.h.

#define PNG_zTXt PNG_CONST png_byte png_zTXt[5] = {122, 84, 88, 116, '\0'}

Definition at line 459 of file pngpriv.h.

#define PNGFAPI PNGAPI

Definition at line 131 of file pngpriv.h.

#define PNGLIB_BUILD

Definition at line 33 of file pngpriv.h.

#define ZLIB_IO_MAX ((uInt)-1)

Definition at line 372 of file pngpriv.h.

## Typedef Documentation

typedef PNG_CONST png_uint_16p FAR* png_const_uint_16pp

Definition at line 51 of file pngpriv.h.

## Function Documentation

PNG_EXTERN PNG_FUNCTION | ( | png_voidp | ,
|  | png_create_struct | ,
|  | PNGARG((int type)) | ,
|  | PNG_ALLOCATED |
| ) |  |

PNG_EXTERN PNG_FUNCTION | ( | png_voidp | ,
|  | png_create_struct_2 | ,
|  | PNGARG((int type, png_malloc_ptr malloc_fn, png_voidp mem_ptr)) | ,
|  | PNG_ALLOCATED |
| ) |  |

PNG_EXTERN PNG_FUNCTION | ( | voidpf | ,
|  | png_zalloc | ,
|  | PNGARG((voidpf png_ptr, uInt items, uInt size)) | ,
|  | PNG_ALLOCATED |
| ) |  |

PNG_EXTERN PNG_FUNCTION | ( | void | ,
|  | png_fixed_error | ,
|  | (png_structp png_ptr, png_const_charp name) | ,
|  | PNG_NORETURN |
| ) |  |

PNG_EXTERN png_fixed_point png_fixed PNGARG | ( | (png_structp png_ptr, double fp, png_const_charp text) |  | ) |

PNG_EXTERN void png_destroy_struct PNGARG | ( | (png_voidp struct_ptr) |  | ) |

PNG_EXTERN void png_destroy_struct_2 PNGARG | ( | (png_voidp struct_ptr, png_free_ptr free_fn, png_voidp mem_ptr) |  | ) |

PNG_EXTERN void png_push_read_iTXt PNGARG | ( | (png_structp png_ptr, png_infop info_ptr) |  | ) |

PNG_EXTERN void png_zfree PNGARG | ( | (voidpf png_ptr, voidpf ptr) |  | ) |

PNG_EXTERN void PNGCBAPI png_default_write_data PNGARG | ( | (png_structp png_ptr, png_bytep data, png_size_t length) |  | ) |

PNG_EXTERN void PNGCBAPI png_push_fill_buffer PNGARG | ( | (png_structp png_ptr, png_bytep buffer, png_size_t length) |  | ) |

PNG_EXTERN void png_write_destroy PNGARG | ( | (png_structp png_ptr) |  | ) |

PNG_EXTERN void png_write_data PNGARG | ( | (png_structp png_ptr, png_const_bytep data, png_size_t length) |  | ) |

PNG_EXTERN void png_read_sig PNGARG | ( | (png_structp png_ptr, png_infop info_ptr) |  | ) |

PNG_EXTERN void png_write_IDAT PNGARG | ( | (png_structp png_ptr, png_bytep data, png_size_t length) |  | ) |

PNG_EXTERN void png_crc_read PNGARG | ( | (png_structp png_ptr, png_bytep buf, png_size_t length) |  | ) |

PNG_EXTERN void png_decompress_chunk PNGARG | ( | (png_structp png_ptr, int comp_type, png_size_t chunklength, png_size_t prefix_length, png_size_t *data_length) |  | ) |

PNG_EXTERN int png_crc_finish PNGARG | ( | (png_structp png_ptr, png_uint_32 skip) |  | ) |

PNG_EXTERN void png_calculate_crc PNGARG | ( | (png_structp png_ptr, png_const_bytep ptr, png_size_t length) |  | ) |

PNG_EXTERN void png_write_IHDR PNGARG | ( | (png_structp png_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int compression_method, int filter_method, int interlace_method) |  | ) |

PNG_EXTERN void png_write_PLTE PNGARG | ( | (png_structp png_ptr, png_const_colorp palette, png_uint_32 num_pal) |  | ) |

PNG_EXTERN void png_write_gAMA PNGARG | ( | (png_structp png_ptr, double file_gamma) |  | ) |

PNG_EXTERN void png_write_gAMA_fixed PNGARG | ( | (png_structp png_ptr, png_fixed_point file_gamma) |  | ) |

PNG_EXTERN void png_write_sBIT PNGARG | ( | (png_structp png_ptr, png_const_color_8p sbit, int color_type) |  | ) |

PNG_EXTERN void png_write_cHRM PNGARG | ( | (png_structp png_ptr, double white_x, double white_y, double red_x, double red_y, double green_x, double green_y, double blue_x, double blue_y) |  | ) |

PNG_EXTERN int png_check_cHRM_fixed PNGARG | ( | (png_structp png_ptr, png_fixed_point int_white_x, png_fixed_point int_white_y, png_fixed_point int_red_x, png_fixed_point int_red_y, png_fixed_point int_green_x, png_fixed_point int_green_y, png_fixed_point int_blue_x, png_fixed_point int_blue_y) |  | ) |

PNG_EXTERN void png_write_sRGB PNGARG | ( | (png_structp png_ptr, int intent) |  | ) |

PNG_EXTERN void png_write_iCCP PNGARG | ( | (png_structp png_ptr, png_const_charp name, int compression_type, png_const_charp profile, int proflen) |  | ) |

PNG_EXTERN void png_write_sPLT PNGARG | ( | (png_structp png_ptr, png_const_sPLT_tp palette) |  | ) |

PNG_EXTERN void png_write_tRNS PNGARG | ( | (png_structp png_ptr, png_const_bytep trans, png_const_color_16p values, int number, int color_type) |  | ) |

PNG_EXTERN void png_write_bKGD PNGARG | ( | (png_structp png_ptr, png_const_color_16p values, int color_type) |  | ) |

PNG_EXTERN void png_write_hIST PNGARG | ( | (png_structp png_ptr, png_const_uint_16p hist, int num_hist) |  | ) |

PNG_EXTERN png_size_t png_check_keyword PNGARG | ( | (png_structp png_ptr, png_const_charp key, png_charpp new_key) |  | ) |

PNG_EXTERN void png_write_tEXt PNGARG | ( | (png_structp png_ptr, png_const_charp key, png_const_charp text, png_size_t text_len) |  | ) |

PNG_EXTERN void png_write_zTXt PNGARG | ( | (png_structp png_ptr, png_const_charp key, png_const_charp text, png_size_t text_len, int compression) |  | ) |

PNG_EXTERN void png_write_iTXt PNGARG | ( | (png_structp png_ptr, int compression, png_const_charp key, png_const_charp lang, png_const_charp lang_key, png_const_charp text) |  | ) |

PNG_EXTERN int png_set_text_2 PNGARG | ( | (png_structp png_ptr, png_infop info_ptr, png_const_textp text_ptr, int num_text) |  | ) |

PNG_EXTERN void png_write_oFFs PNGARG | ( | (png_structp png_ptr, png_int_32 x_offset, png_int_32 y_offset, int unit_type) |  | ) |

PNG_EXTERN void png_write_pCAL PNGARG | ( | (png_structp png_ptr, png_charp purpose, png_int_32 X0, png_int_32 X1, int type, int nparams, png_const_charp units, png_charpp params) |  | ) |

PNG_EXTERN void png_write_pHYs PNGARG | ( | (png_structp png_ptr, png_uint_32 x_pixels_per_unit, png_uint_32 y_pixels_per_unit, int unit_type) |  | ) |

PNG_EXTERN void png_write_tIME PNGARG | ( | (png_structp png_ptr, png_const_timep mod_time) |  | ) |

PNG_EXTERN void png_write_sCAL_s PNGARG | ( | (png_structp png_ptr, int unit, png_const_charp width, png_const_charp height) |  | ) |

PNG_EXTERN void png_combine_row PNGARG | ( | (png_structp png_ptr, png_bytep row, int mask) |  | ) |

PNG_EXTERN void png_do_write_interlace PNGARG | ( | (png_row_infop row_info, png_bytep row, int pass) |  | ) |

PNG_EXTERN void png_read_filter_row PNGARG | ( | (png_structp png_ptr, png_row_infop row_info, png_bytep row, png_const_bytep prev_row, int filter) |  | ) |

PNG_EXTERN void png_write_find_filter PNGARG | ( | (png_structp png_ptr, png_row_infop row_info) |  | ) |

PNG_EXTERN void png_write_filtered_row PNGARG | ( | (png_structp png_ptr, png_bytep filtered_row) |  | ) |

PNG_EXTERN void png_do_read_filler PNGARG | ( | (png_row_infop row_info, png_bytep row, png_uint_32 filler, png_uint_32 flags) |  | ) |

PNG_EXTERN void png_do_write_intrapixel PNGARG | ( | (png_row_infop row_info, png_bytep row) |  | ) |

PNG_EXTERN void png_do_strip_filler PNGARG | ( | (png_row_infop row_info, png_bytep row, png_uint_32 flags) |  | ) |

PNG_EXTERN int png_do_rgb_to_gray PNGARG | ( | (png_structp png_ptr, png_row_infop row_info, png_bytep row) |  | ) |

PNG_EXTERN void png_do_unshift PNGARG | ( | (png_row_infop row_info, png_bytep row, png_const_color_8p sig_bits) |  | ) |

PNG_EXTERN void png_do_quantize PNGARG | ( | (png_row_infop row_info, png_bytep row, png_const_bytep palette_lookup, png_const_bytep quantize_lookup) |  | ) |

PNG_EXTERN void png_do_pack PNGARG | ( | (png_row_infop row_info, png_bytep row, png_uint_32 bit_depth) |  | ) |

PNG_EXTERN void png_do_shift PNGARG | ( | (png_row_infop row_info, png_bytep row, png_const_color_8p bit_depth) |  | ) |

PNG_EXTERN void png_do_background PNGARG | ( | (png_row_infop row_info, png_bytep row, png_const_color_16p trans_color, png_const_color_16p background, png_const_color_16p background_1, png_const_bytep gamma_table, png_const_bytep gamma_from_1, png_const_bytep gamma_to_1, png_const_uint_16pp gamma_16, png_const_uint_16pp gamma_16_from_1, png_const_uint_16pp gamma_16_to_1, int gamma_shift) |  | ) |

PNG_EXTERN void png_do_gamma PNGARG | ( | (png_row_infop row_info, png_bytep row, png_const_bytep gamma_table, png_const_uint_16pp gamma_16_table, int gamma_shift) |  | ) |

PNG_EXTERN void png_do_expand_palette PNGARG | ( | (png_row_infop row_info, png_bytep row, png_const_colorp palette, png_const_bytep trans, int num_trans) |  | ) |

PNG_EXTERN void png_do_expand PNGARG | ( | (png_row_infop row_info, png_bytep row, png_const_color_16p trans_color) |  | ) |

PNG_EXTERN void png_handle_zTXt PNGARG | ( | (png_structp png_ptr, png_infop info_ptr, png_uint_32 length) |  | ) |

PNG_EXTERN void png_push_handle_iTXt PNGARG | ( | (png_structp png_ptr, png_infop info_ptr, png_uint_32 length) |  | ) |

PNG_EXTERN void png_check_chunk_name PNGARG | ( | (png_structp png_ptr, png_const_bytep chunk_name) |  | ) |

PNG_EXTERN void png_push_crc_skip PNGARG | ( | (png_structp png_ptr, png_uint_32 length) |  | ) |

PNG_EXTERN void png_process_IDAT_data PNGARG | ( | (png_structp png_ptr, png_bytep buffer, png_size_t buffer_length) |  | ) |

PNG_EXTERN void png_push_handle_unknown PNGARG | ( | (png_structp png_ptr, png_infop info_ptr, png_uint_32 length) |  | ) |

PNG_EXTERN void png_push_have_end PNGARG | ( | (png_structp png_ptr, png_infop info_ptr) |  | ) |

PNG_EXTERN void png_push_have_row PNGARG | ( | (png_structp png_ptr, png_bytep row) |  | ) |

PNG_EXTERN void png_64bit_product PNGARG | ( | (long v1, long v2, unsigned long *hi_product, unsigned long *lo_product) |  | ) |

PNG_EXTERN void png_check_IHDR PNGARG | ( | (png_structp png_ptr, png_uint_32 width, png_uint_32 height, int bit_depth, int color_type, int interlace_type, int compression_type, int filter_type) |  | ) |

PNG_EXTERN void png_read_destroy PNGARG | ( | (png_structp png_ptr, png_infop info_ptr, png_infop end_info_ptr) |  | ) |

PNG_EXTERN void png_ascii_from_fp PNGARG | ( | (png_structp png_ptr, png_charp ascii, png_size_t size, double fp, unsigned int precision) |  | ) |

PNG_EXTERN void png_ascii_from_fixed PNGARG | ( | (png_structp png_ptr, png_charp ascii, png_size_t size, png_fixed_point fp) |  | ) |

PNG_EXTERN int png_check_fp_number PNGARG | ( | (png_const_charp string, png_size_t size, int *statep, png_size_tp whereami) |  | ) |

PNG_EXTERN int png_check_fp_string PNGARG | ( | (png_const_charp string, png_size_t size) |  | ) |

PNG_EXTERN int png_muldiv PNGARG | ( | (png_fixed_point_p res, png_fixed_point a, png_int_32 times, png_int_32 div) |  | ) |

PNG_EXTERN png_fixed_point png_muldiv_warn PNGARG | ( | (png_structp png_ptr, png_fixed_point a, png_int_32 times, png_int_32 div) |  | ) |

PNG_EXTERN png_fixed_point png_reciprocal PNGARG | ( | (png_fixed_point a) |  | ) |

PNG_EXTERN png_fixed_point png_reciprocal2 PNGARG | ( | (png_fixed_point a, png_fixed_point b) |  | ) |

PNG_EXTERN png_uint_16 png_gamma_correct PNGARG | ( | (png_structp png_ptr, unsigned int value, png_fixed_point gamma) |  | ) |

PNG_EXTERN int png_gamma_significant PNGARG | ( | (png_fixed_point gamma) |  | ) |

PNG_EXTERN png_byte png_gamma_8bit_correct PNGARG | ( | (unsigned int value, png_fixed_point gamma) |  | ) |

PNG_EXTERN void png_build_gamma_table PNGARG | ( | (png_structp png_ptr, int bit_depth) |  | ) |