Mercurial > hg > orthanc
comparison OrthancServer/ServerContext.h @ 3906:f0dd5ded8927 transcoding
refactoring using IDicomTranscoder::TranscodedDicom
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 08 May 2020 11:16:16 +0200 |
parents | c62f84c7eda9 |
children | 1f71c2f20e16 |
comparison
equal
deleted
inserted
replaced
3905:061f3d031b5d | 3906:f0dd5ded8927 |
---|---|
463 const std::string& moveOriginatorAet, | 463 const std::string& moveOriginatorAet, |
464 uint16_t moveOriginatorId); | 464 uint16_t moveOriginatorId); |
465 | 465 |
466 // This method can be used even if the global option | 466 // This method can be used even if the global option |
467 // "TranscodingEnabled" is set to "false" | 467 // "TranscodingEnabled" is set to "false" |
468 bool Transcode(std::string& target, | 468 bool Transcode(std::string& target /* out */, |
469 bool& hasSopInstanceUidChanged, | 469 DicomTransferSyntax& sourceSyntax /* out */, |
470 ParsedDicomFile& dicom, // Can possibly be modified | 470 DicomTransferSyntax& targetSyntax /* out */, |
471 bool& hasSopInstanceUidChanged /* out */, | |
472 ParsedDicomFile& dicom, // Possibly modified | |
471 const std::set<DicomTransferSyntax>& allowedSyntaxes, | 473 const std::set<DicomTransferSyntax>& allowedSyntaxes, |
472 bool allowNewSopInstanceUid); | 474 bool allowNewSopInstanceUid); |
473 }; | 475 }; |
474 } | 476 } |