annotate divx4_vbr.h @ 16307:03cd6abe5664

avoid reading more than maxlen bytes. Has the sideeffect that the amount read will be close to maxlen instead of minlen as before.
author reimar
date Thu, 25 Aug 2005 19:46:20 +0000
parents 0e6e13261d79
children f580a7755ac5
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
2642
0e6e13261d79 divx4_vbr -> mplayer integration
arpi
parents:
diff changeset
1
0e6e13261d79 divx4_vbr -> mplayer integration
arpi
parents:
diff changeset
2 // methods from class VbrControl
0e6e13261d79 divx4_vbr -> mplayer integration
arpi
parents:
diff changeset
3
0e6e13261d79 divx4_vbr -> mplayer integration
arpi
parents:
diff changeset
4 void VbrControl_init_1pass_vbr(int quality, int crispness);
0e6e13261d79 divx4_vbr -> mplayer integration
arpi
parents:
diff changeset
5 int VbrControl_init_2pass_vbr_encoding(const char* filename, int bitrate, double framerate, int crispness, int quality);
0e6e13261d79 divx4_vbr -> mplayer integration
arpi
parents:
diff changeset
6 int VbrControl_init_2pass_vbr_analysis(const char* filename, int quality);
0e6e13261d79 divx4_vbr -> mplayer integration
arpi
parents:
diff changeset
7
0e6e13261d79 divx4_vbr -> mplayer integration
arpi
parents:
diff changeset
8 void VbrControl_update_1pass_vbr();
0e6e13261d79 divx4_vbr -> mplayer integration
arpi
parents:
diff changeset
9 void VbrControl_update_2pass_vbr_encoding(int motion_bits, int texture_bits, int total_bits);
0e6e13261d79 divx4_vbr -> mplayer integration
arpi
parents:
diff changeset
10 void VbrControl_update_2pass_vbr_analysis(int is_key_frame, int motion_bits, int texture_bits, int total_bits, int quant);
0e6e13261d79 divx4_vbr -> mplayer integration
arpi
parents:
diff changeset
11
0e6e13261d79 divx4_vbr -> mplayer integration
arpi
parents:
diff changeset
12 int VbrControl_get_quant();
0e6e13261d79 divx4_vbr -> mplayer integration
arpi
parents:
diff changeset
13 void VbrControl_set_quant(float q);
0e6e13261d79 divx4_vbr -> mplayer integration
arpi
parents:
diff changeset
14 int VbrControl_get_intra();
0e6e13261d79 divx4_vbr -> mplayer integration
arpi
parents:
diff changeset
15 short VbrControl_get_drop();
0e6e13261d79 divx4_vbr -> mplayer integration
arpi
parents:
diff changeset
16 void VbrControl_close();
0e6e13261d79 divx4_vbr -> mplayer integration
arpi
parents:
diff changeset
17