Mercurial > libavcodec.hg
diff imgresample.c @ 920:a0ad8e3452f2 libavcodec
practically disabling altivec resampling code (some ppl said its broken) patch by (Dieter Shirley <dieters at schemasoft dot com>)
author | michaelni |
---|---|
date | Fri, 06 Dec 2002 17:58:21 +0000 |
parents | 6d5e3fe7aea1 |
children | bb5de8a59da8 |
line wrap: on
line diff
--- a/imgresample.c Fri Dec 06 17:39:32 2002 +0000 +++ b/imgresample.c Fri Dec 06 17:58:21 2002 +0000 @@ -512,7 +512,7 @@ else #endif #ifdef HAVE_ALTIVEC - if ((mm_flags & MM_ALTIVEC) && NB_TAPS == 4 && FILTER_BITS == 8) + 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]);