diff OrthancServer/IDicomImageDecoder.h @ 1902:8b0ee8d5e6d0

Refactoring leading to speedups with custom image decoders
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 05 Jan 2016 13:26:51 +0100
parents b1291df2f780
children a3a65de1840f
line wrap: on
line diff
--- a/OrthancServer/IDicomImageDecoder.h	Mon Jan 04 14:20:41 2016 +0100
+++ b/OrthancServer/IDicomImageDecoder.h	Tue Jan 05 13:26:51 2016 +0100
@@ -38,8 +38,6 @@
 
 namespace Orthanc
 {
-  class ParsedDicomFile;
-
   class IDicomImageDecoder : public boost::noncopyable
   {
   public:
@@ -47,7 +45,8 @@
     {
     }
 
-    virtual ImageAccessor* Decode(ParsedDicomFile& dicom,
+    virtual ImageAccessor* Decode(const void* dicom,
+                                  size_t size,
                                   unsigned int frame) = 0;
   };
 }