shithub: sox

ref: 35c5a2bce8720f9bea6b94a06f4f4e57873d53e0
dir: /amr-wb/grid100.tab/

View raw version
/*-------------------------------------------------------------*
 *  Table for az_isp()                                         *
 *                                                             *
 * Vector grid[] is in Q15                                     *
 *                                                             *
 * grid[0] = 1.0;                                              *
 * grid[grid_points+1] = -1.0;                                 *
 * for (i = 1; i < grid_points; i++)                           *
 *   grid[i] = cos((6.283185307*i)/(2.0*grid_points));         *
 *                                                             *
 *-------------------------------------------------------------*/

/* Version 101 points */

#define   GRID_POINTS     100

Word16 grid[GRID_POINTS+1] ={
    32767,     32751,     32703,     32622,     32509,     32364,
    32187,     31978,     31738,     31466,     31164,     30830,
    30466,     30072,     29649,     29196,     28714,     28204,
    27666,     27101,     26509,     25891,     25248,     24579,
    23886,     23170,     22431,     21669,     20887,     20083,
    19260,     18418,     17557,     16680,     15786,     14876,
    13951,     13013,     12062,     11099,     10125,      9141,
     8149,      7148,      6140,      5126,      4106,      3083,
     2057,      1029,         0,     -1029,     -2057,     -3083,
    -4106,     -5126,     -6140,     -7148,     -8149,     -9141,
   -10125,    -11099,    -12062,    -13013,    -13951,    -14876,
   -15786,    -16680,    -17557,    -18418,    -19260,    -20083,
   -20887,    -21669,    -22431,    -23170,    -23886,    -24579,
   -25248,    -25891,    -26509,    -27101,    -27666,    -28204,
   -28714,    -29196,    -29649,    -30072,    -30466,    -30830,
   -31164,    -31466,    -31738,    -31978,    -32187,    -32364,
   -32509,    -32622,    -32703,    -32751,    -32760};