Lines Matching refs:sinfo

59   JMETHOD(void, read_pixel, (tga_source_ptr sinfo));
72 cjpeg_source_ptr sinfo));
88 read_byte (tga_source_ptr sinfo) in read_byte() argument
91 register FILE *infile = sinfo->pub.input_file; in read_byte()
95 ERREXIT(sinfo->cinfo, JERR_INPUT_EOF); in read_byte()
101 read_colormap (tga_source_ptr sinfo, int cmaplen, int mapentrysize) in read_colormap() argument
108 ERREXIT(sinfo->cinfo, JERR_TGA_BADCMAP); in read_colormap()
111 sinfo->colormap[2][i] = (JSAMPLE) read_byte(sinfo); in read_colormap()
112 sinfo->colormap[1][i] = (JSAMPLE) read_byte(sinfo); in read_colormap()
113 sinfo->colormap[0][i] = (JSAMPLE) read_byte(sinfo); in read_colormap()
123 read_non_rle_pixel (tga_source_ptr sinfo) in read_non_rle_pixel() argument
126 register FILE *infile = sinfo->pub.input_file; in read_non_rle_pixel()
129 for (i = 0; i < sinfo->pixel_size; i++) { in read_non_rle_pixel()
130 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_non_rle_pixel()
136 read_rle_pixel (tga_source_ptr sinfo) in read_rle_pixel() argument
139 register FILE *infile = sinfo->pub.input_file; in read_rle_pixel()
143 if (sinfo->dup_pixel_count > 0) { in read_rle_pixel()
144 sinfo->dup_pixel_count--; in read_rle_pixel()
149 if (--sinfo->block_count < 0) { /* decrement pixels remaining in block */ in read_rle_pixel()
150 i = read_byte(sinfo); in read_rle_pixel()
152 sinfo->dup_pixel_count = i & 0x7F; /* number of dups after this one */ in read_rle_pixel()
153 sinfo->block_count = 0; /* then read new block header */ in read_rle_pixel()
155 sinfo->block_count = i & 0x7F; /* number of pixels after this one */ in read_rle_pixel()
160 for (i = 0; i < sinfo->pixel_size; i++) { in read_rle_pixel()
161 sinfo->tga_pixel[i] = (U_CHAR) getc(infile); in read_rle_pixel()
174 get_8bit_gray_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo) in get_8bit_gray_row() argument
177 tga_source_ptr source = (tga_source_ptr) sinfo; in get_8bit_gray_row()
190 get_8bit_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo) in get_8bit_row() argument
193 tga_source_ptr source = (tga_source_ptr) sinfo; in get_8bit_row()
211 get_16bit_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo) in get_16bit_row() argument
214 tga_source_ptr source = (tga_source_ptr) sinfo; in get_16bit_row()
239 get_24bit_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo) in get_24bit_row() argument
242 tga_source_ptr source = (tga_source_ptr) sinfo; in get_24bit_row()
273 get_memory_row (j_compress_ptr cinfo, cjpeg_source_ptr sinfo) in get_memory_row() argument
275 tga_source_ptr source = (tga_source_ptr) sinfo; in get_memory_row()
300 preload_image (j_compress_ptr cinfo, cjpeg_source_ptr sinfo) in preload_image() argument
302 tga_source_ptr source = (tga_source_ptr) sinfo; in preload_image()
315 (*source->get_pixel_rows) (cinfo, sinfo); in preload_image()
324 return get_memory_row(cinfo, sinfo); in preload_image()
333 start_input_tga (j_compress_ptr cinfo, cjpeg_source_ptr sinfo) in start_input_tga() argument
335 tga_source_ptr source = (tga_source_ptr) sinfo; in start_input_tga()
473 finish_input_tga (j_compress_ptr cinfo, cjpeg_source_ptr sinfo) in finish_input_tga() argument