Searched refs:icolor (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/src/share/native/sun/awt/image/jpeg/
H A Djquant2.c503 compute_color (j_decompress_ptr cinfo, boxptr boxp, int icolor) argument
504 /* Compute representative color for a box, put it in colormap[icolor] */
536 cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total);
537 cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total);
538 cinfo->colormap[2][icolor] = (JSAMPLE) ((c2total + (total>>1)) / total);
789 int i, icolor; local
816 icolor = GETJSAMPLE(colorlist[i]);
818 inc0 = (minc0 - GETJSAMPLE(cinfo->colormap[0][icolor])) * C0_SCALE;
820 inc1 = (minc1 - GETJSAMPLE(cinfo->colormap[1][icolor])) * C1_SCALE;
822 inc2 = (minc2 - GETJSAMPLE(cinfo->colormap[2][icolor])) * C2_SCAL
[all...]

Completed in 32 milliseconds