annotate libgsmefr/enc_state.h @ 43:b9ade9d64e0e

libgsmefr/Makefile: comment out install while in early development
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 25 Nov 2022 02:11:36 +0000
parents ba044871c9dd
children af4b075d0313
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
42
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 /*
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 * In this header file we define our encoder state structure.
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 * This encoder state structure is internal to libgsmefr,
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 * NOT part of our external public interface!
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 */
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7 struct EFR_encoder_state {
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 /* from coder.c */
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 Word16 dtx_mode;
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 /* from cod_12k2.c */
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11 Word16 old_speech[L_TOTAL];
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 Word16 old_wsp[L_FRAME + PIT_MAX];
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 Word16 old_exc[L_FRAME + PIT_MAX + L_INTERPOL];
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
14 Word16 ai_zero[L_SUBFR + MP1];
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
15 Word16 hvec[L_SUBFR * 2];
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
16 Word16 lsp_old[M];
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
17 Word16 lsp_old_q[M];
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
18 Word16 mem_syn[M];
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
19 Word16 mem_w0[M];
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
20 Word16 mem_w[M];
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
21 Word16 mem_err[M + L_SUBFR];
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
22 /* from levinson.c */
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
23 Word16 old_A[M + 1];
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
24 /* from pre_proc.c */
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
25 struct preproc_state {
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
26 Word16 y2_hi;
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
27 Word16 y2_lo;
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
28 Word16 y1_hi;
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
29 Word16 y1_lo;
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
30 Word16 x0;
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
31 Word16 x1;
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
32 } pre_proc;
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
33 /* to be continued */
ba044871c9dd libgsmefr: beginning of encoder and decoder state structures
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
34 };