mirror of
				https://github.com/nyanmisaka/ffmpeg-rockchip.git
				synced 2025-11-01 04:53:04 +08:00 
			
		
		
		
	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
This commit is contained in:
		| @@ -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->avg_h264_chroma_pixels_tab[0] = avg_h264_chroma_mc8_altivec; | ||||||
|     c->h264_idct_add = ff_h264_idct_add_altivec; |     c->h264_idct_add = ff_h264_idct_add_altivec; | ||||||
|     c->h264_idct8_add = ff_h264_idct8_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_v_loop_filter_luma= h264_v_loop_filter_luma_altivec; | ||||||
|     c->h264_h_loop_filter_luma= h264_h_loop_filter_luma_altivec; |     c->h264_h_loop_filter_luma= h264_h_loop_filter_luma_altivec; | ||||||
|  | #endif | ||||||
|  |  | ||||||
| #define dspfunc(PFX, IDX, NUM) \ | #define dspfunc(PFX, IDX, NUM) \ | ||||||
|     c->PFX ## _pixels_tab[IDX][ 0] = PFX ## NUM ## _mc00_altivec; \ |     c->PFX ## _pixels_tab[IDX][ 0] = PFX ## NUM ## _mc00_altivec; \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Guillaume Poirier
					Guillaume Poirier