Home
last modified time | relevance | path

Searched refs:resultpng (Results 1 – 3 of 3) sorted by relevance

/external/zopfli/src/zopflipng/
Dzopflipng_bin.cc288 std::vector<unsigned char> resultpng; in main() local
291 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 …]
Dzopflipng_lib.h77 std::vector<unsigned char>* resultpng);
Dzopflipng_lib.cc342 std::vector<unsigned char>* resultpng) { in ZopfliPNGOptimize() argument
414 (*resultpng).swap(temp); // Store best result so far in the output. in ZopfliPNGOptimize()
420 KeepChunks(origpng, png_options.keepchunks, resultpng); in ZopfliPNGOptimize()