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 |