Mercurial > hg > orthanc
comparison Core/DicomParsing/DcmtkTranscoder.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 |
---|---|
61 unsigned int GetLossyQuality() const | 61 unsigned int GetLossyQuality() const |
62 { | 62 { |
63 return lossyQuality_; | 63 return lossyQuality_; |
64 } | 64 } |
65 | 65 |
66 virtual bool HasInplaceTranscode(DicomTransferSyntax inputSyntax, | 66 bool InplaceTranscode(bool& hasSopInstanceUidChanged /* out */, |
67 const std::set<DicomTransferSyntax>& outputSyntaxes) const | 67 DcmFileFormat& dicom, |
68 { | 68 const std::set<DicomTransferSyntax>& allowedSyntaxes, |
69 return true; | 69 bool allowNewSopInstanceUid); |
70 } | |
71 | |
72 virtual bool InplaceTranscode(bool& hasSopInstanceUidChanged /* out */, | |
73 DcmFileFormat& dicom, | |
74 const std::set<DicomTransferSyntax>& allowedSyntaxes, | |
75 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; | |
76 | 70 |
77 virtual bool TranscodeToBuffer(std::string& target, | 71 virtual bool TranscodeToBuffer(std::string& target, |
78 bool& hasSopInstanceUidChanged /* out */, | 72 bool& hasSopInstanceUidChanged /* out */, |
79 const void* buffer, | 73 const void* buffer, |
80 size_t size, | 74 size_t size, |