Mercurial > hg > orthanc
diff OrthancServer/Internals/DicomImageDecoder.h @ 846:715ab7674993 jpeg
refactoring
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 05 Jun 2014 16:23:03 +0200 |
parents | 48016722c770 |
children | 03ea55da7429 |
line wrap: on
line diff
--- a/OrthancServer/Internals/DicomImageDecoder.h Thu Jun 05 15:58:07 2014 +0200 +++ b/OrthancServer/Internals/DicomImageDecoder.h Thu Jun 05 16:23:03 2014 +0200 @@ -40,10 +40,17 @@ { class DicomImageDecoder { - public: + public: // TODO SWITCH TO PRIVATE + //private: + static bool IsPsmctRle1(DcmDataset& dataset); + static void SetupImageBuffer(ImageBuffer& target, DcmDataset& dataset); + static bool DecodePsmctRle1(std::string& output, + DcmDataset& dataset); + + public: static bool IsJpegLossless(const DcmDataset& dataset); #if ORTHANC_JPEG_LOSSLESS_ENABLED == 1