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 19/*-------------------------------------------------------------* 20 * Table for az_isp() * 21 * * 22 * Vector grid[] is in Q15 * 23 * * 24 * grid[0] = 1.0; * 25 * grid[grid_points+1] = -1.0; * 26 * for (i = 1; i < grid_points; i++) * 27 * grid[i] = cos((6.283185307*i)/(2.0*grid_points)); * 28 * * 29 *-------------------------------------------------------------*/ 30 31/* Version 101 points */ 32 33#define GRID_POINTS 100 34 35const Word16 vogrid[GRID_POINTS+1] ={ 36 32767, 32751, 32703, 32622, 32509, 32364, 37 32187, 31978, 31738, 31466, 31164, 30830, 38 30466, 30072, 29649, 29196, 28714, 28204, 39 27666, 27101, 26509, 25891, 25248, 24579, 40 23886, 23170, 22431, 21669, 20887, 20083, 41 19260, 18418, 17557, 16680, 15786, 14876, 42 13951, 13013, 12062, 11099, 10125, 9141, 43 8149, 7148, 6140, 5126, 4106, 3083, 44 2057, 1029, 0, -1029, -2057, -3083, 45 -4106, -5126, -6140, -7148, -8149, -9141, 46 -10125, -11099, -12062, -13013, -13951, -14876, 47 -15786, -16680, -17557, -18418, -19260, -20083, 48 -20887, -21669, -22431, -23170, -23886, -24579, 49 -25248, -25891, -26509, -27101, -27666, -28204, 50 -28714, -29196, -29649, -30072, -30466, -30830, 51 -31164, -31466, -31738, -31978, -32187, -32364, 52 -32509, -32622, -32703, -32751, -32760}; 53 54