Share via


MediaFormat.KeyStride Field

Definition

A key describing the stride of the video bytebuffer layout.

[Android.Runtime.Register("KEY_STRIDE", ApiSince=23)]
public const string KeyStride;
[<Android.Runtime.Register("KEY_STRIDE", ApiSince=23)>]
val mutable KeyStride : string

Field Value

Attributes

Remarks

A key describing the stride of the video bytebuffer layout. Stride (or row increment) is the difference between the index of a pixel and that of the pixel directly underneath. For YUV 420 formats, the stride corresponds to the Y plane; the stride of the U and V planes can be calculated based on the color format, though it is generally undefined and depends on the device and release. The associated value is an integer, representing number of bytes.

Java documentation for android.media.MediaFormat.KEY_STRIDE.

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