annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
598
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 #ifndef __DTX_DEC
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 #define __DTX_DEC
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 #include "typedefs.h"
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 #include "tw_gsmhr.h"
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 /*________________________________________________________________________
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 | |
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 | Function Prototypes |
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 |________________________________________________________________________|
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 */
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 Longword linInterpSid(Longword L_New, Longword L_Old, Shortword swDtxState);
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 Shortword linInterpSidShort(Shortword swNew, Shortword swOld,
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 Shortword swDtxState);
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 void Init_CN_interpolation(struct gsmhr_decoder_state *st, Shortword deco_mode,
601
c7c03231002d libgsmhr1: integrate main body of speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents: 598
diff changeset
19 const Shortword *pswNewKs);
598
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20
601
c7c03231002d libgsmhr1: integrate main body of speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents: 598
diff changeset
21 Shortword CN_Interpolate_R0(struct gsmhr_decoder_state *st, Shortword new_R0);
598
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 void CN_Interpolate_LPC(struct gsmhr_decoder_state *st, Shortword *pswNewKs);
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24
5809165fb140 libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 #endif