diff options
Diffstat (limited to 'apps/codecs/libspeex')
-rw-r--r-- | apps/codecs/libspeex/nb_celp.h | 6 | ||||
-rw-r--r-- | apps/codecs/libspeex/sb_celp.h | 10 |
2 files changed, 8 insertions, 8 deletions
diff --git a/apps/codecs/libspeex/nb_celp.h b/apps/codecs/libspeex/nb_celp.h index 5442976cd2..805c43c950 100644 --- a/apps/codecs/libspeex/nb_celp.h +++ b/apps/codecs/libspeex/nb_celp.h | |||
@@ -142,14 +142,14 @@ typedef struct DecState { | |||
142 | 142 | ||
143 | char *stack; /**< Pseudo-stack allocation for temporary memory */ | 143 | char *stack; /**< Pseudo-stack allocation for temporary memory */ |
144 | /* Size calculated from maximum values of frameSize, max_pitch and | 144 | /* Size calculated from maximum values of frameSize, max_pitch and |
145 | * subframeSize, being respectively 320, 144 and 80 (for uwb) */ | 145 | * subframeSize, being respectively 160, 144 and 40 */ |
146 | spx_word16_t excBuf[556]; /**< Excitation buffer */ | 146 | spx_word16_t excBuf[500]; /**< Excitation buffer */ |
147 | spx_word16_t *exc; /**< Start of excitation frame */ | 147 | spx_word16_t *exc; /**< Start of excitation frame */ |
148 | spx_lsp_t old_qlsp[10]; /**< Quantized LSPs for previous frame */ | 148 | spx_lsp_t old_qlsp[10]; /**< Quantized LSPs for previous frame */ |
149 | spx_coef_t interp_qlpc[10]; /**< Interpolated quantized LPCs */ | 149 | spx_coef_t interp_qlpc[10]; /**< Interpolated quantized LPCs */ |
150 | spx_mem_t mem_sp[10]; /**< Filter memory for synthesis signal */ | 150 | spx_mem_t mem_sp[10]; /**< Filter memory for synthesis signal */ |
151 | spx_mem_t mem_hp[2]; /**< High-pass filter memory */ | 151 | spx_mem_t mem_hp[2]; /**< High-pass filter memory */ |
152 | spx_word32_t pi_gain[5]; /**< Gain of LPC filter at theta=pi (fe/2) */ | 152 | spx_word32_t pi_gain[4]; /**< Gain of LPC filter at theta=pi (fe/2) */ |
153 | spx_word16_t *innov_save; /** If non-NULL, innovation is copied here */ | 153 | spx_word16_t *innov_save; /** If non-NULL, innovation is copied here */ |
154 | 154 | ||
155 | spx_word16_t level; | 155 | spx_word16_t level; |
diff --git a/apps/codecs/libspeex/sb_celp.h b/apps/codecs/libspeex/sb_celp.h index da3545d943..1f9b4daae0 100644 --- a/apps/codecs/libspeex/sb_celp.h +++ b/apps/codecs/libspeex/sb_celp.h | |||
@@ -112,12 +112,12 @@ typedef struct SBDecState { | |||
112 | spx_word16_t g0_mem[64], g1_mem[64]; | 112 | spx_word16_t g0_mem[64], g1_mem[64]; |
113 | 113 | ||
114 | spx_word16_t excBuf[80]; | 114 | spx_word16_t excBuf[80]; |
115 | spx_lsp_t old_qlsp[10]; | 115 | spx_lsp_t old_qlsp[8]; |
116 | spx_coef_t interp_qlpc[10]; | 116 | spx_coef_t interp_qlpc[8]; |
117 | 117 | ||
118 | spx_mem_t mem_sp[20]; | 118 | spx_mem_t mem_sp[16]; |
119 | spx_word32_t pi_gain[5]; | 119 | spx_word32_t pi_gain[4]; |
120 | spx_word16_t exc_rms[5]; | 120 | spx_word16_t exc_rms[4]; |
121 | spx_word16_t *innov_save; /** If non-NULL, innovation is copied here */ | 121 | spx_word16_t *innov_save; /** If non-NULL, innovation is copied here */ |
122 | 122 | ||
123 | spx_word16_t last_ener; | 123 | spx_word16_t last_ener; |