view libgsmhr1/dtx_enc.h @ 622:3ae5508f9a54 default tip

libgsmhr1/sp_sfrm.c: constify "ROM" static data
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 05 Mar 2026 21:56:18 +0000
parents e6e9d5104503
children
line wrap: on
line source

#ifndef __DTX_ENC
#define __DTX_ENC

#include "typedefs.h"
#include "tw_gsmhr.h"

/*________________________________________________________________________
 |                                                                        |
 |                      Function Prototypes                               |
 |________________________________________________________________________|
*/

void avgCNHist(Longword pL_R0History[],
		Longword ppL_CorrHistory[OVERHANG][NP + 1],
		Longword *pL_AvgdR0, Longword pL_AvgdCorrSeq[]);

Shortword swComfortNoise(struct gsmhr_encoder_state *st, Shortword swVadFlag,
			 Longword L_UnqntzdR0, Longword *pL_UnqntzdCorr);

void updateCNHist(struct gsmhr_encoder_state *st, Longword L_UnqntzdR0,
		  Longword *pL_UnqntzdCorr, Longword pL_R0Hist[],
		  Longword ppL_CorrHist[OVERHANG][NP + 1]);

void lpcCorrQntz(struct gsmhr_encoder_state *st, Longword pL_CorrelSeq[],
		 Shortword pswFinalRc[], int piVQCodewds[]);

#endif