diff options
Diffstat (limited to 'interp.h')
-rw-r--r-- | interp.h | 16 |
1 files changed, 9 insertions, 7 deletions
@@ -28,18 +28,20 @@ | |||
28 | #ifndef __INTERP__ | 28 | #ifndef __INTERP__ |
29 | #define __INTERP__ | 29 | #define __INTERP__ |
30 | 30 | ||
31 | #include "defines.h" | ||
31 | #include "kiss_fft.h" | 32 | #include "kiss_fft.h" |
32 | 33 | ||
33 | void interpolate(MODEL *interp, MODEL *prev, MODEL *next); | 34 | void interpolate(MODEL *interp, MODEL *prev, MODEL *next); |
34 | void interpolate_lsp(kiss_fft_cfg fft_dec_cfg, | 35 | void interpolate_lsp(kiss_fft_cfg fft_dec_cfg, MODEL *interp, MODEL *prev, |
35 | MODEL *interp, MODEL *prev, MODEL *next, | 36 | MODEL *next, float *prev_lsps, float prev_e, |
36 | float *prev_lsps, float prev_e, | 37 | float *next_lsps, float next_e, float *ak_interp, |
37 | float *next_lsps, float next_e, | 38 | float *lsps_interp, float Wo_min); |
38 | float *ak_interp, float *lsps_interp, float Wo_min); | ||
39 | void interp_Wo(MODEL *interp, MODEL *prev, MODEL *next, float Wo_min); | 39 | void interp_Wo(MODEL *interp, MODEL *prev, MODEL *next, float Wo_min); |
40 | void interp_Wo2(MODEL *interp, MODEL *prev, MODEL *next, float weight, float Wo_min); | 40 | void interp_Wo2(MODEL *interp, MODEL *prev, MODEL *next, float weight, |
41 | float Wo_min); | ||
41 | float interp_energy(float prev, float next); | 42 | float interp_energy(float prev, float next); |
42 | float interp_energy2(float prev, float next, float weight); | 43 | float interp_energy2(float prev, float next, float weight); |
43 | void interpolate_lsp_ver2(float interp[], float prev[], float next[], float weight, int order); | 44 | void interpolate_lsp_ver2(float interp[], float prev[], float next[], |
45 | float weight, int order); | ||
44 | 46 | ||
45 | #endif | 47 | #endif |