Mercurial > hg > orthanc
comparison Core/DicomNetworking/DicomStoreUserConnection.cpp @ 3907:1555feda39e2 transcoding
substituting IDicomTranscoder::TranscodeToParsed() by refactored implementation
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 08 May 2020 11:24:34 +0200 |
parents | f0dd5ded8927 |
children | 0b3256c3ee14 |
comparison
equal
deleted
inserted
replaced
3906:f0dd5ded8927 | 3907:1555feda39e2 |
---|---|
490 { | 490 { |
491 uncompressedSyntaxes.insert(DicomTransferSyntax_BigEndianExplicit); | 491 uncompressedSyntaxes.insert(DicomTransferSyntax_BigEndianExplicit); |
492 } | 492 } |
493 | 493 |
494 std::unique_ptr<IDicomTranscoder::TranscodedDicom> transcoded( | 494 std::unique_ptr<IDicomTranscoder::TranscodedDicom> transcoded( |
495 transcoder.TranscodeToParsed2(*dicom, buffer, size, uncompressedSyntaxes, false)); | 495 transcoder.TranscodeToParsed(*dicom, buffer, size, uncompressedSyntaxes, false)); |
496 | 496 |
497 // WARNING: Below this point, "transcoded->GetDicom()" is possibly | 497 // WARNING: Below this point, "transcoded->GetDicom()" is possibly |
498 // a reference to "*dicom", if the DCMTK transcoder was used | 498 // a reference to "*dicom", if the DCMTK transcoder was used |
499 | 499 |
500 if (transcoded.get() == NULL || | 500 if (transcoded.get() == NULL || |