# HG changeset patch # User lu_zero # Date 1230377430 0 # Node ID 3e0b4e4b707462ccc9b8e1d857421f1db098a76a # Parent 1615d6b75adadc871f2da9b51d0b9597ca092130 Remove stray code diff -r 1615d6b75ada -r 3e0b4e4b7074 ppc/fft_altivec.c --- a/ppc/fft_altivec.c Sat Dec 27 11:21:28 2008 +0000 +++ b/ppc/fft_altivec.c Sat Dec 27 11:30:30 2008 +0000 @@ -26,31 +26,6 @@ #include "dsputil_ppc.h" #include "util_altivec.h" -/* - those three macros are from libavcodec/fft.c - and are required for the reference C code -*/ -/* butter fly op */ -#define BF(pre, pim, qre, qim, pre1, pim1, qre1, qim1) \ -{\ - FFTSample ax, ay, bx, by;\ - bx=pre1;\ - by=pim1;\ - ax=qre1;\ - ay=qim1;\ - pre = (bx + ax);\ - pim = (by + ay);\ - qre = (bx - ax);\ - qim = (by - ay);\ -} -#define MUL16(a,b) ((a) * (b)) -#define CMUL(pre, pim, are, aim, bre, bim) \ -{\ - pre = (MUL16(are, bre) - MUL16(aim, bim));\ - pim = (MUL16(are, bim) + MUL16(bre, aim));\ -} - - /** * Do a complex FFT with the parameters defined in ff_fft_init(). The * input data must be permuted before with s->revtab table. No