comparison ppc/mpegvideo_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 c8c591fe26f8
children d5ba514e3f4a
comparison
equal deleted inserted replaced
3972:f5f1c9af095d 3973:b28edd190fc0
46 if ((s->avctx->idct_algo == FF_IDCT_AUTO) || 46 if ((s->avctx->idct_algo == FF_IDCT_AUTO) ||
47 (s->avctx->idct_algo == FF_IDCT_ALTIVEC)) 47 (s->avctx->idct_algo == FF_IDCT_ALTIVEC))
48 { 48 {
49 s->dsp.idct_put = idct_put_altivec; 49 s->dsp.idct_put = idct_put_altivec;
50 s->dsp.idct_add = idct_add_altivec; 50 s->dsp.idct_add = idct_add_altivec;
51 #ifndef ALTIVEC_USE_REFERENCE_C_CODE
52 s->dsp.idct_permutation_type = FF_TRANSPOSE_IDCT_PERM; 51 s->dsp.idct_permutation_type = FF_TRANSPOSE_IDCT_PERM;
53 #else /* ALTIVEC_USE_REFERENCE_C_CODE */
54 s->dsp.idct_permutation_type = FF_NO_IDCT_PERM;
55 #endif /* ALTIVEC_USE_REFERENCE_C_CODE */
56 } 52 }
57 } 53 }
58 54
59 // Test to make sure that the dct required alignments are met. 55 // Test to make sure that the dct required alignments are met.
60 if ((((long)(s->q_intra_matrix) & 0x0f) != 0) || 56 if ((((long)(s->q_intra_matrix) & 0x0f) != 0) ||