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 e59a76fb5c35169dd4b0fab8cb448e9bc02a46b3..4c7f2f01070195fde70a21d7ea8528411f1ff2bf 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" |
@@ -64,6 +65,10 @@ class GpuVideoDecodeAccelerator |
void Initialize(const media::VideoCodecProfile profile, |
IPC::Message* init_done_msg); |
+ // Get the minimum and maximum supported decode resolution. |
+ static gpu::VideoDecodeAcceleratorSupportedResolution |
+ GetSupportedResolution(); |
+ |
private: |
class MessageFilter; |