comparison ppc/h264_altivec.c @ 5145:68d85146620a libavcodec

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.
author gpoirier
date Fri, 15 Jun 2007 08:22:06 +0000
parents 724e7fad19d9
children 883a5619f52f
comparison
equal deleted inserted replaced
5144:e92146cec4a8 5145:68d85146620a
872 c->put_h264_chroma_pixels_tab[0] = put_h264_chroma_mc8_altivec; 872 c->put_h264_chroma_pixels_tab[0] = put_h264_chroma_mc8_altivec;
873 c->put_no_rnd_h264_chroma_pixels_tab[0] = put_no_rnd_h264_chroma_mc8_altivec; 873 c->put_no_rnd_h264_chroma_pixels_tab[0] = put_no_rnd_h264_chroma_mc8_altivec;
874 c->avg_h264_chroma_pixels_tab[0] = avg_h264_chroma_mc8_altivec; 874 c->avg_h264_chroma_pixels_tab[0] = avg_h264_chroma_mc8_altivec;
875 c->h264_idct_add = ff_h264_idct_add_altivec; 875 c->h264_idct_add = ff_h264_idct_add_altivec;
876 c->h264_idct8_add = ff_h264_idct8_add_altivec; 876 c->h264_idct8_add = ff_h264_idct8_add_altivec;
877 #if 0 // some samples aren't decoded correctly while others are fine. What's wrong?
877 c->h264_v_loop_filter_luma= h264_v_loop_filter_luma_altivec; 878 c->h264_v_loop_filter_luma= h264_v_loop_filter_luma_altivec;
878 c->h264_h_loop_filter_luma= h264_h_loop_filter_luma_altivec; 879 c->h264_h_loop_filter_luma= h264_h_loop_filter_luma_altivec;
880 #endif
879 881
880 #define dspfunc(PFX, IDX, NUM) \ 882 #define dspfunc(PFX, IDX, NUM) \
881 c->PFX ## _pixels_tab[IDX][ 0] = PFX ## NUM ## _mc00_altivec; \ 883 c->PFX ## _pixels_tab[IDX][ 0] = PFX ## NUM ## _mc00_altivec; \
882 c->PFX ## _pixels_tab[IDX][ 1] = PFX ## NUM ## _mc10_altivec; \ 884 c->PFX ## _pixels_tab[IDX][ 1] = PFX ## NUM ## _mc10_altivec; \
883 c->PFX ## _pixels_tab[IDX][ 2] = PFX ## NUM ## _mc20_altivec; \ 885 c->PFX ## _pixels_tab[IDX][ 2] = PFX ## NUM ## _mc20_altivec; \