summaryrefslogtreecommitdiff
path: root/interp.h
diff options
context:
space:
mode:
Diffstat (limited to 'interp.h')
-rw-r--r--interp.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/interp.h b/interp.h
index 1247b7e..276edd9 100644
--- a/interp.h
+++ b/interp.h
@@ -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
33void interpolate(MODEL *interp, MODEL *prev, MODEL *next); 34void interpolate(MODEL *interp, MODEL *prev, MODEL *next);
34void interpolate_lsp(kiss_fft_cfg fft_dec_cfg, 35void 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);
39void interp_Wo(MODEL *interp, MODEL *prev, MODEL *next, float Wo_min); 39void interp_Wo(MODEL *interp, MODEL *prev, MODEL *next, float Wo_min);
40void interp_Wo2(MODEL *interp, MODEL *prev, MODEL *next, float weight, float Wo_min); 40void interp_Wo2(MODEL *interp, MODEL *prev, MODEL *next, float weight,
41 float Wo_min);
41float interp_energy(float prev, float next); 42float interp_energy(float prev, float next);
42float interp_energy2(float prev, float next, float weight); 43float interp_energy2(float prev, float next, float weight);
43void interpolate_lsp_ver2(float interp[], float prev[], float next[], float weight, int order); 44void interpolate_lsp_ver2(float interp[], float prev[], float next[],
45 float weight, int order);
44 46
45#endif 47#endif