Commit 19ef2ba5 authored by Marc Hoffman's avatar Marc Hoffman Committed by Diego Biurrun

Replace emms() with emms_c(), patch by Marc Hoffman, mmh pleasantst com.

Originally committed as revision 8571 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 846dffeb
...@@ -184,7 +184,7 @@ void dct_error(const char *name, int is_idct, ...@@ -184,7 +184,7 @@ void dct_error(const char *name, int is_idct,
#endif #endif
fdct_func(block); fdct_func(block);
emms(); /* for ff_mmx_idct */ emms_c(); /* for ff_mmx_idct */
if (fdct_func == fdct_ifast if (fdct_func == fdct_ifast
#ifndef FAAN_POSTSCALE #ifndef FAAN_POSTSCALE
...@@ -286,7 +286,7 @@ void dct_error(const char *name, int is_idct, ...@@ -286,7 +286,7 @@ void dct_error(const char *name, int is_idct,
it1 += NB_ITS_SPEED; it1 += NB_ITS_SPEED;
ti1 = gettime() - ti; ti1 = gettime() - ti;
} while (ti1 < 1000000); } while (ti1 < 1000000);
emms(); emms_c();
printf("%s %s: %0.1f kdct/s\n", printf("%s %s: %0.1f kdct/s\n",
is_idct ? "IDCT" : "DCT", is_idct ? "IDCT" : "DCT",
...@@ -446,7 +446,7 @@ void idct248_error(const char *name, ...@@ -446,7 +446,7 @@ void idct248_error(const char *name,
it1 += NB_ITS_SPEED; it1 += NB_ITS_SPEED;
ti1 = gettime() - ti; ti1 = gettime() - ti;
} while (ti1 < 1000000); } while (ti1 < 1000000);
emms(); emms_c();
printf("%s %s: %0.1f kdct/s\n", printf("%s %s: %0.1f kdct/s\n",
1 ? "IDCT248" : "DCT248", 1 ? "IDCT248" : "DCT248",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment