Sdílet prostřednictvím


MediaCodecInfo.VideoCapabilities.HeightAlignment Property

Definition

Returns the alignment requirement for video height (in pixels).

public int HeightAlignment { [Android.Runtime.Register("getHeightAlignment", "()I", "")] get; }
[<get: Android.Runtime.Register("getHeightAlignment", "()I", "")>]
member this.HeightAlignment : int

Property Value

Attributes

Remarks

Returns the alignment requirement for video height (in pixels).

This is a power-of-2 value that video height must be a multiple of.

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

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