Mercurial > libavcodec.hg
comparison avcodec.h @ 625:bb6a69f9d409 libavcodec
slow but accurate integer dct from IJG (should be ok with the LGPL as the old DCT is the fast integer DCT from IJG)
per context DCT selection
author | michaelni |
---|---|
date | Thu, 29 Aug 2002 23:55:32 +0000 |
parents | 4f3d4a07d374 |
children | f596db4aa871 |
comparison
equal
deleted
inserted
replaced
624:35353e4520d8 | 625:bb6a69f9d409 |
---|---|
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 4620 | 8 #define LIBAVCODEC_BUILD 4621 |
9 #define LIBAVCODEC_BUILD_STR "4620" | 9 #define LIBAVCODEC_BUILD_STR "4621" |
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, |
93 extern int motion_estimation_method; | 93 extern int motion_estimation_method; |
94 | 94 |
95 /* ME algos sorted by quality */ | 95 /* ME algos sorted by quality */ |
96 static const int Motion_Est_QTab[] = { ME_ZERO, ME_PHODS, ME_LOG, | 96 static const int Motion_Est_QTab[] = { ME_ZERO, ME_PHODS, ME_LOG, |
97 ME_X1, ME_EPZS, ME_FULL }; | 97 ME_X1, ME_EPZS, ME_FULL }; |
98 | |
98 | 99 |
99 #define FF_MAX_B_FRAMES 4 | 100 #define FF_MAX_B_FRAMES 4 |
100 | 101 |
101 /* encoding support */ | 102 /* encoding support */ |
102 /* note not everything is supported yet */ | 103 /* note not everything is supported yet */ |
305 float i_quant_offset;/* qscale offset between i and p frames */ | 306 float i_quant_offset;/* qscale offset between i and p frames */ |
306 float rc_initial_cplx; | 307 float rc_initial_cplx; |
307 | 308 |
308 int aspected_width; | 309 int aspected_width; |
309 int aspected_height; | 310 int aspected_height; |
311 | |
312 int dct_algo; | |
313 #define FF_DCT_AUTO 0 | |
314 #define FF_DCT_FASTINT 1 | |
315 #define FF_DCT_INT 2 | |
316 #define FF_DCT_MMX 3 | |
310 | 317 |
311 //FIXME this should be reordered after kabis API is finished ... | 318 //FIXME this should be reordered after kabis API is finished ... |
312 //TODO kill kabi | 319 //TODO kill kabi |
313 /* | 320 /* |
314 Note: Below are located reserved fields for further usage | 321 Note: Below are located reserved fields for further usage |
336 unsigned char | 343 unsigned char |
337 uc_res0,uc_res1,uc_res2,uc_res3,uc_res4,uc_res5, | 344 uc_res0,uc_res1,uc_res2,uc_res3,uc_res4,uc_res5, |
338 uc_res6,uc_res7,uc_res8,uc_res9,uc_res10,uc_res11,uc_res12; | 345 uc_res6,uc_res7,uc_res8,uc_res9,uc_res10,uc_res11,uc_res12; |
339 unsigned int | 346 unsigned int |
340 ui_res0,ui_res1,ui_res2,ui_res3,ui_res4,ui_res5,ui_res6,ui_res7,ui_res8,ui_res9, | 347 ui_res0,ui_res1,ui_res2,ui_res3,ui_res4,ui_res5,ui_res6,ui_res7,ui_res8,ui_res9, |
341 ui_res10,ui_res11,ui_res12,ui_res13,ui_res14,ui_res15,ui_res16,ui_res17; | 348 ui_res10,ui_res11,ui_res12,ui_res13,ui_res14,ui_res15,ui_res16; |
342 } AVCodecContext; | 349 } AVCodecContext; |
343 | 350 |
344 typedef struct AVCodec { | 351 typedef struct AVCodec { |
345 char *name; | 352 char *name; |
346 int type; | 353 int type; |