annotate divx4_vbr.h @ 11007:48b7d7aa444d

configure altivec patch by Magnus Damm <damm@opensource.se> * CC is not checked for Altivec support (see above). The patch adds checks for FSF-style flags and Darwin-style flags. The check is performed regardless of the gcc version. * Disabling of Altivec. --disable-altivec is broken today if /proc/cpuinfo shows that your cpu supports altivec. The patch takes care of that. * "GCC & CPU optimization abilities" always show that it is optimizing for the cpu configure is running on, it should show the optimization that is enabled for gcc instead. Cosmetic change only, but confusing as it is today IMHO. * Runtime CPU-detection now enables altivec for powerpc. Now with the patch it should be possible to use --enable-altivec, --disable-altivec, --enable-runtime-cpudetection regardless of powerpc cpu type. The configure script handles altivec support in the following order: 1. Altivec is enabled by default if your cpu supports it. 2. --enable-runtime-cpudetection will enable altivec support. 3. If you have forced altivec on/off with --enable-altivec/--disable-altivec, then your selection will override the previous altivec configuration. 4. If altivec is enabled but the compiler doesn't support it, altivec gets turned off.
author attila
date Sat, 04 Oct 2003 23:06:04 +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