52 |
* Constants |
* Constants |
53 |
****************************************************************************/ |
****************************************************************************/ |
54 |
|
|
|
/* Quatization type */ |
|
|
#define H263_QUANT 0 |
|
|
#define MPEG4_QUANT 1 |
|
|
|
|
|
/* Indicates no quantizer changes in INTRA_Q/INTER_Q modes */ |
|
|
#define NO_CHANGE 64 |
|
|
|
|
55 |
/***************************************************************************** |
/***************************************************************************** |
56 |
* Types |
* Types |
57 |
****************************************************************************/ |
****************************************************************************/ |
171 |
int bitrate; |
int bitrate; |
172 |
|
|
173 |
// plugins |
// plugins |
174 |
int num_plugins; /* note: we store plugin flags in MBPARAM */ |
unsigned int num_plugins; /* note: we store plugin flags in MBPARAM */ |
175 |
xvid_enc_plugin_t * plugins; |
xvid_enc_plugin_t * plugins; |
176 |
|
|
177 |
// dquant |
// dquant |
260 |
|
|
261 |
void init_encoder(uint32_t cpu_flags); |
void init_encoder(uint32_t cpu_flags); |
262 |
|
|
263 |
int enc_create(xvid_enc_create_t * create, xvid_enc_rc_t * rc); |
int enc_create(xvid_enc_create_t * create); |
264 |
int enc_destroy(Encoder * pEnc); |
int enc_destroy(Encoder * pEnc); |
265 |
int enc_encode(Encoder * pEnc, |
int enc_encode(Encoder * pEnc, |
266 |
xvid_enc_frame_t * pFrame, |
xvid_enc_frame_t * pFrame, |