Home
last modified time | relevance | path

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

/external/zopfli/src/zopflipng/
Dzopflipng_bin.cc142 ZopfliPNGOptions png_options; in main() local
165 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 …]
Dzopflipng_lib.cc45 const ZopfliPNGOptions* png_options = in CustomPNGDeflate() local
52 ? 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() argument
187 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() argument
357 for (size_t i = 0; i < png_options.filter_strategies.size(); i++) { in ZopfliPNGOptimize()
[all …]
Dzopflipng_lib.h75 const ZopfliPNGOptions& png_options,