annotate libgsmhr1/dtx_enc.h @ 622:3ae5508f9a54 default tip

libgsmhr1/sp_sfrm.c: constify "ROM" static data
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 05 Mar 2026 21:56:18 +0000
parents e6e9d5104503
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
613
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 #ifndef __DTX_ENC
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 #define __DTX_ENC
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 #include "typedefs.h"
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 #include "tw_gsmhr.h"
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 /*________________________________________________________________________
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 | |
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 | Function Prototypes |
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 |________________________________________________________________________|
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 */
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 void avgCNHist(Longword pL_R0History[],
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 Longword ppL_CorrHistory[OVERHANG][NP + 1],
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 Longword *pL_AvgdR0, Longword pL_AvgdCorrSeq[]);
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 Shortword swComfortNoise(struct gsmhr_encoder_state *st, Shortword swVadFlag,
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 Longword L_UnqntzdR0, Longword *pL_UnqntzdCorr);
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 void updateCNHist(struct gsmhr_encoder_state *st, Longword L_UnqntzdR0,
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 Longword *pL_UnqntzdCorr, Longword pL_R0Hist[],
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 Longword ppL_CorrHist[OVERHANG][NP + 1]);
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23
618
e6e9d5104503 libgsmhr1: integrate DTX encoder function lpcCorrQntz()
Mychaela Falconia <falcon@freecalypso.org>
parents: 613
diff changeset
24 void lpcCorrQntz(struct gsmhr_encoder_state *st, Longword pL_CorrelSeq[],
e6e9d5104503 libgsmhr1: integrate DTX encoder function lpcCorrQntz()
Mychaela Falconia <falcon@freecalypso.org>
parents: 613
diff changeset
25 Shortword pswFinalRc[], int piVQCodewds[]);
613
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26
7ce83c70ec5f libgsmhr1: integrate encoder DTX functions, first round
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 #endif