Searched refs:resultpng (Results 1 – 3 of 3) sorted by relevance
288 std::vector<unsigned char> resultpng; in main() local291 error = ZopfliPNGOptimize(origpng, png_options, true, &resultpng); in main()299 error = lodepng::decode(image, w, h, inputstate, resultpng); in main()308 size_t resultsize = resultpng.size(); in main()331 total_out_size_zopfli += resultpng.size(); in main()332 if (resultpng.size() < origsize) total_files_smaller++; in main()333 else if (resultpng.size() == origsize) total_files_equal++; in main()335 if (!always_zopflify && resultpng.size() > origsize) { in main()337 resultpng = origpng; in main()350 resultpng.size() >= origoutfilesize && !always_zopflify && use_prefix; in main()[all …]
77 std::vector<unsigned char>* resultpng);
342 std::vector<unsigned char>* resultpng) { in ZopfliPNGOptimize() argument414 (*resultpng).swap(temp); // Store best result so far in the output. in ZopfliPNGOptimize()420 KeepChunks(origpng, png_options.keepchunks, resultpng); in ZopfliPNGOptimize()