--- emms.h 2002/06/16 22:38:08 1.3 +++ emms.h 2002/09/05 21:36:35 1.8 @@ -3,6 +3,8 @@ * XVID MPEG-4 VIDEO CODEC * - emms wrapper API header - * + * Copyright(C) 2002 Michael Militzer + * * This program is an implementation of a part of one or more MPEG-4 * Video tools as specified in ISO/IEC 14496-2 standard. Those intending * to use this software module in hardware or software products are @@ -26,17 +28,12 @@ * along with this program ; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - ****************************************************************************/ -/***************************************************************************** - * - * History - * - * - Mon Jun 17 00:16:13 2002 Added legal header - * - * $Id: emms.h,v 1.3 2002/06/16 22:38:08 edgomez Exp $ + * $Id: emms.h,v 1.8 2002/09/05 21:36:35 edgomez Exp $ * ****************************************************************************/ +#include "../xvid.h" + #ifndef _EMMS_H_ #define _EMMS_H_ @@ -60,9 +57,17 @@ * Prototypes ****************************************************************************/ -#if defined(ARCH_X86) -/* Returns the cpuid feature flags - defined in x86_asm/cpuid.asm */ -int check_cpu_features(void); +#ifdef ARCH_X86 +extern int check_cpu_features(void); +extern void sse_os_trigger(void); +extern void sse2_os_trigger(void); +#else +#ifdef ARCH_IA64 +static int check_cpu_features(void) { return XVID_CPU_IA64; } +#else +static int check_cpu_features(void) { return 0; } /* is 0 an acceptable value? */ #endif +#endif + #endif