diff options
author | erdgeist <erdgeist@erdgeist.org> | 2025-08-15 12:42:40 +0200 |
---|---|---|
committer | erdgeist <erdgeist@erdgeist.org> | 2025-08-15 12:42:40 +0200 |
commit | 30325d24d107dbf133da39f7c96d1510fd1c9449 (patch) | |
tree | 932baa5b2a4475821f16dccf9e3e05011daa6d92 /interp.h | |
parent | 9022d768021bbe15c7815cc6f8b64218b46f0e10 (diff) |
Bump to codec2 version 1.2.0erdgeist-bump-to-1.2.0
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 |