Searched refs:palette_out (Results 1 – 1 of 1) sorted by relevance
156 std::vector<unsigned char> palette_out; in LossyOptimizeTransparent() local160 palette_out.push_back(palette_in[i * 4 + 0]); in LossyOptimizeTransparent()161 palette_out.push_back(palette_in[i * 4 + 1]); in LossyOptimizeTransparent()162 palette_out.push_back(palette_in[i * 4 + 2]); in LossyOptimizeTransparent()163 palette_out.push_back(palette_in[i * 4 + 3]); in LossyOptimizeTransparent()166 inputstate->info_png.color.palettesize = palette_out.size() / 4; in LossyOptimizeTransparent()167 for (size_t i = 0; i < palette_out.size(); i++) { in LossyOptimizeTransparent()168 palette_in[i] = palette_out[i]; in LossyOptimizeTransparent()