| 2331 | #define DEFAULT_WINDOWSIZE 2048 |
| 2332 | |
| 2333 | void lodepng_compress_settings_init(LodePNGCompressSettings* settings) { |
| 2334 | /*compress with dynamic huffman tree (not in the mathematical sense, just not the predefined one)*/ |
| 2335 | settings->btype = 2; |
| 2336 | settings->use_lz77 = 1; |
| 2337 | settings->windowsize = DEFAULT_WINDOWSIZE; |
| 2338 | settings->minmatch = 3; |
| 2339 | settings->nicematch = 128; |
| 2340 | settings->lazymatching = 1; |
| 2341 | |
| 2342 | settings->custom_zlib = 0; |
| 2343 | settings->custom_deflate = 0; |
| 2344 | settings->custom_context = 0; |
| 2345 | } |
| 2346 | |
| 2347 | const LodePNGCompressSettings lodepng_default_compress_settings = {2, 1, DEFAULT_WINDOWSIZE, 3, 128, 1, 0, 0, 0}; |
| 2348 |
no outgoing calls
no test coverage detected