Definition in file dsp16_filt_interpolation_coefsort.c.
#include "dsp.h"
Go to the source code of this file.
Functions | |
void | dsp16_filt_interpolation_coefsort (dsp16_t *fir_coefs, int n_tap, int interpolation_ratio) |
This function resort the coefficients of a FIR filter to be used with the function dsp16_filt_interpolation. | |
static int | get_new_index (int cur_index, int n_tap, int interpolation_ratio) |
static int get_new_index | ( | int | cur_index, | |
int | n_tap, | |||
int | interpolation_ratio | |||
) | [inline, static] |
Definition at line 53 of file dsp16_filt_interpolation_coefsort.c.
Referenced by dsp16_filt_interpolation_coefsort().
00054 { 00055 return n_tap * cur_index + (1 - n_tap * interpolation_ratio) * (cur_index / interpolation_ratio); 00056 }