#include "media/video/video_decode_accelerator.h"
#include <GLES2/gl2.h>
#include <GLES2/gl2ext.h>
#include "base/notreached.h"
#include "base/task/single_thread_task_runner.h"
#include "media/base/video_util.h"
namespace media {
VideoDecodeAccelerator::Config::Config() = default;
VideoDecodeAccelerator::Config::Config(const Config& config) = default;
VideoDecodeAccelerator::Config::Config(VideoCodecProfile video_codec_profile)
: … { … }
VideoDecodeAccelerator::Config::~Config() = default;
std::string VideoDecodeAccelerator::Config::AsHumanReadableString() const { … }
void VideoDecodeAccelerator::Client::NotifyInitializationComplete(
DecoderStatus status) { … }
VideoDecodeAccelerator::~VideoDecodeAccelerator() = default;
void VideoDecodeAccelerator::Decode(scoped_refptr<DecoderBuffer> buffer,
int32_t bitstream_id) { … }
bool VideoDecodeAccelerator::TryToSetupDecodeOnSeparateSequence(
const base::WeakPtr<Client>& decode_client,
const scoped_refptr<base::SequencedTaskRunner>& decode_task_runner) { … }
void VideoDecodeAccelerator::ImportBufferForPicture(
int32_t picture_buffer_id,
VideoPixelFormat pixel_format,
gfx::GpuMemoryBufferHandle gpu_memory_buffer_handle) { … }
void VideoDecodeAccelerator::SetOverlayInfo(const OverlayInfo& overlay_info) { … }
VideoDecodeAccelerator::SupportedProfile::SupportedProfile()
: … { … }
VideoDecodeAccelerator::SupportedProfile::~SupportedProfile() = default;
VideoDecodeAccelerator::Capabilities::Capabilities() : … { … }
VideoDecodeAccelerator::Capabilities::Capabilities(const Capabilities& other) =
default;
VideoDecodeAccelerator::Capabilities::~Capabilities() = default;
std::string VideoDecodeAccelerator::Capabilities::AsHumanReadableString()
const { … }
}
namespace std {
void default_delete<media::VideoDecodeAccelerator>::operator()(
media::VideoDecodeAccelerator* vda) const { … }
}