comparison OrthancServer/ServerContext.h @ 3903:d1273d7cc200 transcoding

avoid unnecessary dicom serialization
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 07 May 2020 16:43:08 +0200
parents 8f7ad4989fec
children c62f84c7eda9
comparison
equal deleted inserted replaced
3902:7459fcb1bdf7 3903:d1273d7cc200
462 bool hasMoveOriginator, 462 bool hasMoveOriginator,
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 "TranscodingEnabled" is set to "false" 466 // This method can be used even if "TranscodingEnabled" is set to "false"
467 bool TranscodeMemoryBuffer(std::string& target, 467 bool Transcode(std::string& target,
468 bool& hasSopInstanceUidChanged, 468 bool& hasSopInstanceUidChanged,
469 const std::string& source, 469 ParsedDicomFile& dicom, // Possibly modified
470 const std::set<DicomTransferSyntax>& allowedSyntaxes, 470 const std::set<DicomTransferSyntax>& allowedSyntaxes,
471 bool allowNewSopInstanceUid); 471 bool allowNewSopInstanceUid);
472 }; 472 };
473 } 473 }