summaryrefslogtreecommitdiffstats
path: root/media/libstagefright/codecs/amrwbenc/inc/lag_wind.tab
blob: 9c73357f2c828239d58baf8ae9cc35924079a651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
/*
 ** Copyright 2003-2010, VisualOn, Inc.
 **
 ** Licensed under the Apache License, Version 2.0 (the "License");
 ** you may not use this file except in compliance with the License.
 ** You may obtain a copy of the License at
 **
 **     http://www.apache.org/licenses/LICENSE-2.0
 **
 ** Unless required by applicable law or agreed to in writing, software
 ** distributed under the License is distributed on an "AS IS" BASIS,
 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 ** See the License for the specific language governing permissions and
 ** limitations under the License.
 */


/*-----------------------------------------------------*
 | Table of lag_window for autocorrelation.            |
 | noise floor = 1.0001   = (0.9999  on r[1] ..r[16])  |
 | Bandwidth expansion = 60 Hz                         |
 | Sampling frequency  = 12800 Hz                      |
 |                                                     |
 | Special double precision format. See "math_op.c"    |
 |                                                     |
 | lag_wind[0] =  1.00000000    (not stored)           |
 | lag_wind[1] =  0.99946642                           |
 | lag_wind[2] =  0.99816680                           |
 | lag_wind[3] =  0.99600452                           |
 | lag_wind[4] =  0.99298513                           |
 | lag_wind[5] =  0.98911655                           |
 | lag_wind[6] =  0.98440880                           |
 | lag_wind[7] =  0.97887397                           |
 | lag_wind[8] =  0.97252619                           |
 | lag_wind[9] =  0.96538186                           |
 | lag_wind[10]=  0.95745903                           |
 | lag_wind[11]=  0.94877797                           |
 | lag_wind[12]=  0.93936038                           |
 | lag_wind[13]=  0.92922986                           |
 | lag_wind[14]=  0.91841155                           |
 | lag_wind[15]=  0.90693212                           |
 | lag_wind[16]=  0.89481968                           |
 ------------------------------------------------------*/

#define M 16

static Word16 volag_h[M] = {
      32750,
      32707,
      32637,
      32538,
      32411,
      32257,
      32075,
      31867,
      31633,
      31374,
      31089,
      30780,
      30449,
      30094,
      29718,
      29321};

static Word16 volag_l[M] = {
      16896,
      30464,
       2496,
       4480,
      12160,
       3520,
      24320,
      24192,
      20736,
        576,
      18240,
      31488,
        128,
      16704,
      11520,
      14784};