FreeCalypso > hg > gsm-codec-lib
annotate libgsmfr2/ed_state.h @ 445:30cff6b60890
amrtest: implement twamr-encode-r
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 10 May 2024 00:07:07 +0000 |
parents | ffdcdb27d673 |
children |
rev | line source |
---|---|
263
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 /* |
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 * This header file is internal to libgsmfr2; |
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 * here we define our state structure for GSM 06.10 encoder & decoder component. |
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 */ |
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 struct gsmfr_0610_state { |
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 word dp0[ 280 ]; |
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 word e[ 50 ]; /* code.c */ |
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 word z1; /* preprocessing.c, Offset_com. */ |
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 longword L_z2; /* Offset_com. */ |
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 int mp; /* Preemphasis */ |
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 word u[8]; /* short_term_aly_filter.c */ |
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 word LARpp[2][8]; /* */ |
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 word j; /* */ |
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 |
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 word nrp; /* 40 */ /* long_term.c, synthesis */ |
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 word v[9]; /* short_term.c, synthesis */ |
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 word msr; /* decoder.c, Postprocessing */ |
ffdcdb27d673
libgsmfr2: integrate e/d state from TU-Berlin code
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 }; |