Skip to content
Type

VideoDataPlane

Describes a single data plane of a video frame.

ts
type VideoDataPlane = {
	data: Uint8Array;
	stride: number;
};

Used by

Properties

data

ts
data: Uint8Array<ArrayBufferLike>;

The data of the plane.

stride

ts
stride: number;

The stride of the plane, in bytes. This is the distance in bytes between the start of each row of pixels.

Released under the Mozilla Public License 2.0.