2 #ifndef vil_jpeg_destination_mgr_h_ 3 #define vil_jpeg_destination_mgr_h_ 18 struct jpeg_destination_mgr
base;
39 #endif // vil_jpeg_destination_mgr_h_
void vil_jpeg_init_destination(j_compress_ptr cinfo)
struct jpeg_destination_mgr base
void vil_jpeg_stream_dst_rewind(j_compress_ptr cinfo, vil_stream *vs)
void vil_jpeg_stream_dst_set(j_compress_ptr cinfo, vil_stream *vs)
Prepare for output to a vil_stream.
void vil_jpeg_term_destination(j_compress_ptr cinfo)
Terminate destination — called by jpeg_finish_compress after all data has been written....
Stream interface for VIL image loaders.
jpeg_boolean vil_jpeg_empty_output_buffer(j_compress_ptr cinfo)
Empty the output buffer — called whenever buffer fills up.
this is the data source structure which allows JPEG to write to a vil_stream.