# HG changeset patch # User michaelni # Date 1039197501 0 # Node ID a0ad8e3452f214b4aff3277b6af0b3aa3664ac90 # Parent c87eee6da7b1f73364144f26f1e9ef307cf43fd4 practically disabling altivec resampling code (some ppl said its broken) patch by (Dieter Shirley ) diff -r c87eee6da7b1 -r a0ad8e3452f2 imgresample.c --- 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]);