diff options
Diffstat (limited to 'codec2.h')
-rw-r--r-- | codec2.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -111,13 +111,16 @@ int codec2_rebuild_spare_bit(struct CODEC2 *codec2_state, int unpacked_bits[]); | |||
111 | void codec2_set_natural_or_gray(struct CODEC2 *codec2_state, int gray); | 111 | void codec2_set_natural_or_gray(struct CODEC2 *codec2_state, int gray); |
112 | void codec2_set_softdec(struct CODEC2 *c2, float *softdec); | 112 | void codec2_set_softdec(struct CODEC2 *c2, float *softdec); |
113 | float codec2_get_energy(struct CODEC2 *codec2_state, const unsigned char *bits); | 113 | float 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 |
116 | void codec2_open_mlfeat(struct CODEC2 *codec2_state, char *filename); | 116 | void codec2_open_mlfeat(struct CODEC2 *codec2_state, char *filename); |
117 | void codec2_load_codebook(struct CODEC2 *codec2_state, int num, char *filename); | 117 | void codec2_load_codebook(struct CODEC2 *codec2_state, int num, char *filename); |
118 | float codec2_get_var(struct CODEC2 *codec2_state); | 118 | float codec2_get_var(struct CODEC2 *codec2_state); |
119 | float *codec2_enable_user_ratek(struct CODEC2 *codec2_state, int *K); | 119 | float *codec2_enable_user_ratek(struct CODEC2 *codec2_state, int *K); |
120 | |||
121 | // 700C post filter and equaliser | ||
120 | void codec2_700c_post_filter(struct CODEC2 *codec2_state, int en); | 122 | void codec2_700c_post_filter(struct CODEC2 *codec2_state, int en); |
123 | void codec2_700c_eq(struct CODEC2 *codec2_state, int en); | ||
121 | 124 | ||
122 | #endif | 125 | #endif |
123 | 126 | ||