FreeCalypso > hg > gsm-codec-lib
comparison libgsmefr/dec_12k2.c @ 94:d80e9f12a1d1
libgsmefr: decoder main function put together
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 26 Nov 2022 18:52:49 +0000 |
parents | cb080ec1817e |
children | 7dd6336e15b2 |
comparison
equal
deleted
inserted
replaced
93:b651adfce60d | 94:d80e9f12a1d1 |
---|---|
89 * | 89 * |
90 ***************************************************************************/ | 90 ***************************************************************************/ |
91 | 91 |
92 void Decoder_12k2 ( | 92 void Decoder_12k2 ( |
93 struct EFR_decoder_state *st, | 93 struct EFR_decoder_state *st, |
94 Word16 bfi, /* input : Bad Frame Indication */ | 94 Word16 bfi, /* input : Bad Frame Indication */ |
95 Word16 parm[], /* input : vector of synthesis parameters */ | 95 const Word16 parm[], /* input : vector of synthesis parameters */ |
96 Word16 synth[],/* output: synthesis speech */ | 96 Word16 synth[], /* output: synthesis speech */ |
97 Word16 A_t[], /* output: decoded LP filter in 4 subframes */ | 97 Word16 A_t[], /* output: decoded LP filter in 4 subframes */ |
98 Word16 TAF, | 98 Word16 TAF, |
99 Word16 SID_flag | 99 Word16 SID_flag |
100 ) | 100 ) |
101 { | 101 { |
102 Word16 *exc = st->old_exc + PIT_MAX + L_INTERPOL; | 102 Word16 *exc = st->old_exc + PIT_MAX + L_INTERPOL; |