summaryrefslogtreecommitdiff
path: root/codec2.h
diff options
context:
space:
mode:
Diffstat (limited to 'codec2.h')
-rw-r--r--codec2.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/codec2.h b/codec2.h
index 60532ca..709b462 100644
--- a/codec2.h
+++ b/codec2.h
@@ -111,13 +111,16 @@ int codec2_rebuild_spare_bit(struct CODEC2 *codec2_state, int unpacked_bits[]);
111void codec2_set_natural_or_gray(struct CODEC2 *codec2_state, int gray); 111void codec2_set_natural_or_gray(struct CODEC2 *codec2_state, int gray);
112void codec2_set_softdec(struct CODEC2 *c2, float *softdec); 112void codec2_set_softdec(struct CODEC2 *c2, float *softdec);
113float codec2_get_energy(struct CODEC2 *codec2_state, const unsigned char *bits); 113float codec2_get_energy(struct CODEC2 *codec2_state, const unsigned char *bits);
114 114
115// support for ML and VQ experiments 115// support for ML and VQ experiments
116void codec2_open_mlfeat(struct CODEC2 *codec2_state, char *filename); 116void codec2_open_mlfeat(struct CODEC2 *codec2_state, char *filename);
117void codec2_load_codebook(struct CODEC2 *codec2_state, int num, char *filename); 117void codec2_load_codebook(struct CODEC2 *codec2_state, int num, char *filename);
118float codec2_get_var(struct CODEC2 *codec2_state); 118float codec2_get_var(struct CODEC2 *codec2_state);
119float *codec2_enable_user_ratek(struct CODEC2 *codec2_state, int *K); 119float *codec2_enable_user_ratek(struct CODEC2 *codec2_state, int *K);
120
121// 700C post filter and equaliser
120void codec2_700c_post_filter(struct CODEC2 *codec2_state, int en); 122void codec2_700c_post_filter(struct CODEC2 *codec2_state, int en);
123void codec2_700c_eq(struct CODEC2 *codec2_state, int en);
121 124
122#endif 125#endif
123 126