Searched refs:palsize (Results 1 – 2 of 2) sorted by relevance
863 int palsize = (1 << GetBPP()); in FindPalette() local864 for (int i = 0; i < palsize; ++i) { in FindPalette()
3411 size_t palsize = 1 << mode_out->bitdepth; in lodepng_convert() local3412 if(mode_out->palettesize < palsize) palsize = mode_out->palettesize; in lodepng_convert()3414 for(i = 0; i < palsize; i++) in lodepng_convert()