[FFmpeg-cvslog] dcttest: put ff_prores_idct_put_10_sse2_wrap under HAVE_YASM

Michael Niedermayer git at videolan.org
Sat Mar 31 00:18:44 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Mar 31 00:03:44 2012 +0200| [a79af8e8cb6b33a9b33b3947a43efe64a00b11e4] | committer: Michael Niedermayer

dcttest: put ff_prores_idct_put_10_sse2_wrap under HAVE_YASM

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a79af8e8cb6b33a9b33b3947a43efe64a00b11e4
---

 libavcodec/dct-test.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index eb2fdc6..16b32ca 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -99,7 +99,7 @@ static const struct algo fdct_tab[] = {
     { 0 }
 };
 
-#if HAVE_MMX
+#if HAVE_MMX && HAVE_YASM
 void ff_prores_idct_put_10_sse2(uint16_t *dst, int linesize,
                                 DCTELEM *block, int16_t *qmat);
 
@@ -130,7 +130,7 @@ static const struct algo idct_tab[] = {
     { "XVID-MMX",       ff_idct_xvid_mmx,      NO_PERM,   AV_CPU_FLAG_MMX,  1 },
     { "XVID-MMX2",      ff_idct_xvid_mmx2,     NO_PERM,   AV_CPU_FLAG_MMX2, 1 },
     { "XVID-SSE2",      ff_idct_xvid_sse2,     SSE2_PERM, AV_CPU_FLAG_SSE2, 1 },
-#if ARCH_X86_64
+#if ARCH_X86_64 && HAVE_YASM
     { "PR-SSE2",        ff_prores_idct_put_10_sse2_wrap,     TRANSPOSE_PERM, AV_CPU_FLAG_SSE2, 1 },
 #endif
 #endif



More information about the ffmpeg-cvslog mailing list