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

Method resolve

YUViewLib/src/decoder/decoderHM.cpp:196–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

194}
195
196template <typename T> T decoderHM::resolve(T &fun, const char *symbol, bool optional)
197{
198 QFunctionPointer ptr = this->library.resolve(symbol);
199 if (!ptr)
200 {
201 if (!optional)
202 setError(QStringLiteral("Error loading the libde265 library: Can't find function %1.")
203 .arg(symbol));
204 return nullptr;
205 }
206
207 return fun = reinterpret_cast<T>(ptr);
208}
209
210void decoderHM::resetDecoder()
211{

Callers 1

resolveFunctionFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected