97 |
****************************************************************************/ |
****************************************************************************/ |
98 |
|
|
99 |
typedef struct |
typedef struct |
100 |
|
{ |
101 |
int cpu_flags; |
int cpu_flags; |
102 |
int api_version; |
int api_version; |
103 |
int core_build; |
int core_build; |
175 |
#define XVID_VALID_FLAGS 0x80000000 |
#define XVID_VALID_FLAGS 0x80000000 |
176 |
|
|
177 |
#define XVID_CUSTOM_QMATRIX 0x00000004 /* use custom quant matrix */ |
#define XVID_CUSTOM_QMATRIX 0x00000004 /* use custom quant matrix */ |
178 |
|
#define XVID_H263QUANT 0x00000010 |
179 |
|
#define XVID_MPEGQUANT 0x00000020 |
180 |
|
#define XVID_HALFPEL 0x00000040 /* use halfpel interpolation */ |
181 |
|
#define XVID_ADAPTIVEQUANT 0x00000080 |
182 |
|
#define XVID_LUMIMASKING 0x00000100 |
183 |
#define XVID_LATEINTRA 0x00000200 |
#define XVID_LATEINTRA 0x00000200 |
184 |
|
|
185 |
#define XVID_INTERLACING 0x00000400 /* enable interlaced encoding */ |
#define XVID_INTERLACING 0x00000400 /* enable interlaced encoding */ |
245 |
int bquant_ratio; /* bframe quantizer multipier (percentage). |
int bquant_ratio; /* bframe quantizer multipier (percentage). |
246 |
* used only when bquant < 1 |
* used only when bquant < 1 |
247 |
* eg. 200 = x2 multiplier |
* eg. 200 = x2 multiplier |
248 |
|
* quant = ((past_quant + future_quant) * bquant_ratio)/200 |
249 |
|
*/ |
250 |
|
int frame_drop_ratio; /* frame dropping: 0=drop none... 100=drop all */ |
251 |
#endif |
#endif |
252 |
int packed; /* enable packed mode */ |
void *handle; /* [out] encoder instance handle */ |
253 |
} |
} |
254 |
XVID_ENC_PARAM; |
XVID_ENC_PARAM; |
255 |
|
|