--- emms.h 2002/06/26 15:59:51 1.4 +++ emms.h 2003/02/15 15:22:19 1.13 @@ -33,12 +33,10 @@ * * - Mon Jun 17 00:16:13 2002 Added legal header * - * $Id: emms.h,v 1.4 2002/06/26 15:59:51 ia64p Exp $ + * $Id: emms.h,v 1.13 2003/02/15 15:22:19 edgomez Exp $ * ****************************************************************************/ -#include "../xvid.h" - #ifndef _EMMS_H_ #define _EMMS_H_ @@ -57,19 +55,17 @@ emmsFunc emms_c; emmsFunc emms_mmx; +emmsFunc emms_3dn; /***************************************************************************** * Prototypes ****************************************************************************/ -static int check_cpu_features(void); - -#ifdef ARCH_IA64 -int check_cpu_features(void) { return XVID_CPU_IA64; } -#else -#ifndef ARCH_X86 -int check_cpu_features(void) { return 0; } /* is 0 an acceptable value? */ -#endif +#ifdef ARCH_IS_IA32 +/* cpu_flag detection helper functions */ +extern int check_cpu_features(void); +extern void sse_os_trigger(void); +extern void sse2_os_trigger(void); #endif