Mercurial > libavcodec.hg
comparison avcodec.h @ 1055:6261fdd1f69d libavcodec
added paletted 8 bit format support
| author | bellard |
|---|---|
| date | Sun, 09 Feb 2003 16:20:25 +0000 |
| parents | f874e2122d45 |
| children | 3c3da6edc9a1 |
comparison
equal
deleted
inserted
replaced
| 1054:f874e2122d45 | 1055:6261fdd1f69d |
|---|---|
| 14 | 14 |
| 15 #include "common.h" | 15 #include "common.h" |
| 16 | 16 |
| 17 #define LIBAVCODEC_VERSION_INT 0x000406 | 17 #define LIBAVCODEC_VERSION_INT 0x000406 |
| 18 #define LIBAVCODEC_VERSION "0.4.6" | 18 #define LIBAVCODEC_VERSION "0.4.6" |
| 19 #define LIBAVCODEC_BUILD 4655 | 19 #define LIBAVCODEC_BUILD 4656 |
| 20 #define LIBAVCODEC_BUILD_STR "4655" | 20 #define LIBAVCODEC_BUILD_STR "4656" |
| 21 | 21 |
| 22 enum CodecID { | 22 enum CodecID { |
| 23 CODEC_ID_NONE, | 23 CODEC_ID_NONE, |
| 24 CODEC_ID_MPEG1VIDEO, | 24 CODEC_ID_MPEG1VIDEO, |
| 25 CODEC_ID_H263, | 25 CODEC_ID_H263, |
| 84 PIX_FMT_RGB565, /* always stored in cpu endianness */ | 84 PIX_FMT_RGB565, /* always stored in cpu endianness */ |
| 85 PIX_FMT_RGB555, /* always stored in cpu endianness, most significant bit to 1 */ | 85 PIX_FMT_RGB555, /* always stored in cpu endianness, most significant bit to 1 */ |
| 86 PIX_FMT_GRAY8, | 86 PIX_FMT_GRAY8, |
| 87 PIX_FMT_MONOWHITE, /* 0 is white */ | 87 PIX_FMT_MONOWHITE, /* 0 is white */ |
| 88 PIX_FMT_MONOBLACK, /* 0 is black */ | 88 PIX_FMT_MONOBLACK, /* 0 is black */ |
| 89 PIX_FMT_PAL8, /* 8 bit with RGBA palette */ | |
| 89 PIX_FMT_NB, | 90 PIX_FMT_NB, |
| 90 }; | 91 }; |
| 91 | 92 |
| 92 /* currently unused, may be used if 24/32 bits samples ever supported */ | 93 /* currently unused, may be used if 24/32 bits samples ever supported */ |
| 93 enum SampleFormat { | 94 enum SampleFormat { |
