MCPcopy Create free account
hub / github.com/IENT/YUView / decoderLibde265

Method decoderLibde265

YUViewLib/src/decoder/decoderLibde265.cpp:91–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89} // namespace
90
91decoderLibde265::decoderLibde265(int signalID, bool cachingDecoder)
92 : decoderBaseSingleLib(cachingDecoder)
93{
94 this->currentOutputBuffer.clear();
95
96 // Libde265 can only decoder HEVC in YUV format
97 this->rawFormat = video::RawFormat::YUV;
98
99 QSettings settings;
100 settings.beginGroup("Decoders");
101 this->loadDecoderLibrary(settings.value("libde265File", "").toString());
102 settings.endGroup();
103
104 bool resetDecoder;
105 this->setDecodeSignal(signalID, resetDecoder);
106 this->allocateNewDecoder();
107}
108
109decoderLibde265::~decoderLibde265()
110{

Callers

nothing calls this directly

Calls 5

setDecodeSignalMethod · 0.95
allocateNewDecoderMethod · 0.95
loadDecoderLibraryMethod · 0.80
toStringMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected