Mercurial > hg > orthanc
comparison Core/DicomParsing/DcmtkTranscoder.h @ 3904:c62f84c7eda9 transcoding
fixing incorrect behavior in MemoryBufferTranscoder
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 07 May 2020 17:21:20 +0200 |
parents | 8f7ad4989fec |
children | f0dd5ded8927 |
comparison
equal
deleted
inserted
replaced
3903:d1273d7cc200 | 3904:c62f84c7eda9 |
---|---|
67 const void* buffer, | 67 const void* buffer, |
68 size_t size, | 68 size_t size, |
69 const std::set<DicomTransferSyntax>& allowedSyntaxes, | 69 const std::set<DicomTransferSyntax>& allowedSyntaxes, |
70 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; | 70 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; |
71 | 71 |
72 virtual bool HasInplaceTranscode() const | 72 virtual bool HasInplaceTranscode(DicomTransferSyntax inputSyntax, |
73 const std::set<DicomTransferSyntax>& outputSyntaxes) const | |
73 { | 74 { |
74 return true; | 75 return true; |
75 } | 76 } |
76 | 77 |
77 virtual bool InplaceTranscode(bool& hasSopInstanceUidChanged /* out */, | 78 virtual bool InplaceTranscode(bool& hasSopInstanceUidChanged /* out */, |
83 bool& hasSopInstanceUidChanged /* out */, | 84 bool& hasSopInstanceUidChanged /* out */, |
84 const void* buffer, | 85 const void* buffer, |
85 size_t size, | 86 size_t size, |
86 const std::set<DicomTransferSyntax>& allowedSyntaxes, | 87 const std::set<DicomTransferSyntax>& allowedSyntaxes, |
87 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; | 88 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; |
89 | |
90 static bool IsSupported(DicomTransferSyntax syntax); | |
88 }; | 91 }; |
89 } | 92 } |