Searched defs:numcolors (Results 1 - 2 of 2) sorted by relevance

/external/jpeg/
H A Djquant2.c657 int numcolors = cinfo->actual_number_of_colors; local
687 for (i = 0; i < numcolors; i++) {
766 for (i = 0; i < numcolors; i++) {
776 int numcolors, JSAMPLE colorlist[], JSAMPLE bestcolor[])
811 for (i = 0; i < numcolors; i++) {
868 int numcolors; /* number of candidate colors */ local
888 numcolors = find_nearby_colors(cinfo, minc0, minc1, minc2, colorlist);
891 find_best_colors(cinfo, minc0, minc1, minc2, numcolors, colorlist,
775 find_best_colors(j_decompress_ptr cinfo, int minc0, int minc1, int minc2, int numcolors, JSAMPLE colorlist[], JSAMPLE bestcolor[]) argument
/external/zopfli/src/zopflipng/lodepng/
H A Dlodepng.cpp3478 unsigned numcolors; member in struct:ColorProfile
3501 profile->numcolors = 0;
3535 std::cout << "numcolors: " << (int)p->numcolors << std::endl;
3634 profile->numcolors);
3635 if(profile->numcolors < 256)
3638 unsigned i = profile->numcolors;
3644 profile->numcolors++;
3645 if(profile->numcolors >= profile->maxnumcolors) profile->numcolors_done = 1;
3712 color_tree_add(&profile->tree, r, g, b, a, profile->numcolors);
[all...]

Completed in 87 milliseconds