Revision d890d4ae

View differences:

libavcodec/ppc/dsputil_altivec.c
1302 1302
#endif /* ALTIVEC_USE_REFERENCE_C_CODE */
1303 1303
}
1304 1304

  
1305
#if (__GNUC__ * 100 + __GNUC_MINOR__ >= 330)
1305 1306
int hadamard8_diff8x8_altivec(/*MpegEncContext*/ void *s, uint8_t *dst, uint8_t *src, int stride, int h){
1306 1307
POWERPC_PERF_DECLARE(altivec_hadamard8_diff8x8_num, 1);
1307 1308
  int sum;
......
1611 1612
POWERPC_PERF_STOP_COUNT(altivec_hadamard8_diff16_num, 1);
1612 1613
  return score;
1613 1614
}
1615
#endif
1614 1616

  
1615 1617
int has_altivec(void)
1616 1618
{
libavcodec/ppc/dsputil_ppc.c
279 279
        
280 280
	c->gmc1 = gmc1_altivec;
281 281

  
282
#if (__GNUC__ * 100 + __GNUC_MINOR__ >= 330)
282 283
	c->hadamard8_diff[0] = hadamard8_diff16_altivec;
283 284
	c->hadamard8_diff[1] = hadamard8_diff8x8_altivec;
285
#endif
284 286

  
285 287
#ifdef CONFIG_ENCODERS
286 288
	if (avctx->dct_algo == FF_DCT_AUTO ||

Also available in: Unified diff