diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-08-19 13:19:19 -0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-20 17:47:25 +0200 |
commit | 08bd8c8ab37e56bf567a8081fed820d12b05d153 (patch) | |
tree | 55fc9f73e796f9b31c9142348a6a939d934cd6a8 /libswscale | |
parent | bb3ed3bae6a9e6e2dbe8deeb45088453f214b770 (diff) | |
download | ffmpeg-08bd8c8ab37e56bf567a8081fed820d12b05d153.tar.gz |
rename the remaining instances of HAVE_MMX2 to HAVE_MMXEXT
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale.c | 2 | ||||
-rw-r--r-- | libswscale/x86/swscale.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index ae79eb66e8..07443dbd22 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -422,7 +422,7 @@ static int swScale(SwsContext *c, const uint8_t *src[], ) { static int warnedAlready=0; int cpu_flags = av_get_cpu_flags(); - if (HAVE_MMX2 && (cpu_flags & AV_CPU_FLAG_SSE2) && !warnedAlready){ + if (HAVE_MMXEXT && (cpu_flags & AV_CPU_FLAG_SSE2) && !warnedAlready){ av_log(c, AV_LOG_WARNING, "Warning: data is not aligned! This can lead to a speedloss\n"); warnedAlready=1; } diff --git a/libswscale/x86/swscale.c b/libswscale/x86/swscale.c index 67cda51ca5..b2e06e3b47 100644 --- a/libswscale/x86/swscale.c +++ b/libswscale/x86/swscale.c @@ -204,7 +204,7 @@ void updateMMXDitherTables(SwsContext *c, int dstY, int lumBufIndex, int chrBufI } } -#if HAVE_MMX2 +#if HAVE_MMXEXT static void yuv2yuvX_sse3(const int16_t *filter, int filterSize, const int16_t **src, uint8_t *dest, int dstW, const uint8_t *dither, int offset) |