[FFmpeg-cvslog] sws: Fix compilation with disabled MMX2
Michael Niedermayer
git at videolan.org
Fri Nov 11 16:34:08 CET 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Nov 11 15:54:08 2011 +0100| [7437db84a9d39ca7a50c07fae68bf4106b0fc88c] | committer: Michael Niedermayer
sws: Fix compilation with disabled MMX2
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7437db84a9d39ca7a50c07fae68bf4106b0fc88c
---
libswscale/x86/swscale_mmx.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libswscale/x86/swscale_mmx.c b/libswscale/x86/swscale_mmx.c
index 8869274..42e3535 100644
--- a/libswscale/x86/swscale_mmx.c
+++ b/libswscale/x86/swscale_mmx.c
@@ -176,6 +176,7 @@ void updateMMXDitherTables(SwsContext *c, int dstY, int lumBufIndex, int chrBufI
}
}
+#if HAVE_MMX2
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)
@@ -234,6 +235,7 @@ static void yuv2yuvX_sse3(const int16_t *filter, int filterSize,
: "%"REG_d, "%"REG_S, "%"REG_c
);
}
+#endif
#define SCALE_FUNC(filter_n, from_bpc, to_bpc, opt) \
extern void ff_hscale ## from_bpc ## to ## to_bpc ## _ ## filter_n ## _ ## opt( \
More information about the ffmpeg-cvslog
mailing list