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

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

Issue 795633005: Add VDA supported profile to GPUInfo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 11 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/vaapi_video_decode_accelerator.h
diff --git a/content/common/gpu/media/vaapi_video_decode_accelerator.h b/content/common/gpu/media/vaapi_video_decode_accelerator.h
index 206999a1db4a3af3ea91bfb74818ef0b1f95f356..5c99cde6cfe022963e89a96a24b45a474c2b6262 100644
--- a/content/common/gpu/media/vaapi_video_decode_accelerator.h
+++ b/content/common/gpu/media/vaapi_video_decode_accelerator.h
@@ -59,6 +59,10 @@ class CONTENT_EXPORT VaapiVideoDecodeAccelerator
virtual void Destroy() override;
virtual bool CanDecodeOnIOThread() override;
+ // Get the minimum and maximum supported decode resolution.
+ static media::VideoDecodeAccelerator::SupportedResolution
+ GetSupportedResolution();
+
private:
// Notify the client that an error has occurred and decoding cannot continue.
void NotifyError(Error error);

Powered by Google App Engine
This is Rietveld 408576698