Home
last modified time | relevance | path

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

/external/libjpeg-turbo/
Djquant2.c637 int numcolors = cinfo->actual_number_of_colors; in find_nearby_colors() local
667 for (i = 0; i < numcolors; i++) { in find_nearby_colors()
746 for (i = 0; i < numcolors; i++) { in find_nearby_colors()
756 int numcolors, JSAMPLE colorlist[], JSAMPLE bestcolor[]) in find_best_colors() argument
791 for (i = 0; i < numcolors; i++) { in find_best_colors()
848 int numcolors; /* number of candidate colors */ in fill_inverse_cmap() local
868 numcolors = find_nearby_colors(cinfo, minc0, minc1, minc2, colorlist); in fill_inverse_cmap()
871 find_best_colors(cinfo, minc0, minc1, minc2, numcolors, colorlist, in fill_inverse_cmap()
/external/zopfli/src/zopflipng/lodepng/
Dlodepng.cpp3478 unsigned numcolors; member
3501 profile->numcolors = 0; in color_profile_init()
3634 profile->numcolors); in get_color_profile()
3635 if(profile->numcolors < 256) in get_color_profile()
3638 unsigned i = profile->numcolors; in get_color_profile()
3644 profile->numcolors++; in get_color_profile()
3645 if(profile->numcolors >= profile->maxnumcolors) profile->numcolors_done = 1; in get_color_profile()
3712 color_tree_add(&profile->tree, r, g, b, a, profile->numcolors); in get_color_profile()
3713 if(profile->numcolors < 256) in get_color_profile()
3716 unsigned i = profile->numcolors; in get_color_profile()
[all …]