Home | History | Annotate | Download | only in source
      1 /*
      2  *  Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
      3  *
      4  *  Use of this source code is governed by a BSD-style license
      5  *  that can be found in the LICENSE file in the root of the source
      6  *  tree. An additional intellectual property rights grant can be found
      7  *  in the file PATENTS.  All contributing project authors may
      8  *  be found in the AUTHORS file in the root of the source tree.
      9  */
     10 
     11 
     12 /*
     13  * This file contains the 360 degree cos table.
     14  *
     15  */
     16 
     17 #include "signal_processing_library.h"
     18 
     19 WebRtc_Word16 WebRtcSpl_kCosTable[] = {
     20         8192,  8190,  8187,  8180,  8172,  8160,  8147,  8130,  8112,
     21         8091,  8067,  8041,  8012,  7982,  7948,  7912,  7874,  7834,
     22         7791,  7745,  7697,  7647,  7595,  7540,  7483,  7424,  7362,
     23         7299,  7233,  7164,  7094,  7021,  6947,  6870,  6791,  6710,
     24         6627,  6542,  6455,  6366,  6275,  6182,  6087,  5991,  5892,
     25         5792,  5690,  5586,  5481,  5374,  5265,  5155,  5043,  4930,
     26         4815,  4698,  4580,  4461,  4341,  4219,  4096,  3971,  3845,
     27         3719,  3591,  3462,  3331,  3200,  3068,  2935,  2801,  2667,
     28         2531,  2395,  2258,  2120,  1981,  1842,  1703,  1563,  1422,
     29         1281,  1140,   998,   856,   713,   571,   428,   285,   142,
     30            0,  -142,  -285,  -428,  -571,  -713,  -856,  -998, -1140,
     31        -1281, -1422, -1563, -1703, -1842, -1981, -2120, -2258, -2395,
     32        -2531, -2667, -2801, -2935, -3068, -3200, -3331, -3462, -3591,
     33        -3719, -3845, -3971, -4095, -4219, -4341, -4461, -4580, -4698,
     34        -4815, -4930, -5043, -5155, -5265, -5374, -5481, -5586, -5690,
     35        -5792, -5892, -5991, -6087, -6182, -6275, -6366, -6455, -6542,
     36        -6627, -6710, -6791, -6870, -6947, -7021, -7094, -7164, -7233,
     37        -7299, -7362, -7424, -7483, -7540, -7595, -7647, -7697, -7745,
     38        -7791, -7834, -7874, -7912, -7948, -7982, -8012, -8041, -8067,
     39        -8091, -8112, -8130, -8147, -8160, -8172, -8180, -8187, -8190,
     40        -8191, -8190, -8187, -8180, -8172, -8160, -8147, -8130, -8112,
     41        -8091, -8067, -8041, -8012, -7982, -7948, -7912, -7874, -7834,
     42        -7791, -7745, -7697, -7647, -7595, -7540, -7483, -7424, -7362,
     43        -7299, -7233, -7164, -7094, -7021, -6947, -6870, -6791, -6710,
     44        -6627, -6542, -6455, -6366, -6275, -6182, -6087, -5991, -5892,
     45        -5792, -5690, -5586, -5481, -5374, -5265, -5155, -5043, -4930,
     46        -4815, -4698, -4580, -4461, -4341, -4219, -4096, -3971, -3845,
     47        -3719, -3591, -3462, -3331, -3200, -3068, -2935, -2801, -2667,
     48        -2531, -2395, -2258, -2120, -1981, -1842, -1703, -1563, -1422,
     49        -1281, -1140,  -998,  -856,  -713,  -571,  -428,  -285,  -142,
     50            0,   142,   285,   428,   571,   713,   856,   998,  1140,
     51         1281,  1422,  1563,  1703,  1842,  1981,  2120,  2258,  2395,
     52         2531,  2667,  2801,  2935,  3068,  3200,  3331,  3462,  3591,
     53         3719,  3845,  3971,  4095,  4219,  4341,  4461,  4580,  4698,
     54         4815,  4930,  5043,  5155,  5265,  5374,  5481,  5586,  5690,
     55         5792,  5892,  5991,  6087,  6182,  6275,  6366,  6455,  6542,
     56         6627,  6710,  6791,  6870,  6947,  7021,  7094,  7164,  7233,
     57         7299,  7362,  7424,  7483,  7540,  7595,  7647,  7697,  7745,
     58         7791,  7834,  7874,  7912,  7948,  7982,  8012,  8041,  8067,
     59         8091,  8112,  8130,  8147,  8160,  8172,  8180,  8187,  8190
     60 };
     61