Enum PixelFormat
Specifies the pixel format of uncompressed video data.
public enum PixelFormat
Fields
ABGR = 30packed ABGR 8:8:8:8, 32bpp, ABGRABGR...
ARGB = 28packed ARGB 8:8:8:8, 32bpp, ARGBARGB...
AYUV = 1000planar YUV 4:4:4 + 8-bit alpha, 32bpp, plane ordering is A Y U V
BGR24 = 4packed RGB 8:8:8, 24bpp, BGRBGR...
BGR4 = 21packed 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 = 66packed BGR 4:4:4, 16bpp, (msb)4A 4B 4G 4R(lsb), big-endian, most significant bits to 1
BGR444LE = 65packed BGR 4:4:4, 16bpp, (msb)4A 4B 4G 4R(lsb), little-endian, most significant bits to 1
BGR48BE = 68packed RGB 16:16:16, 48bpp, 16B, 16G, 16R, the 2-byte value for each R/G/B component is stored as big-endian
BGR48LE = 69packed 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 = 22packed RGB 1:2:1, 8bpp, (msb)1B 2G 1R(lsb)
BGR555 = 51packed BGR 5:5:5, 16bpp, (msb)1A 5B 5G 5R(lsb), little-endian, most significant bit to 1
BGR555BE = 50packed BGR 5:5:5, 16bpp, (msb)1A 5B 5G 5R(lsb), big-endian, most significant bit to 1
BGR565 = 49packed BGR 5:6:5, 16bpp, (msb) 5B 6G 5R(lsb), little-endian
BGR565BE = 48packed BGR 5:6:5, 16bpp, (msb) 5B 6G 5R(lsb), big-endian
BGR8 = 20packed RGB 3:3:2, 8bpp, (msb)2B 3G 3R(lsb)
BGRA = 31packed BGRA 8:8:8:8, 32bpp, BGRABGRA...
BGRA64BE = 85packed 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 = 86packed 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 = 62HW decoding through DXVA2, Picture.data[3] contains a LPDIRECT3DSURFACE9 pointer
GBRP = 87planar GBR 4:4:4 24bpp
GBRP10BE = 90planar GBR 4:4:4 30bpp, big-endian
GBRP10LE = 91planar GBR 4:4:4 30bpp, little-endian
GBRP16BE = 92planar GBR 4:4:4 48bpp, big-endian
GBRP16LE = 93planar GBR 4:4:4 48bpp, little-endian
GBRP9BE = 88planar GBR 4:4:4 27bpp, big-endian
GBRP9LE = 89planar GBR 4:4:4 27bpp, little-endian
GRAY16BE = 32Y , 16bpp, big-endian
GRAY16LE = 33Y , 16bpp, little-endian
GRAY8 = 9Y , 8bpp
GRAY8A = 678bit gray, 8bit alpha
IYUV = 1planar YUV 4:2:0, 12bpp, (1 Cr and Cb sample per 2x2 Y samples)
MONOBLACK = 11Y , 1bpp, 0 is black, 1 is white, in each byte pixels are ordered from the msb to the lsb
MONOWHITE = 10Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb
NV12 = 26planar 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 = 27as above, but U and V bytes are swapped
None = 0No pixel format specified.
P010 = 1008semi-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 = 1009semi-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 = 1010semi-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 = 1011semi-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 = 128 bit with PIX_FMT_RGB32 palette
RGB24 = 3packed RGB 8:8:8, 24bpp, RGBRGB...
RGB4 = 24packed 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 = 64packed RGB 4:4:4, 16bpp, (msb)4A 4R 4G 4B(lsb), big-endian, most significant bits to 0
RGB444LE = 63packed RGB 4:4:4, 16bpp, (msb)4A 4R 4G 4B(lsb), little-endian, most significant bits to 0
RGB48BE = 42packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as big-endian
RGB48LE = 43packed 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 = 25packed RGB 1:2:1, 8bpp, (msb)1R 2G 1B(lsb)
RGB555BE = 46packed RGB 5:5:5, 16bpp, (msb)1A 5R 5G 5B(lsb), big-endian, most significant bit to 0
RGB555LE = 47packed RGB 5:5:5, 16bpp, (msb)1A 5R 5G 5B(lsb), little-endian, most significant bit to 0
RGB565BE = 44packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), big-endian
RGB565LE = 45packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), little-endian
RGB8 = 23packed RGB 3:3:2, 8bpp, (msb)2R 3G 3B(lsb)
RGBA = 29packed RGBA 8:8:8:8, 32bpp, RGBARGBA...
RGBA64BE = 83packed 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 = 84packed 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 = 18packed YUV 4:2:2, 16bpp, Cb Y0 Cr Y1
UYYVYY411 = 19packed YUV 4:1:1, 12bpp, Cb Y0 Y1 Cr Y2 Y3
VAAPI_IDCT = 53HW 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 = 52HW 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 = 54HW 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 = 82hardware decoding through VDA
VDPAU_H264 = 37H.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 = 38MPEG-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 = 39MPEG-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 = 61MPEG4 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 = 41VC-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 = 40WMV3 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 = 17XVideo Motion Acceleration via inverse discrete cosine transform
XVMC_MPEG2_MC = 16XVideo Motion Acceleration via common packet passing
Y210 = 1004packed YUV 4:2:2, 20bpp, Y0 U0 Y1 V0, 16-bit samples, little-endian
Y216 = 1005packed YUV 4:2:2, 32bpp, Y0 U0 Y1 V0, 16-bit samples, little-endian
Y410 = 1006packed YUV 4:4:4 + 2-bit alpha, 32bpp, AVYU packed into 32-bit bitstream, little-endian
Y416 = 1007packed YUV 4:4:4 + 16-bit alpha, 64bpp, A V Y U, 16-bit samples, little-endian
YUV410P = 7planar YUV 4:1:0, 9bpp, (1 Cr and Cb sample per 4x4 Y samples)
YUV411P = 8planar YUV 4:1:1, 12bpp, (1 Cr and Cb sample per 4x1 Y samples)
YUV420P10BE = 72planar YUV 4:2:0, 15bpp, (1 Cr and Cb sample per 2x2 Y samples), big-endian
YUV420P10LE = 73planar YUV 4:2:0, 15bpp, (1 Cr and Cb sample per 2x2 Y samples), little-endian
YUV420P16BE = 56planar YUV 4:2:0, 24bpp, (1 Cr and Cb sample per 2x2 Y samples), big-endian
YUV420P16LE = 55planar YUV 4:2:0, 24bpp, (1 Cr and Cb sample per 2x2 Y samples), little-endian
YUV420P9BE = 70planar YUV 4:2:0, 13.5bpp, (1 Cr and Cb sample per 2x2 Y samples), big-endian
YUV420P9LE = 71planar YUV 4:2:0, 13.5bpp, (1 Cr and Cb sample per 2x2 Y samples), little-endian
YUV422P = 5planar YUV 4:2:2, 16bpp, (1 Cr and Cb sample per 2x1 Y samples)
YUV422P10BE = 74planar YUV 4:2:2, 20bpp, (1 Cr and Cb sample per 2x1 Y samples), big-endian
YUV422P10LE = 75planar YUV 4:2:2, 20bpp, (1 Cr and Cb sample per 2x1 Y samples), little-endian
YUV422P16BE = 58planar YUV 4:2:2, 32bpp, (1 Cr and Cb sample per 2x1 Y samples), big-endian
YUV422P16LE = 57planar YUV 4:2:2, 32bpp, (1 Cr and Cb sample per 2x1 Y samples), little-endian
YUV422P9BE = 80planar YUV 4:2:2, 18bpp, (1 Cr and Cb sample per 2x1 Y samples), big-endian
YUV422P9LE = 81planar YUV 4:2:2, 18bpp, (1 Cr and Cb sample per 2x1 Y samples), little-endian
YUV440P = 34planar YUV 4:4:0 (1 Cr and Cb sample per 1x2 Y samples)
YUV444P = 6planar YUV 4:4:4, 24bpp, (1 Cr and Cb sample per 1x1 Y samples)
YUV444P10BE = 78planar YUV 4:4:4, 30bpp, (1 Cr and Cb sample per 1x1 Y samples), big-endian
YUV444P10LE = 79planar YUV 4:4:4, 30bpp, (1 Cr and Cb sample per 1x1 Y samples), little-endian
YUV444P16BE = 60planar YUV 4:4:4, 48bpp, (1 Cr and Cb sample per 1x1 Y samples), big-endian
YUV444P16LE = 59planar YUV 4:4:4, 48bpp, (1 Cr and Cb sample per 1x1 Y samples), little-endian
YUV444P9BE = 76planar YUV 4:4:4, 27bpp, (1 Cr and Cb sample per 1x1 Y samples), big-endian
YUV444P9LE = 77planar YUV 4:4:4, 27bpp, (1 Cr and Cb sample per 1x1 Y samples), little-endian
YUVA420P = 36planar YUV 4:2:0, 20bpp, (1 Cr and Cb sample per 2x2 Y and A samples)
YUVJ420P = 13planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of PIX_FMT_YUV420P and setting color_range
YUVJ422P = 14planar YUV 4:2:2, 16bpp, full scale (JPEG), deprecated in favor of PIX_FMT_YUV422P and setting color_range
YUVJ440P = 35planar YUV 4:4:0 full scale (JPEG), deprecated in favor of PIX_FMT_YUV440P and setting color_range
YUVJ444P = 15planar YUV 4:4:4, 24bpp, full scale (JPEG), deprecated in favor of PIX_FMT_YUV444P and setting color_range
YUY2 = 2packed YUV 4:2:2, 16bpp, Y0 Cb Y1 Cr
YV12 = 1001planar YUV 4:2:0, 12bpp, (1 V and U sample per 2x2 Y samples), plane ordering is Y V U
YVU9 = 1003planar YUV, 9bpp, (1 U and V sample per 4x4 Y samples)
YVYU = 1002packed YUV 4:2:2, 16bpp, Y0 V0 Y1 U0