| @@ -34,17 +34,17 @@ | |||||
| * Pixel format. | * Pixel format. | ||||
| * | * | ||||
| * @note | * @note | ||||
| * PIX_FMT_RGB32 is handled in an endian-specific manner. An RGBA | |||||
| * AV_PIX_FMT_RGB32 is handled in an endian-specific manner. An RGBA | |||||
| * color is put together as: | * color is put together as: | ||||
| * (A << 24) | (R << 16) | (G << 8) | B | * (A << 24) | (R << 16) | (G << 8) | B | ||||
| * This is stored as BGRA on little-endian CPU architectures and ARGB on | * This is stored as BGRA on little-endian CPU architectures and ARGB on | ||||
| * big-endian CPUs. | * big-endian CPUs. | ||||
| * | * | ||||
| * @par | * @par | ||||
| * When the pixel format is palettized RGB (PIX_FMT_PAL8), the palettized | |||||
| * When the pixel format is palettized RGB (AV_PIX_FMT_PAL8), the palettized | |||||
| * image data is stored in AVFrame.data[0]. The palette is transported in | * 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 | * AVFrame.data[1], is 1024 bytes long (256 4-byte entries) and is | ||||
| * formatted the same as in PIX_FMT_RGB32 described above (i.e., it is | |||||
| * formatted the same as in AV_PIX_FMT_RGB32 described above (i.e., it is | |||||
| * also endian-specific). Note also that the individual RGB palette | * also endian-specific). Note also that the individual RGB palette | ||||
| * components stored in AVFrame.data[1] should be in the range 0..255. | * 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 | * This is important as many custom PAL8 video codecs that were designed | ||||
| @@ -73,10 +73,10 @@ enum AVPixelFormat { | |||||
| AV_PIX_FMT_GRAY8, ///< Y , 8bpp | AV_PIX_FMT_GRAY8, ///< Y , 8bpp | ||||
| AV_PIX_FMT_MONOWHITE, ///< Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb | AV_PIX_FMT_MONOWHITE, ///< Y , 1bpp, 0 is white, 1 is black, in each byte pixels are ordered from the msb to the lsb | ||||
| AV_PIX_FMT_MONOBLACK, ///< Y , 1bpp, 0 is black, 1 is white, in each byte pixels are ordered from the msb to the lsb | AV_PIX_FMT_MONOBLACK, ///< Y , 1bpp, 0 is black, 1 is white, in each byte pixels are ordered from the msb to the lsb | ||||
| AV_PIX_FMT_PAL8, ///< 8 bit with PIX_FMT_RGB32 palette | |||||
| AV_PIX_FMT_YUVJ420P, ///< planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of PIX_FMT_YUV420P and setting color_range | |||||
| AV_PIX_FMT_YUVJ422P, ///< planar YUV 4:2:2, 16bpp, full scale (JPEG), deprecated in favor of PIX_FMT_YUV422P and setting color_range | |||||
| AV_PIX_FMT_YUVJ444P, ///< planar YUV 4:4:4, 24bpp, full scale (JPEG), deprecated in favor of PIX_FMT_YUV444P and setting color_range | |||||
| AV_PIX_FMT_PAL8, ///< 8 bit with AV_PIX_FMT_RGB32 palette | |||||
| AV_PIX_FMT_YUVJ420P, ///< planar YUV 4:2:0, 12bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV420P and setting color_range | |||||
| AV_PIX_FMT_YUVJ422P, ///< planar YUV 4:2:2, 16bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV422P and setting color_range | |||||
| AV_PIX_FMT_YUVJ444P, ///< planar YUV 4:4:4, 24bpp, full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV444P and setting color_range | |||||
| #if FF_API_XVMC | #if FF_API_XVMC | ||||
| AV_PIX_FMT_XVMC_MPEG2_MC,///< XVideo Motion Acceleration via common packet passing | AV_PIX_FMT_XVMC_MPEG2_MC,///< XVideo Motion Acceleration via common packet passing | ||||
| AV_PIX_FMT_XVMC_MPEG2_IDCT, | AV_PIX_FMT_XVMC_MPEG2_IDCT, | ||||
| @@ -100,7 +100,7 @@ enum AVPixelFormat { | |||||
| AV_PIX_FMT_GRAY16BE, ///< Y , 16bpp, big-endian | AV_PIX_FMT_GRAY16BE, ///< Y , 16bpp, big-endian | ||||
| AV_PIX_FMT_GRAY16LE, ///< Y , 16bpp, little-endian | AV_PIX_FMT_GRAY16LE, ///< Y , 16bpp, little-endian | ||||
| AV_PIX_FMT_YUV440P, ///< planar YUV 4:4:0 (1 Cr & Cb sample per 1x2 Y samples) | AV_PIX_FMT_YUV440P, ///< planar YUV 4:4:0 (1 Cr & Cb sample per 1x2 Y samples) | ||||
| AV_PIX_FMT_YUVJ440P, ///< planar YUV 4:4:0 full scale (JPEG), deprecated in favor of PIX_FMT_YUV440P and setting color_range | |||||
| AV_PIX_FMT_YUVJ440P, ///< planar YUV 4:4:0 full scale (JPEG), deprecated in favor of AV_PIX_FMT_YUV440P and setting color_range | |||||
| AV_PIX_FMT_YUVA420P, ///< planar YUV 4:2:0, 20bpp, (1 Cr & Cb sample per 2x2 Y & A samples) | AV_PIX_FMT_YUVA420P, ///< planar YUV 4:2:0, 20bpp, (1 Cr & Cb sample per 2x2 Y & A samples) | ||||
| #if FF_API_VDPAU | #if FF_API_VDPAU | ||||
| AV_PIX_FMT_VDPAU_H264,///< 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 | AV_PIX_FMT_VDPAU_H264,///< 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 | ||||