Searched refs:png_options (Results 1 – 3 of 3) sorted by relevance
142 ZopfliPNGOptions png_options; in main() local165 png_options.num_iterations *= 4; in main()166 png_options.num_iterations_large *= 4; in main()167 png_options.block_split_strategy = 3; in main()169 png_options.use_zopfli = false; in main()186 png_options.lossy_transparent = true; in main()188 png_options.lossy_8bit = true; in main()191 png_options.num_iterations = num; in main()192 png_options.num_iterations_large = num; in main()195 png_options.block_split_strategy = num; in main()[all …]
45 const ZopfliPNGOptions* png_options = in CustomPNGDeflate() local52 ? png_options->num_iterations : png_options->num_iterations_large; in CustomPNGDeflate()54 if (png_options->block_split_strategy == 3) { in CustomPNGDeflate()74 if (png_options->block_split_strategy == 0) options.blocksplitting = 0; in CustomPNGDeflate()75 options.blocksplittinglast = png_options->block_split_strategy == 2; in CustomPNGDeflate()181 bool use_zopfli, int windowsize, const ZopfliPNGOptions* png_options, in TryOptimize() argument187 if (use_zopfli && png_options->use_zopfli) { in TryOptimize()189 state.encoder.zlibsettings.custom_context = png_options; in TryOptimize()340 const ZopfliPNGOptions& png_options, in ZopfliPNGOptimize() argument357 for (size_t i = 0; i < png_options.filter_strategies.size(); i++) { in ZopfliPNGOptimize()[all …]
75 const ZopfliPNGOptions& png_options,