Mercurial > libavcodec.hg
comparison avcodec.h @ 466:805714c0c10f libavcodec
new field for communicating with external postprocessing
author | nickols_k |
---|---|
date | Mon, 03 Jun 2002 07:01:42 +0000 |
parents | 2ae7a98300b7 |
children | ad65941c8eb5 |
comparison
equal
deleted
inserted
replaced
465:76c8afc9c1eb | 466:805714c0c10f |
---|---|
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 4611 | 8 #define LIBAVCODEC_BUILD 4612 |
9 #define LIBAVCODEC_BUILD_STR "4611" | 9 #define LIBAVCODEC_BUILD_STR "4612" |
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, |
237 int luma_elim_threshold; | 237 int luma_elim_threshold; |
238 int chroma_elim_threshold; | 238 int chroma_elim_threshold; |
239 int strict_std_compliance; /* strictly follow the std (MPEG4, ...) */ | 239 int strict_std_compliance; /* strictly follow the std (MPEG4, ...) */ |
240 float b_quant_offset;/* qscale offset between ips and b frames, not implemented yet */ | 240 float b_quant_offset;/* qscale offset between ips and b frames, not implemented yet */ |
241 int error_resilience; | 241 int error_resilience; |
242 | 242 |
243 #ifndef MBC | |
244 #define MBC 128 | |
245 #define MBR 96 | |
246 #endif | |
247 int *quant_store; /* field for communicating with external postprocessing */ | |
243 //FIXME this should be reordered after kabis API is finished ... | 248 //FIXME this should be reordered after kabis API is finished ... |
244 /* | 249 /* |
245 Note: Below are located reserved fields for further usage | 250 Note: Below are located reserved fields for further usage |
246 It requires for ABI !!! | 251 It requires for ABI !!! |
247 If you'll perform some changes then borrow new space from these fields | 252 If you'll perform some changes then borrow new space from these fields |
255 float | 260 float |
256 flt_res0,flt_res1,flt_res2,flt_res3,flt_res4,flt_res5, | 261 flt_res0,flt_res1,flt_res2,flt_res3,flt_res4,flt_res5, |
257 flt_res6,flt_res7,flt_res8,flt_res9,flt_res10,flt_res11; | 262 flt_res6,flt_res7,flt_res8,flt_res9,flt_res10,flt_res11; |
258 void | 263 void |
259 *ptr_res0,*ptr_res1,*ptr_res2,*ptr_res3,*ptr_res4,*ptr_res5, | 264 *ptr_res0,*ptr_res1,*ptr_res2,*ptr_res3,*ptr_res4,*ptr_res5, |
260 *ptr_res6,*ptr_res7,*ptr_res8,*ptr_res9,*ptr_res10,*ptr_res11,*ptr_res12; | 265 *ptr_res6,*ptr_res7,*ptr_res8,*ptr_res9,*ptr_res10,*ptr_res11; |
261 unsigned long int | 266 unsigned long int |
262 ul_res0,ul_res1,ul_res2,ul_res3,ul_res4,ul_res5, | 267 ul_res0,ul_res1,ul_res2,ul_res3,ul_res4,ul_res5, |
263 ul_res6,ul_res7,ul_res8,ul_res9,ul_res10,ul_res11,ul_res12; | 268 ul_res6,ul_res7,ul_res8,ul_res9,ul_res10,ul_res11,ul_res12; |
264 unsigned int | 269 unsigned int |
265 ui_res0,ui_res1,ui_res2,ui_res3,ui_res4,ui_res5, | 270 ui_res0,ui_res1,ui_res2,ui_res3,ui_res4,ui_res5, |
430 void avcodec_register_all(void); | 435 void avcodec_register_all(void); |
431 | 436 |
432 void avcodec_flush_buffers(AVCodecContext *avctx); | 437 void avcodec_flush_buffers(AVCodecContext *avctx); |
433 | 438 |
434 #ifdef FF_POSTPROCESS | 439 #ifdef FF_POSTPROCESS |
435 #ifndef MBC | |
436 #define MBC 128 | |
437 #define MBR 96 | |
438 #endif | |
439 extern int quant_store[MBR+1][MBC+1]; // [Review] | 440 extern int quant_store[MBR+1][MBC+1]; // [Review] |
440 #endif | 441 #endif |
441 | 442 |
442 | 443 |
443 /** | 444 /** |