Mercurial > hg > orthanc
diff Plugins/Samples/GdcmDecoder/GdcmDecoderCache.h @ 3915:7e33516965f8 transcoding
merging sample GDCM decoder and Orthanc Web viewer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 11 May 2020 15:13:16 +0200 |
parents | 6110a4995ace |
children |
line wrap: on
line diff
--- a/Plugins/Samples/GdcmDecoder/GdcmDecoderCache.h Mon May 11 12:12:23 2020 +0200 +++ b/Plugins/Samples/GdcmDecoder/GdcmDecoderCache.h Mon May 11 15:13:16 2020 +0200 @@ -23,7 +23,7 @@ #include "../../../Core/Compatibility.h" #include "GdcmImageDecoder.h" -#include "OrthancImageWrapper.h" +#include "../Common/OrthancPluginCppWrapper.h" #include <boost/thread.hpp> @@ -38,8 +38,7 @@ size_t size_; std::string md5_; - static std::string ComputeMd5(OrthancPluginContext* context, - const void* dicom, + static std::string ComputeMd5(const void* dicom, size_t size); public: @@ -47,9 +46,8 @@ { } - OrthancImageWrapper* Decode(OrthancPluginContext* context, - const void* dicom, - const uint32_t size, - uint32_t frameIndex); + OrthancImage* Decode(const void* dicom, + const uint32_t size, + uint32_t frameIndex); }; }