23 boolean start_of_file;
28 #define INPUT_BUF_SIZE 4096 91 if (
src->start_of_file)
92 ERREXIT(cinfo, JERR_INPUT_EMPTY);
93 WARNMS(cinfo, JWRN_JPEG_EOF);
100 src->pub.next_input_byte =
src->buffer;
101 src->pub.bytes_in_buffer = nbytes;
130 while (num_bytes > (
long)
src->pub.bytes_in_buffer) {
131 num_bytes -= (long)
src->
pub.bytes_in_buffer;
137 src->pub.next_input_byte += (size_t) num_bytes;
138 src->pub.bytes_in_buffer -= (size_t) num_bytes;
186 if (cinfo->src == NULL) {
203 src->pub.bytes_in_buffer = 0;
204 src->pub.next_input_byte = NULL;
fill_input_buffer(j_decompress_ptr cinfo)
init_source(j_decompress_ptr cinfo)
my_source_mgr * my_src_ptr
struct jpeg_common_struct * j_common_ptr
#define ERREXIT(cinfo, code)
term_source(j_decompress_ptr)
#define JFREAD(file, buf, sizeofbuf)
jpeg_resync_to_restart(j_decompress_ptr cinfo, int desired)
skip_input_data(j_decompress_ptr cinfo, long num_bytes)
jpeg_stdio_src(j_decompress_ptr cinfo, FILE *infile)
#define WARNMS(cinfo, code)