19 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
20 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
21 |
* |
* |
22 |
* $Id: xvid.c,v 1.64 2005-09-13 12:12:15 suxen_drol Exp $ |
* $Id: xvid.c,v 1.65 2005-11-22 10:23:01 suxen_drol Exp $ |
23 |
* |
* |
24 |
****************************************************************************/ |
****************************************************************************/ |
25 |
|
|
126 |
|
|
127 |
/* detect cpu flags */ |
/* detect cpu flags */ |
128 |
static unsigned int |
static unsigned int |
129 |
detect_cpu_flags() |
detect_cpu_flags(void) |
130 |
{ |
{ |
131 |
/* enable native assembly optimizations by default */ |
/* enable native assembly optimizations by default */ |
132 |
unsigned int cpu_flags = XVID_CPU_ASM; |
unsigned int cpu_flags = XVID_CPU_ASM; |
183 |
idct = idct_int32; |
idct = idct_int32; |
184 |
|
|
185 |
/* Only needed on PPC Altivec archs */ |
/* Only needed on PPC Altivec archs */ |
186 |
sadInit = 0; |
sadInit = NULL; |
187 |
|
|
188 |
/* Restore FPU context : emms_c is a nop functions */ |
/* Restore FPU context : emms_c is a nop functions */ |
189 |
emms = emms_c; |
emms = emms_c; |