Mercurial > hg > orthanc
comparison Core/DicomParsing/MemoryBufferTranscoder.h @ 3908:89ebb37cee6a transcoding
removing leaky abstraction about inplace transcoding
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 08 May 2020 11:30:32 +0200 |
parents | 1555feda39e2 |
children | 6762a97deabc |
comparison
equal
deleted
inserted
replaced
3907:1555feda39e2 | 3908:89ebb37cee6a |
---|---|
82 const void* buffer, | 82 const void* buffer, |
83 size_t size, | 83 size_t size, |
84 const std::set<DicomTransferSyntax>& allowedSyntaxes, | 84 const std::set<DicomTransferSyntax>& allowedSyntaxes, |
85 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; | 85 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; |
86 | 86 |
87 virtual bool HasInplaceTranscode( | |
88 DicomTransferSyntax inputSyntax, | |
89 const std::set<DicomTransferSyntax>& outputSyntaxes) const ORTHANC_OVERRIDE; | |
90 | |
91 virtual bool InplaceTranscode(bool& hasSopInstanceUidChanged /* out */, | |
92 DcmFileFormat& dicom, | |
93 const std::set<DicomTransferSyntax>& allowedSyntaxes, | |
94 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; | |
95 | |
96 | |
97 | |
98 virtual bool TranscodeParsedToBuffer(std::string& target /* out */, | 87 virtual bool TranscodeParsedToBuffer(std::string& target /* out */, |
99 DicomTransferSyntax& sourceSyntax /* out */, | 88 DicomTransferSyntax& sourceSyntax /* out */, |
100 DicomTransferSyntax& targetSyntax /* out */, | 89 DicomTransferSyntax& targetSyntax /* out */, |
101 bool& hasSopInstanceUidChanged /* out */, | 90 bool& hasSopInstanceUidChanged /* out */, |
102 DcmFileFormat& dicom /* in, possibly modified */, | 91 DcmFileFormat& dicom /* in, possibly modified */, |