Mercurial > libavcodec.hg
changeset 12048:a2e5b142776b libavcodec
Indent
author | mru |
---|---|
date | Thu, 01 Jul 2010 23:21:46 +0000 |
parents | c80c7a717156 |
children | e6305257ceb6 |
files | fft.c |
diffstat | 1 files changed, 8 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/fft.c Thu Jul 01 23:21:42 2010 +0000 +++ b/fft.c Thu Jul 01 23:21:46 2010 +0000 @@ -107,11 +107,11 @@ 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 @@ 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)