view libgsmhr1/dtx_rxfe.h @ 602:72cdae602d6e

libgsmhr1/dec_func.c: rm unused static functions In the original code, sp_dec.c held two kinds of functions: those needed only as part of the decoder, and those used by both decoder and encoder engines. In this library, we have moved the latter class of functions to dec_func.c module. Almost all static functions from the original sp_dec.c, with the exception of aToRc(), are needed only on sp_dec.c side of the new divide - remove them from dec_func.c, where they became dead code.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 04 Dec 2025 18:58:22 +0000
parents 7756b23b78cd
children
line wrap: on
line source

/*
 * 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(const Longword pL_GsHistory[], Longword *pL_GsAvgd);
Shortword gsQuant(Longword L_GsIn, Shortword swVoicingMode);
Shortword getPnBits(int iBits, Longword *L_PnSeed);

#endif	/* include guard */