Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef GDCMJPEG8CODEC_H
00016 #define GDCMJPEG8CODEC_H
00017
00018 #include "gdcmJPEGCodec.h"
00019
00020 namespace gdcm
00021 {
00022
00023 class JPEGInternals;
00024 class ByteValue;
00029 class JPEG8Codec : public JPEGCodec
00030 {
00031 public:
00032 JPEG8Codec();
00033 ~JPEG8Codec();
00034
00035 bool Decode(std::istream &is, std::ostream &os);
00036 bool InternalCode(const char *input, unsigned long len, std::ostream &os);
00037
00038 bool GetHeaderInfo(std::istream &is, TransferSyntax &ts);
00039
00040 private:
00041 JPEGInternals *Internals;
00042 };
00043
00044 }
00045
00046 #endif //GDCMJPEG8CODEC_H