summaryrefslogtreecommitdiff
path: root/libavcodec/imgresample.c
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2001-07-23 20:06:54 +0000
committerFabrice Bellard <fabrice@bellard.org>2001-07-23 20:06:54 +0000
commit980fc7b83458fe6bbd58910813ba7ad3faf6cf76 (patch)
tree54215c0a4172d6a0490478d6e83685c0851884e7 /libavcodec/imgresample.c
parentd78647e8b4ae46352d689179079a65cc7e1d1efe (diff)
fixed config for direct mplayer build compatibility
Originally committed as revision 8 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/imgresample.c')
-rw-r--r--libavcodec/imgresample.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/imgresample.c b/libavcodec/imgresample.c
index 99153013cf..d394abdd3f 100644
--- a/libavcodec/imgresample.c
+++ b/libavcodec/imgresample.c
@@ -130,7 +130,7 @@ static void v_resample(UINT8 *dst, int dst_width, UINT8 *src, int wrap,
}
}
-#ifdef CONFIG_MMX
+#ifdef HAVE_MMX
#include "i386/mmx.h"
@@ -317,7 +317,7 @@ static void h_resample(UINT8 *dst, int dst_width, UINT8 *src, int src_width,
} else {
n = dst_width;
}
-#ifdef CONFIG_MMX
+#ifdef HAVE_MMX
if ((mm_flags & MM_MMX) && NB_TAPS == 4)
h_resample_fast4_mmx(dst, n,
src, src_width, src_start, src_incr, filters);
@@ -374,7 +374,7 @@ static void component_resample(ImgReSampleContext *s,
}
/* apply vertical filter */
phase_y = get_phase(src_y);
-#ifdef CONFIG_MMX
+#ifdef HAVE_MMX
/* desactivated MMX because loss of precision */
if ((mm_flags & MM_MMX) && NB_TAPS == 4 && 0)
v_resample4_mmx(output, owidth,
@@ -516,7 +516,7 @@ static void dump_filter(INT16 *filter)
}
}
-#ifdef CONFIG_MMX
+#ifdef HAVE_MMX
int mm_flags;
#endif
@@ -588,7 +588,7 @@ int main(int argc, char **argv)
}
/* mmx test */
-#ifdef CONFIG_MMX
+#ifdef HAVE_MMX
printf("MMX test\n");
fact = 0.72;
xsize = (int)(XSIZE * fact);