#include <stdint.h>
Go to the source code of this file.
|
void | filter_fft (int dir, int m, float *real, float *imag) |
|
void | filter_dft (int dir, int len, float *real, float *imag) |
|
void | filter_fftshift (float *data, int len) |
|
void | filter_hamming (float *data, int len) |
|
void | filter_zeroPad (float *data, float *result, int dataLen, int resultLen) |
|
void | filter_create_fir_lowpass (float *filter_vector, float f_break, int bits, int use_hamming) |
|
float | filter_run_fir_iteration (float *vector, float *filter, int bits, uint32_t offset) |
|
void | filter_add_sample (float *buffer, float sample, int bits, uint32_t *offset) |
|
void filter_add_sample |
( |
float * |
buffer, |
|
|
float |
sample, |
|
|
int |
bits, |
|
|
uint32_t * |
offset |
|
) |
| |
Add sample to buffer
- Parameters
-
buffer | The buffer to add the sample to |
sample | The sample to add |
bits | The length of the buffer in bits |
offset | Pointer to the current offset in the buffer. Will be updated in this call and wrapped at the length of this buffer. |
void filter_create_fir_lowpass |
( |
float * |
filter_vector, |
|
|
float |
f_break, |
|
|
int |
bits, |
|
|
int |
use_hamming |
|
) |
| |
void filter_dft |
( |
int |
dir, |
|
|
int |
len, |
|
|
float * |
real, |
|
|
float * |
imag |
|
) |
| |
void filter_fft |
( |
int |
dir, |
|
|
int |
m, |
|
|
float * |
real, |
|
|
float * |
imag |
|
) |
| |
void filter_fftshift |
( |
float * |
data, |
|
|
int |
len |
|
) |
| |
void filter_hamming |
( |
float * |
data, |
|
|
int |
len |
|
) |
| |
float filter_run_fir_iteration |
( |
float * |
vector, |
|
|
float * |
filter, |
|
|
int |
bits, |
|
|
uint32_t |
offset |
|
) |
| |
void filter_zeroPad |
( |
float * |
data, |
|
|
float * |
result, |
|
|
int |
dataLen, |
|
|
int |
resultLen |
|
) |
| |