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

Unified Diff: gpu/config/gpu_info.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 6 review comments 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: gpu/config/gpu_info.h
diff --git a/gpu/config/gpu_info.h b/gpu/config/gpu_info.h
index 7c92d3ae7d702cf73410787b4f77a95e4ede9cf2..e84792b45a8e95fa397c3bffbb076a919e20e7aa 100644
--- a/gpu/config/gpu_info.h
+++ b/gpu/config/gpu_info.h
@@ -55,6 +55,12 @@ enum VideoCodecProfile {
VIDEO_CODEC_PROFILE_MAX = VP9PROFILE_ANY,
};
+// The minimum and maximum supported resolution (inclusive) of a decoder.
+struct GPU_EXPORT VideoDecodeAcceleratorSupportedResolution {
+ gfx::Size min;
+ gfx::Size max;
+};
+
// Specification of an encoding profile supported by a hardware encoder.
struct GPU_EXPORT VideoEncodeAcceleratorSupportedProfile {
VideoCodecProfile profile;
@@ -206,6 +212,8 @@ struct GPU_EXPORT GPUInfo {
DxDiagNode dx_diagnostics;
#endif
+ VideoDecodeAcceleratorSupportedResolution
+ video_decode_accelerator_supported_resolution;
std::vector<VideoEncodeAcceleratorSupportedProfile>
video_encode_accelerator_supported_profiles;
// Note: when adding new members, please remember to update EnumerateFields

Powered by Google App Engine
This is Rietveld 408576698