2 #ifndef vil_jpeg_source_mgr_h_ 3 #define vil_jpeg_source_mgr_h_ 18 struct jpeg_source_mgr
base;
43 #endif // vil_jpeg_source_mgr_h_ void vil_jpeg_term_source(j_decompress_ptr cinfo)
Terminate source — called by jpeg_finish_decompress after all data has been read. Often a no-op.
void vil_jpeg_skip_input_data(j_decompress_ptr cinfo, long num_bytes)
Skip data — used to skip over a potentially large amount of uninteresting data (such as an APPn marke...
void vil_jpeg_stream_src_set(j_decompress_ptr cinfo, vil_stream *vs)
this is the data source structure which allows JPEG to read from a vil_stream.
Stream interface for VIL image loaders.
struct jpeg_source_mgr base
void vil_jpeg_init_source(j_decompress_ptr cinfo)
jpeg_boolean start_of_file
jpeg_boolean vil_jpeg_fill_input_buffer(j_decompress_ptr cinfo)
Fill the input buffer — called whenever buffer is emptied.
void vil_jpeg_stream_src_rewind(j_decompress_ptr cinfo, vil_stream *vs)