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