Share via


MediaFormat.KeySliceHeight Field

Definition

A key describing the plane height of a multi-planar (YUV) video bytebuffer layout.

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

Field Value

Attributes

Remarks

A key describing the plane height of a multi-planar (YUV) video bytebuffer layout. Slice height (or plane height/vertical stride) is the number of rows that must be skipped to get from the top of the Y plane to the top of the U plane in the bytebuffer. In essence the offset of the U plane is sliceHeight * stride. The height of the U/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 rows.

Java documentation for android.media.MediaFormat.KEY_SLICE_HEIGHT.

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