Searched refs:palette_in (Results 1 – 1 of 1) sorted by relevance
157 unsigned char* palette_in = inputstate->info_png.color.palette; in LossyOptimizeTransparent() local159 if (count.count(ColorIndex(&palette_in[i * 4])) != 0) { in LossyOptimizeTransparent()160 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()168 palette_in[i] = palette_out[i]; in LossyOptimizeTransparent()