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.66 2005-11-22 10:53:10 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; |
712 |
return XVID_ERR_VERSION; |
return XVID_ERR_VERSION; |
713 |
|
|
714 |
info->actual_version = XVID_VERSION; |
info->actual_version = XVID_VERSION; |
715 |
info->build = "xvid-1.1.0-beta2"; |
info->build = "xvid-1.2.0-dev"; |
716 |
info->cpu_flags = detect_cpu_flags(); |
info->cpu_flags = detect_cpu_flags(); |
717 |
|
|
718 |
#if defined(_SMP) && defined(WIN32) |
#if defined(_SMP) && defined(WIN32) |