msresamp2_rrrf
Variants: msresamp2_cccf, msresamp2_crcf, msresamp2_rrrf
Multi-stage half-band resampler, implemented as cascaded dyadic (half-band) polyphase filter banks for interpolation and decimation.
Public Functions
msresamp2_rrrf | msresamp2_rrrf_create( |
msresamp2_rrrf | msresamp2_rrrf_copy( |
int | msresamp2_rrrf_destroy( |
int | msresamp2_rrrf_print( |
int | msresamp2_rrrf_reset( |
float | msresamp2_rrrf_get_rate( |
unsigned int | msresamp2_rrrf_get_num_stages( |
int | msresamp2_rrrf_get_type( |
float | msresamp2_rrrf_get_delay( |
int | msresamp2_rrrf_execute( |
Interfaces
msresamp2_rrrf msresamp2_rrrf_create(
Create multi-stage half-band resampler as either decimator or interpolator.
- _type : resampler type (e.g. LIQUID_RESAMP_DECIM)
- _num_stages : number of resampling stages, _num_stages <= 16
- _fc : filter cut-off frequency, 0 < _fc < 0.5
- _f0 : filter center frequency (set to zero)
- _as : stop-band attenuation [dB], 0 < _as
msresamp2_rrrf msresamp2_rrrf_copy(
Copy object including all internal objects and state
int msresamp2_rrrf_destroy(
Destroy multi-stage half-band resampler, freeing all internal memory
int msresamp2_rrrf_print(
Print msresamp object internals to stdout
int msresamp2_rrrf_reset(
Reset msresamp object internal state
float msresamp2_rrrf_get_rate(
Get multi-stage half-band resampling rate
unsigned int msresamp2_rrrf_get_num_stages(
Get number of half-band resampling stages in object
int msresamp2_rrrf_get_type(
Get resampling type (LIQUID_RESAMP_DECIM, LIQUID_RESAMP_INTERP)
float msresamp2_rrrf_get_delay(
Get group delay (number of output samples)
int msresamp2_rrrf_execute(
Execute multi-stage resampler, M = 2^num_stages LIQUID_RESAMP_INTERP: input: 1, output: M LIQUID_RESAMP_DECIM: input: M, output: 1
- _q : msresamp object
- _x : input sample array
- _y : output sample array