Revision 20646267 libavcodec/libpostproc/postprocess_template.c

View differences:

libavcodec/libpostproc/postprocess_template.c
3684 3684
					horizX1Filter(dstBlock-4, stride, QP);
3685 3685
				else if(mode & H_DEBLOCK)
3686 3686
				{
3687
#ifdef HAVE_ALTIVEC
3688
					unsigned char __attribute__ ((aligned(16))) tempBlock[272];
3689
					transpose_16x8_char_toPackedAlign_altivec(tempBlock, dstBlock - (4 + 1), stride);
3690

  
3691
					const int t=vertClassify_altivec(tempBlock-48, 16, &c);
3692
					if(t==1) {
3693
						doVertLowPass_altivec(tempBlock-48, 16, &c);
3694
                                                transpose_8x16_char_fromPackedAlign_altivec(dstBlock - (4 + 1), tempBlock, stride);
3695
                                        }
3696
					else if(t==2) {
3697
						doVertDefFilter_altivec(tempBlock-48, 16, &c);
3698
                                                transpose_8x16_char_fromPackedAlign_altivec(dstBlock - (4 + 1), tempBlock, stride);
3699
                                        }
3700
#else
3687 3701
					const int t= RENAME(horizClassify)(dstBlock-4, stride, &c);
3688 3702

  
3689 3703
					if(t==1)
3690 3704
						RENAME(doHorizLowPass)(dstBlock-4, stride, &c);
3691 3705
					else if(t==2)
3692 3706
						RENAME(doHorizDefFilter)(dstBlock-4, stride, &c);
3707
#endif
3693 3708
				}else if(mode & H_A_DEBLOCK){
3694 3709
					RENAME(do_a_deblock)(dstBlock-8, 1, stride, &c);
3695 3710
				}

Also available in: Unified diff