Lines Matching defs:icolor
632 compute_color (j_decompress_ptr cinfo, boxptr boxp, int icolor)
633 /* Compute representative color for a box, put it in colormap[icolor] */
665 cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total);
666 cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total);
667 cinfo->colormap[2][icolor] = (JSAMPLE) ((c2total + (total>>1)) / total);
918 int i, icolor;
945 icolor = GETJSAMPLE(colorlist[i]);
947 inc0 = (minc0 - GETJSAMPLE(cinfo->colormap[0][icolor])) * C0_SCALE;
949 inc1 = (minc1 - GETJSAMPLE(cinfo->colormap[1][icolor])) * C1_SCALE;
951 inc2 = (minc2 - GETJSAMPLE(cinfo->colormap[2][icolor])) * C2_SCALE;
970 *cptr = (JSAMPLE) icolor;