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

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: fix nit 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 c77f86aeac9987daac72a307aba9797107d27ca7..221c1807421edf291600b7b7fba403601f8e0683 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,10 @@ 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>
+ GetVideoDecodeAcceleratorSupportedProfiles() = 0;
xhwang 2015/03/26 06:15:32 It seems this is only needed by IsProfileSupported
henryhsu_tw 2015/03/26 09:38:34 Because we need GetVideoEncodeAcceleratorSupported
xhwang 2015/03/26 16:21:48 Acknowledged.
+
// Returns the supported codec profiles of video encode accelerator.
virtual std::vector<VideoEncodeAccelerator::SupportedProfile>
GetVideoEncodeAcceleratorSupportedProfiles() = 0;
xhwang 2015/03/26 06:15:32 ditto

Powered by Google App Engine
This is Rietveld 408576698