DSPark 1.9.0
Header-only C++20 DSP for real-time and offline audio
Loading...
Searching...
No Matches
dspark::detail::fft::RealLaneTables< T > Class Template Reference

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).
 

Detailed Description

template<typename T>
class dspark::detail::fft::RealLaneTables< T >

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.

Definition at line 941 of file FFT.h.

Constructor & Destructor Documentation

◆ RealLaneTables() [1/2]

template<typename T >
dspark::detail::fft::RealLaneTables< T >::RealLaneTables ( )
default

◆ RealLaneTables() [2/2]

template<typename T >
dspark::detail::fft::RealLaneTables< T >::RealLaneTables ( size_t  size,
size_t  lanes,
size_t  wholeReach,
size_t  halvesReach 
)
inline

Builds the tables of a transform of size real samples.

Parameters
sizeSamples: a power of two, at least 4 * lanes and 2 * lanes^2.
lanesLanes of the kernels that will run it (2, 4 or 8).
wholeReachPasses 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.
halvesReachTransforms 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().

Definition at line 958 of file FFT.h.

Member Function Documentation

◆ empty()

template<typename T >
bool dspark::detail::fft::RealLaneTables< T >::empty ( ) const
inlinenoexcept

Definition at line 1014 of file FFT.h.

◆ passes()

template<typename T >
size_t dspark::detail::fft::RealLaneTables< T >::passes ( ) const
inlinenoexcept

Passes of each lane's transform (0 when empty).

Definition at line 1017 of file FFT.h.

◆ plan()

template<typename T >
RealPlan< T > dspark::detail::fft::RealLaneTables< T >::plan ( ) const
inlinenoexcept

Definition at line 1019 of file FFT.h.

◆ valueCount()

template<typename T >
static constexpr size_t dspark::detail::fft::RealLaneTables< T >::valueCount ( size_t  size,
size_t  lanes,
size_t  wholeReach 
)
inlinestaticconstexprnoexcept

Values the constructor requests (one allocation).

Definition at line 1005 of file FFT.h.


The documentation for this class was generated from the following file: