GNU Radio 3.5.3.2 C++ API
|
FFT: complex in, complex out. More...
#include <gri_fft.h>
Public Member Functions | |
gri_fft_complex (int fft_size, bool forward=true, int nthreads=1) | |
virtual | ~gri_fft_complex () |
gr_complex * | get_inbuf () const |
gr_complex * | get_outbuf () const |
int | inbuf_length () const |
int | outbuf_length () const |
void | set_nthreads (int n) |
int | nthreads () const |
void | execute () |
FFT: complex in, complex out.
gri_fft_complex::gri_fft_complex | ( | int | fft_size, |
bool | forward = true , |
||
int | nthreads = 1 |
||
) |
virtual gri_fft_complex::~gri_fft_complex | ( | ) | [virtual] |
void gri_fft_complex::execute | ( | ) |
compute FFT. The input comes from inbuf, the output is placed in outbuf.
gr_complex* gri_fft_complex::get_inbuf | ( | ) | const [inline] |
gr_complex* gri_fft_complex::get_outbuf | ( | ) | const [inline] |
int gri_fft_complex::inbuf_length | ( | ) | const [inline] |
int gri_fft_complex::nthreads | ( | ) | const [inline] |
Get the number of threads being used by FFTW
int gri_fft_complex::outbuf_length | ( | ) | const [inline] |
void gri_fft_complex::set_nthreads | ( | int | n | ) |
Set the number of threads to use for caclulation.