| 43 | } |
| 44 | |
| 45 | static 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 | |
| 57 | class ExternalDecoderFactory : public VideoDecoderFactory { |
| 58 | public: |
no outgoing calls
no test coverage detected