Lines Matching refs:icolor
644 boxptr boxp, int icolor) in compute_color() argument
688 nim->red[icolor] = (int) ((c0total + (total >> 1)) / total); in compute_color()
689 nim->green[icolor] = (int) ((c1total + (total >> 1)) / total); in compute_color()
690 nim->blue[icolor] = (int) ((c2total + (total >> 1)) / total); in compute_color()
694 nim->red[icolor] = 255; in compute_color()
695 nim->green[icolor] = 255; in compute_color()
696 nim->blue[icolor] = 255; in compute_color()
698 nim->open[icolor] = 0; in compute_color()
992 int i, icolor; in find_best_colors() local
1021 icolor = colorlist[i]; in find_best_colors()
1022 r = nim->red[icolor]; in find_best_colors()
1023 g = nim->green[icolor]; in find_best_colors()
1024 b = nim->blue[icolor]; in find_best_colors()
1054 *cptr = (JSAMPLE) icolor; in find_best_colors()