#include "third_party/blink/renderer/modules/webcodecs/gpu_factories_retriever.h"
#include "media/video/gpu_video_accelerator_factories.h"
#include "third_party/blink/public/platform/platform.h"
#include "third_party/blink/renderer/platform/scheduler/public/main_thread.h"
#include "third_party/blink/renderer/platform/wtf/cross_thread_functional.h"
#include "third_party/blink/renderer/platform/wtf/functional.h"
#include "third_party/blink/renderer/platform/wtf/wtf.h"
namespace blink {
MainThreadTaskRunnerRestricted AccessMainThreadForGpuFactories() { … }
namespace {
media::GpuVideoAcceleratorFactories* GetGpuFactoriesOnMainThread() { … }
void RetrieveGpuFactories(OutputCB result_callback) { … }
void OnSupportKnown(OutputCB result_cb,
media::GpuVideoAcceleratorFactories* factories) { … }
}
void RetrieveGpuFactoriesWithKnownEncoderSupport(OutputCB callback) { … }
void RetrieveGpuFactoriesWithKnownDecoderSupport(OutputCB callback) { … }
}