Lines Matching refs:JSAMPLE
113 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo);
114 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo);
115 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo);
186 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]);
230 ptr[2] = (JSAMPLE) c5to8bits[t & 0x1F];
232 ptr[1] = (JSAMPLE) c5to8bits[t & 0x1F];
234 ptr[0] = (JSAMPLE) c5to8bits[t & 0x1F];
251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */
252 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]);
253 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]);