diff libgsmhr1/dtx_rxfe.h @ 577:d68b2c92464a

libgsmhr1: bring in parts of dtx.[ch] needed for RxFE
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 13 Feb 2025 03:06:11 +0000
parents
children 7756b23b78cd
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/libgsmhr1/dtx_rxfe.h	Thu Feb 13 03:06:11 2025 +0000
@@ -0,0 +1,18 @@
+/*
+ * This header file provides declarations for functions and data objects
+ * in dtx_rxfe.c: subset of DTX functions used by the Rx front end that
+ * operates on codec parameters only.
+ */
+
+#ifndef dtx_rxfe_h
+#define dtx_rxfe_h
+
+#include "typedefs.h"
+
+extern const LongwordRom ppLr_gsTable[4][32];
+
+void avgGsHistQntz(Longword pL_GsHistory[], Longword *pL_GsAvgd);
+Shortword gsQuant(Longword L_GsIn, Shortword swVoicingMode);
+Shortword getPnBits(int iBits, Longword *L_PnSeed);
+
+#endif	/* include guard */