FreeCalypso > hg > gsm-codec-lib
diff libgsmhr1/dtx_dec.h @ 598:5809165fb140
libgsmhr1: integrate DTX functions for speech decoder
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Thu, 04 Dec 2025 09:51:11 +0000 |
| parents | |
| children | c7c03231002d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/libgsmhr1/dtx_dec.h Thu Dec 04 09:51:11 2025 +0000 @@ -0,0 +1,25 @@ +#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, + Shortword new_R0, const Shortword *pswNewKs); + +Shortword CN_Interpolate_R0(struct gsmhr_decoder_state *st); + +void CN_Interpolate_LPC(struct gsmhr_decoder_state *st, Shortword *pswNewKs); + +#endif
