comparison OrthancServer/ServerContext.h @ 3945:0b3256c3ee14 transcoding

simplified IDicomTranscoder
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 19 May 2020 11:24:00 +0200
parents aae045f802f4
children cf6eb4fc6841
comparison
equal deleted inserted replaced
3944:aae045f802f4 3945:0b3256c3ee14
477 const std::string& moveOriginatorAet, 477 const std::string& moveOriginatorAet,
478 uint16_t moveOriginatorId); 478 uint16_t moveOriginatorId);
479 479
480 // This method can be used even if the global option 480 // This method can be used even if the global option
481 // "TranscodeDicomProtocol" is set to "false" 481 // "TranscodeDicomProtocol" is set to "false"
482 virtual bool TranscodeParsedToBuffer(std::string& target /* out */,
483 bool& hasSopInstanceUidChanged /* out */,
484 DcmFileFormat& dicom /* in, possibly modified */,
485 DicomTransferSyntax targetSyntax,
486 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE;
487
488 // This method can be used even if the global option
489 // "TranscodeDicomProtocol" is set to "false"
490 virtual IDicomTranscoder::TranscodedDicom* TranscodeToParsed(
491 DcmFileFormat& dicom /* in, possibly modified */,
492 const void* buffer /* in, same DICOM file as "dicom" */,
493 size_t size,
494 const std::set<DicomTransferSyntax>& allowedSyntaxes,
495 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE;
496
497 virtual bool Transcode(DicomImage& target, 482 virtual bool Transcode(DicomImage& target,
498 bool& hasSopInstanceUidChanged /* out */, 483 bool& hasSopInstanceUidChanged /* out */,
499 DicomImage& source /* in, "GetParsed()" possibly modified */, 484 DicomImage& source /* in, "GetParsed()" possibly modified */,
500 const std::set<DicomTransferSyntax>& allowedSyntaxes, 485 const std::set<DicomTransferSyntax>& allowedSyntaxes,
501 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE; 486 bool allowNewSopInstanceUid) ORTHANC_OVERRIDE;