OLD | NEW |
1 /* libpng 1.6.16 STANDARD API DEFINITION */ | 1 /* libpng 1.6.19 STANDARD API DEFINITION */ |
2 | 2 |
3 /* pnglibconf.h - library build configuration */ | 3 /* pnglibconf.h - library build configuration */ |
4 | 4 |
5 /* Libpng version 1.6.16 - December 22, 2014 */ | 5 /* Libpng version 1.6.19 - November 12, 2015 */ |
6 | 6 |
7 /* Copyright (c) 1998-2014 Glenn Randers-Pehrson */ | 7 /* Copyright (c) 1998-2015 Glenn Randers-Pehrson */ |
8 | 8 |
9 /* This code is released under the libpng license. */ | 9 /* This code is released under the libpng license. */ |
10 /* For conditions of distribution and use, see the disclaimer */ | 10 /* For conditions of distribution and use, see the disclaimer */ |
11 /* and license in png.h */ | 11 /* and license in png.h */ |
12 | 12 |
13 /* pnglibconf.h */ | 13 /* pnglibconf.h */ |
14 /* Machine generated file: DO NOT EDIT */ | 14 /* Machine generated file: DO NOT EDIT */ |
15 /* Derived from: scripts/pnglibconf.dfa */ | 15 /* Derived from: scripts/pnglibconf.dfa */ |
16 #ifndef PNGLCONF_H | 16 #ifndef PNGLCONF_H |
17 #define PNGLCONF_H | 17 #define PNGLCONF_H |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 #define PNG_READ_pCAL_SUPPORTED | 90 #define PNG_READ_pCAL_SUPPORTED |
91 #define PNG_READ_pHYs_SUPPORTED | 91 #define PNG_READ_pHYs_SUPPORTED |
92 #define PNG_READ_sBIT_SUPPORTED | 92 #define PNG_READ_sBIT_SUPPORTED |
93 #define PNG_READ_sCAL_SUPPORTED | 93 #define PNG_READ_sCAL_SUPPORTED |
94 #define PNG_READ_sPLT_SUPPORTED | 94 #define PNG_READ_sPLT_SUPPORTED |
95 #define PNG_READ_sRGB_SUPPORTED | 95 #define PNG_READ_sRGB_SUPPORTED |
96 #define PNG_READ_tEXt_SUPPORTED | 96 #define PNG_READ_tEXt_SUPPORTED |
97 #define PNG_READ_tIME_SUPPORTED | 97 #define PNG_READ_tIME_SUPPORTED |
98 #define PNG_READ_tRNS_SUPPORTED | 98 #define PNG_READ_tRNS_SUPPORTED |
99 #define PNG_READ_zTXt_SUPPORTED | 99 #define PNG_READ_zTXt_SUPPORTED |
100 /*#undef PNG_SAFE_LIMITS_SUPPORTED*/ | |
101 #define PNG_SAVE_INT_32_SUPPORTED | 100 #define PNG_SAVE_INT_32_SUPPORTED |
102 #define PNG_SAVE_UNKNOWN_CHUNKS_SUPPORTED | 101 #define PNG_SAVE_UNKNOWN_CHUNKS_SUPPORTED |
103 #define PNG_SEQUENTIAL_READ_SUPPORTED | 102 #define PNG_SEQUENTIAL_READ_SUPPORTED |
104 #define PNG_SETJMP_SUPPORTED | 103 #define PNG_SETJMP_SUPPORTED |
105 #define PNG_SET_CHUNK_CACHE_LIMIT_SUPPORTED | |
106 #define PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED | |
107 #define PNG_SET_OPTION_SUPPORTED | 104 #define PNG_SET_OPTION_SUPPORTED |
108 #define PNG_SET_UNKNOWN_CHUNKS_SUPPORTED | 105 #define PNG_SET_UNKNOWN_CHUNKS_SUPPORTED |
109 #define PNG_SET_USER_LIMITS_SUPPORTED | 106 #define PNG_SET_USER_LIMITS_SUPPORTED |
110 #define PNG_SIMPLIFIED_READ_AFIRST_SUPPORTED | 107 #define PNG_SIMPLIFIED_READ_AFIRST_SUPPORTED |
111 #define PNG_SIMPLIFIED_READ_BGR_SUPPORTED | 108 #define PNG_SIMPLIFIED_READ_BGR_SUPPORTED |
112 #define PNG_SIMPLIFIED_READ_SUPPORTED | 109 #define PNG_SIMPLIFIED_READ_SUPPORTED |
113 #define PNG_SIMPLIFIED_WRITE_AFIRST_SUPPORTED | 110 #define PNG_SIMPLIFIED_WRITE_AFIRST_SUPPORTED |
114 #define PNG_SIMPLIFIED_WRITE_BGR_SUPPORTED | 111 #define PNG_SIMPLIFIED_WRITE_BGR_SUPPORTED |
115 #define PNG_SIMPLIFIED_WRITE_SUPPORTED | 112 #define PNG_SIMPLIFIED_WRITE_SUPPORTED |
116 #define PNG_STDIO_SUPPORTED | 113 #define PNG_STDIO_SUPPORTED |
117 #define PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED | 114 #define PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED |
118 #define PNG_TEXT_SUPPORTED | 115 #define PNG_TEXT_SUPPORTED |
119 #define PNG_TIME_RFC1123_SUPPORTED | 116 #define PNG_TIME_RFC1123_SUPPORTED |
120 #define PNG_UNKNOWN_CHUNKS_SUPPORTED | 117 #define PNG_UNKNOWN_CHUNKS_SUPPORTED |
121 #define PNG_USER_CHUNKS_SUPPORTED | 118 #define PNG_USER_CHUNKS_SUPPORTED |
122 #define PNG_USER_LIMITS_SUPPORTED | 119 #define PNG_USER_LIMITS_SUPPORTED |
123 #define PNG_USER_MEM_SUPPORTED | 120 #define PNG_USER_MEM_SUPPORTED |
124 #define PNG_USER_TRANSFORM_INFO_SUPPORTED | 121 #define PNG_USER_TRANSFORM_INFO_SUPPORTED |
125 #define PNG_USER_TRANSFORM_PTR_SUPPORTED | 122 #define PNG_USER_TRANSFORM_PTR_SUPPORTED |
126 #define PNG_WARNINGS_SUPPORTED | 123 #define PNG_WARNINGS_SUPPORTED |
127 #define PNG_WRITE_16BIT_SUPPORTED | 124 #define PNG_WRITE_16BIT_SUPPORTED |
128 #define PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED | 125 #define PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED |
129 #define PNG_WRITE_BGR_SUPPORTED | 126 #define PNG_WRITE_BGR_SUPPORTED |
130 #define PNG_WRITE_CHECK_FOR_INVALID_INDEX_SUPPORTED | 127 #define PNG_WRITE_CHECK_FOR_INVALID_INDEX_SUPPORTED |
131 #define PNG_WRITE_COMPRESSED_TEXT_SUPPORTED | 128 #define PNG_WRITE_COMPRESSED_TEXT_SUPPORTED |
| 129 #define PNG_WRITE_CUSTOMIZE_COMPRESSION_SUPPORTED |
132 #define PNG_WRITE_CUSTOMIZE_ZTXT_COMPRESSION_SUPPORTED | 130 #define PNG_WRITE_CUSTOMIZE_ZTXT_COMPRESSION_SUPPORTED |
133 #define PNG_WRITE_FILLER_SUPPORTED | 131 #define PNG_WRITE_FILLER_SUPPORTED |
134 #define PNG_WRITE_FILTER_SUPPORTED | 132 #define PNG_WRITE_FILTER_SUPPORTED |
135 #define PNG_WRITE_FLUSH_SUPPORTED | 133 #define PNG_WRITE_FLUSH_SUPPORTED |
136 #define PNG_WRITE_GET_PALETTE_MAX_SUPPORTED | 134 #define PNG_WRITE_GET_PALETTE_MAX_SUPPORTED |
137 #define PNG_WRITE_INTERLACING_SUPPORTED | 135 #define PNG_WRITE_INTERLACING_SUPPORTED |
138 #define PNG_WRITE_INT_FUNCTIONS_SUPPORTED | 136 #define PNG_WRITE_INT_FUNCTIONS_SUPPORTED |
139 #define PNG_WRITE_INVERT_ALPHA_SUPPORTED | 137 #define PNG_WRITE_INVERT_ALPHA_SUPPORTED |
140 #define PNG_WRITE_INVERT_SUPPORTED | 138 #define PNG_WRITE_INVERT_SUPPORTED |
141 #define PNG_WRITE_OPTIMIZE_CMF_SUPPORTED | 139 #define PNG_WRITE_OPTIMIZE_CMF_SUPPORTED |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 #define PNG_sCAL_SUPPORTED | 178 #define PNG_sCAL_SUPPORTED |
181 #define PNG_sPLT_SUPPORTED | 179 #define PNG_sPLT_SUPPORTED |
182 #define PNG_sRGB_SUPPORTED | 180 #define PNG_sRGB_SUPPORTED |
183 #define PNG_tEXt_SUPPORTED | 181 #define PNG_tEXt_SUPPORTED |
184 #define PNG_tIME_SUPPORTED | 182 #define PNG_tIME_SUPPORTED |
185 #define PNG_tRNS_SUPPORTED | 183 #define PNG_tRNS_SUPPORTED |
186 #define PNG_zTXt_SUPPORTED | 184 #define PNG_zTXt_SUPPORTED |
187 /* end of options */ | 185 /* end of options */ |
188 /* settings */ | 186 /* settings */ |
189 #define PNG_API_RULE 0 | 187 #define PNG_API_RULE 0 |
190 #define PNG_COST_SHIFT 3 | |
191 #define PNG_DEFAULT_READ_MACROS 1 | 188 #define PNG_DEFAULT_READ_MACROS 1 |
192 #define PNG_GAMMA_THRESHOLD_FIXED 5000 | 189 #define PNG_GAMMA_THRESHOLD_FIXED 5000 |
193 #define PNG_IDAT_READ_SIZE PNG_ZBUF_SIZE | 190 #define PNG_IDAT_READ_SIZE PNG_ZBUF_SIZE |
194 #define PNG_INFLATE_BUF_SIZE 1024 | 191 #define PNG_INFLATE_BUF_SIZE 1024 |
| 192 #define PNG_LINKAGE_API extern |
| 193 #define PNG_LINKAGE_CALLBACK extern |
| 194 #define PNG_LINKAGE_DATA extern |
| 195 #define PNG_LINKAGE_FUNCTION extern |
195 #define PNG_MAX_GAMMA_8 11 | 196 #define PNG_MAX_GAMMA_8 11 |
196 #define PNG_QUANTIZE_BLUE_BITS 5 | 197 #define PNG_QUANTIZE_BLUE_BITS 5 |
197 #define PNG_QUANTIZE_GREEN_BITS 5 | 198 #define PNG_QUANTIZE_GREEN_BITS 5 |
198 #define PNG_QUANTIZE_RED_BITS 5 | 199 #define PNG_QUANTIZE_RED_BITS 5 |
199 #define PNG_TEXT_Z_DEFAULT_COMPRESSION (-1) | 200 #define PNG_TEXT_Z_DEFAULT_COMPRESSION (-1) |
200 #define PNG_TEXT_Z_DEFAULT_STRATEGY 0 | 201 #define PNG_TEXT_Z_DEFAULT_STRATEGY 0 |
201 #define PNG_WEIGHT_SHIFT 8 | 202 #define PNG_USER_CHUNK_CACHE_MAX 1000 |
| 203 #define PNG_USER_CHUNK_MALLOC_MAX 8000000 |
| 204 #define PNG_USER_HEIGHT_MAX 1000000 |
| 205 #define PNG_USER_WIDTH_MAX 1000000 |
202 #define PNG_ZBUF_SIZE 8192 | 206 #define PNG_ZBUF_SIZE 8192 |
203 #define PNG_ZLIB_VERNUM 0 /* unknown */ | 207 #define PNG_ZLIB_VERNUM 0 /* unknown */ |
204 #define PNG_Z_DEFAULT_COMPRESSION (-1) | 208 #define PNG_Z_DEFAULT_COMPRESSION (-1) |
205 #define PNG_Z_DEFAULT_NOFILTER_STRATEGY 0 | 209 #define PNG_Z_DEFAULT_NOFILTER_STRATEGY 0 |
206 #define PNG_Z_DEFAULT_STRATEGY 1 | 210 #define PNG_Z_DEFAULT_STRATEGY 1 |
207 #define PNG_sCAL_PRECISION 5 | 211 #define PNG_sCAL_PRECISION 5 |
208 #define PNG_sRGB_PROFILE_CHECKS 2 | 212 #define PNG_sRGB_PROFILE_CHECKS 2 |
209 /* end of settings */ | 213 /* end of settings */ |
210 | 214 |
211 /* custom settings */ | 215 /* custom settings */ |
212 #define PNG_ARM_NEON_API_SUPPORTED | 216 #define PNG_ARM_NEON_API_SUPPORTED |
213 #define PNG_ARM_NEON_CHECK_SUPPORTED | 217 #define PNG_ARM_NEON_CHECK_SUPPORTED |
214 #if defined(__SSE2__) | 218 #if defined(__SSE2__) |
215 #define PNG_FILTER_OPTIMIZATIONS sk_png_init_filter_functions_sse2 | 219 #define PNG_FILTER_OPTIMIZATIONS sk_png_init_filter_functions_sse2 |
216 #endif | 220 #endif |
217 /* end of custom settings */ | 221 /* end of custom settings */ |
218 | 222 |
219 #endif /* PNGLCONF_H */ | 223 #endif /* PNGLCONF_H */ |
OLD | NEW |