Mercurial > libavcodec.hg
comparison avcodec.h @ 2635:eaa57c3336fc libavcodec
PIX_FMT_NONE and related fixes
author | michael |
---|---|
date | Mon, 25 Apr 2005 18:29:06 +0000 |
parents | 511e3afc43e1 |
children | ef44d24680d1 |
comparison
equal
deleted
inserted
replaced
2634:337217ecbb3e | 2635:eaa57c3336fc |
---|---|
15 #include "rational.h" | 15 #include "rational.h" |
16 #include <sys/types.h> /* size_t */ | 16 #include <sys/types.h> /* size_t */ |
17 | 17 |
18 #define FFMPEG_VERSION_INT 0x000409 | 18 #define FFMPEG_VERSION_INT 0x000409 |
19 #define FFMPEG_VERSION "0.4.9-pre1" | 19 #define FFMPEG_VERSION "0.4.9-pre1" |
20 #define LIBAVCODEC_BUILD 4752 | 20 #define LIBAVCODEC_BUILD 4753 |
21 | 21 |
22 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT | 22 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT |
23 #define LIBAVCODEC_VERSION FFMPEG_VERSION | 23 #define LIBAVCODEC_VERSION FFMPEG_VERSION |
24 | 24 |
25 #define AV_STRINGIFY(s) AV_TOSTRING(s) | 25 #define AV_STRINGIFY(s) AV_TOSTRING(s) |
204 * components stored in AVFrame.data[1] should be in the range 0..255. | 204 * components stored in AVFrame.data[1] should be in the range 0..255. |
205 * This is important as many custom PAL8 video codecs that were designed | 205 * This is important as many custom PAL8 video codecs that were designed |
206 * to run on the IBM VGA graphics adapter use 6-bit palette components. | 206 * to run on the IBM VGA graphics adapter use 6-bit palette components. |
207 */ | 207 */ |
208 enum PixelFormat { | 208 enum PixelFormat { |
209 PIX_FMT_NONE= -1, | |
209 PIX_FMT_YUV420P, ///< Planar YUV 4:2:0 (1 Cr & Cb sample per 2x2 Y samples) | 210 PIX_FMT_YUV420P, ///< Planar YUV 4:2:0 (1 Cr & Cb sample per 2x2 Y samples) |
210 PIX_FMT_YUV422, ///< Packed pixel, Y0 Cb Y1 Cr | 211 PIX_FMT_YUV422, ///< Packed pixel, Y0 Cb Y1 Cr |
211 PIX_FMT_RGB24, ///< Packed pixel, 3 bytes per pixel, RGBRGB... | 212 PIX_FMT_RGB24, ///< Packed pixel, 3 bytes per pixel, RGBRGB... |
212 PIX_FMT_BGR24, ///< Packed pixel, 3 bytes per pixel, BGRBGR... | 213 PIX_FMT_BGR24, ///< Packed pixel, 3 bytes per pixel, BGRBGR... |
213 PIX_FMT_YUV422P, ///< Planar YUV 4:2:2 (1 Cr & Cb sample per 2x1 Y samples) | 214 PIX_FMT_YUV422P, ///< Planar YUV 4:2:2 (1 Cr & Cb sample per 2x1 Y samples) |