mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Replace emms() with emms_c(), patch by Marc Hoffman, mmh pleasantst com.
Originally committed as revision 8571 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
846dffeb41
commit
19ef2ba57a
@ -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,
|
|||||||
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,
|
|||||||
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",
|
||||||
|
Loading…
Reference in New Issue
Block a user