VideoPixelFormat Enum

The arrangement of the bytes of the planes of a VideoFrame (https://w3c.github.io/webcodecs/#enumdef-videopixelformat).

public enum VideoPixelFormat

Fields

NameValueDescription
I4200Planar 4:2:0 YUV, 8 bits per sample.
I420P101Planar 4:2:0 YUV, 10 bits per sample.
I420P122Planar 4:2:0 YUV, 12 bits per sample.
I420A3Planar 4:2:0 YUV with an alpha plane, 8 bits per sample.
I420AP104Planar 4:2:0 YUV with an alpha plane, 10 bits per sample.
I420AP125Planar 4:2:0 YUV with an alpha plane, 12 bits per sample.
I4226Planar 4:2:2 YUV, 8 bits per sample.
I422P107Planar 4:2:2 YUV, 10 bits per sample.
I422P128Planar 4:2:2 YUV, 12 bits per sample.
I422A9Planar 4:2:2 YUV with an alpha plane, 8 bits per sample.
I422AP1010Planar 4:2:2 YUV with an alpha plane, 10 bits per sample.
I422AP1211Planar 4:2:2 YUV with an alpha plane, 12 bits per sample.
I44412Planar 4:4:4 YUV, 8 bits per sample.
I444P1013Planar 4:4:4 YUV, 10 bits per sample.
I444P1214Planar 4:4:4 YUV, 12 bits per sample.
I444A15Planar 4:4:4 YUV with an alpha plane, 8 bits per sample.
I444AP1016Planar 4:4:4 YUV with an alpha plane, 10 bits per sample.
I444AP1217Planar 4:4:4 YUV with an alpha plane, 12 bits per sample.
NV12184:2:0 YUV with a Y plane and an interleaved UV plane, 8 bits per sample.
RGBA19One plane of interleaved red, green, blue and alpha samples, 8 bits per sample.
RGBX20One plane of interleaved red, green, blue and padding samples (opaque), 8 bits per sample.
BGRA21One plane of interleaved blue, green, red and alpha samples, 8 bits per sample.
BGRX22One plane of interleaved blue, green, red and padding samples (opaque), 8 bits per sample.