Home | History | Annotate | Download | only in libjpeg-turbo

Lines Matching refs:JSAMPLE

380    * we have to shift back to JSAMPLE units to get consistent distances;
512 cinfo->colormap[0][icolor] = (JSAMPLE) ((c0total + (total>>1)) / total);
513 cinfo->colormap[1][icolor] = (JSAMPLE) ((c1total + (total>>1)) / total);
514 cinfo->colormap[2][icolor] = (JSAMPLE) ((c2total + (total>>1)) / total);
627 JSAMPLE colorlist[])
748 colorlist[ncolors++] = (JSAMPLE) i;
756 int numcolors, JSAMPLE colorlist[], JSAMPLE bestcolor[])
767 JSAMPLE *cptr; /* pointer into bestcolor[] array */
817 *cptr = (JSAMPLE) icolor;
844 register JSAMPLE *cptr; /* pointer into bestcolor[] array */
847 JSAMPLE colorlist[MAXNUMCOLORS];
850 JSAMPLE bestcolor[BOX_C0_ELEMS * BOX_C1_ELEMS * BOX_C2_ELEMS];
922 *outptr++ = (JSAMPLE) (*cachep - 1);
947 JSAMPLE *range_limit = cinfo->sample_range_limit;
1014 *outptr = (JSAMPLE) pixcode;