37 |
* ToDo ? : when BFRAMES is defined, the API_VERSION should not |
* ToDo ? : when BFRAMES is defined, the API_VERSION should not |
38 |
* be the same (3.0 ?) |
* be the same (3.0 ?) |
39 |
* |
* |
40 |
* $Id: xvid.h,v 1.4 2002-06-20 10:51:08 suxen_drol Exp $ |
* $Id: xvid.h,v 1.5 2002-06-23 03:59:49 suxen_drol Exp $ |
41 |
* |
* |
42 |
*****************************************************************************/ |
*****************************************************************************/ |
43 |
|
|
97 |
|
|
98 |
#define XVID_CPU_IA64 0x00000080 |
#define XVID_CPU_IA64 0x00000080 |
99 |
|
|
100 |
|
#define XVID_CPU_CHKONLY 0x40000000 /* check cpu only; dont init globals */ |
101 |
#define XVID_CPU_FORCE 0x80000000 |
#define XVID_CPU_FORCE 0x80000000 |
102 |
|
|
103 |
|
|
175 |
* Encoder constants |
* Encoder constants |
176 |
****************************************************************************/ |
****************************************************************************/ |
177 |
|
|
178 |
|
/* Flags for XVID_ENC_PARAM.global */ |
179 |
|
#define XVID_GLOBAL_PACKED 0x00000001 /* packed bitstream */ |
180 |
|
#define XVID_GLOBAL_DX50BVOP 0x00000002 /* dx50 bvop compatibility */ |
181 |
|
#define XVID_GLOBAL_DEBUG 0x00000004 /* print debug info on each frame */ |
182 |
|
|
183 |
/* Flags for XVID_ENC_FRAME.general */ |
/* Flags for XVID_ENC_FRAME.general */ |
184 |
#define XVID_VALID_FLAGS 0x80000000 |
#define XVID_VALID_FLAGS 0x80000000 |
185 |
|
|
246 |
int min_quantizer; /* the lower limit of the quantizer */ |
int min_quantizer; /* the lower limit of the quantizer */ |
247 |
int max_key_interval; /* the maximum interval between key frames */ |
int max_key_interval; /* the maximum interval between key frames */ |
248 |
#ifdef BFRAMES |
#ifdef BFRAMES |
249 |
int packed; /* enable packed mode */ |
int global; /* global/debug options */ |
250 |
int max_bframes; /* max sequential bframes (0=disable bframes) */ |
int max_bframes; /* max sequential bframes (0=disable bframes) */ |
251 |
int bquant_ratio; /* bframe quantizer multipier (percentage). |
int bquant_ratio; /* bframe quantizer multipier (percentage). |
252 |
* used only when bquant < 1 |
* used only when bquant < 1 |