FreeCalypso > hg > gsm-codec-lib
annotate libgsmfr2/ed_state.h @ 423:cf90077b753c
twamr-tseq-enc: treat dribble input as non-fatal
3GPP VAD2 test sequences dt22.inp and dt23.inp have incomplete frames
at the end, hence we need to ignore that dribble in a non-fatal manner
in order to pass all tests.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 07 May 2024 07:20:29 +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 }; |