Mercurial > libavcodec.hg
comparison avcodec.h @ 1273:a979fab41ed8 libavcodec
ASV1 codec
with postprocessing support :)
author | michaelni |
---|---|
date | Mon, 19 May 2003 13:30:59 +0000 |
parents | ec946cb74397 |
children | 9e8cbd476f59 |
comparison
equal
deleted
inserted
replaced
1272:777d4145cdfb | 1273:a979fab41ed8 |
---|---|
13 | 13 |
14 #include "common.h" | 14 #include "common.h" |
15 | 15 |
16 #define LIBAVCODEC_VERSION_INT 0x000406 | 16 #define LIBAVCODEC_VERSION_INT 0x000406 |
17 #define LIBAVCODEC_VERSION "0.4.6" | 17 #define LIBAVCODEC_VERSION "0.4.6" |
18 #define LIBAVCODEC_BUILD 4667 | 18 #define LIBAVCODEC_BUILD 4668 |
19 #define LIBAVCODEC_BUILD_STR "4667" | 19 #define LIBAVCODEC_BUILD_STR "4668" |
20 | 20 |
21 #define LIBAVCODEC_IDENT "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR | 21 #define LIBAVCODEC_IDENT "FFmpeg" LIBAVCODEC_VERSION "b" LIBAVCODEC_BUILD_STR |
22 | 22 |
23 enum CodecID { | 23 enum CodecID { |
24 CODEC_ID_NONE, | 24 CODEC_ID_NONE, |
53 CODEC_ID_H264, | 53 CODEC_ID_H264, |
54 CODEC_ID_INDEO3, | 54 CODEC_ID_INDEO3, |
55 CODEC_ID_VP3, | 55 CODEC_ID_VP3, |
56 CODEC_ID_AAC, | 56 CODEC_ID_AAC, |
57 CODEC_ID_MPEG4AAC, | 57 CODEC_ID_MPEG4AAC, |
58 CODEC_ID_ASV1, | |
58 | 59 |
59 /* various pcm "codecs" */ | 60 /* various pcm "codecs" */ |
60 CODEC_ID_PCM_S16LE, | 61 CODEC_ID_PCM_S16LE, |
61 CODEC_ID_PCM_S16BE, | 62 CODEC_ID_PCM_S16BE, |
62 CODEC_ID_PCM_U16LE, | 63 CODEC_ID_PCM_U16LE, |
1106 /** | 1107 /** |
1107 * internal_buffers. | 1108 * internal_buffers. |
1108 * Dont touch, used by lavc default_get_buffer() | 1109 * Dont touch, used by lavc default_get_buffer() |
1109 */ | 1110 */ |
1110 void *internal_buffer; | 1111 void *internal_buffer; |
1112 | |
1113 #define FF_QUALITY_SCALE 256 | |
1114 /** | |
1115 * global quality for codecs which cannot change it per frame. | |
1116 * this should be proportional to MPEG1/2/4 qscale. | |
1117 * - encoding: set by user. | |
1118 * - decoding: unused | |
1119 */ | |
1120 int global_quality; | |
1111 } AVCodecContext; | 1121 } AVCodecContext; |
1112 | 1122 |
1113 | 1123 |
1114 /** | 1124 /** |
1115 * AVOption. | 1125 * AVOption. |
1197 extern AVCodec msmpeg4v3_encoder; | 1207 extern AVCodec msmpeg4v3_encoder; |
1198 extern AVCodec wmv1_encoder; | 1208 extern AVCodec wmv1_encoder; |
1199 extern AVCodec wmv2_encoder; | 1209 extern AVCodec wmv2_encoder; |
1200 extern AVCodec huffyuv_encoder; | 1210 extern AVCodec huffyuv_encoder; |
1201 extern AVCodec h264_encoder; | 1211 extern AVCodec h264_encoder; |
1212 extern AVCodec asv1_encoder; | |
1202 | 1213 |
1203 extern AVCodec h263_decoder; | 1214 extern AVCodec h263_decoder; |
1204 extern AVCodec mpeg4_decoder; | 1215 extern AVCodec mpeg4_decoder; |
1205 extern AVCodec msmpeg4v1_decoder; | 1216 extern AVCodec msmpeg4v1_decoder; |
1206 extern AVCodec msmpeg4v2_decoder; | 1217 extern AVCodec msmpeg4v2_decoder; |
1229 extern AVCodec indeo3_decoder; | 1240 extern AVCodec indeo3_decoder; |
1230 extern AVCodec vp3_decoder; | 1241 extern AVCodec vp3_decoder; |
1231 extern AVCodec amr_nb_decoder; | 1242 extern AVCodec amr_nb_decoder; |
1232 extern AVCodec aac_decoder; | 1243 extern AVCodec aac_decoder; |
1233 extern AVCodec mpeg4aac_decoder; | 1244 extern AVCodec mpeg4aac_decoder; |
1245 extern AVCodec asv1_decoder; | |
1234 | 1246 |
1235 /* pcm codecs */ | 1247 /* pcm codecs */ |
1236 #define PCM_CODEC(id, name) \ | 1248 #define PCM_CODEC(id, name) \ |
1237 extern AVCodec name ## _decoder; \ | 1249 extern AVCodec name ## _decoder; \ |
1238 extern AVCodec name ## _encoder | 1250 extern AVCodec name ## _encoder |