Value | Meaning |
---|---|
AV_PIX_FMT_NONE-1 | |
AV_PIX_FMT_YUV420P0 | < planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples) |
AV_PIX_FMT_YUYV4221 | < packed YUV 4:2:2, 16bpp, Y0 Cb Y1 Cr |
AV_PIX_FMT_RGB242 | < packed RGB 8:8:8, 24bpp, RGBRGB... |
AV_PIX_FMT_BGR243 | < packed RGB 8:8:8, 24bpp, BGRBGR... |
AV_PIX_FMT_YUV422P4 | < planar YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples) |
AV_PIX_FMT_YUV444P5 | < planar YUV 4:4:4, 24bpp, (1 Cr & Cb sample per 1x1 Y samples) |
AV_PIX_FMT_YUV410P6 | < planar YUV 4:1:0, 9bpp, (1 Cr & Cb sample per 4x4 Y samples) |
AV_PIX_FMT_YUV411P7 | < planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples) |
AV_PIX_FMT_GRAY88 | < Y , 8bpp |
AV_PIX_FMT_MONOWHITE9 | < Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb |
AV_PIX_FMT_MONOBLACK10 | < Y , 1bpp, 0 is black, 1 is white, in each byte pixels are ordered from the msb to the lsb |
AV_PIX_FMT_PAL811 | < 8 bits with AV_PIX_FMT_RGB32 palette |
AV_PIX_FMT_YUVJ420P12 | < planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV420P and setting color_range |
AV_PIX_FMT_YUVJ422P13 | < planar YUV 4:2:2, 16bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV422P and setting color_range |
AV_PIX_FMT_YUVJ444P14 | < planar YUV 4:4:4, 24bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV444P and setting color_range |
AV_PIX_FMT_UYVY42215 | < packed YUV 4:2:2, 16bpp, Cb Y0 Cr Y1 |
AV_PIX_FMT_UYYVYY41116 | < packed YUV 4:1:1, 12bpp, Cb Y0 Y1 Cr Y2 Y3 |
AV_PIX_FMT_BGR817 | < packed RGB 3:3:2, 8bpp, (msb)2B 3G 3R(lsb) |
AV_PIX_FMT_BGR418 | < 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 |
AV_PIX_FMT_BGR4_BYTE19 | < packed RGB 1:2:1, 8bpp, (msb)1B 2G 1R(lsb) |
AV_PIX_FMT_RGB820 | < packed RGB 3:3:2, 8bpp, (msb)2R 3G 3B(lsb) |
AV_PIX_FMT_RGB421 | < 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 |
AV_PIX_FMT_RGB4_BYTE22 | < packed RGB 1:2:1, 8bpp, (msb)1R 2G 1B(lsb) |
AV_PIX_FMT_NV1223 | < 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) |
AV_PIX_FMT_NV2124 | < as above, but U and V bytes are swapped |
AV_PIX_FMT_ARGB25 | < packed ARGB 8:8:8:8, 32bpp, ARGBARGB... |
AV_PIX_FMT_RGBA26 | < packed RGBA 8:8:8:8, 32bpp, RGBARGBA... |
AV_PIX_FMT_ABGR27 | < packed ABGR 8:8:8:8, 32bpp, ABGRABGR... |
AV_PIX_FMT_BGRA28 | < packed BGRA 8:8:8:8, 32bpp, BGRABGRA... |
AV_PIX_FMT_GRAY16BE29 | < Y , 16bpp, big-endian |
AV_PIX_FMT_GRAY16LE30 | < Y , 16bpp, little-endian |
AV_PIX_FMT_YUV440P31 | < planar YUV 4:4:0 (1 Cr & Cb sample per 1x2 Y samples) |
AV_PIX_FMT_YUVJ440P32 | < planar YUV 4:4:0 full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV440P and setting color_range |
AV_PIX_FMT_YUVA420P33 | < planar YUV 4:2:0, 20bpp, (1 Cr & Cb sample per 2x2 Y & A samples) |
AV_PIX_FMT_RGB48BE34 | < packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as big-endian |
AV_PIX_FMT_RGB48LE35 | < packed RGB 16:16:16, 48bpp, 16R, 16G, 16B, the 2-byte value for each R/G/B component is stored as little-endian |
AV_PIX_FMT_RGB565BE36 | < packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), big-endian |
AV_PIX_FMT_RGB565LE37 | < packed RGB 5:6:5, 16bpp, (msb) 5R 6G 5B(lsb), little-endian |
AV_PIX_FMT_RGB555BE38 | < packed RGB 5:5:5, 16bpp, (msb)1X 5R 5G 5B(lsb), big-endian , X=unused/undefined |
AV_PIX_FMT_RGB555LE39 | < packed RGB 5:5:5, 16bpp, (msb)1X 5R 5G 5B(lsb), little-endian, X=unused/undefined |
AV_PIX_FMT_BGR565BE40 | < packed BGR 5:6:5, 16bpp, (msb) 5B 6G 5R(lsb), big-endian |
AV_PIX_FMT_BGR565LE41 | < packed BGR 5:6:5, 16bpp, (msb) 5B 6G 5R(lsb), little-endian |
AV_PIX_FMT_BGR555BE42 | < packed BGR 5:5:5, 16bpp, (msb)1X 5B 5G 5R(lsb), big-endian , X=unused/undefined |
AV_PIX_FMT_BGR555LE43 | < packed BGR 5:5:5, 16bpp, (msb)1X 5B 5G 5R(lsb), little-endian, X=unused/undefined |
AV_PIX_FMT_VAAPI_MOCO44 | @{ |
AV_PIX_FMT_VAAPI_IDCT45 | < HW acceleration through VA API at IDCT entry-point, Picture.data[3] contains a vaapi_render_state struct which contains fields extracted from headers |
AV_PIX_FMT_VAAPI_VLD46 | < HW decoding through VA API, Picture.data[3] contains a VASurfaceID |
AV_PIX_FMT_VAAPIAV_PIX_FMT_VAAPI_VLD | @} |
AV_PIX_FMT_YUV420P16LE47 | Hardware acceleration through VA-API, data[3] contains a VASurfaceID. |
AV_PIX_FMT_YUV420P16BE48 | < planar YUV 4:2:0, 24bpp, (1 Cr & Cb sample per 2x2 Y samples), big-endian |
AV_PIX_FMT_YUV422P16LE49 | < planar YUV 4:2:2, 32bpp, (1 Cr & Cb sample per 2x1 Y samples), little-endian |
AV_PIX_FMT_YUV422P16BE50 | < planar YUV 4:2:2, 32bpp, (1 Cr & Cb sample per 2x1 Y samples), big-endian |
AV_PIX_FMT_YUV444P16LE51 | < planar YUV 4:4:4, 48bpp, (1 Cr & Cb sample per 1x1 Y samples), little-endian |
AV_PIX_FMT_YUV444P16BE52 | < planar YUV 4:4:4, 48bpp, (1 Cr & Cb sample per 1x1 Y samples), big-endian |
AV_PIX_FMT_DXVA2_VLD53 | < HW decoding through DXVA2, Picture.data[3] contains a LPDIRECT3DSURFACE9 pointer |
AV_PIX_FMT_RGB444LE54 | < packed RGB 4:4:4, 16bpp, (msb)4X 4R 4G 4B(lsb), little-endian, X=unused/undefined |
AV_PIX_FMT_RGB444BE55 | < packed RGB 4:4:4, 16bpp, (msb)4X 4R 4G 4B(lsb), big-endian, X=unused/undefined |
AV_PIX_FMT_BGR444LE56 | < packed BGR 4:4:4, 16bpp, (msb)4X 4B 4G 4R(lsb), little-endian, X=unused/undefined |
AV_PIX_FMT_BGR444BE57 | < packed BGR 4:4:4, 16bpp, (msb)4X 4B 4G 4R(lsb), big-endian, X=unused/undefined |
AV_PIX_FMT_YA858 | < 8 bits gray, 8 bits alpha |
AV_PIX_FMT_Y400AAV_PIX_FMT_YA8 | < alias for AV_PIX_FMT_YA8 |
AV_PIX_FMT_GRAY8AAV_PIX_FMT_YA8 | < alias for AV_PIX_FMT_YA8 |
AV_PIX_FMT_BGR48BE59 | < packed RGB 16:16:16, 48bpp, 16B, 16G, 16R, the 2-byte value for each R/G/B component is stored as big-endian |
AV_PIX_FMT_BGR48LE60 | < packed RGB 16:16:16, 48bpp, 16B, 16G, 16R, the 2-byte value for each R/G/B component is stored as little-endian |
AV_PIX_FMT_YUV420P9BE61 | The following 12 formats have the disadvantage of needing 1 format for each bit depth. Notice that each 9/10 bits sample is stored in 16 bits with extra padding. If you want to support multiple bit depths, then using AV_PIX_FMT_YUV420P16* with the bpp stored separately is better. |
AV_PIX_FMT_YUV420P9LE62 | < planar YUV 4:2:0, 13.5bpp, (1 Cr & Cb sample per 2x2 Y samples), little-endian |
AV_PIX_FMT_YUV420P10BE63 | < planar YUV 4:2:0, 15bpp, (1 Cr & Cb sample per 2x2 Y samples), big-endian |
AV_PIX_FMT_YUV420P10LE64 | < planar YUV 4:2:0, 15bpp, (1 Cr & Cb sample per 2x2 Y samples), little-endian |
AV_PIX_FMT_YUV422P10BE65 | < planar YUV 4:2:2, 20bpp, (1 Cr & Cb sample per 2x1 Y samples), big-endian |
AV_PIX_FMT_YUV422P10LE66 | < planar YUV 4:2:2, 20bpp, (1 Cr & Cb sample per 2x1 Y samples), little-endian |
AV_PIX_FMT_YUV444P9BE67 | < planar YUV 4:4:4, 27bpp, (1 Cr & Cb sample per 1x1 Y samples), big-endian |
AV_PIX_FMT_YUV444P9LE68 | < planar YUV 4:4:4, 27bpp, (1 Cr & Cb sample per 1x1 Y samples), little-endian |
AV_PIX_FMT_YUV444P10BE69 | < planar YUV 4:4:4, 30bpp, (1 Cr & Cb sample per 1x1 Y samples), big-endian |
AV_PIX_FMT_YUV444P10LE70 | < planar YUV 4:4:4, 30bpp, (1 Cr & Cb sample per 1x1 Y samples), little-endian |
AV_PIX_FMT_YUV422P9BE71 | < planar YUV 4:2:2, 18bpp, (1 Cr & Cb sample per 2x1 Y samples), big-endian |
AV_PIX_FMT_YUV422P9LE72 | < planar YUV 4:2:2, 18bpp, (1 Cr & Cb sample per 2x1 Y samples), little-endian |
AV_PIX_FMT_GBRP73 | < planar GBR 4:4:4 24bpp |
AV_PIX_FMT_GBR24PAV_PIX_FMT_GBRP | |
AV_PIX_FMT_GBRP9BE74 | < planar GBR 4:4:4 27bpp, big-endian |
AV_PIX_FMT_GBRP9LE75 | < planar GBR 4:4:4 27bpp, little-endian |
AV_PIX_FMT_GBRP10BE76 | < planar GBR 4:4:4 30bpp, big-endian |
AV_PIX_FMT_GBRP10LE77 | < planar GBR 4:4:4 30bpp, little-endian |
AV_PIX_FMT_GBRP16BE78 | < planar GBR 4:4:4 48bpp, big-endian |
AV_PIX_FMT_GBRP16LE79 | < planar GBR 4:4:4 48bpp, little-endian |
AV_PIX_FMT_YUVA422P80 | < planar YUV 4:2:2 24bpp, (1 Cr & Cb sample per 2x1 Y & A samples) |
AV_PIX_FMT_YUVA444P81 | < planar YUV 4:4:4 32bpp, (1 Cr & Cb sample per 1x1 Y & A samples) |
AV_PIX_FMT_YUVA420P9BE82 | < planar YUV 4:2:0 22.5bpp, (1 Cr & Cb sample per 2x2 Y & A samples), big-endian |
AV_PIX_FMT_YUVA420P9LE83 | < planar YUV 4:2:0 22.5bpp, (1 Cr & Cb sample per 2x2 Y & A samples), little-endian |
AV_PIX_FMT_YUVA422P9BE84 | < planar YUV 4:2:2 27bpp, (1 Cr & Cb sample per 2x1 Y & A samples), big-endian |
AV_PIX_FMT_YUVA422P9LE85 | < planar YUV 4:2:2 27bpp, (1 Cr & Cb sample per 2x1 Y & A samples), little-endian |
AV_PIX_FMT_YUVA444P9BE86 | < planar YUV 4:4:4 36bpp, (1 Cr & Cb sample per 1x1 Y & A samples), big-endian |
AV_PIX_FMT_YUVA444P9LE87 | < planar YUV 4:4:4 36bpp, (1 Cr & Cb sample per 1x1 Y & A samples), little-endian |
AV_PIX_FMT_YUVA420P10BE88 | < planar YUV 4:2:0 25bpp, (1 Cr & Cb sample per 2x2 Y & A samples, big-endian) |
AV_PIX_FMT_YUVA420P10LE89 | < planar YUV 4:2:0 25bpp, (1 Cr & Cb sample per 2x2 Y & A samples, little-endian) |
AV_PIX_FMT_YUVA422P10BE90 | < planar YUV 4:2:2 30bpp, (1 Cr & Cb sample per 2x1 Y & A samples, big-endian) |
AV_PIX_FMT_YUVA422P10LE91 | < planar YUV 4:2:2 30bpp, (1 Cr & Cb sample per 2x1 Y & A samples, little-endian) |
AV_PIX_FMT_YUVA444P10BE92 | < planar YUV 4:4:4 40bpp, (1 Cr & Cb sample per 1x1 Y & A samples, big-endian) |
AV_PIX_FMT_YUVA444P10LE93 | < planar YUV 4:4:4 40bpp, (1 Cr & Cb sample per 1x1 Y & A samples, little-endian) |
AV_PIX_FMT_YUVA420P16BE94 | < planar YUV 4:2:0 40bpp, (1 Cr & Cb sample per 2x2 Y & A samples, big-endian) |
AV_PIX_FMT_YUVA420P16LE95 | < planar YUV 4:2:0 40bpp, (1 Cr & Cb sample per 2x2 Y & A samples, little-endian) |
AV_PIX_FMT_YUVA422P16BE96 | < planar YUV 4:2:2 48bpp, (1 Cr & Cb sample per 2x1 Y & A samples, big-endian) |
AV_PIX_FMT_YUVA422P16LE97 | < planar YUV 4:2:2 48bpp, (1 Cr & Cb sample per 2x1 Y & A samples, little-endian) |
AV_PIX_FMT_YUVA444P16BE98 | < planar YUV 4:4:4 64bpp, (1 Cr & Cb sample per 1x1 Y & A samples, big-endian) |
AV_PIX_FMT_YUVA444P16LE99 | < planar YUV 4:4:4 64bpp, (1 Cr & Cb sample per 1x1 Y & A samples, little-endian) |
AV_PIX_FMT_VDPAU100 | < HW acceleration through VDPAU, Picture.data[3] contains a VdpVideoSurface |
AV_PIX_FMT_XYZ12LE101 | < packed XYZ 4:4:4, 36 bpp, (msb) 12X, 12Y, 12Z (lsb), the 2-byte value for each X/Y/Z is stored as little-endian, the 4 lower bits are set to 0 |
AV_PIX_FMT_XYZ12BE102 | < packed XYZ 4:4:4, 36 bpp, (msb) 12X, 12Y, 12Z (lsb), the 2-byte value for each X/Y/Z is stored as big-endian, the 4 lower bits are set to 0 |
AV_PIX_FMT_NV16103 | < interleaved chroma YUV 4:2:2, 16bpp, (1 Cr & Cb sample per 2x1 Y samples) |
AV_PIX_FMT_NV20LE104 | < interleaved chroma YUV 4:2:2, 20bpp, (1 Cr & Cb sample per 2x1 Y samples), little-endian |
AV_PIX_FMT_NV20BE105 | < interleaved chroma YUV 4:2:2, 20bpp, (1 Cr & Cb sample per 2x1 Y samples), big-endian |
AV_PIX_FMT_RGBA64BE106 | < 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 |
AV_PIX_FMT_RGBA64LE107 | < 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 |
AV_PIX_FMT_BGRA64BE108 | < 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 |
AV_PIX_FMT_BGRA64LE109 | < 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 |
AV_PIX_FMT_YVYU422110 | < packed YUV 4:2:2, 16bpp, Y0 Cr Y1 Cb |
AV_PIX_FMT_YA16BE111 | < 16 bits gray, 16 bits alpha (big-endian) |
AV_PIX_FMT_YA16LE112 | < 16 bits gray, 16 bits alpha (little-endian) |
AV_PIX_FMT_GBRAP113 | < planar GBRA 4:4:4:4 32bpp |
AV_PIX_FMT_GBRAP16BE114 | < planar GBRA 4:4:4:4 64bpp, big-endian |
AV_PIX_FMT_GBRAP16LE115 | < planar GBRA 4:4:4:4 64bpp, little-endian |
AV_PIX_FMT_QSV116 | HW acceleration through QSV, data[3] contains a pointer to the mfxFrameSurface1 structure. |
AV_PIX_FMT_MMAL117 | HW acceleration though MMAL, data[3] contains a pointer to the MMAL_BUFFER_HEADER_T structure. |
AV_PIX_FMT_D3D11VA_VLD118 | < HW decoding through Direct3D11 via old API, Picture.data[3] contains a ID3D11VideoDecoderOutputView pointer |
AV_PIX_FMT_CUDA119 | HW acceleration through CUDA. datai contain CUdeviceptr pointers exactly as for system memory frames. |
AV_PIX_FMT_0RGB120 | < packed RGB 8:8:8, 32bpp, XRGBXRGB... X=unused/undefined |
AV_PIX_FMT_RGB0121 | < packed RGB 8:8:8, 32bpp, RGBXRGBX... X=unused/undefined |
AV_PIX_FMT_0BGR122 | < packed BGR 8:8:8, 32bpp, XBGRXBGR... X=unused/undefined |
AV_PIX_FMT_BGR0123 | < packed BGR 8:8:8, 32bpp, BGRXBGRX... X=unused/undefined |
AV_PIX_FMT_YUV420P12BE124 | < planar YUV 4:2:0,18bpp, (1 Cr & Cb sample per 2x2 Y samples), big-endian |
AV_PIX_FMT_YUV420P12LE125 | < planar YUV 4:2:0,18bpp, (1 Cr & Cb sample per 2x2 Y samples), little-endian |
AV_PIX_FMT_YUV420P14BE126 | < planar YUV 4:2:0,21bpp, (1 Cr & Cb sample per 2x2 Y samples), big-endian |
AV_PIX_FMT_YUV420P14LE127 | < planar YUV 4:2:0,21bpp, (1 Cr & Cb sample per 2x2 Y samples), little-endian |
AV_PIX_FMT_YUV422P12BE128 | < planar YUV 4:2:2,24bpp, (1 Cr & Cb sample per 2x1 Y samples), big-endian |
AV_PIX_FMT_YUV422P12LE129 | < planar YUV 4:2:2,24bpp, (1 Cr & Cb sample per 2x1 Y samples), little-endian |
AV_PIX_FMT_YUV422P14BE130 | < planar YUV 4:2:2,28bpp, (1 Cr & Cb sample per 2x1 Y samples), big-endian |
AV_PIX_FMT_YUV422P14LE131 | < planar YUV 4:2:2,28bpp, (1 Cr & Cb sample per 2x1 Y samples), little-endian |
AV_PIX_FMT_YUV444P12BE132 | < planar YUV 4:4:4,36bpp, (1 Cr & Cb sample per 1x1 Y samples), big-endian |
AV_PIX_FMT_YUV444P12LE133 | < planar YUV 4:4:4,36bpp, (1 Cr & Cb sample per 1x1 Y samples), little-endian |
AV_PIX_FMT_YUV444P14BE134 | < planar YUV 4:4:4,42bpp, (1 Cr & Cb sample per 1x1 Y samples), big-endian |
AV_PIX_FMT_YUV444P14LE135 | < planar YUV 4:4:4,42bpp, (1 Cr & Cb sample per 1x1 Y samples), little-endian |
AV_PIX_FMT_GBRP12BE136 | < planar GBR 4:4:4 36bpp, big-endian |
AV_PIX_FMT_GBRP12LE137 | < planar GBR 4:4:4 36bpp, little-endian |
AV_PIX_FMT_GBRP14BE138 | < planar GBR 4:4:4 42bpp, big-endian |
AV_PIX_FMT_GBRP14LE139 | < planar GBR 4:4:4 42bpp, little-endian |
AV_PIX_FMT_YUVJ411P140 | < planar YUV 4:1:1, 12bpp, (1 Cr & Cb sample per 4x1 Y samples) full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV411P and setting color_range |
AV_PIX_FMT_BAYER_BGGR8141 | < bayer, BGBG..(odd line), GRGR..(even line), 8-bit samples */ |
AV_PIX_FMT_BAYER_RGGB8142 | < bayer, RGRG..(odd line), GBGB..(even line), 8-bit samples */ |
AV_PIX_FMT_BAYER_GBRG8143 | < bayer, GBGB..(odd line), RGRG..(even line), 8-bit samples */ |
AV_PIX_FMT_BAYER_GRBG8144 | < bayer, GRGR..(odd line), BGBG..(even line), 8-bit samples */ |
AV_PIX_FMT_BAYER_BGGR16LE145 | < bayer, BGBG..(odd line), GRGR..(even line), 16-bit samples, little-endian */ |
AV_PIX_FMT_BAYER_BGGR16BE146 | < bayer, BGBG..(odd line), GRGR..(even line), 16-bit samples, big-endian */ |
AV_PIX_FMT_BAYER_RGGB16LE147 | < bayer, RGRG..(odd line), GBGB..(even line), 16-bit samples, little-endian */ |
AV_PIX_FMT_BAYER_RGGB16BE148 | < bayer, RGRG..(odd line), GBGB..(even line), 16-bit samples, big-endian */ |
AV_PIX_FMT_BAYER_GBRG16LE149 | < bayer, GBGB..(odd line), RGRG..(even line), 16-bit samples, little-endian */ |
AV_PIX_FMT_BAYER_GBRG16BE150 | < bayer, GBGB..(odd line), RGRG..(even line), 16-bit samples, big-endian */ |
AV_PIX_FMT_BAYER_GRBG16LE151 | < bayer, GRGR..(odd line), BGBG..(even line), 16-bit samples, little-endian */ |
AV_PIX_FMT_BAYER_GRBG16BE152 | < bayer, GRGR..(odd line), BGBG..(even line), 16-bit samples, big-endian */ |
AV_PIX_FMT_XVMC153 | < XVideo Motion Acceleration via common packet passing |
AV_PIX_FMT_YUV440P10LE154 | < planar YUV 4:4:0,20bpp, (1 Cr & Cb sample per 1x2 Y samples), little-endian |
AV_PIX_FMT_YUV440P10BE155 | < planar YUV 4:4:0,20bpp, (1 Cr & Cb sample per 1x2 Y samples), big-endian |
AV_PIX_FMT_YUV440P12LE156 | < planar YUV 4:4:0,24bpp, (1 Cr & Cb sample per 1x2 Y samples), little-endian |
AV_PIX_FMT_YUV440P12BE157 | < planar YUV 4:4:0,24bpp, (1 Cr & Cb sample per 1x2 Y samples), big-endian |
AV_PIX_FMT_AYUV64LE158 | < packed AYUV 4:4:4,64bpp (1 Cr & Cb sample per 1x1 Y & A samples), little-endian |
AV_PIX_FMT_AYUV64BE159 | < packed AYUV 4:4:4,64bpp (1 Cr & Cb sample per 1x1 Y & A samples), big-endian |
AV_PIX_FMT_VIDEOTOOLBOX160 | < hardware decoding through Videotoolbox |
AV_PIX_FMT_P010LE161 | < like NV12, with 10bpp per component, data in the high bits, zeros in the low bits, little-endian |
AV_PIX_FMT_P010BE162 | < like NV12, with 10bpp per component, data in the high bits, zeros in the low bits, big-endian |
AV_PIX_FMT_GBRAP12BE163 | < planar GBR 4:4:4:4 48bpp, big-endian |
AV_PIX_FMT_GBRAP12LE164 | < planar GBR 4:4:4:4 48bpp, little-endian |
AV_PIX_FMT_GBRAP10BE165 | < planar GBR 4:4:4:4 40bpp, big-endian |
AV_PIX_FMT_GBRAP10LE166 | < planar GBR 4:4:4:4 40bpp, little-endian |
AV_PIX_FMT_MEDIACODEC167 | < hardware decoding through MediaCodec |
AV_PIX_FMT_GRAY12BE168 | < Y , 12bpp, big-endian |
AV_PIX_FMT_GRAY12LE169 | < Y , 12bpp, little-endian |
AV_PIX_FMT_GRAY10BE170 | < Y , 10bpp, big-endian |
AV_PIX_FMT_GRAY10LE171 | < Y , 10bpp, little-endian |
AV_PIX_FMT_P016LE172 | < like NV12, with 16bpp per component, little-endian |
AV_PIX_FMT_P016BE173 | < like NV12, with 16bpp per component, big-endian |
AV_PIX_FMT_D3D11174 | Hardware surfaces for Direct3D11. This is preferred over the legacy AV_PIX_FMT_D3D11VA_VLD. The new D3D11 hwaccel API and filtering support AV_PIX_FMT_D3D11 only. data[0] contains a ID3D11Texture2D pointer, and data[1] contains the texture array index of the frame as intptr_t if the ID3D11Texture2D is an array texture (or always 0 if it's a normal texture). |
AV_PIX_FMT_GRAY9BE175 | < Y , 9bpp, big-endian |
AV_PIX_FMT_GRAY9LE176 | < Y , 9bpp, little-endian |
AV_PIX_FMT_GBRPF32BE177 | < IEEE-754 single precision planar GBR 4:4:4, 96bpp, big-endian |
AV_PIX_FMT_GBRPF32LE178 | < IEEE-754 single precision planar GBR 4:4:4, 96bpp, little-endian |
AV_PIX_FMT_GBRAPF32BE179 | < IEEE-754 single precision planar GBRA 4:4:4:4, 128bpp, big-endian |
AV_PIX_FMT_GBRAPF32LE180 | < IEEE-754 single precision planar GBRA 4:4:4:4, 128bpp, little-endian |
AV_PIX_FMT_DRM_PRIME181 | DRM-managed buffers exposed through PRIME buffer sharing. data[0] points to an AVDRMFrameDescriptor. |
AV_PIX_FMT_OPENCL182 | Hardware surfaces for OpenCL. datai contain 2D image objects (typed in C as cl_mem, used in OpenCL as image2d_t) for each plane of the surface. |
AV_PIX_FMT_GRAY14BE183 | < Y , 14bpp, big-endian |
AV_PIX_FMT_GRAY14LE184 | < Y , 14bpp, little-endian |
AV_PIX_FMT_GRAYF32BE185 | < IEEE-754 single precision Y, 32bpp, big-endian |
AV_PIX_FMT_GRAYF32LE186 | < IEEE-754 single precision Y, 32bpp, little-endian |
AV_PIX_FMT_NB187 | < number of pixel formats, DO NOT USE THIS if you want to link with shared libav* because the number of formats might differ between versions |
Pixel format.
@note AV_PIX_FMT_RGB32 is handled in an endian-specific manner. An RGBA color is put together as: (A << 24) | (R << 16) | (G << 8) | B This is stored as BGRA on little-endian CPU architectures and ARGB on big-endian CPUs.
@note If the resolution is not a multiple of the chroma subsampling factor then the chroma plane resolution must be rounded up.
@par When the pixel format is palettized RGB32 (AV_PIX_FMT_PAL8), the palettized image data is stored in AVFrame.data[0]. The palette is transported in AVFrame.data[1], is 1024 bytes long (256 4-byte entries) and is formatted the same as in AV_PIX_FMT_RGB32 described above (i.e., it is also endian-specific). Note also that the individual RGB32 palette components stored in AVFrame.data[1] should be in the range 0..255. This is important as many custom PAL8 video codecs that were designed to run on the IBM VGA graphics adapter use 6-bit palette components.
@par For all the 8 bits per pixel formats, an RGB32 palette is in data[1] like for pal8. This palette is filled in automatically by the function allocating the picture.