Mercurial > libavcodec.hg
comparison avcodec.h @ 322:ce35fd27bbb0 libavcodec
- Versions defined for libav/libavcodec.
- Bug fix in wav muxer for MP2 audio.
- ffmpeg/libavcodec version in MPEG-4 user data.
| author | pulento |
|---|---|
| date | Mon, 15 Apr 2002 02:28:05 +0000 |
| parents | 2b00e171b1d4 |
| children | 9c6f056f0e41 |
comparison
equal
deleted
inserted
replaced
| 321:2b00e171b1d4 | 322:ce35fd27bbb0 |
|---|---|
| 1 #ifndef AVCODEC_H | 1 #ifndef AVCODEC_H |
| 2 #define AVCODEC_H | 2 #define AVCODEC_H |
| 3 | 3 |
| 4 #include "common.h" | 4 #include "common.h" |
| 5 | |
| 6 #define LIBAVCODEC_VERSION_INT 0x000406 | |
| 7 #define LIBAVCODEC_VERSION "0.4.6" | |
| 8 #define LIBAVCODEC_BUILD 4600 | |
| 9 #define LIBAVCODEC_BUILD_STR "4600" | |
| 5 | 10 |
| 6 enum CodecID { | 11 enum CodecID { |
| 7 CODEC_ID_NONE, | 12 CODEC_ID_NONE, |
| 8 CODEC_ID_MPEG1VIDEO, | 13 CODEC_ID_MPEG1VIDEO, |
| 9 CODEC_ID_H263, | 14 CODEC_ID_H263, |
| 68 | 73 |
| 69 /* only for ME compatiblity with old apps */ | 74 /* only for ME compatiblity with old apps */ |
| 70 extern int motion_estimation_method; | 75 extern int motion_estimation_method; |
| 71 | 76 |
| 72 /* ME algos sorted by quality */ | 77 /* ME algos sorted by quality */ |
| 73 static const int Motion_Est_QTab[] = { -4, -1, -2, 1, 0, -3 }; | 78 static const int Motion_Est_QTab[] = { 1, 4, 3, 6, 5, 2 }; |
| 74 | 79 |
| 75 /* encoding support */ | 80 /* encoding support */ |
| 76 /* note not everything is supported yet */ | 81 /* note not everything is supported yet */ |
| 77 | 82 |
| 78 #define CODEC_FLAG_HQ 0x0001 /* high quality (non real time) encoding */ | 83 #define CODEC_FLAG_HQ 0x0001 /* high quality (non real time) encoding */ |
| 227 extern AVCodec wmv1_decoder; | 232 extern AVCodec wmv1_decoder; |
| 228 extern AVCodec mpeg_decoder; | 233 extern AVCodec mpeg_decoder; |
| 229 extern AVCodec h263i_decoder; | 234 extern AVCodec h263i_decoder; |
| 230 extern AVCodec rv10_decoder; | 235 extern AVCodec rv10_decoder; |
| 231 extern AVCodec mjpeg_decoder; | 236 extern AVCodec mjpeg_decoder; |
| 237 extern AVCodec mp2_decoder; | |
| 232 extern AVCodec mp3_decoder; | 238 extern AVCodec mp3_decoder; |
| 233 | 239 |
| 234 /* pcm codecs */ | 240 /* pcm codecs */ |
| 235 #define PCM_CODEC(id, name) \ | 241 #define PCM_CODEC(id, name) \ |
| 236 extern AVCodec name ## _decoder; \ | 242 extern AVCodec name ## _decoder; \ |
