575 |
xvid_enc_create_t; |
xvid_enc_create_t; |
576 |
|
|
577 |
|
|
|
typedef struct { |
|
|
int version; |
|
|
int type; /* [in] rate control type: XVID_RC_xxx */ |
|
|
|
|
|
/* common stuff */ |
|
|
int min_iquant; /* [in:opt] ivop quantizer upper/lower limit */ |
|
|
int max_iquant; /* [in:opt] */ |
|
|
int min_pquant; /* [in:opt] psvop quantizer upper/lower limit */ |
|
|
int max_pquant; /* [in:opt] */ |
|
|
int min_bquant; /* [in:opt] bvop quantizer upper/lower limit */ |
|
|
int max_bquant; /* [in:opt] */ |
|
|
|
|
|
union { |
|
|
struct { /* XVID_RC_FQUANT */ |
|
|
float quant; /* [in] quantizer */ |
|
|
} fquant; |
|
|
struct { /* XVID_RC_CBR */ |
|
|
int bitrate; /* [in] the bitrate of the target encoded stream, in bits/second */ |
|
|
int reaction_delay_factor; /* [in] how fast the rate control reacts - lower values are faster */ |
|
|
int averaging_period; /* [in] */ |
|
|
int buffer; /* [in] */ |
|
|
} cbr; |
|
|
} data; |
|
|
} xvid_enc_rc_t; |
|
|
|
|
|
|
|
|
|
|
578 |
#define XVID_KEYFRAME 0x00000001 |
#define XVID_KEYFRAME 0x00000001 |
579 |
|
|
580 |
typedef struct { |
typedef struct { |