Revision a7b2871c libavcodec/libpostproc/postprocess_template.c

View differences:

libavcodec/libpostproc/postprocess_template.c
2203 2203
#endif
2204 2204
//static int test=0;
2205 2205

  
2206
#ifndef HAVE_ALTIVEC
2206 2207
static inline void RENAME(tempNoiseReducer)(uint8_t *src, int stride,
2207 2208
				    uint8_t *tempBlured, uint32_t *tempBluredPast, int *maxNoise)
2208 2209
{
......
2510 2511
{
2511 2512
	int y;
2512 2513
	int d=0;
2513
	int sysd=0;
2514
//	int sysd=0;
2514 2515
	int i;
2515 2516

  
2516 2517
	for(y=0; y<8; y++)
......
2525 2526
//			if(y==0 || y==7) d1+= d1>>1;
2526 2527
//			d+= ABS(d1);
2527 2528
			d+= d1*d1;
2528
			sysd+= d1;
2529
//			sysd+= d1;
2529 2530
		}
2530 2531
	}
2531 2532
	i=d;
......
2611 2612
}
2612 2613
#endif
2613 2614
}
2615
#endif //HAVE_ALTIVEC
2614 2616

  
2615 2617
#ifdef HAVE_MMX
2616 2618
/**

Also available in: Unified diff