diff err_conc.h @ 0:9008dbc8ca74

import original C code from GSM 06.06
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 14 Jun 2024 23:27:16 +0000
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/err_conc.h	Fri Jun 14 23:27:16 2024 +0000
@@ -0,0 +1,28 @@
+#ifndef __ERR_CONC
+#define __ERR_CONC
+
+#include "typedefs.h"
+
+/*_________________________________________________________________________
+ |                                                                         |
+ |                            Function Prototypes                          |
+ |_________________________________________________________________________|
+*/
+
+void   para_conceal_speech_decoder(Shortword pswErrorFlag[],
+                       Shortword pswSpeechPara[], Shortword *pswMutePermit);
+
+  Shortword level_calc(Shortword swInd, Longword *pl_en);
+
+  void   level_estimator(Shortword update, Shortword *pswLevelMean,
+                                Shortword *pswLevelMax,
+                                Shortword pswDecodedSpeechFrame[]);
+
+  void   signal_conceal_sub(Shortword pswPPFExcit[],
+                     Shortword ppswSynthAs[], Shortword pswSynthFiltState[],
+                       Shortword pswLtpStateOut[], Shortword pswPPreState[],
+                                Shortword swLevelMean, Shortword swLevelMax,
+                            Shortword swErrorFlag1, Shortword swMuteFlagOld,
+                            Shortword *pswMuteFlag, Shortword swMutePermit);
+
+#endif