annotate libgsmhr1/dtx_dec.h @ 608:d4e42ec4a688 default tip

hrutil: new program gsmhr-decode-r
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 05 Dec 2025 09:01:14 +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