[SCM] libav/experimental: practically disabling altivec resampling code (some ppl said its broken) patch by (Dieter Shirley <dieters at schemasoft dot com>)

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:34:32 UTC 2013


The following commit has been merged in the experimental branch:
commit 00a7d8d69c2f63ac4a2de1b2237696a516f8d5d2
Author: Dieter <freebsd at sopwith.solgatos.com>
Date:   Fri Dec 6 17:58:21 2002 +0000

    practically disabling altivec resampling code (some ppl said its broken) patch by (Dieter Shirley <dieters at schemasoft dot com>)
    
    Originally committed as revision 1321 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/imgresample.c b/libavcodec/imgresample.c
index b1cfab9..28147fc 100644
--- a/libavcodec/imgresample.c
+++ b/libavcodec/imgresample.c
@@ -512,7 +512,7 @@ static void component_resample(ImgReSampleContext *s,
         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]);

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list