summaryrefslogtreecommitdiffstats
path: root/baseline/source/gsm_dec/private.h
diff options
context:
space:
mode:
Diffstat (limited to 'baseline/source/gsm_dec/private.h')
-rw-r--r--baseline/source/gsm_dec/private.h44
1 files changed, 0 insertions, 44 deletions
diff --git a/baseline/source/gsm_dec/private.h b/baseline/source/gsm_dec/private.h
deleted file mode 100644
index 80b5c83..0000000
--- a/baseline/source/gsm_dec/private.h
+++ /dev/null
@@ -1,44 +0,0 @@
1#ifndef GSM_DEC_PRIVATE_H
2#define GSM_DEC_PRIVATE_H
3
4typedef short word; /* 16 bit signed int */
5typedef long longword; /* 32 bit signed int */
6
7typedef unsigned short uword; /* unsigned word */
8typedef unsigned long ulongword; /* unsigned longword */
9
10/* Table 4.6 Normalized direct mantissa used to compute xM/xmax
11*/
12/* i 0 1 2 3 4 5 6 7 */
13word gsm_dec_FAC[8] = {
14 18431, 20479, 22527, 24575, 26623, 28671, 30719, 32767 };
15
16struct gsm_state {
17 word dp0[ 280 ];
18 word z1; /* preprocessing.c, Offset_com. */
19 longword L_z2; /* Offset_com. */
20 int mp; /* Preemphasis */
21 word u[8]; /* short_term_aly_filter.c */
22 word LARpp[2][8]; /* */
23 word j; /* */
24 word nrp; /* 40 */ /* long_term.c, synthesis */
25 word v[9]; /* short_term.c, synthesis */
26 word msr; /* decoder.c, Postprocessing */
27};
28
29
30#define MIN_WORD ((-32767)-1)
31#define MAX_WORD ( 32767)
32
33#define MIN_LONGWORD ((-2147483647)-1)
34#define MAX_LONGWORD ( 2147483647)
35
36/* >> is a signed arithmetic shift right */
37#define SASR(x, by) ((x) >> (by))
38
39/* Table 4.3b Quantization levels of the LTP gain quantizer
40*/
41/* bc 0 1 2 3 */
42word gsm_dec_QLB[4] = { 3277, 11469, 21299, 32767 };
43
44#endif /* GSM_DEC_PRIVATE_H */