// Copyright © 2020 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. namespace CefSharp.DevTools.SystemInfo { /// /// Describes a supported video decoding profile with its associated minimum and /// maximum resolutions. /// [System.Runtime.Serialization.DataContractAttribute] public class VideoDecodeAcceleratorCapability : CefSharp.DevTools.DevToolsDomainEntityBase { /// /// Video codec profile that is supported, e.g. VP9 Profile 2. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("profile"), IsRequired = (true))] public string Profile { get; set; } /// /// Maximum video dimensions in pixels supported for this |profile|. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("maxResolution"), IsRequired = (true))] public CefSharp.DevTools.SystemInfo.Size MaxResolution { get; set; } /// /// Minimum video dimensions in pixels supported for this |profile|. /// [System.Runtime.Serialization.DataMemberAttribute(Name = ("minResolution"), IsRequired = (true))] public CefSharp.DevTools.SystemInfo.Size MinResolution { get; set; } } }