GDCM 2.0.17
|
00001 /*========================================================================= 00002 00003 Program: GDCM (Grassroots DICOM). A DICOM library 00004 Module: $URL$ 00005 00006 Copyright (c) 2006-2010 Mathieu Malaterre 00007 All rights reserved. 00008 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 #ifndef GDCMJPEG16CODEC_H 00016 #define GDCMJPEG16CODEC_H 00017 00018 #include "gdcmJPEGCodec.h" 00019 00020 namespace gdcm 00021 { 00022 00023 class JPEGInternals; 00024 class ByteValue; 00029 class JPEG16Codec : public JPEGCodec 00030 { 00031 public: 00032 JPEG16Codec(); 00033 ~JPEG16Codec(); 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 } // end namespace gdcm 00045 00046 #endif //GDCMJPEG16CODEC_H