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

Lines Matching refs:tga_pixel

64   U_CHAR tga_pixel[4];
120 * read_pixel methods: get a single pixel from Targa file into tga_pixel[]
131 sinfo->tga_pixel[i] = (U_CHAR) getc(infile);
162 sinfo->tga_pixel[i] = (U_CHAR) getc(infile);
184 (*source->read_pixel) (source); /* Load next pixel into tga_pixel */
185 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]);
202 (*source->read_pixel) (source); /* Load next pixel into tga_pixel */
203 t = UCH(source->tga_pixel[0]);
222 (*source->read_pixel) (source); /* Load next pixel into tga_pixel */
223 t = UCH(source->tga_pixel[0]);
224 t += UCH(source->tga_pixel[1]) << 8;
249 (*source->read_pixel) (source); /* Load next pixel into tga_pixel */
250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */
251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]);
252 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]);