Mercurial > libavcodec.hg
comparison avcodec.h @ 2137:ef47c0b1ff28 libavcodec
UYVY support patch by ("Todd.Kirby" <doubleshot at pacbell dot net>)
author | michael |
---|---|
date | Sun, 25 Jul 2004 10:01:36 +0000 |
parents | 060053df9538 |
children | 1ac13c350369 |
comparison
equal
deleted
inserted
replaced
2136:fd1665b9093c | 2137:ef47c0b1ff28 |
---|---|
173 * This is important as many custom PAL8 video codecs that were designed | 173 * This is important as many custom PAL8 video codecs that were designed |
174 * to run on the IBM VGA graphics adapter use 6-bit palette components. | 174 * to run on the IBM VGA graphics adapter use 6-bit palette components. |
175 */ | 175 */ |
176 enum PixelFormat { | 176 enum PixelFormat { |
177 PIX_FMT_YUV420P, ///< Planar YUV 4:2:0 (1 Cr & Cb sample per 2x2 Y samples) | 177 PIX_FMT_YUV420P, ///< Planar YUV 4:2:0 (1 Cr & Cb sample per 2x2 Y samples) |
178 PIX_FMT_YUV422, | 178 PIX_FMT_YUV422, ///< Packed pixel, Y0 Cb Y1 Cr |
179 PIX_FMT_RGB24, ///< Packed pixel, 3 bytes per pixel, RGBRGB... | 179 PIX_FMT_RGB24, ///< Packed pixel, 3 bytes per pixel, RGBRGB... |
180 PIX_FMT_BGR24, ///< Packed pixel, 3 bytes per pixel, BGRBGR... | 180 PIX_FMT_BGR24, ///< Packed pixel, 3 bytes per pixel, BGRBGR... |
181 PIX_FMT_YUV422P, ///< Planar YUV 4:2:2 (1 Cr & Cb sample per 2x1 Y samples) | 181 PIX_FMT_YUV422P, ///< Planar YUV 4:2:2 (1 Cr & Cb sample per 2x1 Y samples) |
182 PIX_FMT_YUV444P, ///< Planar YUV 4:4:4 (1 Cr & Cb sample per 1x1 Y samples) | 182 PIX_FMT_YUV444P, ///< Planar YUV 4:4:4 (1 Cr & Cb sample per 1x1 Y samples) |
183 PIX_FMT_RGBA32, ///< Packed pixel, 4 bytes per pixel, BGRABGRA..., stored in cpu endianness | 183 PIX_FMT_RGBA32, ///< Packed pixel, 4 bytes per pixel, BGRABGRA..., stored in cpu endianness |
192 PIX_FMT_YUVJ420P, ///< Planar YUV 4:2:0 full scale (jpeg) | 192 PIX_FMT_YUVJ420P, ///< Planar YUV 4:2:0 full scale (jpeg) |
193 PIX_FMT_YUVJ422P, ///< Planar YUV 4:2:2 full scale (jpeg) | 193 PIX_FMT_YUVJ422P, ///< Planar YUV 4:2:2 full scale (jpeg) |
194 PIX_FMT_YUVJ444P, ///< Planar YUV 4:4:4 full scale (jpeg) | 194 PIX_FMT_YUVJ444P, ///< Planar YUV 4:4:4 full scale (jpeg) |
195 PIX_FMT_XVMC_MPEG2_MC,///< XVideo Motion Acceleration via common packet passing(xvmc_render.h) | 195 PIX_FMT_XVMC_MPEG2_MC,///< XVideo Motion Acceleration via common packet passing(xvmc_render.h) |
196 PIX_FMT_XVMC_MPEG2_IDCT, | 196 PIX_FMT_XVMC_MPEG2_IDCT, |
197 PIX_FMT_UYVY422, ///< Packed pixel, Cb Y0 Cr Y1 | |
197 PIX_FMT_NB, | 198 PIX_FMT_NB, |
198 }; | 199 }; |
199 | 200 |
200 /* currently unused, may be used if 24/32 bits samples ever supported */ | 201 /* currently unused, may be used if 24/32 bits samples ever supported */ |
201 enum SampleFormat { | 202 enum SampleFormat { |