FreeCalypso > hg > gsm-codec-lib
annotate libgsmhr1/dtx_dec.h @ 600:5a7d04bf26f5
libgsmhr1: integrate signal-level err_conc code
| author | Mychaela Falconia <falcon@freecalypso.org> |
|---|---|
| date | Thu, 04 Dec 2025 10:24:06 +0000 |
| parents | 5809165fb140 |
| children | c7c03231002d |
| 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, |
|
5809165fb140
libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 Shortword new_R0, const Shortword *pswNewKs); |
|
5809165fb140
libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 |
|
5809165fb140
libgsmhr1: integrate DTX functions for speech decoder
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 Shortword CN_Interpolate_R0(struct gsmhr_decoder_state *st); |
|
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 |
