LMMS
Loading...
Searching...
No Matches
pngpriv.h File Reference
#include <stdlib.h>
#include <string.h>
#include "pnglibconf.h"
#include "png.h"
#include <float.h>
#include <math.h>
#include "pngstruct.h"
#include "pnginfo.h"
#include "pngdebug.h"

Go to the source code of this file.

Macros

#define _POSIX_SOURCE   1 /* Just the POSIX 1003.1 and C89 APIs */
#define PNGLIB_BUILD   /*libpng is being built, not used*/
#define PNG_ARM_NEON_OPT   0
#define PNG_MIPS_MSA_OPT   0
#define PNG_POWERPC_VSX_OPT   0
#define PNG_INTEL_SSE_OPT   0
#define PNG_INTEL_SSE_IMPLEMENTATION   0
#define PNG_IMPEXP
#define PNG_DEPRECATED
#define PNG_PRIVATE
#define PNG_INTERNAL_DATA(type, name, array)
#define PNG_INTERNAL_FUNCTION(type, name, args, attributes)
#define PNG_INTERNAL_CALLBACK(type, name, args, attributes)
#define PNG_FP_EXPORT(ordinal, type, name, args)
#define PNG_FIXED_EXPORT(ordinal, type, name, args)
#define PNG_DLL_EXPORT
#define PNG_RELEASE_BUILD   (PNG_LIBPNG_BUILD_BASE_TYPE >= PNG_LIBPNG_BUILD_RC)
#define PNG_UNUSED(param)
#define PNG_WARNING_PARAMETERS(p)
#define png_fixed_error(s1, s2)
#define PNGFAPI   PNGAPI
#define png_voidcast(type, value)
#define png_constcast(type, value)
#define png_aligncast(type, value)
#define png_aligncastconst(type, value)
#define PNG_ABORT()
#define PNG_ALIGN_NONE   0 /* do not use data alignment */
#define PNG_ALIGN_ALWAYS   1 /* assume unaligned accesses are OK */
#define PNG_ALIGN_OFFSET   -1 /* prevent the use of this */
#define PNG_ALIGN_SIZE   3 /* use sizeof to determine alignment */
#define PNG_ALIGN_TYPE   PNG_ALIGN_SIZE
#define png_alignof(type)
#define png_isaligned(ptr, type)
#define PNG_HAVE_IDAT   0x04U
#define PNG_HAVE_IEND   0x10U
#define PNG_HAVE_CHUNK_HEADER   0x100U
#define PNG_WROTE_tIME   0x200U
#define PNG_WROTE_INFO_BEFORE_PLTE   0x400U
#define PNG_BACKGROUND_IS_GRAY   0x800U
#define PNG_HAVE_PNG_SIGNATURE   0x1000U
#define PNG_HAVE_CHUNK_AFTER_IDAT   0x2000U /* Have another chunk after IDAT */
#define PNG_IS_READ_STRUCT   0x8000U /* Else is a write struct */
#define PNG_BGR   0x0001U
#define PNG_INTERLACE   0x0002U
#define PNG_PACK   0x0004U
#define PNG_SHIFT   0x0008U
#define PNG_SWAP_BYTES   0x0010U
#define PNG_INVERT_MONO   0x0020U
#define PNG_QUANTIZE   0x0040U
#define PNG_COMPOSE   0x0080U /* Was PNG_BACKGROUND */
#define PNG_BACKGROUND_EXPAND   0x0100U
#define PNG_EXPAND_16   0x0200U /* Added to libpng 1.5.2 */
#define PNG_16_TO_8   0x0400U /* Becomes 'chop' in 1.5.4 */
#define PNG_RGBA   0x0800U
#define PNG_EXPAND   0x1000U
#define PNG_GAMMA   0x2000U
#define PNG_GRAY_TO_RGB   0x4000U
#define PNG_FILLER   0x8000U
#define PNG_PACKSWAP   0x10000U
#define PNG_SWAP_ALPHA   0x20000U
#define PNG_STRIP_ALPHA   0x40000U
#define PNG_INVERT_ALPHA   0x80000U
#define PNG_USER_TRANSFORM   0x100000U
#define PNG_RGB_TO_GRAY_ERR   0x200000U
#define PNG_RGB_TO_GRAY_WARN   0x400000U
#define PNG_RGB_TO_GRAY   0x600000U /* two bits, RGB_TO_GRAY_ERR|WARN */
#define PNG_ENCODE_ALPHA   0x800000U /* Added to libpng-1.5.4 */
#define PNG_ADD_ALPHA   0x1000000U /* Added to libpng-1.2.7 */
#define PNG_EXPAND_tRNS   0x2000000U /* Added to libpng-1.2.9 */
#define PNG_SCALE_16_TO_8   0x4000000U /* Added to libpng-1.5.4 */
#define PNG_STRUCT_PNG   0x0001U
#define PNG_STRUCT_INFO   0x0002U
#define PNG_FLAG_ZLIB_CUSTOM_STRATEGY   0x0001U
#define PNG_FLAG_ZSTREAM_INITIALIZED   0x0002U /* Added to libpng-1.6.0 */
#define PNG_FLAG_ZSTREAM_ENDED   0x0008U /* Added to libpng-1.6.0 */
#define PNG_FLAG_ROW_INIT   0x0040U
#define PNG_FLAG_FILLER_AFTER   0x0080U
#define PNG_FLAG_CRC_ANCILLARY_USE   0x0100U
#define PNG_FLAG_CRC_ANCILLARY_NOWARN   0x0200U
#define PNG_FLAG_CRC_CRITICAL_USE   0x0400U
#define PNG_FLAG_CRC_CRITICAL_IGNORE   0x0800U
#define PNG_FLAG_ASSUME_sRGB   0x1000U /* Added to libpng-1.5.4 */
#define PNG_FLAG_OPTIMIZE_ALPHA   0x2000U /* Added to libpng-1.5.4 */
#define PNG_FLAG_DETECT_UNINITIALIZED   0x4000U /* Added to libpng-1.5.4 */
#define PNG_FLAG_LIBRARY_MISMATCH   0x20000U
#define PNG_FLAG_STRIP_ERROR_NUMBERS   0x40000U
#define PNG_FLAG_STRIP_ERROR_TEXT   0x80000U
#define PNG_FLAG_BENIGN_ERRORS_WARN   0x100000U /* Added to libpng-1.4.0 */
#define PNG_FLAG_APP_WARNINGS_WARN   0x200000U /* Added to libpng-1.6.0 */
#define PNG_FLAG_APP_ERRORS_WARN   0x400000U /* Added to libpng-1.6.0 */
#define PNG_FLAG_CRC_ANCILLARY_MASK
#define PNG_FLAG_CRC_CRITICAL_MASK
#define PNG_FLAG_CRC_MASK
#define PNG_COLOR_DIST(c1, c2)
#define PNG_DIV65535(v24)
#define PNG_DIV257(v16)
#define PNG_ROWBYTES(pixel_bits, width)
#define PNG_TRAILBITS(pixel_bits, width)
#define PNG_PADBITS(pixel_bits, width)
#define PNG_OUT_OF_RANGE(value, ideal, delta)
#define png_float(png_ptr, fixed, s)
#define PNG_32b(b, s)
#define PNG_U32(b1, b2, b3, b4)
#define png_IDAT   PNG_U32( 73, 68, 65, 84)
#define png_IEND   PNG_U32( 73, 69, 78, 68)
#define png_IHDR   PNG_U32( 73, 72, 68, 82)
#define png_PLTE   PNG_U32( 80, 76, 84, 69)
#define png_bKGD   PNG_U32( 98, 75, 71, 68)
#define png_cHRM   PNG_U32( 99, 72, 82, 77)
#define png_eXIf   PNG_U32(101, 88, 73, 102) /* registered July 2017 */
#define png_fRAc   PNG_U32(102, 82, 65, 99) /* registered, not defined */
#define png_gAMA   PNG_U32(103, 65, 77, 65)
#define png_gIFg   PNG_U32(103, 73, 70, 103)
#define png_gIFt   PNG_U32(103, 73, 70, 116) /* deprecated */
#define png_gIFx   PNG_U32(103, 73, 70, 120)
#define png_hIST   PNG_U32(104, 73, 83, 84)
#define png_iCCP   PNG_U32(105, 67, 67, 80)
#define png_iTXt   PNG_U32(105, 84, 88, 116)
#define png_oFFs   PNG_U32(111, 70, 70, 115)
#define png_pCAL   PNG_U32(112, 67, 65, 76)
#define png_pHYs   PNG_U32(112, 72, 89, 115)
#define png_sBIT   PNG_U32(115, 66, 73, 84)
#define png_sCAL   PNG_U32(115, 67, 65, 76)
#define png_sPLT   PNG_U32(115, 80, 76, 84)
#define png_sRGB   PNG_U32(115, 82, 71, 66)
#define png_sTER   PNG_U32(115, 84, 69, 82)
#define png_tEXt   PNG_U32(116, 69, 88, 116)
#define png_tIME   PNG_U32(116, 73, 77, 69)
#define png_tRNS   PNG_U32(116, 82, 78, 83)
#define png_zTXt   PNG_U32(122, 84, 88, 116)
#define PNG_CHUNK_FROM_STRING(s)
#define PNG_STRING_FROM_CHUNK(s, c)
#define PNG_CSTRING_FROM_CHUNK(s, c)
#define PNG_CHUNK_ANCILLARY(c)
#define PNG_CHUNK_CRITICAL(c)
#define PNG_CHUNK_PRIVATE(c)
#define PNG_CHUNK_RESERVED(c)
#define PNG_CHUNK_SAFE_TO_COPY(c)
#define PNG_GAMMA_MAC_OLD   151724 /* Assume '1.8' is really 2.2/1.45! */
#define PNG_GAMMA_MAC_INVERSE   65909
#define PNG_GAMMA_sRGB_INVERSE   45455
#define PNG_UNEXPECTED_ZLIB_RETURN   (-7)
#define PNG_USE_COMPILE_TIME_MASKS   1
#define PNG_INFLATE(pp, flush)
#define PNG_FORMAT_NUMBER(buffer, format, number)
#define PNG_NUMBER_BUFFER_SIZE   24
#define PNG_NUMBER_FORMAT_u   1 /* chose unsigned API! */
#define PNG_NUMBER_FORMAT_02u   2
#define PNG_NUMBER_FORMAT_d   1 /* chose signed API! */
#define PNG_NUMBER_FORMAT_02d   2
#define PNG_NUMBER_FORMAT_x   3
#define PNG_NUMBER_FORMAT_02x   4
#define PNG_NUMBER_FORMAT_fixed   5 /* choose the signed API */
#define PNG_WARNING_PARAMETER_SIZE   32
#define PNG_WARNING_PARAMETER_COUNT   8 /* Maximum 9; see pngerror.c */
#define PNG_CHUNK_WARNING   0 /* never an error */
#define PNG_CHUNK_WRITE_ERROR   1 /* an error only on write */
#define PNG_CHUNK_ERROR   2 /* always an error */
#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_NEGATIVE   128 /* A negative number, including "-0" */
#define PNG_FP_NONZERO   256 /* A non-zero value */
#define PNG_FP_STICKY   448 /* The above three flags */
#define PNG_FP_INVALID   512 /* 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 */
#define PNG_FP_NZ_MASK   (PNG_FP_SAW_DIGIT | PNG_FP_NEGATIVE | PNG_FP_NONZERO)
#define PNG_FP_Z_MASK   (PNG_FP_SAW_DIGIT | PNG_FP_NONZERO)
#define PNG_FP_IS_ZERO(state)
#define PNG_FP_IS_POSITIVE(state)
#define PNG_FP_IS_NEGATIVE(state)

Typedefs

typedef struct png_incomplete png_double
typedef png_doublepng_doublep
typedef const png_doublepng_const_doublep
typedef png_double ** png_doublepp
typedef const png_uint_16ppng_const_uint_16pp

Functions

 PNG_INTERNAL_FUNCTION (void, png_zstream_error,(png_structrp png_ptr, int ret), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_free_buffer_list,(png_structrp png_ptr, png_compression_bufferp *list), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (png_fixed_point, png_fixed,(png_const_structrp png_ptr, double fp, png_const_charp text), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (int, png_user_version_check,(png_structrp png_ptr, png_const_charp user_png_ver), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (png_voidp, png_malloc_base,(png_const_structrp png_ptr, png_alloc_size_t size), PNG_ALLOCATED)
 PNG_INTERNAL_FUNCTION (png_voidp, png_malloc_array,(png_const_structrp png_ptr, int nelements, size_t element_size), PNG_ALLOCATED)
 PNG_INTERNAL_FUNCTION (png_voidp, png_realloc_array,(png_const_structrp png_ptr, png_const_voidp array, int old_elements, int add_elements, size_t element_size), PNG_ALLOCATED)
 PNG_INTERNAL_FUNCTION (png_structp, png_create_png_struct,(png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn, png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn), PNG_ALLOCATED)
 PNG_INTERNAL_FUNCTION (void, png_destroy_png_struct,(png_structrp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_free_jmpbuf,(png_structrp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (voidpf, png_zalloc,(voidpf png_ptr, uInt items, uInt size), PNG_ALLOCATED)
 PNG_INTERNAL_FUNCTION (void, png_zfree,(voidpf png_ptr, voidpf ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void PNGCBAPI, png_default_read_data,(png_structp png_ptr, png_bytep data, size_t length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void PNGCBAPI, png_push_fill_buffer,(png_structp png_ptr, png_bytep buffer, size_t length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void PNGCBAPI, png_default_write_data,(png_structp png_ptr, png_bytep data, size_t length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void PNGCBAPI, png_default_flush,(png_structp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_reset_crc,(png_structrp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_data,(png_structrp png_ptr, png_const_bytep data, size_t length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_read_sig,(png_structrp png_ptr, png_inforp info_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (png_uint_32, png_read_chunk_header,(png_structrp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_read_data,(png_structrp png_ptr, png_bytep data, size_t length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_crc_read,(png_structrp png_ptr, png_bytep buf, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (int, png_crc_finish,(png_structrp png_ptr, png_uint_32 skip), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (int, png_crc_error,(png_structrp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_calculate_crc,(png_structrp png_ptr, png_const_bytep ptr, size_t length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_flush,(png_structrp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_IHDR,(png_structrp 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_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_PLTE,(png_structrp png_ptr, png_const_colorp palette, png_uint_32 num_pal), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_compress_IDAT,(png_structrp png_ptr, png_const_bytep row_data, png_alloc_size_t row_data_length, int flush), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_IEND,(png_structrp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_gAMA_fixed,(png_structrp png_ptr, png_fixed_point file_gamma), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_sBIT,(png_structrp png_ptr, png_const_color_8p sbit, int color_type), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_cHRM_fixed,(png_structrp png_ptr, const png_xy *xy), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_sRGB,(png_structrp png_ptr, int intent), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_iCCP,(png_structrp png_ptr, png_const_charp name, png_const_bytep profile), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_sPLT,(png_structrp png_ptr, png_const_sPLT_tp palette), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_tRNS,(png_structrp png_ptr, png_const_bytep trans, png_const_color_16p values, int number, int color_type), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_bKGD,(png_structrp png_ptr, png_const_color_16p values, int color_type), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_hIST,(png_structrp png_ptr, png_const_uint_16p hist, int num_hist), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_tEXt,(png_structrp png_ptr, png_const_charp key, png_const_charp text, size_t text_len), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_zTXt,(png_structrp png_ptr, png_const_charp key, png_const_charp text, int compression), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_iTXt,(png_structrp png_ptr, int compression, png_const_charp key, png_const_charp lang, png_const_charp lang_key, png_const_charp text), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (int, png_set_text_2,(png_const_structrp png_ptr, png_inforp info_ptr, png_const_textp text_ptr, int num_text), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_oFFs,(png_structrp png_ptr, png_int_32 x_offset, png_int_32 y_offset, int unit_type), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_pCAL,(png_structrp 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_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_pHYs,(png_structrp png_ptr, png_uint_32 x_pixels_per_unit, png_uint_32 y_pixels_per_unit, int unit_type), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_tIME,(png_structrp png_ptr, png_const_timep mod_time), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_sCAL_s,(png_structrp png_ptr, int unit, png_const_charp width, png_const_charp height), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_finish_row,(png_structrp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_start_row,(png_structrp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_combine_row,(png_const_structrp png_ptr, png_bytep row, int display), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_do_read_interlace,(png_row_infop row_info, png_bytep row, int pass, png_uint_32 transformations), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_do_write_interlace,(png_row_infop row_info, png_bytep row, int pass), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_read_filter_row,(png_structrp pp, png_row_infop row_info, png_bytep row, png_const_bytep prev_row, int filter), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_write_find_filter,(png_structrp png_ptr, png_row_infop row_info), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_read_IDAT_data,(png_structrp png_ptr, png_bytep output, png_alloc_size_t avail_out), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_read_finish_IDAT,(png_structrp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_read_finish_row,(png_structrp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_read_start_row,(png_structrp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_read_transform_info,(png_structrp png_ptr, png_inforp info_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_do_strip_channel,(png_row_infop row_info, png_bytep row, int at_start), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_do_swap,(png_row_infop row_info, png_bytep row), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_do_packswap,(png_row_infop row_info, png_bytep row), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_do_invert,(png_row_infop row_info, png_bytep row), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_do_bgr,(png_row_infop row_info, png_bytep row), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_IHDR,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_PLTE,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_IEND,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_bKGD,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_cHRM,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_gAMA,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_hIST,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_iCCP,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_iTXt,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_oFFs,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_pCAL,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_pHYs,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_sBIT,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_sCAL,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_sPLT,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_sRGB,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_tEXt,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_tIME,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_tRNS,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_zTXt,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_check_chunk_name,(png_const_structrp png_ptr, png_uint_32 chunk_name), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_check_chunk_length,(png_const_structrp png_ptr, png_uint_32 chunk_length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_handle_unknown,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length, int keep), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (int, png_chunk_unknown_handling,(png_const_structrp png_ptr, png_uint_32 chunk_name), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_do_read_transformations,(png_structrp png_ptr, png_row_infop row_info), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_do_write_transformations,(png_structrp png_ptr, png_row_infop row_info), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_init_read_transformations,(png_structrp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_push_read_chunk,(png_structrp png_ptr, png_inforp info_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_push_read_sig,(png_structrp png_ptr, png_inforp info_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_push_check_crc,(png_structrp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_push_save_buffer,(png_structrp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_push_restore_buffer,(png_structrp png_ptr, png_bytep buffer, size_t buffer_length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_push_read_IDAT,(png_structrp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_process_IDAT_data,(png_structrp png_ptr, png_bytep buffer, size_t buffer_length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_push_process_row,(png_structrp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_push_handle_unknown,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_push_have_info,(png_structrp png_ptr, png_inforp info_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_push_have_end,(png_structrp png_ptr, png_inforp info_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_push_have_row,(png_structrp png_ptr, png_bytep row), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_push_read_end,(png_structrp png_ptr, png_inforp info_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_process_some_data,(png_structrp png_ptr, png_inforp info_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_read_push_finish_row,(png_structrp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_push_handle_tEXt,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_push_read_tEXt,(png_structrp png_ptr, png_inforp info_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_push_handle_zTXt,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_push_read_zTXt,(png_structrp png_ptr, png_inforp info_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_push_handle_iTXt,(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_push_read_iTXt,(png_structrp png_ptr, png_inforp info_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_colorspace_set_gamma,(png_const_structrp png_ptr, png_colorspacerp colorspace, png_fixed_point gAMA), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_colorspace_sync_info,(png_const_structrp png_ptr, png_inforp info_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_colorspace_sync,(png_const_structrp png_ptr, png_inforp info_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (int, png_colorspace_set_chromaticities,(png_const_structrp png_ptr, png_colorspacerp colorspace, const png_xy *xy, int preferred), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (int, png_colorspace_set_endpoints,(png_const_structrp png_ptr, png_colorspacerp colorspace, const png_XYZ *XYZ, int preferred), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (int, png_colorspace_set_sRGB,(png_const_structrp png_ptr, png_colorspacerp colorspace, int intent), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (int, png_colorspace_set_ICC,(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length, png_const_bytep profile, int color_type), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (int, png_icc_check_length,(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (int, png_icc_check_header,(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length, png_const_bytep profile, int color_type), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (int, png_icc_check_tag_table,(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length, png_const_bytep profile), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_icc_set_sRGB,(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_bytep profile, uLong adler), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_colorspace_set_rgb_coefficients,(png_structrp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_check_IHDR,(png_const_structrp 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_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_do_check_palette_indexes,(png_structrp png_ptr, png_row_infop row_info), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (size_t, png_safecat,(png_charp buffer, size_t bufsize, size_t pos, png_const_charp string), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (png_charp, png_format_number,(png_const_charp start, png_charp end, int format, png_alloc_size_t number), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_warning_parameter,(png_warning_parameters p, int number, png_const_charp string), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_warning_parameter_unsigned,(png_warning_parameters p, int number, int format, png_alloc_size_t value), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_warning_parameter_signed,(png_warning_parameters p, int number, int format, png_int_32 value), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_formatted_warning,(png_const_structrp png_ptr, png_warning_parameters p, png_const_charp message), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_app_warning,(png_const_structrp png_ptr, png_const_charp message), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_app_error,(png_const_structrp png_ptr, png_const_charp message), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_chunk_report,(png_const_structrp png_ptr, png_const_charp message, int error), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_ascii_from_fp,(png_const_structrp png_ptr, png_charp ascii, size_t size, double fp, unsigned int precision), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_ascii_from_fixed,(png_const_structrp png_ptr, png_charp ascii, size_t size, png_fixed_point fp), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (int, png_check_fp_number,(png_const_charp string, size_t size, int *statep, png_size_tp whereami), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (int, png_check_fp_string,(png_const_charp string, size_t size), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (int, png_muldiv,(png_fixed_point_p res, png_fixed_point a, png_int_32 multiplied_by, png_int_32 divided_by), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (png_fixed_point, png_muldiv_warn,(png_const_structrp png_ptr, png_fixed_point a, png_int_32 multiplied_by, png_int_32 divided_by), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (png_fixed_point, png_reciprocal,(png_fixed_point a), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (png_fixed_point, png_reciprocal2,(png_fixed_point a, png_fixed_point b), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (int, png_gamma_significant,(png_fixed_point gamma_value), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (png_uint_16, png_gamma_correct,(png_structrp png_ptr, unsigned int value, png_fixed_point gamma_value), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (png_uint_16, png_gamma_16bit_correct,(unsigned int value, png_fixed_point gamma_value), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (png_byte, png_gamma_8bit_correct,(unsigned int value, png_fixed_point gamma_value), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_destroy_gamma_table,(png_structrp png_ptr), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (void, png_build_gamma_table,(png_structrp png_ptr, int bit_depth), PNG_EMPTY)
 PNG_INTERNAL_FUNCTION (png_uint_32, png_check_keyword,(png_structrp png_ptr, png_const_charp key, png_bytep new_key), PNG_EMPTY)

Macro Definition Documentation

◆ _POSIX_SOURCE

#define _POSIX_SOURCE   1 /* Just the POSIX 1003.1 and C89 APIs */

◆ PNG_16_TO_8

#define PNG_16_TO_8   0x0400U /* Becomes 'chop' in 1.5.4 */

◆ PNG_32b

#define PNG_32b ( b,
s )
Value:
((png_uint_32)(b) << (s))
unsigned s
Definition inflate.c:1555
png_uint_32
Definition png.h:1938
b
Definition crypt.c:628

◆ PNG_ABORT

#define PNG_ABORT ( )
Value:
abort()

◆ PNG_ADD_ALPHA

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

◆ PNG_ALIGN_ALWAYS

#define PNG_ALIGN_ALWAYS   1 /* assume unaligned accesses are OK */

◆ PNG_ALIGN_NONE

#define PNG_ALIGN_NONE   0 /* do not use data alignment */

◆ PNG_ALIGN_OFFSET

#define PNG_ALIGN_OFFSET   -1 /* prevent the use of this */

◆ PNG_ALIGN_SIZE

#define PNG_ALIGN_SIZE   3 /* use sizeof to determine alignment */

◆ PNG_ALIGN_TYPE

#define PNG_ALIGN_TYPE   PNG_ALIGN_SIZE

◆ png_aligncast

#define png_aligncast ( type,
value )
Value:
((void*)(value))
static PuglViewHint int value
Definition pugl.h:1708

◆ png_aligncastconst

#define png_aligncastconst ( type,
value )
Value:
((const void*)(value))

◆ png_alignof

#define png_alignof ( type)
Value:
(sizeof (type))
CAdPlugDatabase::CRecord::RecordType type
Definition adplugdb.cpp:93

◆ PNG_ARM_NEON_OPT

#define PNG_ARM_NEON_OPT   0

◆ PNG_BACKGROUND_EXPAND

#define PNG_BACKGROUND_EXPAND   0x0100U

◆ PNG_BACKGROUND_IS_GRAY

#define PNG_BACKGROUND_IS_GRAY   0x800U

◆ PNG_BGR

#define PNG_BGR   0x0001U

◆ png_bKGD

#define png_bKGD   PNG_U32( 98, 75, 71, 68)

◆ png_cHRM

#define png_cHRM   PNG_U32( 99, 72, 82, 77)

◆ PNG_CHUNK_ANCILLARY

#define PNG_CHUNK_ANCILLARY ( c)
Value:
(1 & ((c) >> 29))
return c
Definition crypt.c:175

◆ PNG_CHUNK_CRITICAL

#define PNG_CHUNK_CRITICAL ( c)
Value:
#define PNG_CHUNK_ANCILLARY(c)

◆ PNG_CHUNK_ERROR

#define PNG_CHUNK_ERROR   2 /* always an error */

◆ PNG_CHUNK_FROM_STRING

#define PNG_CHUNK_FROM_STRING ( s)
Value:
PNG_U32(0xff & (s)[0], 0xff & (s)[1], 0xff & (s)[2], 0xff & (s)[3])
#define PNG_U32(b1, b2, b3, b4)

◆ PNG_CHUNK_PRIVATE

#define PNG_CHUNK_PRIVATE ( c)
Value:
(1 & ((c) >> 21))

◆ PNG_CHUNK_RESERVED

#define PNG_CHUNK_RESERVED ( c)
Value:
(1 & ((c) >> 13))

◆ PNG_CHUNK_SAFE_TO_COPY

#define PNG_CHUNK_SAFE_TO_COPY ( c)
Value:
(1 & ((c) >> 5))

◆ PNG_CHUNK_WARNING

#define PNG_CHUNK_WARNING   0 /* never an error */

◆ PNG_CHUNK_WRITE_ERROR

#define PNG_CHUNK_WRITE_ERROR   1 /* an error only on write */

◆ PNG_COLOR_DIST

#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)))
float abs(const fft_t *freqs, off_t x)
Definition OscilGen.cpp:52
static void c2(register WDL_FFT_COMPLEX *a)
Definition fft.c:270
png_structrp int png_fixed_point red
Definition png.h:1083

◆ PNG_COMPOSE

#define PNG_COMPOSE   0x0080U /* Was PNG_BACKGROUND */

◆ png_constcast

#define png_constcast ( type,
value )
Value:
((type)(png_ptruint)(const void*)(value))

◆ PNG_CSTRING_FROM_CHUNK

#define PNG_CSTRING_FROM_CHUNK ( s,
c )
Value:
(void)(PNG_STRING_FROM_CHUNK(s,c), ((char*)(s))[4] = 0)
#define PNG_STRING_FROM_CHUNK(s, c)
#define void
Definition unzip.h:396

◆ PNG_DEPRECATED

#define PNG_DEPRECATED

◆ PNG_DIV257

#define PNG_DIV257 ( v16)
Value:
#define PNG_DIV65535(v24)

◆ PNG_DIV65535

#define PNG_DIV65535 ( v24)
Value:
(((v24) + 32895) >> 16)

◆ PNG_DLL_EXPORT

#define PNG_DLL_EXPORT

◆ PNG_ENCODE_ALPHA

#define PNG_ENCODE_ALPHA   0x800000U /* Added to libpng-1.5.4 */

◆ png_eXIf

#define png_eXIf   PNG_U32(101, 88, 73, 102) /* registered July 2017 */

◆ PNG_EXPAND

#define PNG_EXPAND   0x1000U

◆ PNG_EXPAND_16

#define PNG_EXPAND_16   0x0200U /* Added to libpng 1.5.2 */

◆ PNG_EXPAND_tRNS

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

◆ PNG_FILLER

#define PNG_FILLER   0x8000U

◆ png_fixed_error

#define png_fixed_error ( s1,
s2 )
Value:
png_err(s1)

◆ PNG_FIXED_EXPORT

#define PNG_FIXED_EXPORT ( ordinal,
type,
name,
args )
Value:
static const char * name
Definition pugl.h:1582
#define PNG_EMPTY
#define PNG_INTERNAL_FUNCTION(type, name, args, attributes)

◆ PNG_FLAG_APP_ERRORS_WARN

#define PNG_FLAG_APP_ERRORS_WARN   0x400000U /* Added to libpng-1.6.0 */

◆ PNG_FLAG_APP_WARNINGS_WARN

#define PNG_FLAG_APP_WARNINGS_WARN   0x200000U /* Added to libpng-1.6.0 */

◆ PNG_FLAG_ASSUME_sRGB

#define PNG_FLAG_ASSUME_sRGB   0x1000U /* Added to libpng-1.5.4 */

◆ PNG_FLAG_BENIGN_ERRORS_WARN

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

◆ PNG_FLAG_CRC_ANCILLARY_MASK

#define PNG_FLAG_CRC_ANCILLARY_MASK
Value:
#define PNG_FLAG_CRC_ANCILLARY_USE
#define PNG_FLAG_CRC_ANCILLARY_NOWARN

◆ PNG_FLAG_CRC_ANCILLARY_NOWARN

#define PNG_FLAG_CRC_ANCILLARY_NOWARN   0x0200U

◆ PNG_FLAG_CRC_ANCILLARY_USE

#define PNG_FLAG_CRC_ANCILLARY_USE   0x0100U

◆ PNG_FLAG_CRC_CRITICAL_IGNORE

#define PNG_FLAG_CRC_CRITICAL_IGNORE   0x0800U

◆ PNG_FLAG_CRC_CRITICAL_MASK

#define PNG_FLAG_CRC_CRITICAL_MASK
Value:
#define PNG_FLAG_CRC_CRITICAL_USE
#define PNG_FLAG_CRC_CRITICAL_IGNORE

◆ PNG_FLAG_CRC_CRITICAL_USE

#define PNG_FLAG_CRC_CRITICAL_USE   0x0400U

◆ PNG_FLAG_CRC_MASK

#define PNG_FLAG_CRC_MASK
Value:
#define PNG_FLAG_CRC_CRITICAL_MASK
#define PNG_FLAG_CRC_ANCILLARY_MASK

◆ PNG_FLAG_DETECT_UNINITIALIZED

#define PNG_FLAG_DETECT_UNINITIALIZED   0x4000U /* Added to libpng-1.5.4 */

◆ PNG_FLAG_FILLER_AFTER

#define PNG_FLAG_FILLER_AFTER   0x0080U

◆ PNG_FLAG_LIBRARY_MISMATCH

#define PNG_FLAG_LIBRARY_MISMATCH   0x20000U

◆ PNG_FLAG_OPTIMIZE_ALPHA

#define PNG_FLAG_OPTIMIZE_ALPHA   0x2000U /* Added to libpng-1.5.4 */

◆ PNG_FLAG_ROW_INIT

#define PNG_FLAG_ROW_INIT   0x0040U

◆ PNG_FLAG_STRIP_ERROR_NUMBERS

#define PNG_FLAG_STRIP_ERROR_NUMBERS   0x40000U

◆ PNG_FLAG_STRIP_ERROR_TEXT

#define PNG_FLAG_STRIP_ERROR_TEXT   0x80000U

◆ PNG_FLAG_ZLIB_CUSTOM_STRATEGY

#define PNG_FLAG_ZLIB_CUSTOM_STRATEGY   0x0001U

◆ PNG_FLAG_ZSTREAM_ENDED

#define PNG_FLAG_ZSTREAM_ENDED   0x0008U /* Added to libpng-1.6.0 */

◆ PNG_FLAG_ZSTREAM_INITIALIZED

#define PNG_FLAG_ZSTREAM_INITIALIZED   0x0002U /* Added to libpng-1.6.0 */

◆ png_float

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

◆ PNG_FORMAT_NUMBER

#define PNG_FORMAT_NUMBER ( buffer,
format,
number )
Value:
png_format_number(buffer, buffer + (sizeof buffer), format, number)
png_charp png_format_number(png_const_charp start, png_charp end, int format, png_alloc_size_t number)
Definition pngerror.c:133
_WDL_CSTRING_PREFIX void INT_PTR const char * format
Definition wdlcstring.h:263

◆ PNG_FP_EXPONENT

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

◆ PNG_FP_EXPORT

#define PNG_FP_EXPORT ( ordinal,
type,
name,
args )

◆ PNG_FP_FRACTION

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

◆ PNG_FP_INTEGER

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

◆ PNG_FP_INVALID

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

◆ PNG_FP_IS_NEGATIVE

#define PNG_FP_IS_NEGATIVE ( state)
Value:
#define PNG_FP_NZ_MASK

◆ PNG_FP_IS_POSITIVE

#define PNG_FP_IS_POSITIVE ( state)
Value:
(((state) & PNG_FP_NZ_MASK) == PNG_FP_Z_MASK)
#define PNG_FP_Z_MASK

◆ PNG_FP_IS_ZERO

#define PNG_FP_IS_ZERO ( state)
Value:
#define PNG_FP_SAW_DIGIT

◆ PNG_FP_MAYBE

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

◆ PNG_FP_NEGATIVE

#define PNG_FP_NEGATIVE   128 /* A negative number, including "-0" */

◆ PNG_FP_NONZERO

#define PNG_FP_NONZERO   256 /* A non-zero value */

◆ PNG_FP_NZ_MASK

#define PNG_FP_NZ_MASK   (PNG_FP_SAW_DIGIT | PNG_FP_NEGATIVE | PNG_FP_NONZERO)

◆ PNG_FP_OK

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

◆ PNG_FP_SAW_ANY

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

◆ PNG_FP_SAW_DIGIT

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

◆ PNG_FP_SAW_DOT

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

◆ PNG_FP_SAW_E

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

◆ PNG_FP_SAW_SIGN

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

◆ PNG_FP_STATE

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

◆ PNG_FP_STICKY

#define PNG_FP_STICKY   448 /* The above three flags */

◆ PNG_FP_WAS_VALID

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

◆ PNG_FP_Z_MASK

#define PNG_FP_Z_MASK   (PNG_FP_SAW_DIGIT | PNG_FP_NONZERO)

◆ png_fRAc

#define png_fRAc   PNG_U32(102, 82, 65, 99) /* registered, not defined */

◆ png_gAMA

#define png_gAMA   PNG_U32(103, 65, 77, 65)

◆ PNG_GAMMA

#define PNG_GAMMA   0x2000U

◆ PNG_GAMMA_MAC_INVERSE

#define PNG_GAMMA_MAC_INVERSE   65909

◆ PNG_GAMMA_MAC_OLD

#define PNG_GAMMA_MAC_OLD   151724 /* Assume '1.8' is really 2.2/1.45! */

◆ PNG_GAMMA_sRGB_INVERSE

#define PNG_GAMMA_sRGB_INVERSE   45455

◆ png_gIFg

#define png_gIFg   PNG_U32(103, 73, 70, 103)

◆ png_gIFt

#define png_gIFt   PNG_U32(103, 73, 70, 116) /* deprecated */

◆ png_gIFx

#define png_gIFx   PNG_U32(103, 73, 70, 120)

◆ PNG_GRAY_TO_RGB

#define PNG_GRAY_TO_RGB   0x4000U

◆ PNG_HAVE_CHUNK_AFTER_IDAT

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

◆ PNG_HAVE_CHUNK_HEADER

#define PNG_HAVE_CHUNK_HEADER   0x100U

◆ PNG_HAVE_IDAT

#define PNG_HAVE_IDAT   0x04U

◆ PNG_HAVE_IEND

#define PNG_HAVE_IEND   0x10U

◆ PNG_HAVE_PNG_SIGNATURE

#define PNG_HAVE_PNG_SIGNATURE   0x1000U

◆ png_hIST

#define png_hIST   PNG_U32(104, 73, 83, 84)

◆ png_iCCP

#define png_iCCP   PNG_U32(105, 67, 67, 80)

◆ png_IDAT

#define png_IDAT   PNG_U32( 73, 68, 65, 84)

◆ png_IEND

#define png_IEND   PNG_U32( 73, 69, 78, 68)

◆ png_IHDR

#define png_IHDR   PNG_U32( 73, 72, 68, 82)

◆ PNG_IMPEXP

#define PNG_IMPEXP

◆ PNG_INFLATE

#define PNG_INFLATE ( pp,
flush )
Value:
inflate(&(pp)->zstream, flush)
int flush(__G__ rawbuf, size, unshrink) __GDEF uch *rawbuf
char * pp
Definition unix.c:513
#define inflate
Definition zconf.h:29

◆ PNG_INTEL_SSE_IMPLEMENTATION

#define PNG_INTEL_SSE_IMPLEMENTATION   0

◆ PNG_INTEL_SSE_OPT

#define PNG_INTEL_SSE_OPT   0

◆ PNG_INTERLACE

#define PNG_INTERLACE   0x0002U

◆ PNG_INTERNAL_CALLBACK

#define PNG_INTERNAL_CALLBACK ( type,
name,
args,
attributes )
Value:
PNG_LINKAGE_CALLBACK PNG_FUNCTION(type, (PNGCBAPI name), args,\
PNG_EMPTY attributes)
#define PNG_FUNCTION(type, name, args, attributes)
#define PNGCBAPI

◆ PNG_INTERNAL_DATA

#define PNG_INTERNAL_DATA ( type,
name,
array )
Value:
PNG_LINKAGE_DATA type name array

◆ PNG_INTERNAL_FUNCTION

#define PNG_INTERNAL_FUNCTION ( type,
name,
args,
attributes )
Value:
#define PNG_LINKAGE_FUNCTION
Definition juce_PNGLoader.cpp:265

◆ PNG_INVERT_ALPHA

#define PNG_INVERT_ALPHA   0x80000U

◆ PNG_INVERT_MONO

#define PNG_INVERT_MONO   0x0020U

◆ PNG_IS_READ_STRUCT

#define PNG_IS_READ_STRUCT   0x8000U /* Else is a write struct */

◆ png_isaligned

#define png_isaligned ( ptr,
type )
Value:
(((type)((const char*)ptr-(const char*)0) & \
(type)(png_alignof(type)-1)) == 0)
#define png_alignof(type)

◆ png_iTXt

#define png_iTXt   PNG_U32(105, 84, 88, 116)

◆ PNG_MIPS_MSA_OPT

#define PNG_MIPS_MSA_OPT   0

◆ PNG_NUMBER_BUFFER_SIZE

#define PNG_NUMBER_BUFFER_SIZE   24

◆ PNG_NUMBER_FORMAT_02d

#define PNG_NUMBER_FORMAT_02d   2

◆ PNG_NUMBER_FORMAT_02u

#define PNG_NUMBER_FORMAT_02u   2

◆ PNG_NUMBER_FORMAT_02x

#define PNG_NUMBER_FORMAT_02x   4

◆ PNG_NUMBER_FORMAT_d

#define PNG_NUMBER_FORMAT_d   1 /* chose signed API! */

◆ PNG_NUMBER_FORMAT_fixed

#define PNG_NUMBER_FORMAT_fixed   5 /* choose the signed API */

◆ PNG_NUMBER_FORMAT_u

#define PNG_NUMBER_FORMAT_u   1 /* chose unsigned API! */

◆ PNG_NUMBER_FORMAT_x

#define PNG_NUMBER_FORMAT_x   3

◆ png_oFFs

#define png_oFFs   PNG_U32(111, 70, 70, 115)

◆ PNG_OUT_OF_RANGE

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

◆ PNG_PACK

#define PNG_PACK   0x0004U

◆ PNG_PACKSWAP

#define PNG_PACKSWAP   0x10000U

◆ PNG_PADBITS

#define PNG_PADBITS ( pixel_bits,
width )
Value:
((8 - PNG_TRAILBITS(pixel_bits, width)) % 8)
static int width
Definition pugl.h:1593
#define PNG_TRAILBITS(pixel_bits, width)

◆ png_pCAL

#define png_pCAL   PNG_U32(112, 67, 65, 76)

◆ png_pHYs

#define png_pHYs   PNG_U32(112, 72, 89, 115)

◆ png_PLTE

#define png_PLTE   PNG_U32( 80, 76, 84, 69)

◆ PNG_POWERPC_VSX_OPT

#define PNG_POWERPC_VSX_OPT   0

◆ PNG_PRIVATE

#define PNG_PRIVATE

◆ PNG_QUANTIZE

#define PNG_QUANTIZE   0x0040U

◆ PNG_RELEASE_BUILD

#define PNG_RELEASE_BUILD   (PNG_LIBPNG_BUILD_BASE_TYPE >= PNG_LIBPNG_BUILD_RC)

◆ PNG_RGB_TO_GRAY

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

◆ PNG_RGB_TO_GRAY_ERR

#define PNG_RGB_TO_GRAY_ERR   0x200000U

◆ PNG_RGB_TO_GRAY_WARN

#define PNG_RGB_TO_GRAY_WARN   0x400000U

◆ PNG_RGBA

#define PNG_RGBA   0x0800U

◆ PNG_ROWBYTES

#define PNG_ROWBYTES ( pixel_bits,
width )
Value:
((pixel_bits) >= 8 ? \
((size_t)(width) * (((size_t)(pixel_bits)) >> 3)) : \
(( ((size_t)(width) * ((size_t)(pixel_bits))) + 7) >> 3) )

◆ png_sBIT

#define png_sBIT   PNG_U32(115, 66, 73, 84)

◆ png_sCAL

#define png_sCAL   PNG_U32(115, 67, 65, 76)

◆ PNG_sCAL_MAX_DIGITS

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

◆ PNG_SCALE_16_TO_8

#define PNG_SCALE_16_TO_8   0x4000000U /* Added to libpng-1.5.4 */

◆ PNG_SHIFT

#define PNG_SHIFT   0x0008U

◆ png_sPLT

#define png_sPLT   PNG_U32(115, 80, 76, 84)

◆ png_sRGB

#define png_sRGB   PNG_U32(115, 82, 71, 66)

◆ png_sTER

#define png_sTER   PNG_U32(115, 84, 69, 82)

◆ PNG_STRING_FROM_CHUNK

#define PNG_STRING_FROM_CHUNK ( s,
c )
Value:
(void)(((char*)(s))[0]=(char)(((c)>>24) & 0xff), \
((char*)(s))[1]=(char)(((c)>>16) & 0xff),\
((char*)(s))[2]=(char)(((c)>>8) & 0xff), \
((char*)(s))[3]=(char)((c & 0xff)))

◆ PNG_STRIP_ALPHA

#define PNG_STRIP_ALPHA   0x40000U

◆ PNG_STRUCT_INFO

#define PNG_STRUCT_INFO   0x0002U

◆ PNG_STRUCT_PNG

#define PNG_STRUCT_PNG   0x0001U

◆ PNG_SWAP_ALPHA

#define PNG_SWAP_ALPHA   0x20000U

◆ PNG_SWAP_BYTES

#define PNG_SWAP_BYTES   0x0010U

◆ png_tEXt

#define png_tEXt   PNG_U32(116, 69, 88, 116)

◆ png_tIME

#define png_tIME   PNG_U32(116, 73, 77, 69)

◆ PNG_TRAILBITS

#define PNG_TRAILBITS ( pixel_bits,
width )
Value:
(((pixel_bits) * ((width) % (png_uint_32)8)) % 8)

◆ png_tRNS

#define png_tRNS   PNG_U32(116, 82, 78, 83)

◆ PNG_U32

#define PNG_U32 ( b1,
b2,
b3,
b4 )
Value:
(PNG_32b(b1,24) | PNG_32b(b2,16) | PNG_32b(b3,8) | PNG_32b(b4,0))
#define PNG_32b(b, s)

◆ PNG_UNEXPECTED_ZLIB_RETURN

#define PNG_UNEXPECTED_ZLIB_RETURN   (-7)
  • Inhibit C++ name-mangling for libpng functions but not for system calls. *‍/

◆ PNG_UNUSED

#define PNG_UNUSED ( param)
Value:
(void)param;

◆ PNG_USE_COMPILE_TIME_MASKS

#define PNG_USE_COMPILE_TIME_MASKS   1

◆ PNG_USER_TRANSFORM

#define PNG_USER_TRANSFORM   0x100000U

◆ png_voidcast

#define png_voidcast ( type,
value )
Value:

◆ PNG_WARNING_PARAMETER_COUNT

#define PNG_WARNING_PARAMETER_COUNT   8 /* Maximum 9; see pngerror.c */

◆ PNG_WARNING_PARAMETER_SIZE

#define PNG_WARNING_PARAMETER_SIZE   32

◆ PNG_WARNING_PARAMETERS

#define PNG_WARNING_PARAMETERS ( p)
Value:
png_warning_parameters p;
uch * p
Definition crypt.c:594

◆ PNG_WROTE_INFO_BEFORE_PLTE

#define PNG_WROTE_INFO_BEFORE_PLTE   0x400U

◆ PNG_WROTE_tIME

#define PNG_WROTE_tIME   0x200U

◆ png_zTXt

#define png_zTXt   PNG_U32(122, 84, 88, 116)

◆ PNGFAPI

#define PNGFAPI   PNGAPI

◆ PNGLIB_BUILD

#define PNGLIB_BUILD   /*libpng is being built, not used*/

Typedef Documentation

◆ png_const_doublep

◆ png_const_uint_16pp

◆ png_double

typedef struct png_incomplete png_double

◆ png_doublep

◆ png_doublepp

Function Documentation

◆ PNG_INTERNAL_FUNCTION() [1/151]

PNG_INTERNAL_FUNCTION ( int ,
png_check_fp_number ,
(png_const_charp string, size_t size, int *statep, png_size_tp whereami) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [2/151]

PNG_INTERNAL_FUNCTION ( int ,
png_check_fp_string ,
(png_const_charp string, size_t size) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [3/151]

PNG_INTERNAL_FUNCTION ( int ,
png_chunk_unknown_handling ,
(png_const_structrp png_ptr, png_uint_32 chunk_name) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [4/151]

PNG_INTERNAL_FUNCTION ( int ,
png_colorspace_set_chromaticities ,
(png_const_structrp png_ptr, png_colorspacerp colorspace, const png_xy *xy, int preferred) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [5/151]

PNG_INTERNAL_FUNCTION ( int ,
png_colorspace_set_endpoints ,
(png_const_structrp png_ptr, png_colorspacerp colorspace, const png_XYZ *XYZ, int preferred) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [6/151]

PNG_INTERNAL_FUNCTION ( int ,
png_colorspace_set_ICC ,
(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length, png_const_bytep profile, int color_type) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [7/151]

PNG_INTERNAL_FUNCTION ( int ,
png_colorspace_set_sRGB ,
(png_const_structrp png_ptr, png_colorspacerp colorspace, int intent) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [8/151]

PNG_INTERNAL_FUNCTION ( int ,
png_crc_error ,
(png_structrp png_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [9/151]

PNG_INTERNAL_FUNCTION ( int ,
png_crc_finish ,
(png_structrp png_ptr, png_uint_32 skip) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [10/151]

PNG_INTERNAL_FUNCTION ( int ,
png_gamma_significant ,
(png_fixed_point gamma_value) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [11/151]

PNG_INTERNAL_FUNCTION ( int ,
png_icc_check_header ,
(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length, png_const_bytep profile, int color_type) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [12/151]

PNG_INTERNAL_FUNCTION ( int ,
png_icc_check_length ,
(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [13/151]

PNG_INTERNAL_FUNCTION ( int ,
png_icc_check_tag_table ,
(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_charp name, png_uint_32 profile_length, png_const_bytep profile) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [14/151]

PNG_INTERNAL_FUNCTION ( int ,
png_muldiv ,
(png_fixed_point_p res, png_fixed_point a, png_int_32 multiplied_by, png_int_32 divided_by) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [15/151]

PNG_INTERNAL_FUNCTION ( int ,
png_set_text_2 ,
(png_const_structrp png_ptr, png_inforp info_ptr, png_const_textp text_ptr, int num_text) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [16/151]

PNG_INTERNAL_FUNCTION ( int ,
png_user_version_check ,
(png_structrp png_ptr, png_const_charp user_png_ver) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [17/151]

PNG_INTERNAL_FUNCTION ( png_byte ,
png_gamma_8bit_correct ,
(unsigned int value, png_fixed_point gamma_value) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [18/151]

PNG_INTERNAL_FUNCTION ( png_charp ,
png_format_number ,
(png_const_charp start, png_charp end, int format, png_alloc_size_t number) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [19/151]

PNG_INTERNAL_FUNCTION ( png_fixed_point ,
png_fixed ,
(png_const_structrp png_ptr, double fp, png_const_charp text) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [20/151]

PNG_INTERNAL_FUNCTION ( png_fixed_point ,
png_muldiv_warn ,
(png_const_structrp png_ptr, png_fixed_point a, png_int_32 multiplied_by, png_int_32 divided_by) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [21/151]

PNG_INTERNAL_FUNCTION ( png_fixed_point ,
png_reciprocal ,
(png_fixed_point a) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [22/151]

◆ PNG_INTERNAL_FUNCTION() [23/151]

PNG_INTERNAL_FUNCTION ( png_structp ,
png_create_png_struct ,
(png_const_charp user_png_ver, png_voidp error_ptr, png_error_ptr error_fn, png_error_ptr warn_fn, png_voidp mem_ptr, png_malloc_ptr malloc_fn, png_free_ptr free_fn) ,
PNG_ALLOCATED  )

◆ PNG_INTERNAL_FUNCTION() [24/151]

PNG_INTERNAL_FUNCTION ( png_uint_16 ,
png_gamma_16bit_correct ,
(unsigned int value, png_fixed_point gamma_value) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [25/151]

PNG_INTERNAL_FUNCTION ( png_uint_16 ,
png_gamma_correct ,
(png_structrp png_ptr, unsigned int value, png_fixed_point gamma_value) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [26/151]

◆ PNG_INTERNAL_FUNCTION() [27/151]

PNG_INTERNAL_FUNCTION ( png_uint_32 ,
png_read_chunk_header ,
(png_structrp png_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [28/151]

PNG_INTERNAL_FUNCTION ( png_voidp ,
png_malloc_array ,
(png_const_structrp png_ptr, int nelements, size_t element_size) ,
PNG_ALLOCATED  )

◆ PNG_INTERNAL_FUNCTION() [29/151]

PNG_INTERNAL_FUNCTION ( png_voidp ,
png_malloc_base ,
(png_const_structrp png_ptr, png_alloc_size_t size) ,
PNG_ALLOCATED  )

◆ PNG_INTERNAL_FUNCTION() [30/151]

PNG_INTERNAL_FUNCTION ( png_voidp ,
png_realloc_array ,
(png_const_structrp png_ptr, png_const_voidp array, int old_elements, int add_elements, size_t element_size) ,
PNG_ALLOCATED  )

◆ PNG_INTERNAL_FUNCTION() [31/151]

PNG_INTERNAL_FUNCTION ( size_t ,
png_safecat ,
(png_charp buffer, size_t bufsize, size_t pos, png_const_charp string) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [32/151]

PNG_INTERNAL_FUNCTION ( void PNGCBAPI,
png_default_flush ,
(png_structp png_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [33/151]

PNG_INTERNAL_FUNCTION ( void PNGCBAPI,
png_default_read_data ,
(png_structp png_ptr, png_bytep data, size_t length) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [34/151]

PNG_INTERNAL_FUNCTION ( void PNGCBAPI,
png_default_write_data ,
(png_structp png_ptr, png_bytep data, size_t length) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [35/151]

PNG_INTERNAL_FUNCTION ( void PNGCBAPI,
png_push_fill_buffer ,
(png_structp png_ptr, png_bytep buffer, size_t length) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [36/151]

◆ PNG_INTERNAL_FUNCTION() [37/151]

◆ PNG_INTERNAL_FUNCTION() [38/151]

PNG_INTERNAL_FUNCTION ( void ,
png_ascii_from_fixed ,
(png_const_structrp png_ptr, png_charp ascii, size_t size, png_fixed_point fp) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [39/151]

PNG_INTERNAL_FUNCTION ( void ,
png_ascii_from_fp ,
(png_const_structrp png_ptr, png_charp ascii, size_t size, double fp, unsigned int precision) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [40/151]

PNG_INTERNAL_FUNCTION ( void ,
png_build_gamma_table ,
(png_structrp png_ptr, int bit_depth) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [41/151]

PNG_INTERNAL_FUNCTION ( void ,
png_calculate_crc ,
(png_structrp png_ptr, png_const_bytep ptr, size_t length) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [42/151]

PNG_INTERNAL_FUNCTION ( void ,
png_check_chunk_length ,
(png_const_structrp png_ptr, png_uint_32 chunk_length) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [43/151]

PNG_INTERNAL_FUNCTION ( void ,
png_check_chunk_name ,
(png_const_structrp png_ptr, png_uint_32 chunk_name) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [44/151]

PNG_INTERNAL_FUNCTION ( void ,
png_check_IHDR ,
(png_const_structrp 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_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [45/151]

◆ PNG_INTERNAL_FUNCTION() [46/151]

PNG_INTERNAL_FUNCTION ( void ,
png_colorspace_set_gamma ,
(png_const_structrp png_ptr, png_colorspacerp colorspace, png_fixed_point gAMA) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [47/151]

◆ PNG_INTERNAL_FUNCTION() [48/151]

◆ PNG_INTERNAL_FUNCTION() [49/151]

◆ PNG_INTERNAL_FUNCTION() [50/151]

PNG_INTERNAL_FUNCTION ( void ,
png_combine_row ,
(png_const_structrp png_ptr, png_bytep row, int display) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [51/151]

PNG_INTERNAL_FUNCTION ( void ,
png_compress_IDAT ,
(png_structrp png_ptr, png_const_bytep row_data, png_alloc_size_t row_data_length, int flush) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [52/151]

PNG_INTERNAL_FUNCTION ( void ,
png_crc_read ,
(png_structrp png_ptr, png_bytep buf, png_uint_32 length) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [53/151]

PNG_INTERNAL_FUNCTION ( void ,
png_destroy_gamma_table ,
(png_structrp png_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [54/151]

PNG_INTERNAL_FUNCTION ( void ,
png_destroy_png_struct ,
(png_structrp png_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [55/151]

PNG_INTERNAL_FUNCTION ( void ,
png_do_bgr ,
(png_row_infop row_info, png_bytep row) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [56/151]

PNG_INTERNAL_FUNCTION ( void ,
png_do_check_palette_indexes ,
(png_structrp png_ptr, png_row_infop row_info) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [57/151]

PNG_INTERNAL_FUNCTION ( void ,
png_do_invert ,
(png_row_infop row_info, png_bytep row) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [58/151]

PNG_INTERNAL_FUNCTION ( void ,
png_do_packswap ,
(png_row_infop row_info, png_bytep row) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [59/151]

PNG_INTERNAL_FUNCTION ( void ,
png_do_read_interlace ,
(png_row_infop row_info, png_bytep row, int pass, png_uint_32 transformations) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [60/151]

PNG_INTERNAL_FUNCTION ( void ,
png_do_read_transformations ,
(png_structrp png_ptr, png_row_infop row_info) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [61/151]

PNG_INTERNAL_FUNCTION ( void ,
png_do_strip_channel ,
(png_row_infop row_info, png_bytep row, int at_start) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [62/151]

PNG_INTERNAL_FUNCTION ( void ,
png_do_swap ,
(png_row_infop row_info, png_bytep row) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [63/151]

PNG_INTERNAL_FUNCTION ( void ,
png_do_write_interlace ,
(png_row_infop row_info, png_bytep row, int pass) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [64/151]

PNG_INTERNAL_FUNCTION ( void ,
png_do_write_transformations ,
(png_structrp png_ptr, png_row_infop row_info) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [65/151]

PNG_INTERNAL_FUNCTION ( void ,
png_flush ,
(png_structrp png_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [66/151]

PNG_INTERNAL_FUNCTION ( void ,
png_formatted_warning ,
(png_const_structrp png_ptr, png_warning_parameters p, png_const_charp message) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [67/151]

PNG_INTERNAL_FUNCTION ( void ,
png_free_buffer_list ,
(png_structrp png_ptr, png_compression_bufferp *list) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [68/151]

PNG_INTERNAL_FUNCTION ( void ,
png_free_jmpbuf ,
(png_structrp png_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [69/151]

◆ PNG_INTERNAL_FUNCTION() [70/151]

◆ PNG_INTERNAL_FUNCTION() [71/151]

◆ PNG_INTERNAL_FUNCTION() [72/151]

◆ PNG_INTERNAL_FUNCTION() [73/151]

◆ PNG_INTERNAL_FUNCTION() [74/151]

◆ PNG_INTERNAL_FUNCTION() [75/151]

◆ PNG_INTERNAL_FUNCTION() [76/151]

◆ PNG_INTERNAL_FUNCTION() [77/151]

◆ PNG_INTERNAL_FUNCTION() [78/151]

◆ PNG_INTERNAL_FUNCTION() [79/151]

◆ PNG_INTERNAL_FUNCTION() [80/151]

◆ PNG_INTERNAL_FUNCTION() [81/151]

◆ PNG_INTERNAL_FUNCTION() [82/151]

◆ PNG_INTERNAL_FUNCTION() [83/151]

◆ PNG_INTERNAL_FUNCTION() [84/151]

◆ PNG_INTERNAL_FUNCTION() [85/151]

◆ PNG_INTERNAL_FUNCTION() [86/151]

◆ PNG_INTERNAL_FUNCTION() [87/151]

◆ PNG_INTERNAL_FUNCTION() [88/151]

◆ PNG_INTERNAL_FUNCTION() [89/151]

◆ PNG_INTERNAL_FUNCTION() [90/151]

PNG_INTERNAL_FUNCTION ( void ,
png_icc_set_sRGB ,
(png_const_structrp png_ptr, png_colorspacerp colorspace, png_const_bytep profile, uLong adler) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [91/151]

PNG_INTERNAL_FUNCTION ( void ,
png_init_read_transformations ,
(png_structrp png_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [92/151]

PNG_INTERNAL_FUNCTION ( void ,
png_process_IDAT_data ,
(png_structrp png_ptr, png_bytep buffer, size_t buffer_length) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [93/151]

◆ PNG_INTERNAL_FUNCTION() [94/151]

PNG_INTERNAL_FUNCTION ( void ,
png_push_check_crc ,
(png_structrp png_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [95/151]

PNG_INTERNAL_FUNCTION ( void ,
png_push_handle_iTXt ,
(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [96/151]

PNG_INTERNAL_FUNCTION ( void ,
png_push_handle_tEXt ,
(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [97/151]

PNG_INTERNAL_FUNCTION ( void ,
png_push_handle_unknown ,
(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [98/151]

PNG_INTERNAL_FUNCTION ( void ,
png_push_handle_zTXt ,
(png_structrp png_ptr, png_inforp info_ptr, png_uint_32 length) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [99/151]

PNG_INTERNAL_FUNCTION ( void ,
png_push_have_end ,
(png_structrp png_ptr, png_inforp info_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [100/151]

◆ PNG_INTERNAL_FUNCTION() [101/151]

PNG_INTERNAL_FUNCTION ( void ,
png_push_have_row ,
(png_structrp png_ptr, png_bytep row) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [102/151]

PNG_INTERNAL_FUNCTION ( void ,
png_push_process_row ,
(png_structrp png_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [103/151]

◆ PNG_INTERNAL_FUNCTION() [104/151]

PNG_INTERNAL_FUNCTION ( void ,
png_push_read_end ,
(png_structrp png_ptr, png_inforp info_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [105/151]

PNG_INTERNAL_FUNCTION ( void ,
png_push_read_IDAT ,
(png_structrp png_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [106/151]

PNG_INTERNAL_FUNCTION ( void ,
png_push_read_iTXt ,
(png_structrp png_ptr, png_inforp info_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [107/151]

PNG_INTERNAL_FUNCTION ( void ,
png_push_read_sig ,
(png_structrp png_ptr, png_inforp info_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [108/151]

PNG_INTERNAL_FUNCTION ( void ,
png_push_read_tEXt ,
(png_structrp png_ptr, png_inforp info_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [109/151]

PNG_INTERNAL_FUNCTION ( void ,
png_push_read_zTXt ,
(png_structrp png_ptr, png_inforp info_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [110/151]

PNG_INTERNAL_FUNCTION ( void ,
png_push_restore_buffer ,
(png_structrp png_ptr, png_bytep buffer, size_t buffer_length) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [111/151]

PNG_INTERNAL_FUNCTION ( void ,
png_push_save_buffer ,
(png_structrp png_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [112/151]

PNG_INTERNAL_FUNCTION ( void ,
png_read_data ,
(png_structrp png_ptr, png_bytep data, size_t length) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [113/151]

PNG_INTERNAL_FUNCTION ( void ,
png_read_filter_row ,
(png_structrp pp, png_row_infop row_info, png_bytep row, png_const_bytep prev_row, int filter) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [114/151]

PNG_INTERNAL_FUNCTION ( void ,
png_read_finish_IDAT ,
(png_structrp png_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [115/151]

PNG_INTERNAL_FUNCTION ( void ,
png_read_finish_row ,
(png_structrp png_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [116/151]

PNG_INTERNAL_FUNCTION ( void ,
png_read_IDAT_data ,
(png_structrp png_ptr, png_bytep output, png_alloc_size_t avail_out) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [117/151]

PNG_INTERNAL_FUNCTION ( void ,
png_read_push_finish_row ,
(png_structrp png_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [118/151]

PNG_INTERNAL_FUNCTION ( void ,
png_read_sig ,
(png_structrp png_ptr, png_inforp info_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [119/151]

PNG_INTERNAL_FUNCTION ( void ,
png_read_start_row ,
(png_structrp png_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [120/151]

◆ PNG_INTERNAL_FUNCTION() [121/151]

PNG_INTERNAL_FUNCTION ( void ,
png_reset_crc ,
(png_structrp png_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [122/151]

PNG_INTERNAL_FUNCTION ( void ,
png_warning_parameter ,
(png_warning_parameters p, int number, png_const_charp string) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [123/151]

PNG_INTERNAL_FUNCTION ( void ,
png_warning_parameter_signed ,
(png_warning_parameters p, int number, int format, png_int_32 value) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [124/151]

PNG_INTERNAL_FUNCTION ( void ,
png_warning_parameter_unsigned ,
(png_warning_parameters p, int number, int format, png_alloc_size_t value) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [125/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_bKGD ,
(png_structrp png_ptr, png_const_color_16p values, int color_type) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [126/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_cHRM_fixed ,
(png_structrp png_ptr, const png_xy *xy) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [127/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_data ,
(png_structrp png_ptr, png_const_bytep data, size_t length) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [128/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_find_filter ,
(png_structrp png_ptr, png_row_infop row_info) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [129/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_finish_row ,
(png_structrp png_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [130/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_gAMA_fixed ,
(png_structrp png_ptr, png_fixed_point file_gamma) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [131/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_hIST ,
(png_structrp png_ptr, png_const_uint_16p hist, int num_hist) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [132/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_iCCP ,
(png_structrp png_ptr, png_const_charp name, png_const_bytep profile) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [133/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_IEND ,
(png_structrp png_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [134/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_IHDR ,
(png_structrp 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_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [135/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_iTXt ,
(png_structrp png_ptr, int compression, png_const_charp key, png_const_charp lang, png_const_charp lang_key, png_const_charp text) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [136/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_oFFs ,
(png_structrp png_ptr, png_int_32 x_offset, png_int_32 y_offset, int unit_type) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [137/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_pCAL ,
(png_structrp 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_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [138/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_pHYs ,
(png_structrp png_ptr, png_uint_32 x_pixels_per_unit, png_uint_32 y_pixels_per_unit, int unit_type) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [139/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_PLTE ,
(png_structrp png_ptr, png_const_colorp palette, png_uint_32 num_pal) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [140/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_sBIT ,
(png_structrp png_ptr, png_const_color_8p sbit, int color_type) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [141/151]

◆ PNG_INTERNAL_FUNCTION() [142/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_sPLT ,
(png_structrp png_ptr, png_const_sPLT_tp palette) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [143/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_sRGB ,
(png_structrp png_ptr, int intent) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [144/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_start_row ,
(png_structrp png_ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [145/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_tEXt ,
(png_structrp png_ptr, png_const_charp key, png_const_charp text, size_t text_len) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [146/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_tIME ,
(png_structrp png_ptr, png_const_timep mod_time) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [147/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_tRNS ,
(png_structrp png_ptr, png_const_bytep trans, png_const_color_16p values, int number, int color_type) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [148/151]

PNG_INTERNAL_FUNCTION ( void ,
png_write_zTXt ,
(png_structrp png_ptr, png_const_charp key, png_const_charp text, int compression) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [149/151]

PNG_INTERNAL_FUNCTION ( void ,
png_zfree ,
(voidpf png_ptr, voidpf ptr) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [150/151]

PNG_INTERNAL_FUNCTION ( void ,
png_zstream_error ,
(png_structrp png_ptr, int ret) ,
PNG_EMPTY  )

◆ PNG_INTERNAL_FUNCTION() [151/151]

PNG_INTERNAL_FUNCTION ( voidpf ,
png_zalloc ,
(voidpf png_ptr, uInt items, uInt size) ,
PNG_ALLOCATED  )