| Index: content/common/gpu/media/gpu_video_decode_accelerator.h
|
| diff --git a/content/common/gpu/media/gpu_video_decode_accelerator.h b/content/common/gpu/media/gpu_video_decode_accelerator.h
|
| index f147138c82016b2d150f953675757643bc9fa9b8..9d9a85e43a76105b5cbff13a7da6301184c02fc6 100644
|
| --- a/content/common/gpu/media/gpu_video_decode_accelerator.h
|
| +++ b/content/common/gpu/media/gpu_video_decode_accelerator.h
|
| @@ -14,6 +14,7 @@
|
| #include "base/synchronization/waitable_event.h"
|
| #include "content/common/gpu/gpu_command_buffer_stub.h"
|
| #include "gpu/command_buffer/service/texture_manager.h"
|
| +#include "gpu/config/gpu_info.h"
|
| #include "ipc/ipc_listener.h"
|
| #include "ipc/ipc_sender.h"
|
| #include "media/video/video_decode_accelerator.h"
|
| @@ -66,6 +67,14 @@ class GpuVideoDecodeAccelerator
|
| void Initialize(const media::VideoCodecProfile profile,
|
| IPC::Message* init_done_msg);
|
|
|
| + // Static query for supported profiles. This query calls the appropriate
|
| + // platform-specific version and stores supported decoder profiles in
|
| + // |supported_profiles|. Return true if platform supports to query decoder
|
| + // profiles. |supported_profiles| would not have duplicate codec profile.
|
| + static bool GetSupportedProfiles(
|
| + std::vector<gpu::VideoDecodeAcceleratorSupportedProfile>*
|
| + supported_profiles);
|
| +
|
| private:
|
| typedef scoped_ptr<media::VideoDecodeAccelerator>(
|
| GpuVideoDecodeAccelerator::*CreateVDAFp)();
|
|
|