Udostępnij za pośrednictwem


MediaCodecInfo.VideoCapabilities.GetSupportedFrameRatesFor Method

Definition

Returns the range of supported video frame rates for a video size.

[Android.Runtime.Register("getSupportedFrameRatesFor", "(II)Landroid/util/Range;", "")]
public Android.Util.Range? GetSupportedFrameRatesFor (int width, int height);
[<Android.Runtime.Register("getSupportedFrameRatesFor", "(II)Landroid/util/Range;", "")>]
member this.GetSupportedFrameRatesFor : int * int -> Android.Util.Range

Parameters

width
Int32

the width of the video

height
Int32

the height of the video

Returns

Attributes

Remarks

Returns the range of supported video frame rates for a video size.

This is not a performance indicator. Rather, it expresses the limits specified in the coding standard, based on the complexities of encoding material of a given size for later playback at a certain frame rate, or the decoding of such material in non-realtime.

Java documentation for android.media.MediaCodecInfo.VideoCapabilities.getSupportedFrameRatesFor(int, int).

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