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

Unified Diff: content/common/gpu/media/gpu_video_encode_accelerator.h

Issue 795633005: Add VDA supported profile to GPUInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: add GetSupportedProfile to all platforms 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: content/common/gpu/media/gpu_video_encode_accelerator.h
diff --git a/content/common/gpu/media/gpu_video_encode_accelerator.h b/content/common/gpu/media/gpu_video_encode_accelerator.h
index e94a2dda8a66a921f63898abe7e2677de597bd15..154ce55badb235e34173340f6f318071d02db96a 100644
--- a/content/common/gpu/media/gpu_video_encode_accelerator.h
+++ b/content/common/gpu/media/gpu_video_encode_accelerator.h
@@ -58,12 +58,10 @@ class GpuVideoEncodeAccelerator
void OnWillDestroyStub() override;
// Static query for supported profiles. This query calls the appropriate
- // platform-specific version.
+ // platform-specific version. The returned supported profiles vector would
+ // not have duplicate codec profile.
static std::vector<gpu::VideoEncodeAcceleratorSupportedProfile>
GetSupportedProfiles();
- static std::vector<gpu::VideoEncodeAcceleratorSupportedProfile>
- ConvertMediaToGpuProfiles(const std::vector<
- media::VideoEncodeAccelerator::SupportedProfile>& media_profiles);
private:
typedef scoped_ptr<media::VideoEncodeAccelerator>(*CreateVEAFp)();

Powered by Google App Engine
This is Rietveld 408576698