MediaCodecInfo.VideoCapabilities.SupportedPerformancePoints 属性

定义

返回支持的性能点。

public System.Collections.Generic.IList<Android.Media.MediaCodecInfo.VideoCapabilities.PerformancePoint>? SupportedPerformancePoints { [Android.Runtime.Register("getSupportedPerformancePoints", "()Ljava/util/List;", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getSupportedPerformancePoints", "()Ljava/util/List;", "", ApiSince=29)>]
member this.SupportedPerformancePoints : System.Collections.Generic.IList<Android.Media.MediaCodecInfo.VideoCapabilities.PerformancePoint>

属性值

属性

注解

返回支持的性能点。 如果编解码器未发布任何性能点信息(例如供应商编解码器尚未更新到最新的 Android 版本),可能会返回 null 。 如果编解码器发布,则返回空列表(如果不能保证任何性能点)。

这是设备制造商根据设备的硬件功能为硬件编解码器提供的性能保证。

返回的列表首先按像素的减少数排序,然后通过减小宽度,最后通过降低帧速率进行排序。 性能点假定单个活动编解码器。 对于多个编解码器处于活动状态的用例,应使用该最高的像素计数,并添加每个编解码器的帧速率。 <p class=note> 32 位进程不支持由于地址空间有限而大于 4096x4096 的分辨率,但性能点将按原样显示。 换句话说,即使组件发布分辨率高于 4096x4096 的分辨率的性能点,这并不意味着 32 位进程支持分辨率。

适用于 . 的 android.media.MediaCodecInfo.VideoCapabilities.getSupportedPerformancePoints()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于