다음을 통해 공유


MediaCodecInfo.VideoCapabilities.WidthAlignment Property

Definition

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

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

Property Value

Attributes

Remarks

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

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

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

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