Angband
Macros | Typedefs
pngconf.h File Reference
#include <stdio.h>
#include <sys/types.h>
#include <setjmp.h>
#include <string.h>
#include <time.h>

Go to the source code of this file.

Macros

#define PNG_1_2_X
 
#define PNG_WARN_UNINITIALIZED_ROW   1
 
#define PNG_ZBUF_SIZE   8192
 
#define PNG_READ_SUPPORTED
 
#define PNG_WRITE_SUPPORTED
 
#define PNG_MNG_FEATURES_SUPPORTED
 
#define PNG_FLOATING_POINT_SUPPORTED
 
#define PNGARG(arglist)   arglist
 
#define PNG_SETJMP_SUPPORTED
 
#define PNG_CONST   const
 
#define PNG_NO_iTXt_SUPPORTED
 
#define PNG_NO_READ_iTXt
 
#define PNG_NO_WRITE_iTXt
 
#define PNG_FIXED_POINT_SUPPORTED
 
#define PNG_FREE_ME_SUPPORTED
 
#define PNG_READ_TRANSFORMS_SUPPORTED
 
#define PNG_READ_EXPAND_SUPPORTED
 
#define PNG_READ_SHIFT_SUPPORTED
 
#define PNG_READ_PACK_SUPPORTED
 
#define PNG_READ_BGR_SUPPORTED
 
#define PNG_READ_SWAP_SUPPORTED
 
#define PNG_READ_PACKSWAP_SUPPORTED
 
#define PNG_READ_INVERT_SUPPORTED
 
#define PNG_READ_DITHER_SUPPORTED
 
#define PNG_READ_BACKGROUND_SUPPORTED
 
#define PNG_READ_16_TO_8_SUPPORTED
 
#define PNG_READ_FILLER_SUPPORTED
 
#define PNG_READ_GAMMA_SUPPORTED
 
#define PNG_READ_GRAY_TO_RGB_SUPPORTED
 
#define PNG_READ_SWAP_ALPHA_SUPPORTED
 
#define PNG_READ_INVERT_ALPHA_SUPPORTED
 
#define PNG_READ_STRIP_ALPHA_SUPPORTED
 
#define PNG_READ_USER_TRANSFORM_SUPPORTED
 
#define PNG_READ_RGB_TO_GRAY_SUPPORTED
 
#define PNG_PROGRESSIVE_READ_SUPPORTED   /* reading. This is not talking */
 
#define PNG_READ_INTERLACING_SUPPORTED   /* required in PNG-compliant decoders */
 
#define PNG_READ_COMPOSITE_NODIV_SUPPORTED   /* well tested on Intel, SGI */
 
#define PNG_READ_EMPTY_PLTE_SUPPORTED
 
#define PNG_WRITE_TRANSFORMS_SUPPORTED
 
#define PNG_WRITE_SHIFT_SUPPORTED
 
#define PNG_WRITE_PACK_SUPPORTED
 
#define PNG_WRITE_BGR_SUPPORTED
 
#define PNG_WRITE_SWAP_SUPPORTED
 
#define PNG_WRITE_PACKSWAP_SUPPORTED
 
#define PNG_WRITE_INVERT_SUPPORTED
 
#define PNG_WRITE_FILLER_SUPPORTED   /* same as WRITE_STRIP_ALPHA */
 
#define PNG_WRITE_SWAP_ALPHA_SUPPORTED
 
#define PNG_WRITE_INVERT_ALPHA_SUPPORTED
 
#define PNG_WRITE_USER_TRANSFORM_SUPPORTED
 
#define PNG_WRITE_INTERLACING_SUPPORTED
 
#define PNG_WRITE_WEIGHTED_FILTER_SUPPORTED
 
#define PNG_WRITE_FLUSH_SUPPORTED
 
#define PNG_WRITE_EMPTY_PLTE_SUPPORTED
 
#define PNG_ERROR_NUMBERS_SUPPORTED
 
#define PNG_USER_TRANSFORM_PTR_SUPPORTED
 
#define PNG_TIME_RFC1123_SUPPORTED
 
#define PNG_EASY_ACCESS_SUPPORTED
 
#define PNG_OPTIMIZED_CODE_SUPPORTED
 
#define PNG_USER_MEM_SUPPORTED
 
#define PNG_SET_USER_LIMITS_SUPPORTED
 
#define PNG_USER_WIDTH_MAX   1000000L
 
#define PNG_USER_HEIGHT_MAX   1000000L
 
#define PNG_STRING_NEWLINE   "\n"
 
#define PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
 
#define PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
 
#define PNG_READ_bKGD_SUPPORTED
 
#define PNG_bKGD_SUPPORTED
 
#define PNG_READ_cHRM_SUPPORTED
 
#define PNG_cHRM_SUPPORTED
 
#define PNG_READ_gAMA_SUPPORTED
 
#define PNG_gAMA_SUPPORTED
 
#define PNG_READ_hIST_SUPPORTED
 
#define PNG_hIST_SUPPORTED
 
#define PNG_READ_iCCP_SUPPORTED
 
#define PNG_iCCP_SUPPORTED
 
#define PNG_READ_oFFs_SUPPORTED
 
#define PNG_oFFs_SUPPORTED
 
#define PNG_READ_pCAL_SUPPORTED
 
#define PNG_pCAL_SUPPORTED
 
#define PNG_READ_sCAL_SUPPORTED
 
#define PNG_sCAL_SUPPORTED
 
#define PNG_READ_pHYs_SUPPORTED
 
#define PNG_pHYs_SUPPORTED
 
#define PNG_READ_sBIT_SUPPORTED
 
#define PNG_sBIT_SUPPORTED
 
#define PNG_READ_sPLT_SUPPORTED
 
#define PNG_sPLT_SUPPORTED
 
#define PNG_READ_sRGB_SUPPORTED
 
#define PNG_sRGB_SUPPORTED
 
#define PNG_READ_tEXt_SUPPORTED
 
#define PNG_tEXt_SUPPORTED
 
#define PNG_READ_tIME_SUPPORTED
 
#define PNG_tIME_SUPPORTED
 
#define PNG_READ_tRNS_SUPPORTED
 
#define PNG_tRNS_SUPPORTED
 
#define PNG_READ_zTXt_SUPPORTED
 
#define PNG_zTXt_SUPPORTED
 
#define PNG_READ_UNKNOWN_CHUNKS_SUPPORTED
 
#define PNG_UNKNOWN_CHUNKS_SUPPORTED
 
#define PNG_HANDLE_AS_UNKNOWN_SUPPORTED
 
#define PNG_READ_USER_CHUNKS_SUPPORTED
 
#define PNG_USER_CHUNKS_SUPPORTED
 
#define PNG_READ_OPT_PLTE_SUPPORTED   /* only affects support of the */
 
#define PNG_READ_TEXT_SUPPORTED
 
#define PNG_TEXT_SUPPORTED
 
#define PNG_WRITE_bKGD_SUPPORTED
 
#define PNG_WRITE_cHRM_SUPPORTED
 
#define PNG_WRITE_gAMA_SUPPORTED
 
#define PNG_WRITE_hIST_SUPPORTED
 
#define PNG_WRITE_iCCP_SUPPORTED
 
#define PNG_WRITE_oFFs_SUPPORTED
 
#define PNG_WRITE_pCAL_SUPPORTED
 
#define PNG_WRITE_sCAL_SUPPORTED
 
#define PNG_WRITE_pHYs_SUPPORTED
 
#define PNG_WRITE_sBIT_SUPPORTED
 
#define PNG_WRITE_sPLT_SUPPORTED
 
#define PNG_WRITE_sRGB_SUPPORTED
 
#define PNG_WRITE_tEXt_SUPPORTED
 
#define PNG_WRITE_tIME_SUPPORTED
 
#define PNG_WRITE_tRNS_SUPPORTED
 
#define PNG_WRITE_zTXt_SUPPORTED
 
#define PNG_WRITE_UNKNOWN_CHUNKS_SUPPORTED
 
#define PNG_WRITE_TEXT_SUPPORTED
 
#define PNG_INFO_IMAGE_SUPPORTED
 
#define png_sizeof(x)   sizeof(x)
 
#define FAR
 
#define FARDATA
 
#define PNG_USE_GLOBAL_ARRAYS
 
#define PNGAPI
 
#define PNG_IMPEXP
 
#define PNG_EXPORT(type, symbol)   PNG_IMPEXP type PNGAPI symbol
 
#define PNG_EXPORT_VAR(type)   extern PNG_IMPEXP type
 
#define PNG_ABORT()   abort()
 
#define png_jmpbuf(png_ptr)   ((png_ptr)->jmpbuf)
 
#define CVT_PTR(ptr)   (ptr)
 
#define CVT_PTR_NOCHECK(ptr)   (ptr)
 
#define png_snprintf   snprintf /* Added to v 1.2.19 */
 
#define png_snprintf2   snprintf
 
#define png_snprintf6   snprintf
 
#define png_strlen   strlen
 
#define png_memcmp   memcmp /* SJT: added */
 
#define png_memcpy   memcpy
 
#define png_memset   memset
 

Typedefs

typedef unsigned long png_uint_32
 
typedef long png_int_32
 
typedef unsigned short png_uint_16
 
typedef short png_int_16
 
typedef unsigned char png_byte
 
typedef size_t png_size_t
 
typedef png_int_32 png_fixed_point
 
typedef void FARpng_voidp
 
typedef png_byte FARpng_bytep
 
typedef png_uint_32 FARpng_uint_32p
 
typedef png_int_32 FARpng_int_32p
 
typedef png_uint_16 FARpng_uint_16p
 
typedef png_int_16 FARpng_int_16p
 
typedef PNG_CONST char FARpng_const_charp
 
typedef char FARpng_charp
 
typedef png_fixed_point FARpng_fixed_point_p
 
typedef FILE * png_FILE_p
 
typedef double FARpng_doublep
 
typedef png_byte FAR *FARpng_bytepp
 
typedef png_uint_32 FAR *FARpng_uint_32pp
 
typedef png_int_32 FAR *FARpng_int_32pp
 
typedef png_uint_16 FAR *FARpng_uint_16pp
 
typedef png_int_16 FAR *FARpng_int_16pp
 
typedef PNG_CONST char FAR *FARpng_const_charpp
 
typedef char FAR *FARpng_charpp
 
typedef png_fixed_point FAR *FARpng_fixed_point_pp
 
typedef double FAR *FARpng_doublepp
 
typedef char FAR *FAR *FARpng_charppp
 
typedef charfpng_zcharp
 
typedef charf *FARpng_zcharpp
 
typedef z_stream FARpng_zstreamp
 

Macro Definition Documentation

#define CVT_PTR (   ptr)    (ptr)
#define CVT_PTR_NOCHECK (   ptr)    (ptr)
#define FAR
#define FARDATA
#define PNG_1_2_X
#define PNG_ABORT ( )    abort()
#define PNG_bKGD_SUPPORTED
#define PNG_cHRM_SUPPORTED
#define PNG_CONST   const
#define PNG_EASY_ACCESS_SUPPORTED
#define PNG_ERROR_NUMBERS_SUPPORTED
#define PNG_EXPORT (   type,
  symbol 
)    PNG_IMPEXP type PNGAPI symbol
#define PNG_EXPORT_VAR (   type)    extern PNG_IMPEXP type
#define PNG_FIXED_POINT_SUPPORTED
#define PNG_FLOATING_POINT_SUPPORTED
#define PNG_FREE_ME_SUPPORTED
#define PNG_gAMA_SUPPORTED
#define PNG_HANDLE_AS_UNKNOWN_SUPPORTED
#define PNG_hIST_SUPPORTED
#define PNG_iCCP_SUPPORTED
#define PNG_IMPEXP
#define PNG_INFO_IMAGE_SUPPORTED
#define png_jmpbuf (   png_ptr)    ((png_ptr)->jmpbuf)
#define png_memcmp   memcmp /* SJT: added */
#define png_memcpy   memcpy
#define png_memset   memset
#define PNG_MNG_FEATURES_SUPPORTED
#define PNG_NO_iTXt_SUPPORTED
#define PNG_NO_READ_iTXt
#define PNG_NO_WRITE_iTXt
#define PNG_oFFs_SUPPORTED
#define PNG_OPTIMIZED_CODE_SUPPORTED
#define PNG_pCAL_SUPPORTED
#define PNG_pHYs_SUPPORTED
#define PNG_PROGRESSIVE_READ_SUPPORTED   /* reading. This is not talking */
#define PNG_READ_16_TO_8_SUPPORTED
#define PNG_READ_ANCILLARY_CHUNKS_SUPPORTED
#define PNG_READ_BACKGROUND_SUPPORTED
#define PNG_READ_BGR_SUPPORTED
#define PNG_READ_bKGD_SUPPORTED
#define PNG_READ_cHRM_SUPPORTED
#define PNG_READ_COMPOSITE_NODIV_SUPPORTED   /* well tested on Intel, SGI */
#define PNG_READ_DITHER_SUPPORTED
#define PNG_READ_EMPTY_PLTE_SUPPORTED
#define PNG_READ_EXPAND_SUPPORTED
#define PNG_READ_FILLER_SUPPORTED
#define PNG_READ_gAMA_SUPPORTED
#define PNG_READ_GAMMA_SUPPORTED
#define PNG_READ_GRAY_TO_RGB_SUPPORTED
#define PNG_READ_hIST_SUPPORTED
#define PNG_READ_iCCP_SUPPORTED
#define PNG_READ_INTERLACING_SUPPORTED   /* required in PNG-compliant decoders */
#define PNG_READ_INVERT_ALPHA_SUPPORTED
#define PNG_READ_INVERT_SUPPORTED
#define PNG_READ_oFFs_SUPPORTED
#define PNG_READ_OPT_PLTE_SUPPORTED   /* only affects support of the */
#define PNG_READ_PACK_SUPPORTED
#define PNG_READ_PACKSWAP_SUPPORTED
#define PNG_READ_pCAL_SUPPORTED
#define PNG_READ_pHYs_SUPPORTED
#define PNG_READ_RGB_TO_GRAY_SUPPORTED
#define PNG_READ_sBIT_SUPPORTED
#define PNG_READ_sCAL_SUPPORTED
#define PNG_READ_SHIFT_SUPPORTED
#define PNG_READ_sPLT_SUPPORTED
#define PNG_READ_sRGB_SUPPORTED
#define PNG_READ_STRIP_ALPHA_SUPPORTED
#define PNG_READ_SUPPORTED
#define PNG_READ_SWAP_ALPHA_SUPPORTED
#define PNG_READ_SWAP_SUPPORTED
#define PNG_READ_tEXt_SUPPORTED
#define PNG_READ_TEXT_SUPPORTED
#define PNG_READ_tIME_SUPPORTED
#define PNG_READ_TRANSFORMS_SUPPORTED
#define PNG_READ_tRNS_SUPPORTED
#define PNG_READ_UNKNOWN_CHUNKS_SUPPORTED
#define PNG_READ_USER_CHUNKS_SUPPORTED
#define PNG_READ_USER_TRANSFORM_SUPPORTED
#define PNG_READ_zTXt_SUPPORTED
#define PNG_sBIT_SUPPORTED
#define PNG_sCAL_SUPPORTED
#define PNG_SET_USER_LIMITS_SUPPORTED
#define PNG_SETJMP_SUPPORTED
#define png_sizeof (   x)    sizeof(x)
#define png_snprintf   snprintf /* Added to v 1.2.19 */
#define png_snprintf2   snprintf
#define png_snprintf6   snprintf
#define PNG_sPLT_SUPPORTED
#define PNG_sRGB_SUPPORTED
#define PNG_STRING_NEWLINE   "\n"
#define png_strlen   strlen
#define PNG_tEXt_SUPPORTED
#define PNG_TEXT_SUPPORTED
#define PNG_TIME_RFC1123_SUPPORTED
#define PNG_tIME_SUPPORTED
#define PNG_tRNS_SUPPORTED
#define PNG_UNKNOWN_CHUNKS_SUPPORTED
#define PNG_USE_GLOBAL_ARRAYS
#define PNG_USER_CHUNKS_SUPPORTED
#define PNG_USER_HEIGHT_MAX   1000000L
#define PNG_USER_MEM_SUPPORTED
#define PNG_USER_TRANSFORM_PTR_SUPPORTED
#define PNG_USER_WIDTH_MAX   1000000L
#define PNG_WARN_UNINITIALIZED_ROW   1
#define PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED
#define PNG_WRITE_BGR_SUPPORTED
#define PNG_WRITE_bKGD_SUPPORTED
#define PNG_WRITE_cHRM_SUPPORTED
#define PNG_WRITE_EMPTY_PLTE_SUPPORTED
#define PNG_WRITE_FILLER_SUPPORTED   /* same as WRITE_STRIP_ALPHA */
#define PNG_WRITE_FLUSH_SUPPORTED
#define PNG_WRITE_gAMA_SUPPORTED
#define PNG_WRITE_hIST_SUPPORTED
#define PNG_WRITE_iCCP_SUPPORTED
#define PNG_WRITE_INTERLACING_SUPPORTED
Value:
/* not required for PNG-compliant
encoders, but can cause trouble
if left undefined */
#define PNG_WRITE_INVERT_ALPHA_SUPPORTED
#define PNG_WRITE_INVERT_SUPPORTED
#define PNG_WRITE_oFFs_SUPPORTED
#define PNG_WRITE_PACK_SUPPORTED
#define PNG_WRITE_PACKSWAP_SUPPORTED
#define PNG_WRITE_pCAL_SUPPORTED
#define PNG_WRITE_pHYs_SUPPORTED
#define PNG_WRITE_sBIT_SUPPORTED
#define PNG_WRITE_sCAL_SUPPORTED
#define PNG_WRITE_SHIFT_SUPPORTED
#define PNG_WRITE_sPLT_SUPPORTED
#define PNG_WRITE_sRGB_SUPPORTED
#define PNG_WRITE_SUPPORTED
#define PNG_WRITE_SWAP_ALPHA_SUPPORTED
#define PNG_WRITE_SWAP_SUPPORTED
#define PNG_WRITE_tEXt_SUPPORTED
#define PNG_WRITE_TEXT_SUPPORTED
#define PNG_WRITE_tIME_SUPPORTED
#define PNG_WRITE_TRANSFORMS_SUPPORTED
#define PNG_WRITE_tRNS_SUPPORTED
#define PNG_WRITE_UNKNOWN_CHUNKS_SUPPORTED
#define PNG_WRITE_USER_TRANSFORM_SUPPORTED
#define PNG_WRITE_WEIGHTED_FILTER_SUPPORTED
#define PNG_WRITE_zTXt_SUPPORTED
#define PNG_ZBUF_SIZE   8192
#define PNG_zTXt_SUPPORTED
#define PNGAPI
#define PNGARG (   arglist)    arglist

Typedef Documentation

typedef unsigned char png_byte
typedef char FAR* png_charp
typedef char FAR* FAR* png_charpp
typedef char FAR* FAR* FAR* png_charppp
typedef PNG_CONST char FAR* png_const_charp
typedef double FAR* png_doublep
typedef double FAR* FAR* png_doublepp
typedef FILE* png_FILE_p
typedef short png_int_16
typedef long png_int_32
typedef size_t png_size_t
typedef unsigned short png_uint_16
typedef unsigned long png_uint_32
typedef void FAR* png_voidp
typedef charf* png_zcharp
typedef charf* FAR* png_zcharpp