Home
last modified time | relevance | path

Searched refs:numcolors_done (Results 1 – 1 of 1) sorted by relevance

/lvgl-3.7.0/src/extra/libs/png/
Dlodepng.c3706 unsigned numcolors_done = 0; in lodepng_compute_color_stats() local
3716 if(!stats->allow_palette) numcolors_done = 1; in lodepng_compute_color_stats()
3724 if(stats->bits == 16) numcolors_done = 1; in lodepng_compute_color_stats()
3726 if(stats->numcolors >= maxnumcolors) numcolors_done = 1; in lodepng_compute_color_stats()
3728 if(!numcolors_done) { in lodepng_compute_color_stats()
3746 numcolors_done = 1; /*counting colors no longer useful, palette doesn't support 16-bit*/ in lodepng_compute_color_stats()
3781 if(alpha_done && numcolors_done && colored_done && bits_done) break; in lodepng_compute_color_stats()
3834 if(!numcolors_done) { in lodepng_compute_color_stats()
3847 numcolors_done = stats->numcolors >= maxnumcolors; in lodepng_compute_color_stats()
3851 if(alpha_done && numcolors_done && colored_done && bits_done) break; in lodepng_compute_color_stats()