Mercurial > libavcodec.hg
diff ppc/mpegvideo_altivec.c @ 1015:35cf2f4a0f8c libavcodec
PPC perf, PPC clear_block, AltiVec put_pixels8_xy2 patch by (Romain Dolbeau <dolbeau at irisa dot fr>)
author | michaelni |
---|---|
date | Sun, 19 Jan 2003 19:00:45 +0000 |
parents | 3b7cc8e4b83f |
children | b4172ff70d27 |
line wrap: on
line diff
--- a/ppc/mpegvideo_altivec.c Sun Jan 19 18:30:29 2003 +0000 +++ b/ppc/mpegvideo_altivec.c Sun Jan 19 19:00:45 2003 +0000 @@ -511,13 +511,13 @@ void dct_unquantize_h263_altivec(MpegEncContext *s, DCTELEM *block, int n, int qscale) { -ALTIVEC_TBL_DECLARE(altivec_dct_unquantize_h263_num, 1); +POWERPC_TBL_DECLARE(altivec_dct_unquantize_h263_num, 1); int i, level, qmul, qadd; int nCoeffs; assert(s->block_last_index[n]>=0); -ALTIVEC_TBL_START_COUNT(altivec_dct_unquantize_h263_num, 1); +POWERPC_TBL_START_COUNT(altivec_dct_unquantize_h263_num, 1); qadd = (qscale - 1) | 1; qmul = qscale << 1; @@ -630,5 +630,5 @@ } #endif /* ALTIVEC_USE_REFERENCE_C_CODE */ -ALTIVEC_TBL_STOP_COUNT(altivec_dct_unquantize_h263_num, nCoeffs == 63); +POWERPC_TBL_STOP_COUNT(altivec_dct_unquantize_h263_num, nCoeffs == 63); }