aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-07-01 23:21:46 +0000
committerMåns Rullgård <mans@mansr.com>2010-07-01 23:21:46 +0000
commitfe20bdf9db94061791bccaf19f3538343da6e103 (patch)
tree8799c3ef09bb0bc7199a48e5eb05a0b29cb0123c
parent588d28ac0866c8e9acb436c1c752de4c6de0d21e (diff)
downloadffmpeg-fe20bdf9db94061791bccaf19f3538343da6e103.tar.gz
Indent
Originally committed as revision 23958 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/fft.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/fft.c b/libavcodec/fft.c
index 821665b08d..81765510e3 100644
--- a/libavcodec/fft.c
+++ b/libavcodec/fft.c
@@ -107,11 +107,11 @@ av_cold int ff_fft_init(FFTContext *s, int nbits, int inverse)
if (HAVE_ALTIVEC) ff_fft_init_altivec(s);
if (HAVE_MMX) ff_fft_init_mmx(s);
- for(j=4; j<=nbits; j++) {
- ff_init_ff_cos_tabs(j);
- }
- for(i=0; i<n; i++)
- s->revtab[-split_radix_permutation(i, n, s->inverse) & (n-1)] = i;
+ for(j=4; j<=nbits; j++) {
+ ff_init_ff_cos_tabs(j);
+ }
+ for(i=0; i<n; i++)
+ s->revtab[-split_radix_permutation(i, n, s->inverse) & (n-1)] = i;
return 0;
fail:
@@ -125,9 +125,9 @@ void ff_fft_permute_c(FFTContext *s, FFTComplex *z)
int j, np;
const uint16_t *revtab = s->revtab;
np = 1 << s->nbits;
- /* TODO: handle split-radix permute in a more optimal way, probably in-place */
- for(j=0;j<np;j++) s->tmp_buf[revtab[j]] = z[j];
- memcpy(z, s->tmp_buf, np * sizeof(FFTComplex));
+ /* TODO: handle split-radix permute in a more optimal way, probably in-place */
+ for(j=0;j<np;j++) s->tmp_buf[revtab[j]] = z[j];
+ memcpy(z, s->tmp_buf, np * sizeof(FFTComplex));
}
av_cold void ff_fft_end(FFTContext *s)