Home | History | Annotate | Download | only in jpeg

Lines Matching full:tga_pixel

62   U_CHAR tga_pixel[4];
119 * read_pixel methods: get a single pixel from Targa file into tga_pixel[]
130 sinfo->tga_pixel[i] = (U_CHAR) getc(infile);
161 sinfo->tga_pixel[i] = (U_CHAR) getc(infile);
183 (*source->read_pixel) (source); /* Load next pixel into tga_pixel */
184 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]);
201 (*source->read_pixel) (source); /* Load next pixel into tga_pixel */
202 t = UCH(source->tga_pixel[0]);
221 (*source->read_pixel) (source); /* Load next pixel into tga_pixel */
222 t = UCH(source->tga_pixel[0]);
223 t += UCH(source->tga_pixel[1]) << 8;
248 (*source->read_pixel) (source); /* Load next pixel into tga_pixel */
249 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[2]); /* change BGR to RGB order */
250 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[1]);
251 *ptr++ = (JSAMPLE) UCH(source->tga_pixel[0]);