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

/asus-wl-520gu-7.0.1.45/src/router/jpeg-6b/
H A Djquant2.c499 compute_color (j_decompress_ptr cinfo, boxptr boxp, int icolor) argument
500 /* Compute representative color for a box, put it in colormap[icolor] */
532 cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total);
533 cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total);
534 cinfo->colormap[2][icolor] = (JSAMPLE) ((c2total + (total>>1)) / total);
785 int i, icolor; local
812 icolor = GETJSAMPLE(colorlist[i]);
814 inc0 = (minc0 - GETJSAMPLE(cinfo->colormap[0][icolor])) * C0_SCALE;
816 inc1 = (minc1 - GETJSAMPLE(cinfo->colormap[1][icolor])) * C1_SCALE;
818 inc2 = (minc2 - GETJSAMPLE(cinfo->colormap[2][icolor])) * C2_SCAL
[all...]

Completed in 49 milliseconds