Searched refs:inputstate (Results 1 – 2 of 2) sorted by relevance
/external/zopfli/src/zopflipng/ |
D | zopflipng_lib.cc | 103 void LossyOptimizeTransparent(lodepng::State* inputstate, unsigned char* image, in LossyOptimizeTransparent() argument 153 if (palette && inputstate->info_png.color.palettesize > 0) { in LossyOptimizeTransparent() 155 if (count.size() < inputstate->info_png.color.palettesize) { in LossyOptimizeTransparent() 157 unsigned char* palette_in = inputstate->info_png.color.palette; in LossyOptimizeTransparent() 158 for (size_t i = 0; i < inputstate->info_png.color.palettesize; i++) { in LossyOptimizeTransparent() 166 inputstate->info_png.color.palettesize = palette_out.size() / 4; in LossyOptimizeTransparent() 178 const lodepng::State& inputstate, bool bit16, in TryOptimize() argument 192 if (inputstate.info_png.color.colortype == LCT_PALETTE) { in TryOptimize() 194 lodepng_color_mode_copy(&state.info_raw, &inputstate.info_png.color); in TryOptimize() 279 const lodepng::State& inputstate, bool bit16, in AutoChooseFilterStrategy() argument [all …]
|
D | zopflipng_bin.cc | 287 lodepng::State inputstate; in main() local 299 error = lodepng::decode(image, w, h, inputstate, resultpng); in main()
|