FreeCalypso > hg > gsm-codec-lib
comparison libgsmhr1/err_conc.h @ 600:5a7d04bf26f5
libgsmhr1: integrate signal-level err_conc code
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Thu, 04 Dec 2025 10:24:06 +0000 |
| parents | 762cf36e2487 |
| children |
comparison
equal
deleted
inserted
replaced
| 599:762cf36e2487 | 600:5a7d04bf26f5 |
|---|---|
| 1 #ifndef __ERR_CONC | 1 #ifndef __ERR_CONC |
| 2 #define __ERR_CONC | 2 #define __ERR_CONC |
| 3 | 3 |
| 4 #include "typedefs.h" | 4 #include "typedefs.h" |
| 5 #include "tw_gsmhr.h" | |
| 5 | 6 |
| 6 /*_________________________________________________________________________ | 7 /*_________________________________________________________________________ |
| 7 | | | 8 | | |
| 8 | Function Prototypes | | 9 | Function Prototypes | |
| 9 |_________________________________________________________________________| | 10 |_________________________________________________________________________| |
| 10 */ | 11 */ |
| 11 | 12 |
| 12 void para_conceal_speech_decoder(Shortword pswErrorFlag[], | |
| 13 Shortword pswSpeechPara[], Shortword *pswMutePermit); | |
| 14 | |
| 15 Shortword level_calc(Shortword swInd, Longword *pl_en); | 13 Shortword level_calc(Shortword swInd, Longword *pl_en); |
| 16 | 14 |
| 17 void level_estimator(Shortword update, Shortword *pswLevelMean, | 15 void level_estimator_det(struct gsmhr_decoder_state *st, |
| 18 Shortword *pswLevelMax, | 16 Shortword *pswLevelMean, |
| 17 Shortword *pswLevelMax); | |
| 18 | |
| 19 void level_estimator_upd(struct gsmhr_decoder_state *st, | |
| 19 Shortword pswDecodedSpeechFrame[]); | 20 Shortword pswDecodedSpeechFrame[]); |
| 20 | 21 |
| 21 void signal_conceal_sub(Shortword pswPPFExcit[], | 22 void signal_conceal_sub(Shortword pswPPFExcit[], |
| 22 Shortword ppswSynthAs[], Shortword pswSynthFiltState[], | 23 Shortword ppswSynthAs[], Shortword pswSynthFiltState[], |
| 23 Shortword pswLtpStateOut[], Shortword pswPPreState[], | 24 Shortword pswLtpStateOut[], Shortword pswPPreState[], |
