73 |
|
|
74 |
|
|
75 |
/***************************************************************************** |
/***************************************************************************** |
76 |
|
* Initialization constants |
77 |
****************************************************************************/ |
****************************************************************************/ |
78 |
|
|
79 |
/* CPU flags for XVID_INIT_PARAM.cpu_flags */ |
/* CPU flags for XVID_INIT_PARAM.cpu_flags */ |
155 |
int stride_y, stride_u,stride_v; |
int stride_y, stride_u,stride_v; |
156 |
} XVID_DEC_PICTURE; |
} XVID_DEC_PICTURE; |
157 |
|
|
158 |
|
|
159 |
|
/***************************************************************************** |
160 |
|
* Decoder entry point |
161 |
|
****************************************************************************/ |
162 |
|
|
163 |
|
/* decoder options */ |
164 |
|
#define XVID_DEC_DECODE 0 |
165 |
|
#define XVID_DEC_CREATE 1 |
166 |
#define XVID_DEC_DESTROY 2 |
#define XVID_DEC_DESTROY 2 |
167 |
|
|
168 |
int xvid_decore(void *handle, |
int xvid_decore(void *handle, |
254 |
int bquant_ratio; /* bframe quantizer multipier (percentage). |
int bquant_ratio; /* bframe quantizer multipier (percentage). |
255 |
* used only when bquant < 1 |
* used only when bquant < 1 |
256 |
* eg. 200 = x2 multiplier |
* eg. 200 = x2 multiplier |
257 |
|
* quant = ((past_quant + future_quant) * bquant_ratio)/200 |
258 |
|
*/ |
259 |
|
int frame_drop_ratio; /* frame dropping: 0=drop none... 100=drop all */ |
260 |
#endif |
#endif |
261 |
void *handle; /* [out] encoder instance handle */ |
void *handle; /* [out] encoder instance handle */ |
262 |
} |
} |