#include <gri_fft_filter_fff_generic.h>
List of all members.
Constructor & Destructor Documentation
gri_fft_filter_fff_generic::gri_fft_filter_fff_generic |
( |
int |
decimation, |
|
|
const std::vector< float > & |
taps, |
|
|
int |
nthreads = 1 |
|
) |
| |
Construct a FFT filter for float vectors with the given taps and decimation rate.
This is the basic implementation for performing FFT filter for fast convolution in other blocks for floating point vectors (such as gr_fft_filter_fff).
- Parameters:
-
decimation | The decimation rate of the filter (int) |
taps | The filter taps (float) |
nthreads | The number of threads for the FFT to use (int) |
gri_fft_filter_fff_generic::~gri_fft_filter_fff_generic |
( |
| ) |
|
Member Function Documentation
int gri_fft_filter_fff_generic::filter |
( |
int |
nitems, |
|
|
const float * |
input, |
|
|
float * |
output |
|
) |
| |
Perform the filter operation.
- Parameters:
-
nitems | The number of items to produce |
input | The input vector to be filtered |
output | The result of the filter operation |
int gri_fft_filter_fff_generic::nthreads |
( |
| ) |
const |
Get number of threads being used.
void gri_fft_filter_fff_generic::set_nthreads |
( |
int |
n | ) |
|
Set number of threads to use.
int gri_fft_filter_fff_generic::set_taps |
( |
const std::vector< float > & |
taps | ) |
|
Set new taps for the filter.
Sets new taps and resets the class properties to handle different sizes
- Parameters:
-
taps | The filter taps (float) |
The documentation for this class was generated from the following file: