summaryrefslogtreecommitdiff
path: root/libavcodec/imgresample.c
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2006-11-14 03:12:29 +0000
committerMåns Rullgård <mans@mansr.com>2006-11-14 03:12:29 +0000
commitbe6ed6fff4cace79a2c17094ad716bc0944a4274 (patch)
tree7f152718973ecd354ebd9cde2bfc16ad9ed37c23 /libavcodec/imgresample.c
parent8233b75041c4fca97dd71087ba888576be86a0f9 (diff)
move some CFLAGS settings away from config.* writing section
Originally committed as revision 7043 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/imgresample.c')
-rw-r--r--libavcodec/imgresample.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/imgresample.c b/libavcodec/imgresample.c
index ce1a05ce4b..e742d62214 100644
--- a/libavcodec/imgresample.c
+++ b/libavcodec/imgresample.c
@@ -469,7 +469,7 @@ static void h_resample(uint8_t *dst, int dst_width, const uint8_t *src,
n = dst_width;
}
#ifdef HAVE_MMX
- if ((mm_flags & MM_MMX) && NB_TAPS == 4)
+ if ((ff_mm_flags & MM_MMX) && NB_TAPS == 4)
h_resample_fast4_mmx(dst, n,
src, src_width, src_start, src_incr, filters);
else
@@ -527,14 +527,14 @@ static void component_resample(ImgReSampleContext *s,
phase_y = get_phase(src_y);
#ifdef HAVE_MMX
/* desactivated MMX because loss of precision */
- if ((mm_flags & MM_MMX) && NB_TAPS == 4 && 0)
+ if ((ff_mm_flags & MM_MMX) && NB_TAPS == 4 && 0)
v_resample4_mmx(output, owidth,
s->line_buf + (ring_y - NB_TAPS + 1) * owidth, owidth,
&s->v_filters[phase_y][0]);
else
#endif
#ifdef HAVE_ALTIVEC
- if ((mm_flags & MM_ALTIVEC) && NB_TAPS == 4 && FILTER_BITS <= 6)
+ if ((ff_mm_flags & MM_ALTIVEC) && NB_TAPS == 4 && FILTER_BITS <= 6)
v_resample16_altivec(output, owidth,
s->line_buf + (ring_y - NB_TAPS + 1) * owidth, owidth,
&s->v_filters[phase_y][0]);