core/vil1/file_formats/vil1_jpeg_destination_mgr.h

Go to the documentation of this file.
00001 // This is core/vil1/file_formats/vil1_jpeg_destination_mgr.h
00002 #ifndef vil1_jpeg_destination_mgr_h_
00003 #define vil1_jpeg_destination_mgr_h_
00004 #ifdef VCL_NEEDS_PRAGMA_INTERFACE
00005 #pragma interface
00006 #endif
00007 //:
00008 // \file
00009 // \author fsm
00010 
00011 #include <vil1/vil1_jpeglib.h>
00012 class vil1_stream;
00013 
00014 //: this is the data source structure which allows JPEG to write to a vil1_stream.
00015 struct vil1_jpeg_stream_destination_mgr
00016 {
00017   struct jpeg_destination_mgr base;
00018 
00019   vil1_stream *stream;           /* target stream */
00020   JOCTET * buffer;              /* start of buffer */
00021 };
00022 
00023 void
00024 vil1_jpeg_init_destination (j_compress_ptr cinfo);
00025 
00026 jpeg_boolean
00027 vil1_jpeg_empty_output_buffer (j_compress_ptr cinfo);
00028 
00029 void
00030 vil1_jpeg_term_destination (j_compress_ptr cinfo);
00031 
00032 void
00033 vil1_jpeg_stream_dst_set (j_compress_ptr cinfo, vil1_stream *vs);
00034 
00035 void
00036 vil1_jpeg_stream_dst_rewind(j_compress_ptr cinfo, vil1_stream *vs);
00037 
00038 #endif // vil1_jpeg_destination_mgr_h_

Generated on Sat Nov 22 05:08:28 2008 for core/vil1 by  doxygen 1.5.1