core/vil1/file_formats/vil1_jpeg_compressor.h

Go to the documentation of this file.
00001 // This is core/vil1/file_formats/vil1_jpeg_compressor.h
00002 #ifndef vil1_jpeg_compressor_h_
00003 #define vil1_jpeg_compressor_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 class vil1_jpeg_compressor
00015 {
00016  public:
00017   struct jpeg_error_mgr         jerr;
00018   struct jpeg_compress_struct   jobj;
00019   vil1_stream *stream;
00020 
00021   vil1_jpeg_compressor(vil1_stream *s);
00022 
00023   // NB. does not delete the stream
00024   ~vil1_jpeg_compressor();
00025 
00026   bool write_scanline(unsigned line, JSAMPLE const *);
00027 
00028  private:
00029   bool ready;
00030 };
00031 
00032 #endif // vil1_jpeg_compressor_h_

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