Mercurial > libavcodec.hg
comparison ppc/dsputil_ppc.c @ 3973:b28edd190fc0 libavcodec
removing ALTIVEC_USE_REFERENCE_C_CODE, since has no use anymore
author | lu_zero |
---|---|
date | Mon, 09 Oct 2006 18:29:46 +0000 |
parents | b6f6bf155661 |
children | 38ccf93476a1 |
comparison
equal
deleted
inserted
replaced
3972:f5f1c9af095d | 3973:b28edd190fc0 |
---|---|
289 if ((avctx->idct_algo == FF_IDCT_AUTO) || | 289 if ((avctx->idct_algo == FF_IDCT_AUTO) || |
290 (avctx->idct_algo == FF_IDCT_ALTIVEC)) | 290 (avctx->idct_algo == FF_IDCT_ALTIVEC)) |
291 { | 291 { |
292 c->idct_put = idct_put_altivec; | 292 c->idct_put = idct_put_altivec; |
293 c->idct_add = idct_add_altivec; | 293 c->idct_add = idct_add_altivec; |
294 #ifndef ALTIVEC_USE_REFERENCE_C_CODE | |
295 c->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM; | 294 c->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM; |
296 #else /* ALTIVEC_USE_REFERENCE_C_CODE */ | |
297 c->idct_permutation_type = FF_NO_IDCT_PERM; | |
298 #endif /* ALTIVEC_USE_REFERENCE_C_CODE */ | |
299 } | 295 } |
300 } | 296 } |
301 | 297 |
302 #ifdef POWERPC_PERFORMANCE_REPORT | 298 #ifdef POWERPC_PERFORMANCE_REPORT |
303 { | 299 { |