--- emms.h 2003/01/05 03:31:26 1.7.2.2 +++ emms.h 2002/10/19 11:41:11 1.9 @@ -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.7.2.2 2003/01/05 03:31:26 suxen_drol Exp $ + * $Id: emms.h,v 1.9 2002/10/19 11:41:11 edgomez Exp $ * ****************************************************************************/ +#include "../xvid.h" + #ifndef _EMMS_H_ #define _EMMS_H_ @@ -55,17 +52,21 @@ emmsFunc emms_c; emmsFunc emms_mmx; -emmsFunc emms_3dn; /***************************************************************************** * Prototypes ****************************************************************************/ #ifdef ARCH_X86 -/* 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