Commit 2fe0ab3e authored by michaelni's avatar michaelni

practically disabling altivec resampling code (some ppl said its broken) patch...

practically disabling altivec resampling code (some ppl said its broken) patch by (Dieter Shirley <dieters at schemasoft dot com>)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1321 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 77ec10b1
...@@ -512,7 +512,7 @@ static void component_resample(ImgReSampleContext *s, ...@@ -512,7 +512,7 @@ static void component_resample(ImgReSampleContext *s,
else else
#endif #endif
#ifdef HAVE_ALTIVEC #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, v_resample16_altivec(output, owidth,
s->line_buf + (ring_y - NB_TAPS + 1) * owidth, owidth, s->line_buf + (ring_y - NB_TAPS + 1) * owidth, owidth,
&s->v_filters[phase_y][0]); &s->v_filters[phase_y][0]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment