FNFT
Loading...
Searching...
No Matches
Functions

Wraps underlying FFT library. More...

#include "fnft__fft_wrapper_plan_t.h"
#include "fnft__errwarn.h"
#include <limits.h>
Include dependency graph for fnft__fft_wrapper.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

static FNFT_UINT fnft__fft_wrapper_next_fft_length (FNFT_UINT desired_length)
 Next valid number of samples for the FFT routines.
 
static fnft__fft_wrapper_plan_t fnft__fft_wrapper_safe_plan_init ()
 Value to initialize plan variables.
 
static FNFT_INT fnft__fft_wrapper_create_plan (fnft__fft_wrapper_plan_t *plan_ptr, FNFT_UINT fft_length, FNFT_COMPLEX *in, FNFT_COMPLEX *out, FNFT_INT is_inverse)
 Prepares a new (inverse) fast Fourier transform (FFT).
 
static FNFT_INT fnft__fft_wrapper_execute_plan (fnft__fft_wrapper_plan_t plan, FNFT_COMPLEX *in, FNFT_COMPLEX *out)
 Computes a fast Fourier transform (FFT).
 
static FNFT_INT fnft__fft_wrapper_destroy_plan (fnft__fft_wrapper_plan_t *plan_ptr)
 Destroys a FFT plan when it is no longer needed.
 
static void * fnft__fft_wrapper_malloc (FNFT_UINT size)
 Memory allocation for the FFT wrapper.
 
static void fnft__fft_wrapper_free (void *ptr)
 Memory deallocation for the FFT wrapper.
 

Detailed Description

Wraps underlying FFT library.

Wraps a FFT library (currently either KISS FFT or, if HAVE_FFTW3 is set by cmake, FFTW3). The function bodies are all declared as static inline and directly included in the header file for speed.