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

Method HasExternalSoftwareDecoder

src/rendering/video/VideoDecoderFactory.cpp:107–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105}
106
107bool VideoDecoderFactory::HasExternalSoftwareDecoder() {
108 std::lock_guard<std::mutex> autoLock(factoryLocker);
109 return GetSoftwareDecoderFactory() != nullptr;
110}
111
112void VideoDecoderFactory::NotifyHardwareVideoDecoderReleased() {
113 globalHardwareDecoderCount--;

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected