Dela via


MediaCodecInfo.VideoCapabilities.SupportedPerformancePoints Property

Definition

Returns the supported performance points.

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>

Property Value

Attributes

Remarks

Returns the supported performance points. May return null if the codec did not publish any performance point information (e.g. the vendor codecs have not been updated to the latest android release). May return an empty list if the codec published that if does not guarantee any performance points.

This is a performance guarantee provided by the device manufacturer for hardware codecs based on hardware capabilities of the device.

The returned list is sorted first by decreasing number of pixels, then by decreasing width, and finally by decreasing frame rate. Performance points assume a single active codec. For use cases where multiple codecs are active, should use that highest pixel count, and add the frame rates of each individual codec. <p class=note> 32-bit processes will not support resolutions larger than 4096x4096 due to the limited address space, but performance points will be presented as is. In other words, even though a component publishes a performance point for a resolution higher than 4096x4096, it does not mean that the resolution is supported for 32-bit processes.

Java documentation for android.media.MediaCodecInfo.VideoCapabilities.getSupportedPerformancePoints().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to