Table of Contents

Enum PixelFormat

Namespace
VAST.Common
Assembly
VAST.Common.dll

Specifies the pixel format of uncompressed video data.

public enum PixelFormat

Fields

ABGR = 30

packed ABGR 8:8:8:8, 32bpp, ABGRABGR...

ARGB = 28

packed ARGB 8:8:8:8, 32bpp, ARGBARGB...

AYUV = 1000

planar YUV 4:4:4 + 8-bit alpha, 32bpp, plane ordering is A Y U V

BGR24 = 4

packed RGB 8:8:8, 24bpp, BGRBGR...

BGR4 = 21

packed RGB 1:2:1 bitstream, 4bpp, (msb)1B 2G 1R(lsb), a byte contains two pixels, the first pixel in the byte is the one composed by the 4 msb bits

BGR444BE = 66

packed BGR 4:4:4, 16bpp, (msb)4A 4B 4G 4R(lsb), big-endian, most significant bits to 1

BGR444LE = 65

packed BGR 4:4:4, 16bpp, (msb)4A 4B 4G 4R(lsb), little-endian, most significant bits to 1

BGR48BE = 68

packed RGB 16:16:16, 48bpp, 16B, 16G, 16R, the 2-byte value for each R/G/B component is stored as big-endian

BGR48LE = 69

packed RGB 16:16:16, 48bpp, 16B, 16G, 16R, the 2-byte value for each R/G/B component is stored as little-endian

BGR4_BYTE = 22

packed RGB 1:2:1, 8bpp, (msb)1B 2G 1R(lsb)

BGR555 = 51

packed BGR 5:5:5, 16bpp, (msb)1A 5B 5G 5R(lsb), little-endian, most significant bit to 1

BGR555BE = 50

packed BGR 5:5:5, 16bpp, (msb)1A 5B 5G 5R(lsb), big-endian, most significant bit to 1

BGR565 = 49

packed BGR 5:6:5, 16bpp, (msb) 5B 6G 5R(lsb), little-endian

BGR565BE = 48

packed BGR 5:6:5, 16bpp, (msb) 5B 6G 5R(lsb), big-endian

BGR8 = 20

packed RGB 3:3:2, 8bpp, (msb)2B 3G 3R(lsb)

BGRA = 31

packed BGRA 8:8:8:8, 32bpp, BGRABGRA...

BGRA64BE = 85

packed RGBA 16:16:16:16, 64bpp, 16B, 16G, 16R, 16A, the 2-byte value for each R/G/B/A component is stored as big-endian

BGRA64LE = 86

packed RGBA 16:16:16:16, 64bpp, 16B, 16G, 16R, 16A, the 2-byte value for each R/G/B/A component is stored as little-endian

DXVA2_VLD = 62

HW decoding through DXVA2, Picture.data[3] contains a LPDIRECT3DSURFACE9 pointer

GBRP = 87

planar GBR 4:4:4 24bpp

GBRP10BE = 90

planar GBR 4:4:4 30bpp, big-endian

GBRP10LE = 91

planar GBR 4:4:4 30bpp, little-endian

GBRP16BE = 92

planar GBR 4:4:4 48bpp, big-endian

GBRP16LE = 93

planar GBR 4:4:4 48bpp, little-endian

GBRP9BE = 88

planar GBR 4:4:4 27bpp, big-endian

GBRP9LE = 89

planar GBR 4:4:4 27bpp, little-endian

GRAY16BE = 32

Y , 16bpp, big-endian

GRAY16LE = 33

Y , 16bpp, little-endian

GRAY8 = 9

Y , 8bpp

GRAY8A = 67

8bit gray, 8bit alpha

IYUV = 1

planar YUV 4:2:0, 12bpp, (1 Cr and Cb sample per 2x2 Y samples)

MONOBLACK = 11

Y , 1bpp, 0 is black, 1 is white, in each byte pixels are ordered from the msb to the lsb

MONOWHITE = 10

Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb

NV12 = 26

planar YUV 4:2:0, 12bpp, 1 plane for Y and 1 plane for the UV components, which are interleaved (first byte U and the following byte V)

NV21 = 27

as above, but U and V bytes are swapped

None = 0

No pixel format specified.

P010 = 1008

semi-planar YUV 4:2:0, 15bpp, (1 U and V sample per 2x2 Y samples), Y plane is followed by interleaved U/V plane, 16-bit samples, little-endian

P016 = 1009

semi-planar YUV 4:2:0, 24bpp, (1 U and V sample per 2x2 Y samples), Y plane is followed by interleaved U/V plane, 16-bit samples, little-endian

P210 = 1010

semi-planar YUV 4:2:2, 20bpp, (1 U and V sample per 2x1 Y samples), Y plane is followed by interleaved U/V plane, 16-bit samples, little-endian

P216 = 1011

semi-planar YUV 4:2:2, 32bpp, (1 U and V sample per 2x1 Y samples), Y plane is followed by interleaved U/V plane, 16-bit samples, little-endian

PAL8 = 12

8 bit with PIX_FMT_RGB32 palette

RGB24 = 3

packed RGB 8:8:8, 24bpp, RGBRGB...

RGB4 = 24

packed RGB 1:2:1 bitstream, 4bpp, (msb)1R 2G 1B(lsb), a byte contains two pixels, the first pixel in the byte is the one composed by the 4 msb bits

RGB444BE = 64

packed RGB 4:4:4, 16bpp, (msb)4A 4R 4G 4B(lsb), big-endian, most significant bits to 0

RGB444LE = 63

packed RGB 4:4:4, 16bpp, (msb)4A 4R 4G 4B(lsb), little-endian, most significant bits to 0

RGB48BE = 42

packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as big-endian

RGB48LE = 43

packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as little-endian

RGB4_BYTE = 25

packed RGB 1:2:1, 8bpp, (msb)1R 2G 1B(lsb)

RGB555BE = 46

packed RGB 5:5:5, 16bpp, (msb)1A 5R 5G 5B(lsb), big-endian, most significant bit to 0

RGB555LE = 47

packed RGB 5:5:5, 16bpp, (msb)1A 5R 5G 5B(lsb), little-endian, most significant bit to 0

RGB565BE = 44

packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), big-endian

RGB565LE = 45

packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), little-endian

RGB8 = 23

packed RGB 3:3:2, 8bpp, (msb)2R 3G 3B(lsb)

RGBA = 29

packed RGBA 8:8:8:8, 32bpp, RGBARGBA...

RGBA64BE = 83

packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is stored as big-endian

RGBA64LE = 84

packed RGBA 16:16:16:16, 64bpp, 16R, 16G, 16B, 16A, the 2-byte value for each R/G/B/A component is stored as little-endian

UYVY = 18

packed YUV 4:2:2, 16bpp, Cb Y0 Cr Y1

UYYVYY411 = 19

packed YUV 4:1:1, 12bpp, Cb Y0 Y1 Cr Y2 Y3

VAAPI_IDCT = 53

HW acceleration through VA API at IDCT entry-point, Picture.data[3] contains a vaapi_render_state struct which contains fields extracted from headers

VAAPI_MOCO = 52

HW acceleration through VA API at motion compensation entry-point, Picture.data[3] contains a vaapi_render_state struct which contains macroblocks as well as various fields extracted from headers

VAAPI_VLD = 54

HW decoding through VA API, Picture.data[3] contains a vaapi_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers

VDA_VLD = 82

hardware decoding through VDA

VDPAU_H264 = 37

H.264 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers

VDPAU_MPEG1 = 38

MPEG-1 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers

VDPAU_MPEG2 = 39

MPEG-2 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers

VDPAU_MPEG4 = 61

MPEG4 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers

VDPAU_VC1 = 41

VC-1 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers

VDPAU_WMV3 = 40

WMV3 HW decoding with VDPAU, data[0] contains a vdpau_render_state struct which contains the bitstream of the slices as well as various fields extracted from headers

XVMC_MPEG2_IDCT = 17

XVideo Motion Acceleration via inverse discrete cosine transform

XVMC_MPEG2_MC = 16

XVideo Motion Acceleration via common packet passing

Y210 = 1004

packed YUV 4:2:2, 20bpp, Y0 U0 Y1 V0, 16-bit samples, little-endian

Y216 = 1005

packed YUV 4:2:2, 32bpp, Y0 U0 Y1 V0, 16-bit samples, little-endian

Y410 = 1006

packed YUV 4:4:4 + 2-bit alpha, 32bpp, AVYU packed into 32-bit bitstream, little-endian

Y416 = 1007

packed YUV 4:4:4 + 16-bit alpha, 64bpp, A V Y U, 16-bit samples, little-endian

YUV410P = 7

planar YUV 4:1:0, 9bpp, (1 Cr and Cb sample per 4x4 Y samples)

YUV411P = 8

planar YUV 4:1:1, 12bpp, (1 Cr and Cb sample per 4x1 Y samples)

YUV420P10BE = 72

planar YUV 4:2:0, 15bpp, (1 Cr and Cb sample per 2x2 Y samples), big-endian

YUV420P10LE = 73

planar YUV 4:2:0, 15bpp, (1 Cr and Cb sample per 2x2 Y samples), little-endian

YUV420P16BE = 56

planar YUV 4:2:0, 24bpp, (1 Cr and Cb sample per 2x2 Y samples), big-endian

YUV420P16LE = 55

planar YUV 4:2:0, 24bpp, (1 Cr and Cb sample per 2x2 Y samples), little-endian

YUV420P9BE = 70

planar YUV 4:2:0, 13.5bpp, (1 Cr and Cb sample per 2x2 Y samples), big-endian

YUV420P9LE = 71

planar YUV 4:2:0, 13.5bpp, (1 Cr and Cb sample per 2x2 Y samples), little-endian

YUV422P = 5

planar YUV 4:2:2, 16bpp, (1 Cr and Cb sample per 2x1 Y samples)

YUV422P10BE = 74

planar YUV 4:2:2, 20bpp, (1 Cr and Cb sample per 2x1 Y samples), big-endian

YUV422P10LE = 75

planar YUV 4:2:2, 20bpp, (1 Cr and Cb sample per 2x1 Y samples), little-endian

YUV422P16BE = 58

planar YUV 4:2:2, 32bpp, (1 Cr and Cb sample per 2x1 Y samples), big-endian

YUV422P16LE = 57

planar YUV 4:2:2, 32bpp, (1 Cr and Cb sample per 2x1 Y samples), little-endian

YUV422P9BE = 80

planar YUV 4:2:2, 18bpp, (1 Cr and Cb sample per 2x1 Y samples), big-endian

YUV422P9LE = 81

planar YUV 4:2:2, 18bpp, (1 Cr and Cb sample per 2x1 Y samples), little-endian

YUV440P = 34

planar YUV 4:4:0 (1 Cr and Cb sample per 1x2 Y samples)

YUV444P = 6

planar YUV 4:4:4, 24bpp, (1 Cr and Cb sample per 1x1 Y samples)

YUV444P10BE = 78

planar YUV 4:4:4, 30bpp, (1 Cr and Cb sample per 1x1 Y samples), big-endian

YUV444P10LE = 79

planar YUV 4:4:4, 30bpp, (1 Cr and Cb sample per 1x1 Y samples), little-endian

YUV444P16BE = 60

planar YUV 4:4:4, 48bpp, (1 Cr and Cb sample per 1x1 Y samples), big-endian

YUV444P16LE = 59

planar YUV 4:4:4, 48bpp, (1 Cr and Cb sample per 1x1 Y samples), little-endian

YUV444P9BE = 76

planar YUV 4:4:4, 27bpp, (1 Cr and Cb sample per 1x1 Y samples), big-endian

YUV444P9LE = 77

planar YUV 4:4:4, 27bpp, (1 Cr and Cb sample per 1x1 Y samples), little-endian

YUVA420P = 36

planar YUV 4:2:0, 20bpp, (1 Cr and Cb sample per 2x2 Y and A samples)

YUVJ420P = 13

planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of PIX_FMT_YUV420P and setting color_range

YUVJ422P = 14

planar YUV 4:2:2, 16bpp, full scale (JPEG), deprecated in favor of PIX_FMT_YUV422P and setting color_range

YUVJ440P = 35

planar YUV 4:4:0 full scale (JPEG), deprecated in favor of PIX_FMT_YUV440P and setting color_range

YUVJ444P = 15

planar YUV 4:4:4, 24bpp, full scale (JPEG), deprecated in favor of PIX_FMT_YUV444P and setting color_range

YUY2 = 2

packed YUV 4:2:2, 16bpp, Y0 Cb Y1 Cr

YV12 = 1001

planar YUV 4:2:0, 12bpp, (1 V and U sample per 2x2 Y samples), plane ordering is Y V U

YVU9 = 1003

planar YUV, 9bpp, (1 U and V sample per 4x4 Y samples)

YVYU = 1002

packed YUV 4:2:2, 16bpp, Y0 V0 Y1 U0