Lines Matching refs:png_options
45 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()
358 strategy_enable[png_options.filter_strategies[i]] = true; in ZopfliPNGOptimize()
375 if (inputstate.info_png.color.bitdepth == 16 && !png_options.lossy_8bit) { in ZopfliPNGOptimize()
384 if (png_options.lossy_transparent && !bit16) { in ZopfliPNGOptimize()
388 if (png_options.auto_filter_strategy) { in ZopfliPNGOptimize()
406 windowsize, &png_options, &temp); in ZopfliPNGOptimize()
419 if (!png_options.keepchunks.empty()) { in ZopfliPNGOptimize()
420 KeepChunks(origpng, png_options.keepchunks, resultpng); in ZopfliPNGOptimize()