[Ffmpeg-cvslog] r8571 - trunk/libavcodec/dct-test.c
diego
subversion
Sat Mar 31 18:20:51 CEST 2007
Author: diego
Date: Sat Mar 31 18:20:51 2007
New Revision: 8571
Modified:
trunk/libavcodec/dct-test.c
Log:
Replace emms() with emms_c() to allow compilation on non-x86 platforms.
patch by Marc Hoffman, mmh pleasantst com
Modified: trunk/libavcodec/dct-test.c
==============================================================================
--- trunk/libavcodec/dct-test.c (original)
+++ trunk/libavcodec/dct-test.c Sat Mar 31 18:20:51 2007
@@ -184,7 +184,7 @@ void dct_error(const char *name, int is_
#endif
fdct_func(block);
- emms(); /* for ff_mmx_idct */
+ emms_c(); /* for ff_mmx_idct */
if (fdct_func == fdct_ifast
#ifndef FAAN_POSTSCALE
@@ -286,7 +286,7 @@ void dct_error(const char *name, int is_
it1 += NB_ITS_SPEED;
ti1 = gettime() - ti;
} while (ti1 < 1000000);
- emms();
+ emms_c();
printf("%s %s: %0.1f kdct/s\n",
is_idct ? "IDCT" : "DCT",
@@ -446,7 +446,7 @@ void idct248_error(const char *name,
it1 += NB_ITS_SPEED;
ti1 = gettime() - ti;
} while (ti1 < 1000000);
- emms();
+ emms_c();
printf("%s %s: %0.1f kdct/s\n",
1 ? "IDCT248" : "DCT248",
More information about the ffmpeg-cvslog
mailing list