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

Method decoderVVDec

YUViewLib/src/decoder/decoderVVDec.cpp:135–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133} // namespace
134
135decoderVVDec::decoderVVDec(int signalID, bool cachingDecoder) : decoderBaseSingleLib(cachingDecoder)
136{
137 // For now we don't support different signals (like prediction, residual)
138 (void)signalID;
139
140 this->rawFormat = video::RawFormat::YUV;
141
142 // Try to load the decoder library (.dll on Windows, .so on Linux, .dylib on Mac)
143 QSettings settings;
144 settings.beginGroup("Decoders");
145 this->loadDecoderLibrary(settings.value("libVVDecFile", "").toString());
146 settings.endGroup();
147
148 if (this->decoderState != DecoderState::Error)
149 this->allocateNewDecoder();
150}
151
152decoderVVDec::~decoderVVDec()
153{

Callers

nothing calls this directly

Calls 3

allocateNewDecoderMethod · 0.95
loadDecoderLibraryMethod · 0.80
toStringMethod · 0.80

Tested by

no test coverage detected