--- emms.h 2002/10/19 11:41:11 1.9 +++ emms.h 2003/02/15 15:22:19 1.13 @@ -3,8 +3,6 @@ * 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 @@ -28,12 +26,17 @@ * along with this program ; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * - * $Id: emms.h,v 1.9 2002/10/19 11:41:11 edgomez Exp $ + ****************************************************************************/ +/***************************************************************************** + * + * History + * + * - Mon Jun 17 00:16:13 2002 Added legal header + * + * $Id: emms.h,v 1.13 2003/02/15 15:22:19 edgomez Exp $ * ****************************************************************************/ -#include "../xvid.h" - #ifndef _EMMS_H_ #define _EMMS_H_ @@ -52,21 +55,17 @@ emmsFunc emms_c; emmsFunc emms_mmx; +emmsFunc emms_3dn; /***************************************************************************** * Prototypes ****************************************************************************/ -#ifdef ARCH_X86 +#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); -#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