Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(300)

Unified Diff: media/renderers/gpu_video_accelerator_factories.h

Issue 795633005: Add VDA supported profile to GPUInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: address patch set 13 review comments Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/renderers/gpu_video_accelerator_factories.h
diff --git a/media/renderers/gpu_video_accelerator_factories.h b/media/renderers/gpu_video_accelerator_factories.h
index 0d99fd7429e57e9c4b97fc41f61d4734d884a45a..f3ce18e8608b66f4ebfc8e98dc91ee1573077483 100644
--- a/media/renderers/gpu_video_accelerator_factories.h
+++ b/media/renderers/gpu_video_accelerator_factories.h
@@ -11,6 +11,7 @@
#include "base/memory/scoped_ptr.h"
#include "gpu/command_buffer/common/mailbox.h"
#include "media/base/media_export.h"
+#include "media/video/video_decode_accelerator.h"
#include "media/video/video_encode_accelerator.h"
namespace base {
@@ -64,6 +65,11 @@ class MEDIA_EXPORT GpuVideoAcceleratorFactories
// Returns the task runner the video accelerator runs on.
virtual scoped_refptr<base::SingleThreadTaskRunner> GetTaskRunner() = 0;
+ // Returns the supported codec profiles of video decode accelerator.
+ virtual std::vector<VideoDecodeAccelerator::SupportedProfile>
wuchengli 2015/03/18 08:02:38 bool GetVideoDecodeAcceleratorSupportedProfiles(st
henryhsu 2015/03/18 11:06:09 Done.
+ GetVideoDecodeAcceleratorSupportedProfiles(bool* support_query_profile)
+ = 0;
+
// Returns the supported codec profiles of video encode accelerator.
virtual std::vector<VideoEncodeAccelerator::SupportedProfile>
GetVideoEncodeAcceleratorSupportedProfiles() = 0;

Powered by Google App Engine
This is Rietveld 408576698