Mercurial > libavcodec.hg
comparison avcodec.h @ 411:5c8b3a717929 libavcodec
workaround dc_scale bug in old ffmpeg msmpeg4v3 encoder (set workaround_bugs=1 for this)
author | michaelni |
---|---|
date | Tue, 21 May 2002 23:13:57 +0000 |
parents | 64247fd53524 |
children | 2ae7a98300b7 |
comparison
equal
deleted
inserted
replaced
410:8aba98b353f0 | 411:5c8b3a717929 |
---|---|
3 | 3 |
4 #include "common.h" | 4 #include "common.h" |
5 | 5 |
6 #define LIBAVCODEC_VERSION_INT 0x000406 | 6 #define LIBAVCODEC_VERSION_INT 0x000406 |
7 #define LIBAVCODEC_VERSION "0.4.6" | 7 #define LIBAVCODEC_VERSION "0.4.6" |
8 #define LIBAVCODEC_BUILD 4609 | 8 #define LIBAVCODEC_BUILD 4610 |
9 #define LIBAVCODEC_BUILD_STR "4609" | 9 #define LIBAVCODEC_BUILD_STR "4610" |
10 | 10 |
11 enum CodecID { | 11 enum CodecID { |
12 CODEC_ID_NONE, | 12 CODEC_ID_NONE, |
13 CODEC_ID_MPEG1VIDEO, | 13 CODEC_ID_MPEG1VIDEO, |
14 CODEC_ID_H263, | 14 CODEC_ID_H263, |
229 void *opaque; /* can be used to carry app specific stuff */ | 229 void *opaque; /* can be used to carry app specific stuff */ |
230 char codec_name[32]; | 230 char codec_name[32]; |
231 enum CodecType codec_type; /* see CODEC_TYPE_xxx */ | 231 enum CodecType codec_type; /* see CODEC_TYPE_xxx */ |
232 enum CodecID codec_id; /* see CODEC_ID_xxx */ | 232 enum CodecID codec_id; /* see CODEC_ID_xxx */ |
233 unsigned int codec_tag; /* codec tag, only used if unknown codec */ | 233 unsigned int codec_tag; /* codec tag, only used if unknown codec */ |
234 | |
235 int workaround_bugs; /* workaround bugs in encoders which cannot be detected automatically */ | |
234 /* | 236 /* |
235 Note: Below are located reserved fields for further usage | 237 Note: Below are located reserved fields for further usage |
236 It requires for ABI !!! | 238 It requires for ABI !!! |
237 If you'll perform some changes then borrow new space from these fields | 239 If you'll perform some changes then borrow new space from these fields |
238 (void * can be safety replaced with struct * ;) | 240 (void * can be safety replaced with struct * ;) |
251 unsigned long int | 253 unsigned long int |
252 ul_res0,ul_res1,ul_res2,ul_res3,ul_res4,ul_res5, | 254 ul_res0,ul_res1,ul_res2,ul_res3,ul_res4,ul_res5, |
253 ul_res6,ul_res7,ul_res8,ul_res9,ul_res10,ul_res11,ul_res12; | 255 ul_res6,ul_res7,ul_res8,ul_res9,ul_res10,ul_res11,ul_res12; |
254 unsigned int | 256 unsigned int |
255 ui_res0,ui_res1,ui_res2,ui_res3,ui_res4,ui_res5, | 257 ui_res0,ui_res1,ui_res2,ui_res3,ui_res4,ui_res5, |
256 ui_res6,ui_res7,ui_res8,ui_res9,ui_res10,ui_res11,ui_res12; | 258 ui_res6,ui_res7,ui_res8,ui_res9,ui_res10,ui_res11; |
257 unsigned short int | 259 unsigned short int |
258 us_res0,us_res1,us_res2,us_res3,us_res4,us_res5, | 260 us_res0,us_res1,us_res2,us_res3,us_res4,us_res5, |
259 us_res6,us_res7,us_res8,us_res9,us_res10,us_res11,us_res12; | 261 us_res6,us_res7,us_res8,us_res9,us_res10,us_res11,us_res12; |
260 unsigned char | 262 unsigned char |
261 uc_res0,uc_res1,uc_res2,uc_res3,uc_res4,uc_res5, | 263 uc_res0,uc_res1,uc_res2,uc_res3,uc_res4,uc_res5, |