view divx4_vbr.h @ 18229:e0d18b30598c

Sync with 1.47, patch by Johan Bos < dariusjb AH gmail com> and LMJ. Hail to the Foggy Team!!!!!!!!!! Not hooked up with the rest of the build system yet as it's not been re-read and proofread enough, and maybe doesn't even validate ;) pre8 or rc1 can probably wait till these issues are straighten up :)
author gpoirier
date Sun, 23 Apr 2006 21:43:49 +0000
parents f580a7755ac5
children
line wrap: on
line source


// methods from class VbrControl

	void VbrControl_init_1pass_vbr(int quality, int crispness);
	int VbrControl_init_2pass_vbr_encoding(const char* filename, int bitrate, double framerate, int crispness, int quality);
	int VbrControl_init_2pass_vbr_analysis(const char* filename, int quality);

	void VbrControl_update_1pass_vbr(void);
	void VbrControl_update_2pass_vbr_encoding(int motion_bits, int texture_bits, int total_bits);
	void VbrControl_update_2pass_vbr_analysis(int is_key_frame, int motion_bits, int texture_bits, int total_bits, int quant);

	int VbrControl_get_quant(void);
	void VbrControl_set_quant(float q);
	int VbrControl_get_intra(void);
	short VbrControl_get_drop(void);
	void VbrControl_close(void);