diff options
author | Johannes Schickel | 2014-06-02 01:00:15 +0200 |
---|---|---|
committer | Johannes Schickel | 2014-06-02 01:00:15 +0200 |
commit | bab02dd42b31995a7385610a91c85241547e2512 (patch) | |
tree | c5c388e5d1aaa13601c72d3236d9744b45813e0a /common/rdft.cpp | |
parent | 3c0c64f820fb0338e2c968bea6f200bfadad27b3 (diff) | |
download | scummvm-rg350-bab02dd42b31995a7385610a91c85241547e2512.tar.gz scummvm-rg350-bab02dd42b31995a7385610a91c85241547e2512.tar.bz2 scummvm-rg350-bab02dd42b31995a7385610a91c85241547e2512.zip |
COMMON: Some formatting fixes in RDFT code.
Diffstat (limited to 'common/rdft.cpp')
-rw-r--r-- | common/rdft.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/common/rdft.cpp b/common/rdft.cpp index 5a85406a64..89d39112e6 100644 --- a/common/rdft.cpp +++ b/common/rdft.cpp @@ -29,7 +29,7 @@ namespace Common { RDFT::RDFT(int bits, TransformType trans) : _bits(bits), _sin(bits), _cos(bits), _fft(0) { - assert ((_bits >= 4) && (_bits <= 16)); + assert((_bits >= 4) && (_bits <= 16)); _inverse = trans == IDFT_C2R || trans == DFT_C2R; _signConvention = trans == IDFT_R2C || trans == DFT_C2R ? 1 : -1; @@ -53,8 +53,8 @@ void RDFT::calc(float *data) { const float k2 = 0.5f - _inverse; if (!_inverse) { - _fft->permute((Complex *) data); - _fft->calc ((Complex *) data); + _fft->permute((Complex *)data); + _fft->calc ((Complex *)data); } Complex ev, od; @@ -91,8 +91,8 @@ void RDFT::calc(float *data) { data[0] *= k1; data[1] *= k1; - _fft->permute((Complex *) data); - _fft->calc ((Complex *) data); + _fft->permute((Complex *)data); + _fft->calc ((Complex *)data); } } |