chromium/content/renderer/media/codec_factory_mojo.h

// Copyright 2023 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CONTENT_RENDERER_MEDIA_CODEC_FACTORY_MOJO_H_
#define CONTENT_RENDERER_MEDIA_CODEC_FACTORY_MOJO_H_

#include <memory>

#include "base/task/sequenced_task_runner.h"
#include "content/common/content_export.h"
#include "content/renderer/media/codec_factory.h"
#include "media/base/decoder.h"
#include "media/base/overlay_info.h"
#include "media/base/video_decoder.h"
#include "media/mojo/mojom/interface_factory.mojom.h"
#include "media/mojo/mojom/stable/stable_video_decoder.mojom.h"
#include "media/mojo/mojom/video_decoder.mojom.h"
#include "media/video/gpu_video_accelerator_factories.h"
#include "mojo/public/cpp/bindings/remote.h"

namespace content {

// CodecFactoryMojo gets hardware decoder resources
// via media::mojom::InterfaceFactory. Use it when mojo-based video decoder is
// enabled.
class CONTENT_EXPORT CodecFactoryMojo final : public CodecFactory {};

}  // namespace content

#endif  // CONTENT_RENDERER_MEDIA_CODEC_FACTORY_MOJO_H_