summaryrefslogtreecommitdiffstats
path: root/divx4_vbr.h
blob: ee26b23a89adfba57038b7be723b14d554cb5cf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17

// 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);