30 boolean start_of_file;
35 #define INPUT_BUF_SIZE 4096 52 src->start_of_file =
TRUE;
98 if (src->start_of_file)
99 ERREXIT(cinfo, JERR_INPUT_EMPTY);
100 WARNMS(cinfo, JWRN_JPEG_EOF);
102 src->buffer[0] = (
JOCTET) 0xFF;
107 src->pub.next_input_byte = src->buffer;
108 src->pub.bytes_in_buffer = nbytes;
109 src->start_of_file =
FALSE;
193 if (cinfo->src ==
NULL) {
210 src->pub.bytes_in_buffer = 0;
211 src->pub.next_input_byte =
NULL;
term_source(j_decompress_ptr cinfo)
struct jpeg_common_struct * j_common_ptr
#define ERREXIT(cinfo, code)
#define JFREAD(file, buf, sizeofbuf)
init_source(j_decompress_ptr cinfo)
jpeg_stdio_src(j_decompress_ptr cinfo, FILE *infile)
typedef long(ZCALLBACK *tell_file_func) OF((voidpf opaque
#define WARNMS(cinfo, code)
skip_input_data(j_decompress_ptr cinfo, long num_bytes)
jpeg_resync_to_restart(j_decompress_ptr cinfo, int desired)
if(!abbox) return FT_THROW(Invalid_Argument)
my_source_mgr * my_src_ptr
fill_input_buffer(j_decompress_ptr cinfo)