Mercurial > libavcodec.hg
comparison ppc/fft_altivec.c @ 2979:bfabfdf9ce55 libavcodec
COSMETICS: tabs --> spaces, some prettyprinting
author | diego |
---|---|
date | Thu, 22 Dec 2005 01:10:11 +0000 |
parents | ef2149182f1c |
children | 0b546eab515d |
comparison
equal
deleted
inserted
replaced
2978:403183bbb505 | 2979:bfabfdf9ce55 |
---|---|
63 void ff_fft_calc_altivec(FFTContext *s, FFTComplex *z) | 63 void ff_fft_calc_altivec(FFTContext *s, FFTComplex *z) |
64 { | 64 { |
65 POWERPC_PERF_DECLARE(altivec_fft_num, s->nbits >= 6); | 65 POWERPC_PERF_DECLARE(altivec_fft_num, s->nbits >= 6); |
66 #ifdef ALTIVEC_USE_REFERENCE_C_CODE | 66 #ifdef ALTIVEC_USE_REFERENCE_C_CODE |
67 int ln = s->nbits; | 67 int ln = s->nbits; |
68 int j, np, np2; | 68 int j, np, np2; |
69 int nblocks, nloops; | 69 int nblocks, nloops; |
70 register FFTComplex *p, *q; | 70 register FFTComplex *p, *q; |
71 FFTComplex *exptab = s->exptab; | 71 FFTComplex *exptab = s->exptab; |
72 int l; | 72 int l; |
73 FFTSample tmp_re, tmp_im; | 73 FFTSample tmp_re, tmp_im; |
74 | 74 |
145 #else | 145 #else |
146 register const vector float vczero = (const vector float){0.,0.,0.,0.}; | 146 register const vector float vczero = (const vector float){0.,0.,0.,0.}; |
147 #endif | 147 #endif |
148 | 148 |
149 int ln = s->nbits; | 149 int ln = s->nbits; |
150 int j, np, np2; | 150 int j, np, np2; |
151 int nblocks, nloops; | 151 int nblocks, nloops; |
152 register FFTComplex *p, *q; | 152 register FFTComplex *p, *q; |
153 FFTComplex *cptr, *cptr1; | 153 FFTComplex *cptr, *cptr1; |
154 int k; | 154 int k; |
155 | 155 |
156 POWERPC_PERF_START_COUNT(altivec_fft_num, s->nbits >= 6); | 156 POWERPC_PERF_START_COUNT(altivec_fft_num, s->nbits >= 6); |