diff options
| author | Dirk Engling <erdgeist@bauklotz.fritz.box> | 2020-10-15 16:27:49 +0200 |
|---|---|---|
| committer | Dirk Engling <erdgeist@bauklotz.fritz.box> | 2020-10-15 16:27:49 +0200 |
| commit | 9022d768021bbe15c7815cc6f8b64218b46f0e10 (patch) | |
| tree | e60ed1ea72a21b3873684a5afae67b26a798f927 /codec2_internal.h | |
| parent | f02dfce6e6c34b3d8a7b8a0e784b506178e331fa (diff) | |
Diffstat (limited to 'codec2_internal.h')
| -rw-r--r-- | codec2_internal.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/codec2_internal.h b/codec2_internal.h index 498a6c4..b46e358 100644 --- a/codec2_internal.h +++ b/codec2_internal.h | |||
| @@ -42,7 +42,7 @@ struct CODEC2 { | |||
| 42 | codec2_fft_cfg fft_fwd_cfg; /* forward FFT config */ | 42 | codec2_fft_cfg fft_fwd_cfg; /* forward FFT config */ |
| 43 | codec2_fftr_cfg fftr_fwd_cfg; /* forward real FFT config */ | 43 | codec2_fftr_cfg fftr_fwd_cfg; /* forward real FFT config */ |
| 44 | float *w; /* [m_pitch] time domain hamming window */ | 44 | float *w; /* [m_pitch] time domain hamming window */ |
| 45 | COMP W[FFT_ENC]; /* DFT of w[] */ | 45 | float W[FFT_ENC]; /* DFT of w[] */ |
| 46 | float *Pn; /* [2*n_samp] trapezoidal synthesis window */ | 46 | float *Pn; /* [2*n_samp] trapezoidal synthesis window */ |
| 47 | float *bpf_buf; /* buffer for band pass filter */ | 47 | float *bpf_buf; /* buffer for band pass filter */ |
| 48 | float *Sn; /* [m_pitch] input speech */ | 48 | float *Sn; /* [m_pitch] input speech */ |
| @@ -82,6 +82,8 @@ struct CODEC2 { | |||
| 82 | unsigned int nse; /* number of terms in sum */ | 82 | unsigned int nse; /* number of terms in sum */ |
| 83 | float *user_rate_K_vec_no_mean_; /* optional, user supplied vector for quantisation experiments */ | 83 | float *user_rate_K_vec_no_mean_; /* optional, user supplied vector for quantisation experiments */ |
| 84 | int post_filter_en; | 84 | int post_filter_en; |
| 85 | float eq[NEWAMP1_K]; /* optional equaliser */ | ||
| 86 | int eq_en; | ||
| 85 | 87 | ||
| 86 | /*newamp2 states (also uses newamp1 states )*/ | 88 | /*newamp2 states (also uses newamp1 states )*/ |
| 87 | float energy_prev; | 89 | float energy_prev; |
