fdelay_rrrf
Variants: fdelay_crcf, fdelay_rrrf
Finite impulse response (FIR) filter
Public Functions
fdelay_rrrf | fdelay_rrrf_create( |
fdelay_rrrf | fdelay_rrrf_create_default( |
int | fdelay_rrrf_destroy( |
int | fdelay_rrrf_reset( |
int | fdelay_rrrf_print( |
float | fdelay_rrrf_get_delay( |
int | fdelay_rrrf_set_delay( |
int | fdelay_rrrf_adjust_delay( |
unsigned int | fdelay_rrrf_get_nmax( |
unsigned int | fdelay_rrrf_get_m( |
unsigned int | fdelay_rrrf_get_npfb( |
int | fdelay_rrrf_push( |
int | fdelay_rrrf_write( |
int | fdelay_rrrf_execute( |
int | fdelay_rrrf_execute_block( |
Interfaces
fdelay_rrrf fdelay_rrrf_create(
Create a delay object with a maximum offset and filter specification
- _nmax : maximum integer sample offset
- _m : polyphase filter-bank semi-length, 0 < _m
- _npfb : number of filters in polyphase filter-bank, 0 < _npfb
fdelay_rrrf fdelay_rrrf_create_default(
Create a delay object with a maximum offset and default filter parameters (_m = 8, _npfb = 64)
- _nmax : maximum integer sample offset
int fdelay_rrrf_destroy(
Destroy delay object and free all internal memory
int fdelay_rrrf_reset(
Reset delay object internals
int fdelay_rrrf_print(
Print delay object internals
float fdelay_rrrf_get_delay(
Get current delay (accounting for _m?)
int fdelay_rrrf_set_delay(
- _q :
- _delay :
int fdelay_rrrf_adjust_delay(
- _q :
- _delta :
unsigned int fdelay_rrrf_get_nmax(
unsigned int fdelay_rrrf_get_m(
unsigned int fdelay_rrrf_get_npfb(
int fdelay_rrrf_push(
Push sample into filter object's internal buffer
- _q : filter object
- _x : single input sample
int fdelay_rrrf_write(
Write a block of samplex into filter object's internal buffer
- _q : filter object
- _x : buffer of input samples, shape: (_n, 1)
- _n : number of input samples
int fdelay_rrrf_execute(
Execute vector dot product on the filter's internal buffer and coefficients
- _q : filter object
- _y : pointer to single output sample
int fdelay_rrrf_execute_block(
Execute the filter on a block of input samples; in-place operation is permitted (_x and _y may point to the same place in memory)
- _q : filter object
- _x : pointer to input array, shape: (_n, 1)
- _n : number of input, output samples
- _y : pointer to output array, shape: (_n, 1)