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

Unified Diff: content/common/gpu/media/dxva_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: dispatch GetSupportedResolution to each vda Created 6 years 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/dxva_video_decode_accelerator.h
diff --git a/content/common/gpu/media/dxva_video_decode_accelerator.h b/content/common/gpu/media/dxva_video_decode_accelerator.h
index 692f22b06028b6e11ecff2cdbc01a0178451ef81..8fcd7e71c06c4243fc913a5db6b82839a646405c 100644
--- a/content/common/gpu/media/dxva_video_decode_accelerator.h
+++ b/content/common/gpu/media/dxva_video_decode_accelerator.h
@@ -65,6 +65,10 @@ class CONTENT_EXPORT DXVAVideoDecodeAccelerator
virtual bool CanDecodeOnIOThread() override;
GLenum GetSurfaceInternalFormat() const override;
+ // Get the minimum and maximum supported decode resolution.
+ static media::VideoDecodeAccelerator::SupportedResolution
+ GetSupportedResolution();
+
private:
typedef void* EGLConfig;
typedef void* EGLSurface;

Powered by Google App Engine
This is Rietveld 408576698