view libgsmhr1/dtx_dec.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 c7c03231002d
children
line wrap: on
line source

#ifndef __DTX_DEC
#define __DTX_DEC

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

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

Longword linInterpSid(Longword L_New, Longword L_Old, Shortword swDtxState);

Shortword linInterpSidShort(Shortword swNew, Shortword swOld,
			    Shortword swDtxState);

void Init_CN_interpolation(struct gsmhr_decoder_state *st, Shortword deco_mode,
			   const Shortword *pswNewKs);

Shortword CN_Interpolate_R0(struct gsmhr_decoder_state *st, Shortword new_R0);

void CN_Interpolate_LPC(struct gsmhr_decoder_state *st, Shortword *pswNewKs);

#endif