diff options
author | Chris Robinson <[email protected]> | 2020-09-13 00:58:05 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-09-13 03:33:52 -0700 |
commit | 9a883f50462f22474601204b0052ca9ef4fce676 (patch) | |
tree | 574dde5838dc595f4a8629f36fece640b45f7aa1 /alc/effects/fshifter.cpp | |
parent | 1d4b355622cf6ad97e242e422dc6244edbaf2b55 (diff) |
Partly simplify FFT bit-reversal
This can almost certainly be improved further, as less than half of the indices
really need their reversed bit-pattern calculated and elements swapped (any
symetrical bit pattern would just swap with itself, and indices whose reversed
bit-pattern has already been traversed is already swapped).
It may also prove beneficial to provide the base-2 log of the fft buffer size
(number of bits to represent the indices), as that could help make the reversal
more efficient with a known bit/loop count.
Diffstat (limited to 'alc/effects/fshifter.cpp')
0 files changed, 0 insertions, 0 deletions