|
DSPark 1.9.0
Header-only C++20 DSP for real-time and offline audio
|
The tables of a real transform by lanes (detail/FftKernels.inl) for one lane count, in one allocation: the twiddles of its passes, the factors of the step that joins the lanes and those of the lanes' middle bin. More...
#include <FFT.h>
Public Member Functions | |
| RealLaneTables ()=default | |
| RealLaneTables (size_t size, size_t lanes, size_t wholeReach, size_t halvesReach) | |
Builds the tables of a transform of size real samples. | |
| bool | empty () const noexcept |
| size_t | passes () const noexcept |
| Passes of each lane's transform (0 when empty). | |
| RealPlan< T > | plan () const noexcept |
Static Public Member Functions | |
| static constexpr size_t | valueCount (size_t size, size_t lanes, size_t wholeReach) noexcept |
| Values the constructor requests (one allocation). | |
The tables of a real transform by lanes (detail/FftKernels.inl) for one lane count, in one allocation: the twiddles of its passes, the factors of the step that joins the lanes and those of the lanes' middle bin.
|
default |
|
inline |
Builds the tables of a transform of size real samples.
| size | Samples: a power of two, at least 4 * lanes and 2 * lanes^2. |
| lanes | Lanes of the kernels that will run it (2, 4 or 8). |
| wholeReach | Passes that join spectra of up to this many points keep each twiddle lanes times, for kernels that load it as a whole vector; the others keep it once. |
| halvesReach | Transforms of up to this many samples, at vectors of 32 bytes, join their lanes by halves (RealPlan::halves): the joining step's factors then follow RealPlan::laneBin(). |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinestaticconstexprnoexcept |