Lines Matching refs:icolor
711 boxptr boxp, int icolor) argument
714 compute_color (j_decompress_ptr cinfo, boxptr boxp, int icolor)
758 cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total >> 1)) / total);
759 cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total >> 1)) / total);
760 cinfo->colormap[2][icolor] = (JSAMPLE) ((c2total + (total >> 1)) / total);
765 nim->red[icolor] = (int) ((c0total + (total >> 1)) / total);
766 nim->green[icolor] = (int) ((c1total + (total >> 1)) / total);
767 nim->blue[icolor] = (int) ((c2total + (total >> 1)) / total);
771 nim->red[icolor] = 255;
772 nim->green[icolor] = 255;
773 nim->blue[icolor] = 255;
775 nim->open[icolor] = 0;
1115 int i, icolor; local
1146 icolor = GETJSAMPLE (colorlist[i]);
1147 r = GETJSAMPLE (cinfo->colormap[0][icolor]);
1148 g = GETJSAMPLE (cinfo->colormap[1][icolor]);
1149 b = GETJSAMPLE (cinfo->colormap[2][icolor]);
1151 icolor = colorlist[i];
1152 r = nim->red[icolor];
1153 g = nim->green[icolor];
1154 b = nim->blue[icolor];
1185 *cptr = (JSAMPLE) icolor;