MCPcopy Create free account
hub / github.com/Tencent/libpag / GetSoftwareDecoderFactory

Function GetSoftwareDecoderFactory

src/rendering/video/VideoDecoderFactory.cpp:45–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45static SoftwareDecoderFactory* GetSoftwareDecoderFactory() {
46 if (softwareDecoderFactory) {
47 return softwareDecoderFactory;
48 }
49#ifdef PAG_USE_FFAVC
50 static SoftwareDecoderFactory* ffavcDecoderFactory =
51 static_cast<SoftwareDecoderFactory*>(ffavc::DecoderFactory::GetHandle());
52 return ffavcDecoderFactory;
53#endif
54 return nullptr;
55}
56
57class ExternalDecoderFactory : public VideoDecoderFactory {
58 public:

Callers 2

onCreateDecoderMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected