Mercurial > hg > orthanc
diff Core/DicomParsing/IDicomTranscoder.h @ 3894:8f7ad4989fec transcoding
transcoding to uncompressed transfer syntaxes over DICOM protocol is implemented
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 07 May 2020 11:13:29 +0200 |
parents | 7a5fa8f307e9 |
children | c62f84c7eda9 |
line wrap: on
line diff
--- a/Core/DicomParsing/IDicomTranscoder.h Wed May 06 12:48:28 2020 +0200 +++ b/Core/DicomParsing/IDicomTranscoder.h Thu May 07 11:13:29 2020 +0200 @@ -55,6 +55,7 @@ } virtual bool TranscodeToBuffer(std::string& target, + bool& hasSopInstanceUidChanged /* out */, const void* buffer, size_t size, const std::set<DicomTransferSyntax>& allowedSyntaxes, @@ -66,7 +67,8 @@ * possibility to do a single parsing for all the possible * transfer syntaxes. **/ - virtual DcmFileFormat* TranscodeToParsed(const void* buffer, + virtual DcmFileFormat* TranscodeToParsed(bool& hasSopInstanceUidChanged /* out */, + const void* buffer, size_t size, const std::set<DicomTransferSyntax>& allowedSyntaxes, bool allowNewSopInstanceUid) = 0; @@ -76,7 +78,8 @@ /** * In-place transcoding. This method is preferred for C-STORE. **/ - virtual bool InplaceTranscode(DcmFileFormat& dicom, + virtual bool InplaceTranscode(bool& hasSopInstanceUidChanged /* out */, + DcmFileFormat& dicom, const std::set<DicomTransferSyntax>& allowedSyntaxes, bool allowNewSopInstanceUid) = 0; };