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

Unified Diff: content/common/gpu/media/vaapi_wrapper.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: content/common/gpu/media/vaapi_wrapper.h
diff --git a/content/common/gpu/media/vaapi_wrapper.h b/content/common/gpu/media/vaapi_wrapper.h
index 10eccd91aad36c7253be7f5ab28da9ea685995d4..206d1b6ab9097ffb9df4f18e55fed338c387f455 100644
--- a/content/common/gpu/media/vaapi_wrapper.h
+++ b/content/common/gpu/media/vaapi_wrapper.h
@@ -20,6 +20,7 @@
#include "content/common/gpu/media/va_surface.h"
#include "media/base/video_decoder_config.h"
#include "media/base/video_frame.h"
+#include "media/video/video_decode_accelerator.h"
#include "media/video/video_encode_accelerator.h"
#include "third_party/libva/va/va.h"
#include "third_party/libva/va/va_vpp.h"
@@ -69,6 +70,10 @@ class CONTENT_EXPORT VaapiWrapper {
static std::vector<media::VideoEncodeAccelerator::SupportedProfile>
GetSupportedEncodeProfiles();
+ // Return the supported decode profiles.
+ static std::vector<media::VideoDecodeAccelerator::SupportedProfile>
+ GetSupportedDecodeProfiles();
+
~VaapiWrapper();
// Create |num_surfaces| backing surfaces in driver for VASurfaces, each

Powered by Google App Engine
This is Rietveld 408576698