Lines Matching refs:JSAMPLE
532 cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total); in compute_color()
533 cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total); in compute_color()
534 cinfo->colormap[2][icolor] = (JSAMPLE) ((c2total + (total>>1)) / total); in compute_color()
647 JSAMPLE colorlist[]) in find_nearby_colors()
768 colorlist[ncolors++] = (JSAMPLE) i; in find_nearby_colors()
776 int numcolors, JSAMPLE colorlist[], JSAMPLE bestcolor[]) in find_best_colors()
787 JSAMPLE * cptr; /* pointer into bestcolor[] array */ in find_best_colors()
837 *cptr = (JSAMPLE) icolor; in find_best_colors()
864 register JSAMPLE * cptr; /* pointer into bestcolor[] array */ in fill_inverse_cmap()
867 JSAMPLE colorlist[MAXNUMCOLORS]; in fill_inverse_cmap()
870 JSAMPLE bestcolor[BOX_C0_ELEMS * BOX_C1_ELEMS * BOX_C2_ELEMS]; in fill_inverse_cmap()
942 *outptr++ = (JSAMPLE) (*cachep - 1); in pass2_no_dither()
967 JSAMPLE *range_limit = cinfo->sample_range_limit; in pass2_fs_dither()
1034 *outptr = (JSAMPLE) pixcode; in pass2_fs_dither()