# HG changeset patch # User michaelni # Date 1046952360 0 # Node ID 28f0e53706a7d425847d9a1b0a8ca5d1f92c0a9f # Parent 1e39f273ecd676f5d18b8ae5874dcc337d028826 altivec compilation fixes by (Magnus Damm ) diff -r 1e39f273ecd6 -r 28f0e53706a7 ppc/mpegvideo_altivec.c --- a/ppc/mpegvideo_altivec.c Thu Mar 06 11:32:04 2003 +0000 +++ b/ppc/mpegvideo_altivec.c Thu Mar 06 12:06:00 2003 +0000 @@ -504,7 +504,7 @@ (s->dsp.idct_permutation_type != FF_TRANSPOSE_IDCT_PERM) && (s->dsp.idct_permutation_type != FF_NO_IDCT_PERM)) { - ff_block_permute(data, s->idsp.dct_permutation, + ff_block_permute(data, s->dsp.idct_permutation, s->intra_scantable.scantable, lastNonZero); } diff -r 1e39f273ecd6 -r 28f0e53706a7 ppc/mpegvideo_ppc.c --- a/ppc/mpegvideo_ppc.c Thu Mar 06 11:32:04 2003 +0000 +++ b/ppc/mpegvideo_ppc.c Thu Mar 06 12:06:00 2003 +0000 @@ -42,12 +42,12 @@ if ((s->avctx->idct_algo == FF_IDCT_AUTO) || (s->avctx->idct_algo == FF_IDCT_ALTIVEC)) { - s->idct_put = idct_put_altivec; - s->idct_add = idct_add_altivec; + s->dsp.idct_put = idct_put_altivec; + s->dsp.idct_add = idct_add_altivec; #ifndef ALTIVEC_USE_REFERENCE_C_CODE - s->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM; + s->dsp.idct_permutation_type = FF_TRANSPOSE_IDCT_PERM; #else /* ALTIVEC_USE_REFERENCE_C_CODE */ - s->idct_permutation_type = FF_NO_IDCT_PERM; + s->dsp.idct_permutation_type = FF_NO_IDCT_PERM; #endif /* ALTIVEC_USE_REFERENCE_C_CODE */ }