From fbb578e90d2c02c125703f7b739a86bc9462034f Mon Sep 17 00:00:00 2001 From: Guillaume Poirier <gpoirier@mplayerhq.hu> Date: Fri, 15 Jun 2007 08:22:06 +0000 Subject: [PATCH] some samples aren't decoded correctly such as ( http://www.pennfans.net/files/videos/Penn&Teller.on.The.View.mp4 ) with current Altivec implementation of loopfilter, while others are fine. Let's disable it until we iron this bug out. Originally committed as revision 9317 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ppc/h264_altivec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavcodec/ppc/h264_altivec.c b/libavcodec/ppc/h264_altivec.c index 2ea5025ea4e..9055d73e7f4 100644 --- a/libavcodec/ppc/h264_altivec.c +++ b/libavcodec/ppc/h264_altivec.c @@ -874,8 +874,10 @@ void dsputil_h264_init_ppc(DSPContext* c, AVCodecContext *avctx) { c->avg_h264_chroma_pixels_tab[0] = avg_h264_chroma_mc8_altivec; c->h264_idct_add = ff_h264_idct_add_altivec; c->h264_idct8_add = ff_h264_idct8_add_altivec; +#if 0 // some samples aren't decoded correctly while others are fine. What's wrong? c->h264_v_loop_filter_luma= h264_v_loop_filter_luma_altivec; c->h264_h_loop_filter_luma= h264_h_loop_filter_luma_altivec; +#endif #define dspfunc(PFX, IDX, NUM) \ c->PFX ## _pixels_tab[IDX][ 0] = PFX ## NUM ## _mc00_altivec; \ -- GitLab