Browse Source

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
tags/v0.5
Dieter Michael Niedermayer 23 years ago
parent
commit
00a7d8d69c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/imgresample.c

+ 1
- 1
libavcodec/imgresample.c View File

@@ -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]);


Loading…
Cancel
Save