comparison ppc/dsputil_ppc.c @ 9975:d6d7e8d4a04d libavcodec

Do not redundantly check for both CONFIG_THEORA_DECODER and CONFIG_VP3_DECODER. The Theora decoder depends on the VP3 decoder.
author diego
date Wed, 22 Jul 2009 22:27:10 +0000
parents d563821462b4
children 3141f69e3905
comparison
equal deleted inserted replaced
9974:2ccd77e59b0e 9975:d6d7e8d4a04d
285 if ((avctx->idct_algo == FF_IDCT_AUTO) || 285 if ((avctx->idct_algo == FF_IDCT_AUTO) ||
286 (avctx->idct_algo == FF_IDCT_ALTIVEC)) { 286 (avctx->idct_algo == FF_IDCT_ALTIVEC)) {
287 c->idct_put = idct_put_altivec; 287 c->idct_put = idct_put_altivec;
288 c->idct_add = idct_add_altivec; 288 c->idct_add = idct_add_altivec;
289 c->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM; 289 c->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM;
290 }else if((CONFIG_VP3_DECODER || CONFIG_VP5_DECODER || CONFIG_VP6_DECODER || CONFIG_THEORA_DECODER) && 290 }else if((CONFIG_VP3_DECODER || CONFIG_VP5_DECODER || CONFIG_VP6_DECODER) &&
291 avctx->idct_algo==FF_IDCT_VP3){ 291 avctx->idct_algo==FF_IDCT_VP3){
292 c->idct_put = ff_vp3_idct_put_altivec; 292 c->idct_put = ff_vp3_idct_put_altivec;
293 c->idct_add = ff_vp3_idct_add_altivec; 293 c->idct_add = ff_vp3_idct_add_altivec;
294 c->idct = ff_vp3_idct_altivec; 294 c->idct = ff_vp3_idct_altivec;
295 c->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM; 295 c->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM;