comparison libtwamr/lag_wind.tab @ 384:a8dab7028e4d

libtwamr: integrate lag_wind.c
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 06 May 2024 05:56:50 +0000
parents
children
comparison
equal deleted inserted replaced
383:838ed426bb76 384:a8dab7028e4d
1 /*
2 ********************************************************************************
3 *
4 * GSM AMR-NB speech codec R98 Version 7.6.0 December 12, 2001
5 * R99 Version 3.3.0
6 * REL-4 Version 4.1.0
7 *
8 ********************************************************************************
9 *
10 * File : lag_wind.tab
11 * Purpose : Table of lag_window for autocorrelation.
12 * $Id $
13 *
14 ********************************************************************************
15 */
16 /*-----------------------------------------------------*
17 | Table of lag_window for autocorrelation. |
18 | |
19 | noise floor = 1.0001 = (0.9999 on r[1] ..r[10]) |
20 | Bandwitdh expansion = 60 Hz |
21 | |
22 | |
23 | lag_wind[0] = 1.00000000 (not stored) |
24 | lag_wind[1] = 0.99879038 |
25 | lag_wind[2] = 0.99546897 |
26 | lag_wind[3] = 0.98995781 |
27 | lag_wind[4] = 0.98229337 |
28 | lag_wind[5] = 0.97252619 |
29 | lag_wind[6] = 0.96072036 |
30 | lag_wind[7] = 0.94695264 |
31 | lag_wind[8] = 0.93131179 |
32 | lag_wind[9] = 0.91389757 |
33 | lag_wind[10]= 0.89481968 |
34 -----------------------------------------------------*/
35
36 static const Word16 lag_h[10] =
37 {
38 32728,
39 32619,
40 32438,
41 32187,
42 31867,
43 31480,
44 31029,
45 30517,
46 29946,
47 29321
48 };
49
50 static const Word16 lag_l[10] =
51 {
52 11904,
53 17280,
54 30720,
55 25856,
56 24192,
57 28992,
58 24384,
59 7360,
60 19520,
61 14784
62 };