Mercurial > libavcodec.hg
diff ppc/dsputil_ppc.c @ 2778:4c0ab7ed2642 libavcodec
Disable AltiVec IDCT for lowres decoding in lavc patch by (Sigbjrn Skjret: cisc, broadpark no)
author | michael |
---|---|
date | Fri, 01 Jul 2005 09:37:35 +0000 |
parents | fac626a2b73b |
children | ef2149182f1c |
line wrap: on
line diff
--- a/ppc/dsputil_ppc.c Wed Jun 29 08:41:01 2005 +0000 +++ b/ppc/dsputil_ppc.c Fri Jul 01 09:37:35 2005 +0000 @@ -305,6 +305,8 @@ } #endif //CONFIG_ENCODERS + if (avctx->lowres==0) + { if ((avctx->idct_algo == FF_IDCT_AUTO) || (avctx->idct_algo == FF_IDCT_ALTIVEC)) { @@ -316,6 +318,7 @@ c->idct_permutation_type = FF_NO_IDCT_PERM; #endif /* ALTIVEC_USE_REFERENCE_C_CODE */ } + } #ifdef POWERPC_PERFORMANCE_REPORT {