re-enable use of h264_v_loop_filter_luma_altivec and h264_h_loop_filter_luma_altivec,
authorGuillaume Poirier <gpoirier@mplayerhq.hu>
Sun, 17 Jun 2007 09:38:35 +0000 (09:38 +0000)
committerGuillaume Poirier <gpoirier@mplayerhq.hu>
Sun, 17 Jun 2007 09:38:35 +0000 (09:38 +0000)
they work fine now

Originally committed as revision 9350 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/ppc/h264_altivec.c

index 69cbc85..030a6c6 100644 (file)
@@ -882,10 +882,8 @@ 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;
     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;
     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; \
 
 #define dspfunc(PFX, IDX, NUM) \
     c->PFX ## _pixels_tab[IDX][ 0] = PFX ## NUM ## _mc00_altivec; \