Index: content/common/gpu/client/gpu_video_decode_accelerator_host.h |
diff --git a/content/common/gpu/client/gpu_video_decode_accelerator_host.h b/content/common/gpu/client/gpu_video_decode_accelerator_host.h |
index 4cbeeb1272ddab41b5b14bb829d4c6258f6df8ea..da2fdba994c214ae3ed9a512545cac49da3c084d 100644 |
--- a/content/common/gpu/client/gpu_video_decode_accelerator_host.h |
+++ b/content/common/gpu/client/gpu_video_decode_accelerator_host.h |
@@ -10,6 +10,7 @@ |
#include "base/memory/weak_ptr.h" |
#include "base/threading/non_thread_safe.h" |
#include "content/common/gpu/client/command_buffer_proxy_impl.h" |
+#include "gpu/config/gpu_info.h" |
#include "ipc/ipc_listener.h" |
#include "media/video/video_decode_accelerator.h" |
#include "ui/gfx/size.h" |
@@ -30,11 +31,17 @@ class GpuVideoDecodeAcceleratorHost |
GpuVideoDecodeAcceleratorHost(GpuChannelHost* channel, |
CommandBufferProxyImpl* impl); |
+ static std::vector<media::VideoDecodeAccelerator::SupportedProfile> |
+ ConvertGpuToMediaProfiles(const std::vector< |
+ gpu::VideoDecodeAcceleratorSupportedProfile>& gpu_profiles); |
+ |
// IPC::Listener implementation. |
void OnChannelError() override; |
bool OnMessageReceived(const IPC::Message& message) override; |
// media::VideoDecodeAccelerator implementation. |
+ std::vector<media::VideoDecodeAccelerator::SupportedProfile> |
+ GetSupportedProfiles(); |
bool Initialize(media::VideoCodecProfile profile, Client* client) override; |
void Decode(const media::BitstreamBuffer& bitstream_buffer) override; |
void AssignPictureBuffers( |