diff options
author | kleines Filmröllchen <filmroellchen@serenityos.org> | 2022-03-03 21:16:30 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-14 22:45:05 +0100 |
commit | 00dd8f8fbef2952aa4db166b8a2ebf965f094775 (patch) | |
tree | cc90e54192d751acb24a2b43ac29ff3dc39530ca /Userland/Libraries/LibSoftGPU/Device.cpp | |
parent | 428d4ae337fa1fa78a0cba80debe8ab1cae34761 (diff) | |
download | serenity-00dd8f8fbef2952aa4db166b8a2ebf965f094775.zip |
LibDSP: Generalize & improve FFT
Several related improvements to our Fast Fourier Transform
implementation:
- FFT now operates on spans, allowing it to use many more container
types other than Vector. It's intended anyways that FFT transmutes the
input data.
- FFT is now constexpr, moving the implementation to the header and
removing the cpp file. This means that if we have static collections
of samples, we can transform them at compile time.
- sample_data.data() weirdness is now gone.
Diffstat (limited to 'Userland/Libraries/LibSoftGPU/Device.cpp')
0 files changed, 0 insertions, 0 deletions