40#ifndef __INCLUDE_FILTERS_FIR_FILTER_H
41#define __INCLUDE_FILTERS_FIR_FILTER_H
50#include <nuttx/config.h>
52#ifdef CONFIG_EXTERNALS_CMSIS_DSP
64typedef arm_fir_instance_f32 fir_instancef_t;
69#error "FIR filter needs CMSIS DSP library"
73# define EXTERN extern "C"
113 int tr_width,
int blocksz);
129 int taps,
int blocksz);
145 int tr_width,
int blocksz);
161 int taps,
int blocksz);
177 int tr_width,
int blocksz);
193 int taps,
int blocksz);
209 int tr_width,
int blocksz);
225 int taps,
int blocksz);
245void fir_executef(fir_instancef_t *fir,
float *input,
float *output,
int len);
void fir_executef(fir_instancef_t *fir, float *input, float *output, int len)
fir_instancef_t * fir_create_hpff_tap(int fs, int cutoff_freq, int taps, int blocksz)
void firabs_executef(fir_instancef_t *fir, float *input, float *output, int len)
fir_instancef_t * fir_create_lpff_tap(int fs, int cutoff_freq, int taps, int blocksz)
fir_instancef_t * fir_create_hpff(int fs, int cutoff_freq, int tr_width, int blocksz)
fir_instancef_t * fir_create_bpff_tap(int fs, int lower_cutfreq, int higher_cutfreq, int taps, int blocksz)
fir_instancef_t * fir_create_bpff(int fs, int lower_cutfreq, int higher_cutfreq, int tr_width, int blocksz)
void fir_deletef(fir_instancef_t *fir)
fir_instancef_t * fir_create_lpff(int fs, int cutoff_freq, int tr_width, int blocksz)
fir_instancef_t * fir_create_beff(int fs, int lower_cutfreq, int higher_cutfreq, int tr_width, int blocksz)
int fir_get_tapnumf(fir_instancef_t *fir)
int fir_calc_tapnumber(int fs, int tr_width)
fir_instancef_t * fir_create_beff_tap(int fs, int lower_cutfreq, int higher_cutfreq, int taps, int blocksz)