Simplify condition, since both time and time_last are unsigned.
[mplayer/glamo.git] / divx4_vbr.h
blobee26b23a89adfba57038b7be723b14d554cb5cf5
2 // methods from class VbrControl
4 void VbrControl_init_1pass_vbr(int quality, int crispness);
5 int VbrControl_init_2pass_vbr_encoding(const char* filename, int bitrate, double framerate, int crispness, int quality);
6 int VbrControl_init_2pass_vbr_analysis(const char* filename, int quality);
8 void VbrControl_update_1pass_vbr(void);
9 void VbrControl_update_2pass_vbr_encoding(int motion_bits, int texture_bits, int total_bits);
10 void VbrControl_update_2pass_vbr_analysis(int is_key_frame, int motion_bits, int texture_bits, int total_bits, int quant);
12 int VbrControl_get_quant(void);
13 void VbrControl_set_quant(float q);
14 int VbrControl_get_intra(void);
15 short VbrControl_get_drop(void);
16 void VbrControl_close(void);