Lines Matching refs:JSAMPLE
63 #define JSAMPLE unsigned char macro
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);
929 int minc0, int minc1, int minc2, JSAMPLE colorlist[])
1092 colorlist[ncolors++] = (JSAMPLE) i;
1105 int numcolors, JSAMPLE colorlist[],
1106 JSAMPLE bestcolor[])
1117 JSAMPLE *cptr; /* pointer into bestcolor[] array */
1185 *cptr = (JSAMPLE) icolor;
1220 register JSAMPLE *cptr; /* pointer into bestcolor[] array */
1223 JSAMPLE colorlist[MAXNUMCOLORS];
1226 JSAMPLE bestcolor[BOX_C0_ELEMS * BOX_C1_ELEMS * BOX_C2_ELEMS];
1354 *outptr++ = (JSAMPLE) (*cachep - 1);
1388 JSAMPLE *range_limit = cinfo->sample_range_limit;
1507 *outptr = (JSAMPLE) pixcode;