| Index: gpu/config/gpu_info.h
|
| diff --git a/gpu/config/gpu_info.h b/gpu/config/gpu_info.h
|
| index e5bef2371de6fbe0e5d9768cb11fa0530670a316..956645b17ced05e8ab62614c40292293a5706b2b 100644
|
| --- a/gpu/config/gpu_info.h
|
| +++ b/gpu/config/gpu_info.h
|
| @@ -54,6 +54,13 @@ enum VideoCodecProfile {
|
| VIDEO_CODEC_PROFILE_MAX = VP9PROFILE_ANY,
|
| };
|
|
|
| +// Specification of a decoding profile supported by a hardware decoder.
|
| +struct GPU_EXPORT VideoDecodeAcceleratorSupportedProfile {
|
| + VideoCodecProfile profile;
|
| + gfx::Size max_resolution;
|
| + gfx::Size min_resolution;
|
| +};
|
| +
|
| // Specification of an encoding profile supported by a hardware encoder.
|
| struct GPU_EXPORT VideoEncodeAcceleratorSupportedProfile {
|
| VideoCodecProfile profile;
|
| @@ -202,6 +209,8 @@ struct GPU_EXPORT GPUInfo {
|
| DxDiagNode dx_diagnostics;
|
| #endif
|
|
|
| + std::vector<VideoDecodeAcceleratorSupportedProfile>
|
| + video_decode_accelerator_supported_profiles;
|
| std::vector<VideoEncodeAcceleratorSupportedProfile>
|
| video_encode_accelerator_supported_profiles;
|
| // Note: when adding new members, please remember to update EnumerateFields
|
| @@ -228,6 +237,11 @@ struct GPU_EXPORT GPUInfo {
|
| virtual void BeginGPUDevice() = 0;
|
| virtual void EndGPUDevice() = 0;
|
|
|
| + // Markers indicating that a VideoDecodeAcceleratorSupportedProfile is
|
| + // being described.
|
| + virtual void BeginVideoDecodeAcceleratorSupportedProfile() = 0;
|
| + virtual void EndVideoDecodeAcceleratorSupportedProfile() = 0;
|
| +
|
| // Markers indicating that a VideoEncodeAcceleratorSupportedProfile is
|
| // being described.
|
| virtual void BeginVideoEncodeAcceleratorSupportedProfile() = 0;
|
|
|