19 |
* along with this program; if not, write to the Free Software |
* along with this program; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: xvid.h,v 1.27.2.9 2003-03-16 12:04:14 suxen_drol Exp $ |
* $Id: xvid.h,v 1.27.2.10 2003-03-23 04:01:49 suxen_drol Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
302 |
{ |
{ |
303 |
int version; |
int version; |
304 |
|
|
305 |
|
int num_frames; /* [out] totlal frame encoded */ |
306 |
|
} xvid_plg_destroy_t; |
307 |
|
|
308 |
|
|
309 |
|
typedef struct |
310 |
|
{ |
311 |
|
int version; |
312 |
|
|
313 |
int width; /* [out] */ |
int width; /* [out] */ |
314 |
int height; /* [out] */ |
int height; /* [out] */ |
315 |
int mb_width; /* [out] */ |
int mb_width; /* [out] */ |
366 |
void * param; |
void * param; |
367 |
} xvid_enc_plugin_t; |
} xvid_enc_plugin_t; |
368 |
|
|
369 |
|
|
370 |
|
|
371 |
|
xvid_plugin_func xvid_plugin_fixed; /* fixed quantizer control */ |
372 |
|
xvid_plugin_func xvid_plugin_cbr; /* constant bitrate control */ |
373 |
|
xvid_plugin_func xvid_plugin_2pass1; /* 2pass rate control: pass 1 */ |
374 |
|
|
375 |
|
xvid_plugin_func xvid_plugin_lumimasking; /* lumimasking */ |
376 |
|
|
377 |
xvid_plugin_func xvid_plugin_psnr; /* write psnr values to stdout */ |
xvid_plugin_func xvid_plugin_psnr; /* write psnr values to stdout */ |
378 |
xvid_plugin_func xvid_plugin_dump; /* dump before and after yuvpgms */ |
xvid_plugin_func xvid_plugin_dump; /* dump before and after yuvpgms */ |
379 |
xvid_plugin_func xvid_plugin_lumimasking; /* lumimasking */ |
|
380 |
|
|
381 |
|
typedef struct |
382 |
|
{ |
383 |
|
int version; |
384 |
|
int quant_increment; |
385 |
|
int quant_base; |
386 |
|
} xvid_plugin_fixed_t; |
387 |
|
|
388 |
|
|
389 |
|
typedef struct |
390 |
|
{ |
391 |
|
int version; |
392 |
|
int bitrate; |
393 |
|
int max_quantizer; |
394 |
|
int min_quantizer; |
395 |
|
int reaction_delay_factor; |
396 |
|
int averaging_period; |
397 |
|
int buffer; |
398 |
|
} xvid_plugin_cbr_t; |
399 |
|
|
400 |
|
|
401 |
|
typedef struct { |
402 |
|
int version; |
403 |
|
char * filename; |
404 |
|
} xvid_plugin_2pass1_t; |
405 |
|
|
406 |
|
|
407 |
|
|
408 |
|
|
409 |
/***************************************************************************** |
/***************************************************************************** |