Mercurial > hg > orthanc
comparison Plugins/Engine/OrthancPlugins.cpp @ 3931:e6606d3ec892 transcoding
new configuration option: BuiltinDecoderTranscoderOrder
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 15 May 2020 09:22:31 +0200 |
parents | b99acc213937 |
children | aae045f802f4 |
comparison
equal
deleted
inserted
replaced
3930:b99acc213937 | 3931:e6606d3ec892 |
---|---|
4859 boost::shared_lock<boost::shared_mutex> lock(pimpl_->decoderTranscoderMutex_); | 4859 boost::shared_lock<boost::shared_mutex> lock(pimpl_->decoderTranscoderMutex_); |
4860 return !pimpl_->decodeImageCallbacks_.empty(); | 4860 return !pimpl_->decodeImageCallbacks_.empty(); |
4861 } | 4861 } |
4862 | 4862 |
4863 | 4863 |
4864 bool OrthancPlugins::HasCustomTranscoder() | |
4865 { | |
4866 boost::shared_lock<boost::shared_mutex> lock(pimpl_->decoderTranscoderMutex_); | |
4867 return !pimpl_->transcoderCallbacks_.empty(); | |
4868 } | |
4869 | |
4870 | |
4864 ImageAccessor* OrthancPlugins::Decode(const void* dicom, | 4871 ImageAccessor* OrthancPlugins::Decode(const void* dicom, |
4865 size_t size, | 4872 size_t size, |
4866 unsigned int frame) | 4873 unsigned int frame) |
4867 { | 4874 { |
4868 boost::shared_lock<boost::shared_mutex> lock(pimpl_->decoderTranscoderMutex_); | 4875 boost::shared_lock<boost::shared_mutex> lock(pimpl_->decoderTranscoderMutex_); |