Mercurial > libavcodec.hg
diff imgresample.c @ 4197:bbe0bc387a19 libavcodec
revert bad checkin
author | mru |
---|---|
date | Tue, 14 Nov 2006 03:18:09 +0000 |
parents | fbac0859753d |
children | 1654075b205c |
line wrap: on
line diff
--- a/imgresample.c Tue Nov 14 03:12:29 2006 +0000 +++ b/imgresample.c Tue Nov 14 03:18:09 2006 +0000 @@ -469,7 +469,7 @@ n = dst_width; } #ifdef HAVE_MMX - if ((ff_mm_flags & MM_MMX) && NB_TAPS == 4) + if ((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 @@ phase_y = get_phase(src_y); #ifdef HAVE_MMX /* desactivated MMX because loss of precision */ - if ((ff_mm_flags & MM_MMX) && NB_TAPS == 4 && 0) + if ((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 ((ff_mm_flags & MM_ALTIVEC) && NB_TAPS == 4 && FILTER_BITS <= 6) + if ((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]);