comparison 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
comparison
equal deleted inserted replaced
845:48016722c770 846:715ab7674993
38 38
39 namespace Orthanc 39 namespace Orthanc
40 { 40 {
41 class DicomImageDecoder 41 class DicomImageDecoder
42 { 42 {
43 public: 43 public: // TODO SWITCH TO PRIVATE
44 //private:
45 static bool IsPsmctRle1(DcmDataset& dataset);
46
44 static void SetupImageBuffer(ImageBuffer& target, 47 static void SetupImageBuffer(ImageBuffer& target,
45 DcmDataset& dataset); 48 DcmDataset& dataset);
46 49
50 static bool DecodePsmctRle1(std::string& output,
51 DcmDataset& dataset);
52
53 public:
47 static bool IsJpegLossless(const DcmDataset& dataset); 54 static bool IsJpegLossless(const DcmDataset& dataset);
48 55
49 #if ORTHANC_JPEG_LOSSLESS_ENABLED == 1 56 #if ORTHANC_JPEG_LOSSLESS_ENABLED == 1
50 static void DecodeJpegLossless(ImageBuffer& target, 57 static void DecodeJpegLossless(ImageBuffer& target,
51 DcmDataset& dataset); 58 DcmDataset& dataset);