Home | History | Annotate | Download | only in inc
      1 /*
      2  ** Copyright 2003-2010, VisualOn, Inc.
      3  **
      4  ** Licensed under the Apache License, Version 2.0 (the "License");
      5  ** you may not use this file except in compliance with the License.
      6  ** You may obtain a copy of the License at
      7  **
      8  **     http://www.apache.org/licenses/LICENSE-2.0
      9  **
     10  ** Unless required by applicable law or agreed to in writing, software
     11  ** distributed under the License is distributed on an "AS IS" BASIS,
     12  ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     13  ** See the License for the specific language governing permissions and
     14  ** limitations under the License.
     15  */
     16 
     17 
     18 /* Hamming_cos window for LPC analysis.                 */
     19 /*   Create with function hamm_cos(window,384-128,128)  */
     20 
     21 #define L_WINDOW 384
     22 
     23 const Word16 vo_window[L_WINDOW] = {
     24     2621,    2622,    2626,    2632,    2640,    2650,    2662,    2677,
     25     2694,    2714,    2735,    2759,    2785,    2814,    2844,    2877,
     26     2912,    2949,    2989,    3031,    3075,    3121,    3169,    3220,
     27     3273,    3328,    3385,    3444,    3506,    3569,    3635,    3703,
     28     3773,    3845,    3919,    3996,    4074,    4155,    4237,    4321,
     29     4408,    4496,    4587,    4680,    4774,    4870,    4969,    5069,
     30     5171,    5275,    5381,    5489,    5599,    5710,    5824,    5939,
     31     6056,    6174,    6295,    6417,    6541,    6666,    6793,    6922,
     32     7052,    7185,    7318,    7453,    7590,    7728,    7868,    8009,
     33     8152,    8296,    8442,    8589,    8737,    8887,    9038,    9191,
     34     9344,    9499,    9655,    9813,    9971,   10131,   10292,   10454,
     35    10617,   10781,   10946,   11113,   11280,   11448,   11617,   11787,
     36    11958,   12130,   12303,   12476,   12650,   12825,   13001,   13178,
     37    13355,   13533,   13711,   13890,   14070,   14250,   14431,   14612,
     38    14793,   14975,   15158,   15341,   15524,   15708,   15891,   16076,
     39    16260,   16445,   16629,   16814,   16999,   17185,   17370,   17555,
     40    17740,   17926,   18111,   18296,   18481,   18666,   18851,   19036,
     41    19221,   19405,   19589,   19773,   19956,   20139,   20322,   20504,
     42    20686,   20867,   21048,   21229,   21408,   21588,   21767,   21945,
     43    22122,   22299,   22475,   22651,   22825,   22999,   23172,   23344,
     44    23516,   23686,   23856,   24025,   24192,   24359,   24525,   24689,
     45    24853,   25016,   25177,   25337,   25496,   25654,   25811,   25967,
     46    26121,   26274,   26426,   26576,   26725,   26873,   27019,   27164,
     47    27308,   27450,   27590,   27729,   27867,   28003,   28137,   28270,
     48    28401,   28531,   28659,   28785,   28910,   29033,   29154,   29274,
     49    29391,   29507,   29622,   29734,   29845,   29953,   30060,   30165,
     50    30268,   30370,   30469,   30566,   30662,   30755,   30847,   30936,
     51    31024,   31109,   31193,   31274,   31354,   31431,   31506,   31579,
     52    31651,   31719,   31786,   31851,   31914,   31974,   32032,   32088,
     53    32142,   32194,   32243,   32291,   32336,   32379,   32419,   32458,
     54    32494,   32528,   32560,   32589,   32617,   32642,   32664,   32685,
     55    32703,   32719,   32733,   32744,   32753,   32760,   32764,   32767,
     56    32767,   32765,   32757,   32745,   32727,   32705,   32678,   32646,
     57    32609,   32567,   32520,   32468,   32411,   32349,   32283,   32211,
     58    32135,   32054,   31968,   31877,   31781,   31681,   31575,   31465,
     59    31351,   31231,   31107,   30978,   30844,   30706,   30563,   30415,
     60    30263,   30106,   29945,   29779,   29609,   29434,   29255,   29071,
     61    28883,   28691,   28494,   28293,   28087,   27878,   27664,   27446,
     62    27224,   26997,   26767,   26533,   26294,   26052,   25806,   25555,
     63    25301,   25043,   24782,   24516,   24247,   23974,   23698,   23418,
     64    23134,   22847,   22557,   22263,   21965,   21665,   21361,   21054,
     65    20743,   20430,   20113,   19794,   19471,   19146,   18817,   18486,
     66    18152,   17815,   17476,   17134,   16789,   16442,   16092,   15740,
     67    15385,   15028,   14669,   14308,   13944,   13579,   13211,   12841,
     68    12470,   12096,   11721,   11344,   10965,   10584,   10202,    9819,
     69     9433,    9047,    8659,    8270,    7879,    7488,    7095,    6701,
     70     6306,    5910,    5514,    5116,    4718,    4319,    3919,    3519,
     71     3118,    2716,    2315,    1913,    1510,    1108,     705,     302};
     72 
     73 
     74