openshot-audio  0.1.6
Macros | Typedefs | Functions
pngpriv.h File Reference
#include <stdlib.h>
#include <string.h>
#include "png.h"
#include <float.h>
#include <math.h>
#include "pngstruct.h"
#include "pnginfo.h"
#include "pnglibconf.h"

Go to the source code of this file.

Macros

#define PNGPRIV_H
 
#define _POSIX_SOURCE   1 /* Just the POSIX 1003.1 and C89 APIs */
 
#define PNGLIB_BUILD   /*libpng is being built, not used*/
 
#define PNG_INTERNAL_DATA(type, name, array)   extern type name array
 
#define PNG_INTERNAL_FUNCTION(type, name, args, attributes)   extern PNG_FUNCTION(type, name, args, PNG_EMPTY attributes)
 
#define PNG_DLL_EXPORT
 
#define PNG_USER_WIDTH_MAX   0x7fffffff
 
#define PNG_USER_HEIGHT_MAX   0x7fffffff
 
#define PNG_USER_CHUNK_CACHE_MAX   0
 
#define PNG_USER_CHUNK_MALLOC_MAX   0
 
#define PNG_UNUSED(param)   (void)param;
 
#define PNG_WARNING_PARAMETERS(p)   png_warning_parameters p;
 
#define png_error(s1, s2)   png_err(s1)
 
#define png_chunk_error(s1, s2)   png_err(s1)
 
#define png_fixed_error(s1, s2)   png_err(s1)
 
#define png_voidcast(type, value)   (value)
 
#define png_constcast(type, value)   ((type)(value))
 
#define png_aligncast(type, value)   ((void*)(value))
 
#define png_aligncastconst(type, value)   ((const void*)(value))
 
#define PNGFAPI   PNGAPI
 
#define PNG_ABORT()   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)   (sizeof (type))
 
#define png_isaligned(ptr, type)   ((((const char*)ptr-(const char*)0) & (png_alignof(type)-1)) == 0)
 
#define PNG_HAVE_IDAT   0x04
 
#define PNG_HAVE_IEND   0x10
 
#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_IS_READ_STRUCT   0x8000 /* Else is a write struct */
 
#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_COMPOSE   0x0080 /* Was PNG_BACKGROUND */
 
#define PNG_BACKGROUND_EXPAND   0x0100
 
#define PNG_EXPAND_16   0x0200 /* Added to libpng 1.5.2 */
 
#define PNG_16_TO_8   0x0400 /* Becomes 'chop' in 1.5.4 */
 
#define PNG_RGBA   0x0800
 
#define PNG_EXPAND   0x1000
 
#define PNG_GAMMA   0x2000
 
#define PNG_GRAY_TO_RGB   0x4000
 
#define PNG_FILLER   0x8000
 
#define PNG_PACKSWAP   0x10000
 
#define PNG_SWAP_ALPHA   0x20000
 
#define PNG_STRIP_ALPHA   0x40000
 
#define PNG_INVERT_ALPHA   0x80000
 
#define PNG_USER_TRANSFORM   0x100000
 
#define PNG_RGB_TO_GRAY_ERR   0x200000
 
#define PNG_RGB_TO_GRAY_WARN   0x400000
 
#define PNG_RGB_TO_GRAY   0x600000 /* two bits, RGB_TO_GRAY_ERR|WARN */
 
#define PNG_ENCODE_ALPHA   0x800000 /* Added to libpng-1.5.4 */
 
#define PNG_ADD_ALPHA   0x1000000 /* Added to libpng-1.2.7 */
 
#define PNG_EXPAND_tRNS   0x2000000 /* Added to libpng-1.2.9 */
 
#define PNG_SCALE_16_TO_8   0x4000000 /* Added to libpng-1.5.4 */
 
#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_ZSTREAM_INITIALIZED   0x0002 /* Added to libpng-1.6.0 */
 
#define PNG_FLAG_ZSTREAM_ENDED   0x0008 /* Added to libpng-1.6.0 */
 
#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_ASSUME_sRGB   0x1000 /* Added to libpng-1.5.4 */
 
#define PNG_FLAG_OPTIMIZE_ALPHA   0x2000 /* Added to libpng-1.5.4 */
 
#define PNG_FLAG_DETECT_UNINITIALIZED   0x4000 /* Added to libpng-1.5.4 */
 
#define PNG_FLAG_LIBRARY_MISMATCH   0x20000
 
#define PNG_FLAG_STRIP_ERROR_NUMBERS   0x40000
 
#define PNG_FLAG_STRIP_ERROR_TEXT   0x80000
 
#define PNG_FLAG_BENIGN_ERRORS_WARN   0x100000 /* Added to libpng-1.4.0 */
 
#define PNG_FLAG_APP_WARNINGS_WARN   0x200000 /* Added to libpng-1.6.0 */
 
#define PNG_FLAG_APP_ERRORS_WARN   0x400000 /* 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)   (((v24) + 32895) >> 16)
 
#define PNG_DIV257(v16)   PNG_DIV65535((png_uint_32)(v16) * 255)
 
#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_32b(b, s)   ((png_uint_32)(b) << (s))
 
#define PNG_CHUNK(b1, b2, b3, b4)   (PNG_32b(b1,24) | PNG_32b(b2,16) | PNG_32b(b3,8) | PNG_32b(b4,0))
 
#define png_IHDR   PNG_CHUNK( 73, 72, 68, 82)
 
#define png_IDAT   PNG_CHUNK( 73, 68, 65, 84)
 
#define png_IEND   PNG_CHUNK( 73, 69, 78, 68)
 
#define png_PLTE   PNG_CHUNK( 80, 76, 84, 69)
 
#define png_bKGD   PNG_CHUNK( 98, 75, 71, 68)
 
#define png_cHRM   PNG_CHUNK( 99, 72, 82, 77)
 
#define png_gAMA   PNG_CHUNK(103, 65, 77, 65)
 
#define png_hIST   PNG_CHUNK(104, 73, 83, 84)
 
#define png_iCCP   PNG_CHUNK(105, 67, 67, 80)
 
#define png_iTXt   PNG_CHUNK(105, 84, 88, 116)
 
#define png_oFFs   PNG_CHUNK(111, 70, 70, 115)
 
#define png_pCAL   PNG_CHUNK(112, 67, 65, 76)
 
#define png_sCAL   PNG_CHUNK(115, 67, 65, 76)
 
#define png_pHYs   PNG_CHUNK(112, 72, 89, 115)
 
#define png_sBIT   PNG_CHUNK(115, 66, 73, 84)
 
#define png_sPLT   PNG_CHUNK(115, 80, 76, 84)
 
#define png_sRGB   PNG_CHUNK(115, 82, 71, 66)
 
#define png_sTER   PNG_CHUNK(115, 84, 69, 82)
 
#define png_tEXt   PNG_CHUNK(116, 69, 88, 116)
 
#define png_tIME   PNG_CHUNK(116, 73, 77, 69)
 
#define png_tRNS   PNG_CHUNK(116, 82, 78, 83)
 
#define png_zTXt   PNG_CHUNK(122, 84, 88, 116)
 
#define PNG_CHUNK_FROM_STRING(s)   PNG_CHUNK(0xff&(s)[0], 0xff&(s)[1], 0xff&(s)[2], 0xff&(s)[3])
 
#define PNG_STRING_FROM_CHUNK(s, c)
 
#define PNG_CSTRING_FROM_CHUNK(s, c)   (void)(PNG_STRING_FROM_CHUNK(s,c), ((char*)(s))[4] = 0)
 
#define PNG_CHUNK_ANCILLIARY(c)   (1 & ((c) >> 29))
 
#define PNG_CHUNK_CRITICAL(c)   (!PNG_CHUNK_ANCILLIARY(c))
 
#define PNG_CHUNK_PRIVATE(c)   (1 & ((c) >> 21))
 
#define PNG_CHUNK_RESERVED(c)   (1 & ((c) >> 13))
 
#define PNG_CHUNK_SAFE_TO_COPY(c)   (1 & ((c) >> 5))
 
#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_FORMAT_NUMBER(buffer, format, number)   png_format_number(buffer, buffer + (sizeof 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)   (((state) & PNG_FP_Z_MASK) == PNG_FP_SAW_DIGIT)
 
#define PNG_FP_IS_POSITIVE(state)   (((state) & PNG_FP_NZ_MASK) == PNG_FP_Z_MASK)
 
#define PNG_FP_IS_NEGATIVE(state)   (((state) & PNG_FP_NZ_MASK) == PNG_FP_NZ_MASK)
 
#define _POSIX_SOURCE   1 /* Just the POSIX 1003.1 and C89 APIs */
 
#define PNGLIB_BUILD   /*libpng is being built, not used*/
 
#define PNG_IMPEXP
 
#define PNG_DEPRECATED
 
#define PNG_PRIVATE
 
#define PNG_INTERNAL_DATA(type, name, array)   extern type name array
 
#define PNG_INTERNAL_FUNCTION(type, name, args, attributes)   extern PNG_FUNCTION(type, name, args, PNG_EMPTY attributes)
 
#define PNG_FP_EXPORT(ordinal, type, name, args)   PNG_INTERNAL_FUNCTION(type, name, args, PNG_EMPTY);
 
#define PNG_FIXED_EXPORT(ordinal, type, name, args)   PNG_INTERNAL_FUNCTION(type, name, args, PNG_EMPTY);
 
#define PNG_DLL_EXPORT
 
#define PNG_USER_WIDTH_MAX   0x7fffffff
 
#define PNG_USER_HEIGHT_MAX   0x7fffffff
 
#define PNG_USER_CHUNK_CACHE_MAX   0
 
#define PNG_USER_CHUNK_MALLOC_MAX   0
 
#define PNG_UNUSED(param)   (void)param;
 
#define png_warning(s1, s2)   ((void)(s1))
 
#define png_chunk_warning(s1, s2)   ((void)(s1))
 
#define png_warning_parameter(p, number, string)   ((void)0)
 
#define png_warning_parameter_unsigned(p, number, format, value)   ((void)0)
 
#define png_warning_parameter_signed(p, number, format, value)   ((void)0)
 
#define png_formatted_warning(pp, p, message)   ((void)(pp))
 
#define PNG_WARNING_PARAMETERS(p)
 
#define png_error(s1, s2)   png_err(s1)
 
#define png_chunk_error(s1, s2)   png_err(s1)
 
#define png_fixed_error(s1, s2)   png_err(s1)
 
#define png_voidcast(type, value)   (value)
 
#define png_constcast(type, value)   ((type)(value))
 
#define png_aligncast(type, value)   ((void*)(value))
 
#define png_aligncastconst(type, value)   ((const void*)(value))
 
#define PNGFAPI   /* PRIVATE */
 
#define PNG_ABORT()   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)   (sizeof (type))
 
#define png_isaligned(ptr, type)   ((((const char*)ptr-(const char*)0) & (png_alignof(type)-1)) == 0)
 
#define PNG_HAVE_IDAT   0x04
 
#define PNG_HAVE_IEND   0x10
 
#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_IS_READ_STRUCT   0x8000 /* Else is a write struct */
 
#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_COMPOSE   0x0080 /* Was PNG_BACKGROUND */
 
#define PNG_BACKGROUND_EXPAND   0x0100
 
#define PNG_EXPAND_16   0x0200 /* Added to libpng 1.5.2 */
 
#define PNG_16_TO_8   0x0400 /* Becomes 'chop' in 1.5.4 */
 
#define PNG_RGBA   0x0800
 
#define PNG_EXPAND   0x1000
 
#define PNG_GAMMA   0x2000
 
#define PNG_GRAY_TO_RGB   0x4000
 
#define PNG_FILLER   0x8000
 
#define PNG_PACKSWAP   0x10000
 
#define PNG_SWAP_ALPHA   0x20000
 
#define PNG_STRIP_ALPHA   0x40000
 
#define PNG_INVERT_ALPHA   0x80000
 
#define PNG_USER_TRANSFORM   0x100000
 
#define PNG_RGB_TO_GRAY_ERR   0x200000
 
#define PNG_RGB_TO_GRAY_WARN   0x400000
 
#define PNG_RGB_TO_GRAY   0x600000 /* two bits, RGB_TO_GRAY_ERR|WARN */
 
#define PNG_ENCODE_ALPHA   0x800000 /* Added to libpng-1.5.4 */
 
#define PNG_ADD_ALPHA   0x1000000 /* Added to libpng-1.2.7 */
 
#define PNG_EXPAND_tRNS   0x2000000 /* Added to libpng-1.2.9 */
 
#define PNG_SCALE_16_TO_8   0x4000000 /* Added to libpng-1.5.4 */
 
#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_ZSTREAM_INITIALIZED   0x0002 /* Added to libpng-1.6.0 */
 
#define PNG_FLAG_ZSTREAM_ENDED   0x0008 /* Added to libpng-1.6.0 */
 
#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_ASSUME_sRGB   0x1000 /* Added to libpng-1.5.4 */
 
#define PNG_FLAG_OPTIMIZE_ALPHA   0x2000 /* Added to libpng-1.5.4 */
 
#define PNG_FLAG_DETECT_UNINITIALIZED   0x4000 /* Added to libpng-1.5.4 */
 
#define PNG_FLAG_LIBRARY_MISMATCH   0x20000
 
#define PNG_FLAG_STRIP_ERROR_NUMBERS   0x40000
 
#define PNG_FLAG_STRIP_ERROR_TEXT   0x80000
 
#define PNG_FLAG_BENIGN_ERRORS_WARN   0x100000 /* Added to libpng-1.4.0 */
 
#define PNG_FLAG_APP_WARNINGS_WARN   0x200000 /* Added to libpng-1.6.0 */
 
#define PNG_FLAG_APP_ERRORS_WARN   0x400000 /* 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)   (((v24) + 32895) >> 16)
 
#define PNG_DIV257(v16)   PNG_DIV65535((png_uint_32)(v16) * 255)
 
#define PNG_ROWBYTES(pixel_bits, width)
 
#define PNG_OUT_OF_RANGE(value, ideal, delta)   ( (value) < (ideal)-(delta) || (value) > (ideal)+(delta) )
 
#define PNG_32b(b, s)   ((png_uint_32)(b) << (s))
 
#define PNG_CHUNK(b1, b2, b3, b4)   (PNG_32b(b1,24) | PNG_32b(b2,16) | PNG_32b(b3,8) | PNG_32b(b4,0))
 
#define png_IHDR   PNG_CHUNK( 73, 72, 68, 82)
 
#define png_IDAT   PNG_CHUNK( 73, 68, 65, 84)
 
#define png_IEND   PNG_CHUNK( 73, 69, 78, 68)
 
#define png_PLTE   PNG_CHUNK( 80, 76, 84, 69)
 
#define png_bKGD   PNG_CHUNK( 98, 75, 71, 68)
 
#define png_cHRM   PNG_CHUNK( 99, 72, 82, 77)
 
#define png_gAMA   PNG_CHUNK(103, 65, 77, 65)
 
#define png_hIST   PNG_CHUNK(104, 73, 83, 84)
 
#define png_iCCP   PNG_CHUNK(105, 67, 67, 80)
 
#define png_iTXt   PNG_CHUNK(105, 84, 88, 116)
 
#define png_oFFs   PNG_CHUNK(111, 70, 70, 115)
 
#define png_pCAL   PNG_CHUNK(112, 67, 65, 76)
 
#define png_sCAL   PNG_CHUNK(115, 67, 65, 76)
 
#define png_pHYs   PNG_CHUNK(112, 72, 89, 115)
 
#define png_sBIT   PNG_CHUNK(115, 66, 73, 84)
 
#define png_sPLT   PNG_CHUNK(115, 80, 76, 84)
 
#define png_sRGB   PNG_CHUNK(115, 82, 71, 66)
 
#define png_sTER   PNG_CHUNK(115, 84, 69, 82)
 
#define png_tEXt   PNG_CHUNK(116, 69, 88, 116)
 
#define png_tIME   PNG_CHUNK(116, 73, 77, 69)
 
#define png_tRNS   PNG_CHUNK(116, 82, 78, 83)
 
#define png_zTXt   PNG_CHUNK(122, 84, 88, 116)
 
#define PNG_CHUNK_FROM_STRING(s)   PNG_CHUNK(0xff&(s)[0], 0xff&(s)[1], 0xff&(s)[2], 0xff&(s)[3])
 
#define PNG_STRING_FROM_CHUNK(s, c)
 
#define PNG_CSTRING_FROM_CHUNK(s, c)   (void)(PNG_STRING_FROM_CHUNK(s,c), ((char*)(s))[4] = 0)
 
#define PNG_CHUNK_ANCILLIARY(c)   (1 & ((c) >> 29))
 
#define PNG_CHUNK_CRITICAL(c)   (!PNG_CHUNK_ANCILLIARY(c))
 
#define PNG_CHUNK_PRIVATE(c)   (1 & ((c) >> 21))
 
#define PNG_CHUNK_RESERVED(c)   (1 & ((c) >> 13))
 
#define PNG_CHUNK_SAFE_TO_COPY(c)   (1 & ((c) >> 5))
 
#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_app_warning(pp, s)   png_warning(pp,s)
 
#define png_app_error(pp, s)   png_error(pp,s)
 
#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 */
 

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 (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_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, png_size_t length), PNG_EMPTY)
 
 PNG_INTERNAL_FUNCTION (void PNGCBAPI, png_default_write_data,(png_structp png_ptr, png_bytep data, png_size_t length), 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, png_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, png_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, png_size_t length), 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_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_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_read_filter_row_up_neon,(png_row_infop row_info, png_bytep row, png_const_bytep prev_row), PNG_EMPTY)
 
 PNG_INTERNAL_FUNCTION (void, png_read_filter_row_sub3_neon,(png_row_infop row_info, png_bytep row, png_const_bytep prev_row), PNG_EMPTY)
 
 PNG_INTERNAL_FUNCTION (void, png_read_filter_row_sub4_neon,(png_row_infop row_info, png_bytep row, png_const_bytep prev_row), PNG_EMPTY)
 
 PNG_INTERNAL_FUNCTION (void, png_read_filter_row_avg3_neon,(png_row_infop row_info, png_bytep row, png_const_bytep prev_row), PNG_EMPTY)
 
 PNG_INTERNAL_FUNCTION (void, png_read_filter_row_avg4_neon,(png_row_infop row_info, png_bytep row, png_const_bytep prev_row), PNG_EMPTY)
 
 PNG_INTERNAL_FUNCTION (void, png_read_filter_row_paeth3_neon,(png_row_infop row_info, png_bytep row, png_const_bytep prev_row), PNG_EMPTY)
 
 PNG_INTERNAL_FUNCTION (void, png_read_filter_row_paeth4_neon,(png_row_infop row_info, png_bytep row, png_const_bytep prev_row), 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_start_row,(png_structrp png_ptr), 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_check_chunk_name,(png_structrp png_ptr, png_uint_32 chunk_name), 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 (size_t, png_safecat,(png_charp buffer, size_t bufsize, size_t pos, png_const_charp string), PNG_EMPTY)
 
 PNG_INTERNAL_FUNCTION (void, png_chunk_report,(png_const_structrp png_ptr, png_const_charp message, int error), PNG_EMPTY)
 

Macro Definition Documentation

◆ _POSIX_SOURCE [1/2]

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

◆ _POSIX_SOURCE [2/2]

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

◆ PNG_16_TO_8 [1/2]

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

◆ PNG_16_TO_8 [2/2]

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

◆ PNG_32b [1/2]

#define PNG_32b (   b,
 
)    ((png_uint_32)(b) << (s))

◆ PNG_32b [2/2]

#define PNG_32b (   b,
 
)    ((png_uint_32)(b) << (s))

◆ PNG_ABORT [1/2]

#define PNG_ABORT ( )    abort()

◆ PNG_ABORT [2/2]

#define PNG_ABORT ( )    abort()

◆ PNG_ADD_ALPHA [1/2]

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

◆ PNG_ADD_ALPHA [2/2]

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

◆ PNG_ALIGN_ALWAYS [1/2]

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

◆ PNG_ALIGN_ALWAYS [2/2]

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

◆ PNG_ALIGN_NONE [1/2]

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

◆ PNG_ALIGN_NONE [2/2]

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

◆ PNG_ALIGN_OFFSET [1/2]

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

◆ PNG_ALIGN_OFFSET [2/2]

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

◆ PNG_ALIGN_SIZE [1/2]

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

◆ PNG_ALIGN_SIZE [2/2]

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

◆ PNG_ALIGN_TYPE [1/2]

#define PNG_ALIGN_TYPE   PNG_ALIGN_SIZE

◆ PNG_ALIGN_TYPE [2/2]

#define PNG_ALIGN_TYPE   PNG_ALIGN_SIZE

◆ png_aligncast [1/2]

#define png_aligncast (   type,
  value 
)    ((void*)(value))

◆ png_aligncast [2/2]

#define png_aligncast (   type,
  value 
)    ((void*)(value))

◆ png_aligncastconst [1/2]

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

◆ png_aligncastconst [2/2]

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

◆ png_alignof [1/2]

#define png_alignof (   type)    (sizeof (type))

◆ png_alignof [2/2]

#define png_alignof (   type)    (sizeof (type))

◆ png_app_error

#define png_app_error (   pp,
 
)    png_error(pp,s)

◆ png_app_warning

#define png_app_warning (   pp,
 
)    png_warning(pp,s)

◆ PNG_BACKGROUND_EXPAND [1/2]

#define PNG_BACKGROUND_EXPAND   0x0100

◆ PNG_BACKGROUND_EXPAND [2/2]

#define PNG_BACKGROUND_EXPAND   0x0100

◆ PNG_BACKGROUND_IS_GRAY [1/2]

#define PNG_BACKGROUND_IS_GRAY   0x800

◆ PNG_BACKGROUND_IS_GRAY [2/2]

#define PNG_BACKGROUND_IS_GRAY   0x800

◆ PNG_BGR [1/2]

#define PNG_BGR   0x0001

◆ PNG_BGR [2/2]

#define PNG_BGR   0x0001

◆ png_bKGD [1/2]

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

◆ png_bKGD [2/2]

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

◆ png_cHRM [1/2]

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

◆ png_cHRM [2/2]

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

◆ PNG_CHUNK [1/2]

#define PNG_CHUNK (   b1,
  b2,
  b3,
  b4 
)    (PNG_32b(b1,24) | PNG_32b(b2,16) | PNG_32b(b3,8) | PNG_32b(b4,0))

◆ PNG_CHUNK [2/2]

#define PNG_CHUNK (   b1,
  b2,
  b3,
  b4 
)    (PNG_32b(b1,24) | PNG_32b(b2,16) | PNG_32b(b3,8) | PNG_32b(b4,0))

◆ PNG_CHUNK_ANCILLIARY [1/2]

#define PNG_CHUNK_ANCILLIARY (   c)    (1 & ((c) >> 29))

◆ PNG_CHUNK_ANCILLIARY [2/2]

#define PNG_CHUNK_ANCILLIARY (   c)    (1 & ((c) >> 29))

◆ PNG_CHUNK_CRITICAL [1/2]

#define PNG_CHUNK_CRITICAL (   c)    (!PNG_CHUNK_ANCILLIARY(c))

◆ PNG_CHUNK_CRITICAL [2/2]

#define PNG_CHUNK_CRITICAL (   c)    (!PNG_CHUNK_ANCILLIARY(c))

◆ png_chunk_error [1/2]

#define png_chunk_error (   s1,
  s2 
)    png_err(s1)

◆ png_chunk_error [2/2]

#define png_chunk_error (   s1,
  s2 
)    png_err(s1)

◆ PNG_CHUNK_ERROR [1/2]

#define PNG_CHUNK_ERROR   2 /* always an error */

◆ PNG_CHUNK_ERROR [2/2]

#define PNG_CHUNK_ERROR   2 /* always an error */

◆ PNG_CHUNK_FROM_STRING [1/2]

#define PNG_CHUNK_FROM_STRING (   s)    PNG_CHUNK(0xff&(s)[0], 0xff&(s)[1], 0xff&(s)[2], 0xff&(s)[3])

◆ PNG_CHUNK_FROM_STRING [2/2]

#define PNG_CHUNK_FROM_STRING (   s)    PNG_CHUNK(0xff&(s)[0], 0xff&(s)[1], 0xff&(s)[2], 0xff&(s)[3])

◆ PNG_CHUNK_PRIVATE [1/2]

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

◆ PNG_CHUNK_PRIVATE [2/2]

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

◆ PNG_CHUNK_RESERVED [1/2]

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

◆ PNG_CHUNK_RESERVED [2/2]

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

◆ PNG_CHUNK_SAFE_TO_COPY [1/2]

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

◆ PNG_CHUNK_SAFE_TO_COPY [2/2]

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

◆ png_chunk_warning

#define png_chunk_warning (   s1,
  s2 
)    ((void)(s1))

◆ PNG_CHUNK_WARNING [1/2]

#define PNG_CHUNK_WARNING   0 /* never an error */

◆ PNG_CHUNK_WARNING [2/2]

#define PNG_CHUNK_WARNING   0 /* never an error */

◆ PNG_CHUNK_WRITE_ERROR [1/2]

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

◆ PNG_CHUNK_WRITE_ERROR [2/2]

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

◆ PNG_COLOR_DIST [1/2]

#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)))
png_structrp int png_fixed_point red
Definition: juce_PNGLoader.cpp:1173

◆ PNG_COLOR_DIST [2/2]

#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)))
png_structrp int png_fixed_point red
Definition: juce_PNGLoader.cpp:1173

◆ PNG_COMPOSE [1/2]

#define PNG_COMPOSE   0x0080 /* Was PNG_BACKGROUND */

◆ PNG_COMPOSE [2/2]

#define PNG_COMPOSE   0x0080 /* Was PNG_BACKGROUND */

◆ png_constcast [1/2]

#define png_constcast (   type,
  value 
)    ((type)(value))

◆ png_constcast [2/2]

#define png_constcast (   type,
  value 
)    ((type)(value))

◆ PNG_COST_FACTOR [1/2]

#define PNG_COST_FACTOR   (1<<(PNG_COST_SHIFT))

◆ PNG_COST_FACTOR [2/2]

#define PNG_COST_FACTOR   (1<<(PNG_COST_SHIFT))

◆ PNG_CSTRING_FROM_CHUNK [1/2]

#define PNG_CSTRING_FROM_CHUNK (   s,
 
)    (void)(PNG_STRING_FROM_CHUNK(s,c), ((char*)(s))[4] = 0)

◆ PNG_CSTRING_FROM_CHUNK [2/2]

#define PNG_CSTRING_FROM_CHUNK (   s,
 
)    (void)(PNG_STRING_FROM_CHUNK(s,c), ((char*)(s))[4] = 0)

◆ PNG_DEPRECATED

#define PNG_DEPRECATED

◆ PNG_DIV257 [1/2]

#define PNG_DIV257 (   v16)    PNG_DIV65535((png_uint_32)(v16) * 255)

◆ PNG_DIV257 [2/2]

#define PNG_DIV257 (   v16)    PNG_DIV65535((png_uint_32)(v16) * 255)

◆ PNG_DIV65535 [1/2]

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

◆ PNG_DIV65535 [2/2]

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

◆ PNG_DLL_EXPORT [1/2]

#define PNG_DLL_EXPORT

◆ PNG_DLL_EXPORT [2/2]

#define PNG_DLL_EXPORT

◆ PNG_ENCODE_ALPHA [1/2]

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

◆ PNG_ENCODE_ALPHA [2/2]

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

◆ png_error [1/2]

#define png_error (   s1,
  s2 
)    png_err(s1)

◆ png_error [2/2]

#define png_error (   s1,
  s2 
)    png_err(s1)

◆ PNG_EXPAND [1/2]

#define PNG_EXPAND   0x1000

◆ PNG_EXPAND [2/2]

#define PNG_EXPAND   0x1000

◆ PNG_EXPAND_16 [1/2]

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

◆ PNG_EXPAND_16 [2/2]

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

◆ PNG_EXPAND_tRNS [1/2]

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

◆ PNG_EXPAND_tRNS [2/2]

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

◆ PNG_FILLER [1/2]

#define PNG_FILLER   0x8000

◆ PNG_FILLER [2/2]

#define PNG_FILLER   0x8000

◆ png_fixed_error [1/2]

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

◆ png_fixed_error [2/2]

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

◆ PNG_FIXED_EXPORT

#define PNG_FIXED_EXPORT (   ordinal,
  type,
  name,
  args 
)    PNG_INTERNAL_FUNCTION(type, name, args, PNG_EMPTY);

◆ PNG_FLAG_APP_ERRORS_WARN [1/2]

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

◆ PNG_FLAG_APP_ERRORS_WARN [2/2]

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

◆ PNG_FLAG_APP_WARNINGS_WARN [1/2]

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

◆ PNG_FLAG_APP_WARNINGS_WARN [2/2]

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

◆ PNG_FLAG_ASSUME_sRGB [1/2]

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

◆ PNG_FLAG_ASSUME_sRGB [2/2]

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

◆ PNG_FLAG_BENIGN_ERRORS_WARN [1/2]

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

◆ PNG_FLAG_BENIGN_ERRORS_WARN [2/2]

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

◆ PNG_FLAG_CRC_ANCILLARY_MASK [1/2]

#define PNG_FLAG_CRC_ANCILLARY_MASK
Value:
PNG_FLAG_CRC_ANCILLARY_NOWARN)
#define PNG_FLAG_CRC_ANCILLARY_USE
Definition: pngpriv.h:516

◆ PNG_FLAG_CRC_ANCILLARY_MASK [2/2]

#define PNG_FLAG_CRC_ANCILLARY_MASK
Value:
PNG_FLAG_CRC_ANCILLARY_NOWARN)
#define PNG_FLAG_CRC_ANCILLARY_USE

◆ PNG_FLAG_CRC_ANCILLARY_NOWARN [1/2]

#define PNG_FLAG_CRC_ANCILLARY_NOWARN   0x0200

◆ PNG_FLAG_CRC_ANCILLARY_NOWARN [2/2]

#define PNG_FLAG_CRC_ANCILLARY_NOWARN   0x0200

◆ PNG_FLAG_CRC_ANCILLARY_USE [1/2]

#define PNG_FLAG_CRC_ANCILLARY_USE   0x0100

◆ PNG_FLAG_CRC_ANCILLARY_USE [2/2]

#define PNG_FLAG_CRC_ANCILLARY_USE   0x0100

◆ PNG_FLAG_CRC_CRITICAL_IGNORE [1/2]

#define PNG_FLAG_CRC_CRITICAL_IGNORE   0x0800

◆ PNG_FLAG_CRC_CRITICAL_IGNORE [2/2]

#define PNG_FLAG_CRC_CRITICAL_IGNORE   0x0800

◆ PNG_FLAG_CRC_CRITICAL_MASK [1/2]

#define PNG_FLAG_CRC_CRITICAL_MASK
Value:
PNG_FLAG_CRC_CRITICAL_IGNORE)
#define PNG_FLAG_CRC_CRITICAL_USE
Definition: pngpriv.h:518

◆ PNG_FLAG_CRC_CRITICAL_MASK [2/2]

#define PNG_FLAG_CRC_CRITICAL_MASK
Value:
PNG_FLAG_CRC_CRITICAL_IGNORE)
#define PNG_FLAG_CRC_CRITICAL_USE

◆ PNG_FLAG_CRC_CRITICAL_USE [1/2]

#define PNG_FLAG_CRC_CRITICAL_USE   0x0400

◆ PNG_FLAG_CRC_CRITICAL_USE [2/2]

#define PNG_FLAG_CRC_CRITICAL_USE   0x0400

◆ PNG_FLAG_CRC_MASK [1/2]

#define PNG_FLAG_CRC_MASK
Value:
PNG_FLAG_CRC_CRITICAL_MASK)
#define PNG_FLAG_CRC_ANCILLARY_MASK
Definition: pngpriv.h:540

◆ PNG_FLAG_CRC_MASK [2/2]

#define PNG_FLAG_CRC_MASK
Value:
PNG_FLAG_CRC_CRITICAL_MASK)
#define PNG_FLAG_CRC_ANCILLARY_MASK

◆ PNG_FLAG_DETECT_UNINITIALIZED [1/2]

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

◆ PNG_FLAG_DETECT_UNINITIALIZED [2/2]

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

◆ PNG_FLAG_FILLER_AFTER [1/2]

#define PNG_FLAG_FILLER_AFTER   0x0080

◆ PNG_FLAG_FILLER_AFTER [2/2]

#define PNG_FLAG_FILLER_AFTER   0x0080

◆ PNG_FLAG_LIBRARY_MISMATCH [1/2]

#define PNG_FLAG_LIBRARY_MISMATCH   0x20000

◆ PNG_FLAG_LIBRARY_MISMATCH [2/2]

#define PNG_FLAG_LIBRARY_MISMATCH   0x20000

◆ PNG_FLAG_OPTIMIZE_ALPHA [1/2]

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

◆ PNG_FLAG_OPTIMIZE_ALPHA [2/2]

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

◆ PNG_FLAG_ROW_INIT [1/2]

#define PNG_FLAG_ROW_INIT   0x0040

◆ PNG_FLAG_ROW_INIT [2/2]

#define PNG_FLAG_ROW_INIT   0x0040

◆ PNG_FLAG_STRIP_ERROR_NUMBERS [1/2]

#define PNG_FLAG_STRIP_ERROR_NUMBERS   0x40000

◆ PNG_FLAG_STRIP_ERROR_NUMBERS [2/2]

#define PNG_FLAG_STRIP_ERROR_NUMBERS   0x40000

◆ PNG_FLAG_STRIP_ERROR_TEXT [1/2]

#define PNG_FLAG_STRIP_ERROR_TEXT   0x80000

◆ PNG_FLAG_STRIP_ERROR_TEXT [2/2]

#define PNG_FLAG_STRIP_ERROR_TEXT   0x80000

◆ PNG_FLAG_ZLIB_CUSTOM_STRATEGY [1/2]

#define PNG_FLAG_ZLIB_CUSTOM_STRATEGY   0x0001

◆ PNG_FLAG_ZLIB_CUSTOM_STRATEGY [2/2]

#define PNG_FLAG_ZLIB_CUSTOM_STRATEGY   0x0001

◆ PNG_FLAG_ZSTREAM_ENDED [1/2]

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

◆ PNG_FLAG_ZSTREAM_ENDED [2/2]

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

◆ PNG_FLAG_ZSTREAM_INITIALIZED [1/2]

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

◆ PNG_FLAG_ZSTREAM_INITIALIZED [2/2]

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

◆ png_float

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

◆ PNG_FORMAT_NUMBER

#define PNG_FORMAT_NUMBER (   buffer,
  format,
  number 
)    png_format_number(buffer, buffer + (sizeof buffer), format, number)

◆ png_formatted_warning

#define png_formatted_warning (   pp,
  p,
  message 
)    ((void)(pp))

◆ PNG_FP_EXPONENT

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

◆ PNG_FP_EXPORT

#define PNG_FP_EXPORT (   ordinal,
  type,
  name,
  args 
)    PNG_INTERNAL_FUNCTION(type, name, args, PNG_EMPTY);

◆ 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)    (((state) & PNG_FP_NZ_MASK) == PNG_FP_NZ_MASK)

◆ PNG_FP_IS_POSITIVE

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

◆ PNG_FP_IS_ZERO

#define PNG_FP_IS_ZERO (   state)    (((state) & PNG_FP_Z_MASK) == 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_gAMA [1/2]

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

◆ png_gAMA [2/2]

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

◆ PNG_GAMMA [1/2]

#define PNG_GAMMA   0x2000

◆ PNG_GAMMA [2/2]

#define PNG_GAMMA   0x2000

◆ PNG_GAMMA_MAC_INVERSE [1/2]

#define PNG_GAMMA_MAC_INVERSE   65909

◆ PNG_GAMMA_MAC_INVERSE [2/2]

#define PNG_GAMMA_MAC_INVERSE   65909

◆ PNG_GAMMA_MAC_OLD [1/2]

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

◆ PNG_GAMMA_MAC_OLD [2/2]

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

◆ PNG_GAMMA_sRGB_INVERSE [1/2]

#define PNG_GAMMA_sRGB_INVERSE   45455

◆ PNG_GAMMA_sRGB_INVERSE [2/2]

#define PNG_GAMMA_sRGB_INVERSE   45455

◆ PNG_GRAY_TO_RGB [1/2]

#define PNG_GRAY_TO_RGB   0x4000

◆ PNG_GRAY_TO_RGB [2/2]

#define PNG_GRAY_TO_RGB   0x4000

◆ PNG_HAVE_CHUNK_AFTER_IDAT [1/2]

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

◆ PNG_HAVE_CHUNK_AFTER_IDAT [2/2]

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

◆ PNG_HAVE_CHUNK_HEADER [1/2]

#define PNG_HAVE_CHUNK_HEADER   0x100

◆ PNG_HAVE_CHUNK_HEADER [2/2]

#define PNG_HAVE_CHUNK_HEADER   0x100

◆ PNG_HAVE_IDAT [1/2]

#define PNG_HAVE_IDAT   0x04

◆ PNG_HAVE_IDAT [2/2]

#define PNG_HAVE_IDAT   0x04

◆ PNG_HAVE_IEND [1/2]

#define PNG_HAVE_IEND   0x10

◆ PNG_HAVE_IEND [2/2]

#define PNG_HAVE_IEND   0x10

◆ PNG_HAVE_PNG_SIGNATURE [1/2]

#define PNG_HAVE_PNG_SIGNATURE   0x1000

◆ PNG_HAVE_PNG_SIGNATURE [2/2]

#define PNG_HAVE_PNG_SIGNATURE   0x1000

◆ png_hIST [1/2]

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

◆ png_hIST [2/2]

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

◆ png_iCCP [1/2]

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

◆ png_iCCP [2/2]

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

◆ png_IDAT [1/2]

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

◆ png_IDAT [2/2]

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

◆ png_IEND [1/2]

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

◆ png_IEND [2/2]

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

◆ png_IHDR [1/2]

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

◆ png_IHDR [2/2]

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

◆ PNG_IMPEXP

#define PNG_IMPEXP

◆ PNG_INTERLACE [1/2]

#define PNG_INTERLACE   0x0002

◆ PNG_INTERLACE [2/2]

#define PNG_INTERLACE   0x0002

◆ PNG_INTERNAL_DATA [1/2]

#define PNG_INTERNAL_DATA (   type,
  name,
  array 
)    extern type name array

◆ PNG_INTERNAL_DATA [2/2]

#define PNG_INTERNAL_DATA (   type,
  name,
  array 
)    extern type name array

◆ PNG_INTERNAL_FUNCTION [1/2]

#define PNG_INTERNAL_FUNCTION (   type,
  name,
  args,
  attributes 
)    extern PNG_FUNCTION(type, name, args, PNG_EMPTY attributes)

◆ PNG_INTERNAL_FUNCTION [2/2]

#define PNG_INTERNAL_FUNCTION (   type,
  name,
  args,
  attributes 
)    extern PNG_FUNCTION(type, name, args, PNG_EMPTY attributes)

◆ PNG_INVERT_ALPHA [1/2]

#define PNG_INVERT_ALPHA   0x80000

◆ PNG_INVERT_ALPHA [2/2]

#define PNG_INVERT_ALPHA   0x80000

◆ PNG_INVERT_MONO [1/2]

#define PNG_INVERT_MONO   0x0020

◆ PNG_INVERT_MONO [2/2]

#define PNG_INVERT_MONO   0x0020

◆ PNG_IS_READ_STRUCT [1/2]

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

◆ PNG_IS_READ_STRUCT [2/2]

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

◆ png_isaligned [1/2]

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

◆ png_isaligned [2/2]

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

◆ png_iTXt [1/2]

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

◆ png_iTXt [2/2]

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

◆ 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 [1/2]

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

◆ png_oFFs [2/2]

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

◆ PNG_OUT_OF_RANGE [1/2]

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

◆ PNG_OUT_OF_RANGE [2/2]

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

◆ PNG_PACK [1/2]

#define PNG_PACK   0x0004

◆ PNG_PACK [2/2]

#define PNG_PACK   0x0004

◆ PNG_PACKSWAP [1/2]

#define PNG_PACKSWAP   0x10000

◆ PNG_PACKSWAP [2/2]

#define PNG_PACKSWAP   0x10000

◆ png_pCAL [1/2]

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

◆ png_pCAL [2/2]

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

◆ png_pHYs [1/2]

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

◆ png_pHYs [2/2]

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

◆ png_PLTE [1/2]

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

◆ png_PLTE [2/2]

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

◆ PNG_PRIVATE

#define PNG_PRIVATE

◆ PNG_QUANTIZE [1/2]

#define PNG_QUANTIZE   0x0040

◆ PNG_QUANTIZE [2/2]

#define PNG_QUANTIZE   0x0040

◆ PNG_RGB_TO_GRAY [1/2]

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

◆ PNG_RGB_TO_GRAY [2/2]

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

◆ PNG_RGB_TO_GRAY_ERR [1/2]

#define PNG_RGB_TO_GRAY_ERR   0x200000

◆ PNG_RGB_TO_GRAY_ERR [2/2]

#define PNG_RGB_TO_GRAY_ERR   0x200000

◆ PNG_RGB_TO_GRAY_WARN [1/2]

#define PNG_RGB_TO_GRAY_WARN   0x400000

◆ PNG_RGB_TO_GRAY_WARN [2/2]

#define PNG_RGB_TO_GRAY_WARN   0x400000

◆ PNG_RGBA [1/2]

#define PNG_RGBA   0x0800

◆ PNG_RGBA [2/2]

#define PNG_RGBA   0x0800

◆ PNG_ROWBYTES [1/2]

#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_const_structrp png_const_inforp int png_fixed_point * width
Definition: juce_PNGLoader.cpp:2339
size_t png_size_t
Definition: pngconf.h:515

◆ PNG_ROWBYTES [2/2]

#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_const_structrp png_const_inforp int png_fixed_point * width
Definition: juce_PNGLoader.cpp:2339
size_t png_size_t
Definition: pngconf.h:515

◆ png_sBIT [1/2]

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

◆ png_sBIT [2/2]

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

◆ png_sCAL [1/2]

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

◆ png_sCAL [2/2]

#define png_sCAL   PNG_CHUNK(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 [1/2]

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

◆ PNG_SCALE_16_TO_8 [2/2]

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

◆ PNG_SHIFT [1/2]

#define PNG_SHIFT   0x0008

◆ PNG_SHIFT [2/2]

#define PNG_SHIFT   0x0008

◆ png_sPLT [1/2]

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

◆ png_sPLT [2/2]

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

◆ png_sRGB [1/2]

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

◆ png_sRGB [2/2]

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

◆ png_sTER [1/2]

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

◆ png_sTER [2/2]

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

◆ PNG_STRING_FROM_CHUNK [1/2]

#define PNG_STRING_FROM_CHUNK (   s,
 
)
Value:
(void)(((char*)(s))[0]=(char)((c)>>24), ((char*)(s))[1]=(char)((c)>>16),\
((char*)(s))[2]=(char)((c)>>8), ((char*)(s))[3]=(char)((c)))
void
Definition: juce_PNGLoader.cpp:1173

◆ PNG_STRING_FROM_CHUNK [2/2]

#define PNG_STRING_FROM_CHUNK (   s,
 
)
Value:
(void)(((char*)(s))[0]=(char)((c)>>24), ((char*)(s))[1]=(char)((c)>>16),\
((char*)(s))[2]=(char)((c)>>8), ((char*)(s))[3]=(char)((c)))
void
Definition: juce_PNGLoader.cpp:1173

◆ PNG_STRIP_ALPHA [1/2]

#define PNG_STRIP_ALPHA   0x40000

◆ PNG_STRIP_ALPHA [2/2]

#define PNG_STRIP_ALPHA   0x40000

◆ PNG_STRUCT_INFO [1/2]

#define PNG_STRUCT_INFO   0x0002

◆ PNG_STRUCT_INFO [2/2]

#define PNG_STRUCT_INFO   0x0002

◆ PNG_STRUCT_PNG [1/2]

#define PNG_STRUCT_PNG   0x0001

◆ PNG_STRUCT_PNG [2/2]

#define PNG_STRUCT_PNG   0x0001

◆ PNG_SWAP_ALPHA [1/2]

#define PNG_SWAP_ALPHA   0x20000

◆ PNG_SWAP_ALPHA [2/2]

#define PNG_SWAP_ALPHA   0x20000

◆ PNG_SWAP_BYTES [1/2]

#define PNG_SWAP_BYTES   0x0010

◆ PNG_SWAP_BYTES [2/2]

#define PNG_SWAP_BYTES   0x0010

◆ png_tEXt [1/2]

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

◆ png_tEXt [2/2]

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

◆ png_tIME [1/2]

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

◆ png_tIME [2/2]

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

◆ png_tRNS [1/2]

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

◆ png_tRNS [2/2]

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

◆ PNG_UNEXPECTED_ZLIB_RETURN [1/2]

#define PNG_UNEXPECTED_ZLIB_RETURN   (-7)

◆ PNG_UNEXPECTED_ZLIB_RETURN [2/2]

#define PNG_UNEXPECTED_ZLIB_RETURN   (-7)

◆ PNG_UNUSED [1/2]

#define PNG_UNUSED (   param)    (void)param;

◆ PNG_UNUSED [2/2]

#define PNG_UNUSED (   param)    (void)param;

◆ PNG_USE_COMPILE_TIME_MASKS [1/2]

#define PNG_USE_COMPILE_TIME_MASKS   1

◆ PNG_USE_COMPILE_TIME_MASKS [2/2]

#define PNG_USE_COMPILE_TIME_MASKS   1

◆ PNG_USER_CHUNK_CACHE_MAX [1/2]

#define PNG_USER_CHUNK_CACHE_MAX   0

◆ PNG_USER_CHUNK_CACHE_MAX [2/2]

#define PNG_USER_CHUNK_CACHE_MAX   0

◆ PNG_USER_CHUNK_MALLOC_MAX [1/2]

#define PNG_USER_CHUNK_MALLOC_MAX   0

◆ PNG_USER_CHUNK_MALLOC_MAX [2/2]

#define PNG_USER_CHUNK_MALLOC_MAX   0

◆ PNG_USER_HEIGHT_MAX [1/2]

#define PNG_USER_HEIGHT_MAX   0x7fffffff

◆ PNG_USER_HEIGHT_MAX [2/2]

#define PNG_USER_HEIGHT_MAX   0x7fffffff

◆ PNG_USER_TRANSFORM [1/2]

#define PNG_USER_TRANSFORM   0x100000

◆ PNG_USER_TRANSFORM [2/2]

#define PNG_USER_TRANSFORM   0x100000

◆ PNG_USER_WIDTH_MAX [1/2]

#define PNG_USER_WIDTH_MAX   0x7fffffff

◆ PNG_USER_WIDTH_MAX [2/2]

#define PNG_USER_WIDTH_MAX   0x7fffffff

◆ png_voidcast [1/2]

#define png_voidcast (   type,
  value 
)    (value)

◆ png_voidcast [2/2]

#define png_voidcast (   type,
  value 
)    (value)

◆ png_warning

#define png_warning (   s1,
  s2 
)    ((void)(s1))

◆ png_warning_parameter

#define png_warning_parameter (   p,
  number,
  string 
)    ((void)0)

◆ PNG_WARNING_PARAMETER_COUNT

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

◆ png_warning_parameter_signed

#define png_warning_parameter_signed (   p,
  number,
  format,
  value 
)    ((void)0)

◆ PNG_WARNING_PARAMETER_SIZE

#define PNG_WARNING_PARAMETER_SIZE   32

◆ png_warning_parameter_unsigned

#define png_warning_parameter_unsigned (   p,
  number,
  format,
  value 
)    ((void)0)

◆ PNG_WARNING_PARAMETERS [1/2]

#define PNG_WARNING_PARAMETERS (   p)    png_warning_parameters p;

◆ PNG_WARNING_PARAMETERS [2/2]

#define PNG_WARNING_PARAMETERS (   p)

◆ PNG_WEIGHT_FACTOR [1/2]

#define PNG_WEIGHT_FACTOR   (1<<(PNG_WEIGHT_SHIFT))

◆ PNG_WEIGHT_FACTOR [2/2]

#define PNG_WEIGHT_FACTOR   (1<<(PNG_WEIGHT_SHIFT))

◆ PNG_WROTE_INFO_BEFORE_PLTE [1/2]

#define PNG_WROTE_INFO_BEFORE_PLTE   0x400

◆ PNG_WROTE_INFO_BEFORE_PLTE [2/2]

#define PNG_WROTE_INFO_BEFORE_PLTE   0x400

◆ PNG_WROTE_tIME [1/2]

#define PNG_WROTE_tIME   0x200

◆ PNG_WROTE_tIME [2/2]

#define PNG_WROTE_tIME   0x200

◆ png_zTXt [1/2]

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

◆ png_zTXt [2/2]

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

◆ PNGFAPI [1/2]

#define PNGFAPI   PNGAPI

◆ PNGFAPI [2/2]

#define PNGFAPI   /* PRIVATE */

◆ PNGLIB_BUILD [1/2]

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

◆ PNGLIB_BUILD [2/2]

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

◆ PNGPRIV_H

#define PNGPRIV_H

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/43]

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

◆ PNG_INTERNAL_FUNCTION() [2/43]

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

◆ PNG_INTERNAL_FUNCTION() [3/43]

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

◆ PNG_INTERNAL_FUNCTION() [4/43]

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() [5/43]

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

◆ PNG_INTERNAL_FUNCTION() [6/43]

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

◆ PNG_INTERNAL_FUNCTION() [7/43]

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

◆ PNG_INTERNAL_FUNCTION() [8/43]

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

◆ PNG_INTERNAL_FUNCTION() [9/43]

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

◆ PNG_INTERNAL_FUNCTION() [10/43]

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

◆ PNG_INTERNAL_FUNCTION() [11/43]

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

◆ PNG_INTERNAL_FUNCTION() [12/43]

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

◆ PNG_INTERNAL_FUNCTION() [13/43]

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

◆ PNG_INTERNAL_FUNCTION() [14/43]

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

◆ PNG_INTERNAL_FUNCTION() [15/43]

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

◆ PNG_INTERNAL_FUNCTION() [16/43]

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

◆ PNG_INTERNAL_FUNCTION() [17/43]

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

◆ PNG_INTERNAL_FUNCTION() [18/43]

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

◆ PNG_INTERNAL_FUNCTION() [19/43]

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

◆ PNG_INTERNAL_FUNCTION() [20/43]

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() [21/43]

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() [22/43]

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() [23/43]

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

◆ PNG_INTERNAL_FUNCTION() [24/43]

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

◆ PNG_INTERNAL_FUNCTION() [25/43]

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

◆ PNG_INTERNAL_FUNCTION() [26/43]

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

◆ PNG_INTERNAL_FUNCTION() [27/43]

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() [28/43]

PNG_INTERNAL_FUNCTION ( void  ,
png_read_filter_row_up_neon  ,
(png_row_infop row_info, png_bytep row, png_const_bytep prev_row)  ,
PNG_EMPTY   
)

◆ PNG_INTERNAL_FUNCTION() [29/43]

PNG_INTERNAL_FUNCTION ( void  ,
png_read_filter_row_sub3_neon  ,
(png_row_infop row_info, png_bytep row, png_const_bytep prev_row)  ,
PNG_EMPTY   
)

◆ PNG_INTERNAL_FUNCTION() [30/43]

PNG_INTERNAL_FUNCTION ( void  ,
png_read_filter_row_sub4_neon  ,
(png_row_infop row_info, png_bytep row, png_const_bytep prev_row)  ,
PNG_EMPTY   
)

◆ PNG_INTERNAL_FUNCTION() [31/43]

PNG_INTERNAL_FUNCTION ( void  ,
png_read_filter_row_avg3_neon  ,
(png_row_infop row_info, png_bytep row, png_const_bytep prev_row)  ,
PNG_EMPTY   
)

◆ PNG_INTERNAL_FUNCTION() [32/43]

PNG_INTERNAL_FUNCTION ( void  ,
png_read_filter_row_avg4_neon  ,
(png_row_infop row_info, png_bytep row, png_const_bytep prev_row)  ,
PNG_EMPTY   
)

◆ PNG_INTERNAL_FUNCTION() [33/43]

PNG_INTERNAL_FUNCTION ( void  ,
png_read_filter_row_paeth3_neon  ,
(png_row_infop row_info, png_bytep row, png_const_bytep prev_row)  ,
PNG_EMPTY   
)

◆ PNG_INTERNAL_FUNCTION() [34/43]

PNG_INTERNAL_FUNCTION ( void  ,
png_read_filter_row_paeth4_neon  ,
(png_row_infop row_info, png_bytep row, png_const_bytep prev_row)  ,
PNG_EMPTY   
)

◆ PNG_INTERNAL_FUNCTION() [35/43]

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

◆ PNG_INTERNAL_FUNCTION() [36/43]

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

◆ PNG_INTERNAL_FUNCTION() [37/43]

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

◆ PNG_INTERNAL_FUNCTION() [38/43]

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

◆ PNG_INTERNAL_FUNCTION() [39/43]

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

◆ PNG_INTERNAL_FUNCTION() [40/43]

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

◆ PNG_INTERNAL_FUNCTION() [41/43]

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() [42/43]

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() [43/43]

PNG_INTERNAL_FUNCTION ( void  ,
png_chunk_report  ,
(png_const_structrp png_ptr, png_const_charp message, int error)  ,
PNG_EMPTY   
)