1 module libpng.pnglibconf;
2 /* libpng 1.6.17 STANDARD API DEFINITION */
3 
4 /* pnglibconf.h - library build configuration */
5 
6 /* Libpng version 1.6.17 - March 26, 2015 */
7 
8 /* Copyright (c) 1998-2014 Glenn Randers-Pehrson */
9 
10 /* This code is released under the libpng license. */
11 /* For conditions of distribution and use, see the disclaimer */
12 /* and license in png.h */
13 
14 /* pnglibconf.h */
15 /* Machine generated file: DO NOT EDIT */
16 /* Derived from: scripts/pnglibconf.dfa */
17 
18 
19 /* options */
20 enum PNG_16BIT_SUPPORTED                            = 1;
21 enum PNG_ALIGNED_MEMORY_SUPPORTED                   = 1;
22 enum PNG_ARM_NEON_API_SUPPORTED                     = 0;
23 enum PNG_ARM_NEON_CHECK_SUPPORTED                   = 0;
24 enum PNG_BENIGN_ERRORS_SUPPORTED                    = 1;
25 enum PNG_BENIGN_READ_ERRORS_SUPPORTED               = 1;
26 enum PNG_BENIGN_WRITE_ERRORS_SUPPORTED              = 0;
27 enum PNG_BUILD_GRAYSCALE_PALETTE_SUPPORTED          = 1;
28 enum PNG_CHECK_FOR_INVALID_INDEX_SUPPORTED          = 1;
29 enum PNG_COLORSPACE_SUPPORTED                       = 1;
30 enum PNG_CONSOLE_IO_SUPPORTED                       = 1;
31 enum PNG_CONVERT_tIME_SUPPORTED                     = 1;
32 enum PNG_EASY_ACCESS_SUPPORTED                      = 1;
33 enum PNG_ERROR_NUMBERS_SUPPORTED                    = 0;
34 enum PNG_ERROR_TEXT_SUPPORTED                       = 1;
35 enum PNG_FIXED_POINT_SUPPORTED                      = 1;
36 enum PNG_FLOATING_ARITHMETIC_SUPPORTED              = 1;
37 enum PNG_FLOATING_POINT_SUPPORTED                   = 1;
38 enum PNG_FORMAT_AFIRST_SUPPORTED                    = 1;
39 enum PNG_FORMAT_BGR_SUPPORTED                       = 1;
40 enum PNG_GAMMA_SUPPORTED                            = 1;
41 enum PNG_GET_PALETTE_MAX_SUPPORTED                  = 1;
42 enum PNG_HANDLE_AS_UNKNOWN_SUPPORTED                = 1;
43 enum PNG_INCH_CONVERSIONS_SUPPORTED                 = 1;
44 enum PNG_INFO_IMAGE_SUPPORTED                       = 1;
45 enum PNG_IO_STATE_SUPPORTED                         = 1;
46 enum PNG_MNG_FEATURES_SUPPORTED                     = 1;
47 enum PNG_POINTER_INDEXING_SUPPORTED                 = 1;
48 enum PNG_PROGRESSIVE_READ_SUPPORTED                 = 1;
49 enum PNG_READ_16BIT_SUPPORTED                       = 1;
50 enum PNG_READ_ALPHA_MODE_SUPPORTED                  = 1;
51 enum PNG_READ_ANCILLARY_CHUNKS_SUPPORTED            = 1;
52 enum PNG_READ_BACKGROUND_SUPPORTED                  = 1;
53 enum PNG_READ_BGR_SUPPORTED                         = 1;
54 enum PNG_READ_CHECK_FOR_INVALID_INDEX_SUPPORTED     = 1;
55 enum PNG_READ_COMPOSITE_NODIV_SUPPORTED             = 0;
56 enum PNG_READ_COMPRESSED_TEXT_SUPPORTED             = 1;
57 enum PNG_READ_EXPAND_16_SUPPORTED                   = 1;
58 enum PNG_READ_EXPAND_SUPPORTED                      = 1;
59 enum PNG_READ_FILLER_SUPPORTED                      = 1;
60 enum PNG_READ_GAMMA_SUPPORTED                       = 1;
61 enum PNG_READ_GET_PALETTE_MAX_SUPPORTED             = 1;
62 enum PNG_READ_GRAY_TO_RGB_SUPPORTED                 = 1;
63 enum PNG_READ_INTERLACING_SUPPORTED                 = 1;
64 enum PNG_READ_INT_FUNCTIONS_SUPPORTED               = 1;
65 enum PNG_READ_INVERT_ALPHA_SUPPORTED                = 1;
66 enum PNG_READ_INVERT_SUPPORTED                      = 1;
67 enum PNG_READ_OPT_PLTE_SUPPORTED                    = 1;
68 enum PNG_READ_PACKSWAP_SUPPORTED                    = 1;
69 enum PNG_READ_PACK_SUPPORTED                        = 1;
70 enum PNG_READ_QUANTIZE_SUPPORTED                    = 1;
71 enum PNG_READ_RGB_TO_GRAY_SUPPORTED                 = 1;
72 enum PNG_READ_SCALE_16_TO_8_SUPPORTED               = 1;
73 enum PNG_READ_SHIFT_SUPPORTED                       = 1;
74 enum PNG_READ_STRIP_16_TO_8_SUPPORTED               = 1;
75 enum PNG_READ_STRIP_ALPHA_SUPPORTED                 = 1;
76 enum PNG_READ_SUPPORTED                             = 1;
77 enum PNG_READ_SWAP_ALPHA_SUPPORTED                  = 1;
78 enum PNG_READ_SWAP_SUPPORTED                        = 1;
79 enum PNG_READ_TEXT_SUPPORTED                        = 1;
80 enum PNG_READ_TRANSFORMS_SUPPORTED                  = 1;
81 enum PNG_READ_UNKNOWN_CHUNKS_SUPPORTED              = 1;
82 enum PNG_READ_USER_CHUNKS_SUPPORTED                 = 1;
83 enum PNG_READ_USER_TRANSFORM_SUPPORTED              = 1;
84 enum PNG_READ_bKGD_SUPPORTED                        = 1;
85 enum PNG_READ_cHRM_SUPPORTED                        = 1;
86 enum PNG_READ_gAMA_SUPPORTED                        = 1;
87 enum PNG_READ_hIST_SUPPORTED                        = 1;
88 enum PNG_READ_iCCP_SUPPORTED                        = 1;
89 enum PNG_READ_iTXt_SUPPORTED                        = 1;
90 enum PNG_READ_oFFs_SUPPORTED                        = 1;
91 enum PNG_READ_pCAL_SUPPORTED                        = 1;
92 enum PNG_READ_pHYs_SUPPORTED                        = 1;
93 enum PNG_READ_sBIT_SUPPORTED                        = 1;
94 enum PNG_READ_sCAL_SUPPORTED                        = 1;
95 enum PNG_READ_sPLT_SUPPORTED                        = 1;
96 enum PNG_READ_sRGB_SUPPORTED                        = 1;
97 enum PNG_READ_tEXt_SUPPORTED                        = 1;
98 enum PNG_READ_tIME_SUPPORTED                        = 1;
99 enum PNG_READ_tRNS_SUPPORTED                        = 1;
100 enum PNG_READ_zTXt_SUPPORTED                        = 1;
101 enum PNG_SAFE_LIMITS_SUPPORTED                      = 0;
102 enum PNG_SAVE_INT_32_SUPPORTED                      = 1;
103 enum PNG_SAVE_UNKNOWN_CHUNKS_SUPPORTED              = 1;
104 enum PNG_SEQUENTIAL_READ_SUPPORTED                  = 1;
105 enum PNG_SETJMP_SUPPORTED                           = 1;
106 enum PNG_SET_CHUNK_CACHE_LIMIT_SUPPORTED            = 1;
107 enum PNG_SET_CHUNK_MALLOC_LIMIT_SUPPORTED           = 1;
108 enum PNG_SET_OPTION_SUPPORTED                       = 1;
109 enum PNG_SET_UNKNOWN_CHUNKS_SUPPORTED               = 1;
110 enum PNG_SET_USER_LIMITS_SUPPORTED                  = 1;
111 enum PNG_SIMPLIFIED_READ_AFIRST_SUPPORTED           = 1;
112 enum PNG_SIMPLIFIED_READ_BGR_SUPPORTED              = 1;
113 enum PNG_SIMPLIFIED_READ_SUPPORTED                  = 1;
114 enum PNG_SIMPLIFIED_WRITE_AFIRST_SUPPORTED          = 1;
115 enum PNG_SIMPLIFIED_WRITE_BGR_SUPPORTED             = 1;
116 enum PNG_SIMPLIFIED_WRITE_SUPPORTED                 = 1;
117 enum PNG_STDIO_SUPPORTED                            = 1;
118 enum PNG_STORE_UNKNOWN_CHUNKS_SUPPORTED             = 1;
119 enum PNG_TEXT_SUPPORTED                             = 1;
120 enum PNG_TIME_RFC1123_SUPPORTED                     = 1;
121 enum PNG_UNKNOWN_CHUNKS_SUPPORTED                   = 1;
122 enum PNG_USER_CHUNKS_SUPPORTED                      = 1;
123 enum PNG_USER_LIMITS_SUPPORTED                      = 1;
124 enum PNG_USER_MEM_SUPPORTED                         = 1;
125 enum PNG_USER_TRANSFORM_INFO_SUPPORTED              = 1;
126 enum PNG_USER_TRANSFORM_PTR_SUPPORTED               = 1;
127 enum PNG_WARNINGS_SUPPORTED                         = 1;
128 enum PNG_WRITE_16BIT_SUPPORTED                      = 1;
129 enum PNG_WRITE_ANCILLARY_CHUNKS_SUPPORTED           = 1;
130 enum PNG_WRITE_BGR_SUPPORTED                        = 1;
131 enum PNG_WRITE_CHECK_FOR_INVALID_INDEX_SUPPORTED    = 1;
132 enum PNG_WRITE_COMPRESSED_TEXT_SUPPORTED            = 1;
133 enum PNG_WRITE_CUSTOMIZE_COMPRESSION_SUPPORTED      = 1;
134 enum PNG_WRITE_CUSTOMIZE_ZTXT_COMPRESSION_SUPPORTED = 1;
135 enum PNG_WRITE_FILLER_SUPPORTED                     = 1;
136 enum PNG_WRITE_FILTER_SUPPORTED                     = 1;
137 enum PNG_WRITE_FLUSH_SUPPORTED                      = 1;
138 enum PNG_WRITE_GET_PALETTE_MAX_SUPPORTED            = 1;
139 enum PNG_WRITE_INTERLACING_SUPPORTED                = 1;
140 enum PNG_WRITE_INT_FUNCTIONS_SUPPORTED              = 1;
141 enum PNG_WRITE_INVERT_ALPHA_SUPPORTED               = 1;
142 enum PNG_WRITE_INVERT_SUPPORTED                     = 1;
143 enum PNG_WRITE_OPTIMIZE_CMF_SUPPORTED               = 1;
144 enum PNG_WRITE_PACKSWAP_SUPPORTED                   = 1;
145 enum PNG_WRITE_PACK_SUPPORTED                       = 1;
146 enum PNG_WRITE_SHIFT_SUPPORTED                      = 1;
147 enum PNG_WRITE_SUPPORTED                            = 1;
148 enum PNG_WRITE_SWAP_ALPHA_SUPPORTED                 = 1;
149 enum PNG_WRITE_SWAP_SUPPORTED                       = 1;
150 enum PNG_WRITE_TEXT_SUPPORTED                       = 1;
151 enum PNG_WRITE_TRANSFORMS_SUPPORTED                 = 1;
152 enum PNG_WRITE_UNKNOWN_CHUNKS_SUPPORTED             = 1;
153 enum PNG_WRITE_USER_TRANSFORM_SUPPORTED             = 1;
154 enum PNG_WRITE_WEIGHTED_FILTER_SUPPORTED            = 1;
155 enum PNG_WRITE_bKGD_SUPPORTED                       = 1;
156 enum PNG_WRITE_cHRM_SUPPORTED                       = 1;
157 enum PNG_WRITE_gAMA_SUPPORTED                       = 1;
158 enum PNG_WRITE_hIST_SUPPORTED                       = 1;
159 enum PNG_WRITE_iCCP_SUPPORTED                       = 1;
160 enum PNG_WRITE_iTXt_SUPPORTED                       = 1;
161 enum PNG_WRITE_oFFs_SUPPORTED                       = 1;
162 enum PNG_WRITE_pCAL_SUPPORTED                       = 1;
163 enum PNG_WRITE_pHYs_SUPPORTED                       = 1;
164 enum PNG_WRITE_sBIT_SUPPORTED                       = 1;
165 enum PNG_WRITE_sCAL_SUPPORTED                       = 1;
166 enum PNG_WRITE_sPLT_SUPPORTED                       = 1;
167 enum PNG_WRITE_sRGB_SUPPORTED                       = 1;
168 enum PNG_WRITE_tEXt_SUPPORTED                       = 1;
169 enum PNG_WRITE_tIME_SUPPORTED                       = 1;
170 enum PNG_WRITE_tRNS_SUPPORTED                       = 1;
171 enum PNG_WRITE_zTXt_SUPPORTED                       = 1;
172 enum PNG_bKGD_SUPPORTED                             = 1;
173 enum PNG_cHRM_SUPPORTED                             = 1;
174 enum PNG_gAMA_SUPPORTED                             = 1;
175 enum PNG_hIST_SUPPORTED                             = 1;
176 enum PNG_iCCP_SUPPORTED                             = 1;
177 enum PNG_iTXt_SUPPORTED                             = 1;
178 enum PNG_oFFs_SUPPORTED                             = 1;
179 enum PNG_pCAL_SUPPORTED                             = 1;
180 enum PNG_pHYs_SUPPORTED                             = 1;
181 enum PNG_sBIT_SUPPORTED                             = 1;
182 enum PNG_sCAL_SUPPORTED                             = 1;
183 enum PNG_sPLT_SUPPORTED                             = 1;
184 enum PNG_sRGB_SUPPORTED                             = 1;
185 enum PNG_tEXt_SUPPORTED                             = 1;
186 enum PNG_tIME_SUPPORTED                             = 1;
187 enum PNG_tRNS_SUPPORTED                             = 1;
188 enum PNG_zTXt_SUPPORTED                             = 1;
189 /* end of options */
190 /* settings */
191 enum PNG_API_RULE = 0;
192 enum PNG_COST_SHIFT = 3;
193 enum PNG_DEFAULT_READ_MACROS = 1;
194 enum PNG_GAMMA_THRESHOLD_FIXED = 5000;
195 enum PNG_IDAT_READ_SIZE = PNG_ZBUF_SIZE;
196 enum PNG_INFLATE_BUF_SIZE = 1024;
197 enum PNG_MAX_GAMMA_8 = 11;
198 enum PNG_QUANTIZE_BLUE_BITS = 5;
199 enum PNG_QUANTIZE_GREEN_BITS = 5;
200 enum PNG_QUANTIZE_RED_BITS = 5;
201 enum PNG_TEXT_Z_DEFAULT_COMPRESSION = -1;
202 enum PNG_TEXT_Z_DEFAULT_STRATEGY = 0;
203 enum PNG_USER_CHUNK_CACHE_MAX = 1000;
204 enum PNG_USER_CHUNK_MALLOC_MAX = 8000000;
205 enum PNG_USER_HEIGHT_MAX = 1000000;
206 enum PNG_USER_WIDTH_MAX = 1000000;
207 enum PNG_WEIGHT_SHIFT = 8;
208 enum PNG_ZBUF_SIZE = 8192;
209 enum PNG_ZLIB_VERNUM = 0x1280;
210 enum PNG_Z_DEFAULT_COMPRESSION = -1;
211 enum PNG_Z_DEFAULT_NOFILTER_STRATEGY = 0;
212 enum PNG_Z_DEFAULT_STRATEGY = 1;
213 enum PNG_sCAL_PRECISION = 5;
214 enum PNG_sRGB_PROFILE_CHECKS = 2;
215 /* end of settings */
216