/******************************************************************************* OpenAirInterface Copyright(c) 1999 - 2014 Eurecom OpenAirInterface is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. OpenAirInterface is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenAirInterface.The full GNU General Public License is included in this distribution in the file called "COPYING". If not, see . Contact Information OpenAirInterface Admin: openair_admin@eurecom.fr OpenAirInterface Tech : openair_tech@eurecom.fr OpenAirInterface Dev : openair4g-devel@eurecom.fr Address : Eurecom, Campus SophiaTech, 450 Route des Chappes, CS 50193 - 06904 Biot Sophia Antipolis cedex, FRANCE *******************************************************************************/ short twiddle_fft256[255*4] = {16384,0,0,16384, 16384,0,0,16384, 0,16384,-16384,0, 16384,0,0,16384, 11585,11585,-11585,11585, 0,16384,-16384,0, -11585,11585,-11585,-11585, 16384,0,0,16384, 15137,6270,-6270,15137, 11585,11585,-11585,11585, 6270,15137,-15137,6270, 0,16384,-16384,0, -6270,15137,-15137,-6270, -11585,11585,-11585,-11585, -15137,6270,-6270,-15137, 16384,0,0,16384, 16069,3196,-3196,16069, 15137,6270,-6270,15137, 13623,9102,-9102,13623, 11585,11585,-11585,11585, 9102,13623,-13623,9102, 6270,15137,-15137,6270, 3196,16069,-16069,3196, 0,16384,-16384,0, -3196,16069,-16069,-3196, -6270,15137,-15137,-6270, -9102,13623,-13623,-9102, -11585,11585,-11585,-11585, -13623,9102,-9102,-13623, -15137,6270,-6270,-15137, -16069,3196,-3196,-16069, 16384,0,0,16384, 16305,1606,-1606,16305, 16069,3196,-3196,16069, 15679,4756,-4756,15679, 15137,6270,-6270,15137, 14449,7723,-7723,14449, 13623,9102,-9102,13623, 12665,10394,-10394,12665, 11585,11585,-11585,11585, 10394,12665,-12665,10394, 9102,13623,-13623,9102, 7723,14449,-14449,7723, 6270,15137,-15137,6270, 4756,15679,-15679,4756, 3196,16069,-16069,3196, 1606,16305,-16305,1606, 0,16384,-16384,0, -1606,16305,-16305,-1606, -3196,16069,-16069,-3196, -4756,15679,-15679,-4756, -6270,15137,-15137,-6270, -7723,14449,-14449,-7723, -9102,13623,-13623,-9102, -10394,12665,-12665,-10394, -11585,11585,-11585,-11585, -12665,10394,-10394,-12665, -13623,9102,-9102,-13623, -14449,7723,-7723,-14449, -15137,6270,-6270,-15137, -15679,4756,-4756,-15679, -16069,3196,-3196,-16069, -16305,1606,-1606,-16305, 16384,0,0,16384, 16364,804,-804,16364, 16305,1606,-1606,16305, 16207,2404,-2404,16207, 16069,3196,-3196,16069, 15893,3981,-3981,15893, 15679,4756,-4756,15679, 15426,5520,-5520,15426, 15137,6270,-6270,15137, 14811,7005,-7005,14811, 14449,7723,-7723,14449, 14053,8423,-8423,14053, 13623,9102,-9102,13623, 13160,9760,-9760,13160, 12665,10394,-10394,12665, 12140,11003,-11003,12140, 11585,11585,-11585,11585, 11003,12140,-12140,11003, 10394,12665,-12665,10394, 9760,13160,-13160,9760, 9102,13623,-13623,9102, 8423,14053,-14053,8423, 7723,14449,-14449,7723, 7005,14811,-14811,7005, 6270,15137,-15137,6270, 5520,15426,-15426,5520, 4756,15679,-15679,4756, 3981,15893,-15893,3981, 3196,16069,-16069,3196, 2404,16207,-16207,2404, 1606,16305,-16305,1606, 804,16364,-16364,804, 0,16384,-16384,0, -804,16364,-16364,-804, -1606,16305,-16305,-1606, -2404,16207,-16207,-2404, -3196,16069,-16069,-3196, -3981,15893,-15893,-3981, -4756,15679,-15679,-4756, -5520,15426,-15426,-5520, -6270,15137,-15137,-6270, -7005,14811,-14811,-7005, -7723,14449,-14449,-7723, -8423,14053,-14053,-8423, -9102,13623,-13623,-9102, -9760,13160,-13160,-9760, -10394,12665,-12665,-10394, -11003,12140,-12140,-11003, -11585,11585,-11585,-11585, -12140,11003,-11003,-12140, -12665,10394,-10394,-12665, -13160,9760,-9760,-13160, -13623,9102,-9102,-13623, -14053,8423,-8423,-14053, -14449,7723,-7723,-14449, -14811,7005,-7005,-14811, -15137,6270,-6270,-15137, -15426,5520,-5520,-15426, -15679,4756,-4756,-15679, -15893,3981,-3981,-15893, -16069,3196,-3196,-16069, -16207,2404,-2404,-16207, -16305,1606,-1606,-16305, -16364,804,-804,-16364, 16384,0,0,16384, 16379,402,-402,16379, 16364,804,-804,16364, 16340,1205,-1205,16340, 16305,1606,-1606,16305, 16261,2006,-2006,16261, 16207,2404,-2404,16207, 16143,2801,-2801,16143, 16069,3196,-3196,16069, 15986,3590,-3590,15986, 15893,3981,-3981,15893, 15791,4370,-4370,15791, 15679,4756,-4756,15679, 15557,5139,-5139,15557, 15426,5520,-5520,15426, 15286,5897,-5897,15286, 15137,6270,-6270,15137, 14978,6639,-6639,14978, 14811,7005,-7005,14811, 14635,7366,-7366,14635, 14449,7723,-7723,14449, 14256,8076,-8076,14256, 14053,8423,-8423,14053, 13842,8765,-8765,13842, 13623,9102,-9102,13623, 13395,9434,-9434,13395, 13160,9760,-9760,13160, 12916,10080,-10080,12916, 12665,10394,-10394,12665, 12406,10702,-10702,12406, 12140,11003,-11003,12140, 11866,11297,-11297,11866, 11585,11585,-11585,11585, 11297,11866,-11866,11297, 11003,12140,-12140,11003, 10702,12406,-12406,10702, 10394,12665,-12665,10394, 10080,12916,-12916,10080, 9760,13160,-13160,9760, 9434,13395,-13395,9434, 9102,13623,-13623,9102, 8765,13842,-13842,8765, 8423,14053,-14053,8423, 8076,14256,-14256,8076, 7723,14449,-14449,7723, 7366,14635,-14635,7366, 7005,14811,-14811,7005, 6639,14978,-14978,6639, 6270,15137,-15137,6270, 5897,15286,-15286,5897, 5520,15426,-15426,5520, 5139,15557,-15557,5139, 4756,15679,-15679,4756, 4370,15791,-15791,4370, 3981,15893,-15893,3981, 3590,15986,-15986,3590, 3196,16069,-16069,3196, 2801,16143,-16143,2801, 2404,16207,-16207,2404, 2006,16261,-16261,2006, 1606,16305,-16305,1606, 1205,16340,-16340,1205, 804,16364,-16364,804, 402,16379,-16379,402, 0,16384,-16384,0, -402,16379,-16379,-402, -804,16364,-16364,-804, -1205,16340,-16340,-1205, -1606,16305,-16305,-1606, -2006,16261,-16261,-2006, -2404,16207,-16207,-2404, -2801,16143,-16143,-2801, -3196,16069,-16069,-3196, -3590,15986,-15986,-3590, -3981,15893,-15893,-3981, -4370,15791,-15791,-4370, -4756,15679,-15679,-4756, -5139,15557,-15557,-5139, -5520,15426,-15426,-5520, -5897,15286,-15286,-5897, -6270,15137,-15137,-6270, -6639,14978,-14978,-6639, -7005,14811,-14811,-7005, -7366,14635,-14635,-7366, -7723,14449,-14449,-7723, -8076,14256,-14256,-8076, -8423,14053,-14053,-8423, -8765,13842,-13842,-8765, -9102,13623,-13623,-9102, -9434,13395,-13395,-9434, -9760,13160,-13160,-9760, -10080,12916,-12916,-10080, -10394,12665,-12665,-10394, -10702,12406,-12406,-10702, -11003,12140,-12140,-11003, -11297,11866,-11866,-11297, -11585,11585,-11585,-11585, -11866,11297,-11297,-11866, -12140,11003,-11003,-12140, -12406,10702,-10702,-12406, -12665,10394,-10394,-12665, -12916,10080,-10080,-12916, -13160,9760,-9760,-13160, -13395,9434,-9434,-13395, -13623,9102,-9102,-13623, -13842,8765,-8765,-13842, -14053,8423,-8423,-14053, -14256,8076,-8076,-14256, -14449,7723,-7723,-14449, -14635,7366,-7366,-14635, -14811,7005,-7005,-14811, -14978,6639,-6639,-14978, -15137,6270,-6270,-15137, -15286,5897,-5897,-15286, -15426,5520,-5520,-15426, -15557,5139,-5139,-15557, -15679,4756,-4756,-15679, -15791,4370,-4370,-15791, -15893,3981,-3981,-15893, -15986,3590,-3590,-15986, -16069,3196,-3196,-16069, -16143,2801,-2801,-16143, -16207,2404,-2404,-16207, -16261,2006,-2006,-16261, -16305,1606,-1606,-16305, -16340,1205,-1205,-16340, -16364,804,-804,-16364, -16379,402,-402,-16379}; short twiddle_ifft256[255*4] = {16384,0,0,16384, 16384,0,0,16384, 0,-16384,16384,0, 16384,0,0,16384, 11585,-11585,11585,11585, 0,-16384,16384,0, -11585,-11585,11585,-11585, 16384,0,0,16384, 15137,-6270,6270,15137, 11585,-11585,11585,11585, 6270,-15137,15137,6270, 0,-16384,16384,0, -6270,-15137,15137,-6270, -11585,-11585,11585,-11585, -15137,-6270,6270,-15137, 16384,0,0,16384, 16069,-3196,3196,16069, 15137,-6270,6270,15137, 13623,-9102,9102,13623, 11585,-11585,11585,11585, 9102,-13623,13623,9102, 6270,-15137,15137,6270, 3196,-16069,16069,3196, 0,-16384,16384,0, -3196,-16069,16069,-3196, -6270,-15137,15137,-6270, -9102,-13623,13623,-9102, -11585,-11585,11585,-11585, -13623,-9102,9102,-13623, -15137,-6270,6270,-15137, -16069,-3196,3196,-16069, 16384,0,0,16384, 16305,-1606,1606,16305, 16069,-3196,3196,16069, 15679,-4756,4756,15679, 15137,-6270,6270,15137, 14449,-7723,7723,14449, 13623,-9102,9102,13623, 12665,-10394,10394,12665, 11585,-11585,11585,11585, 10394,-12665,12665,10394, 9102,-13623,13623,9102, 7723,-14449,14449,7723, 6270,-15137,15137,6270, 4756,-15679,15679,4756, 3196,-16069,16069,3196, 1606,-16305,16305,1606, 0,-16384,16384,0, -1606,-16305,16305,-1606, -3196,-16069,16069,-3196, -4756,-15679,15679,-4756, -6270,-15137,15137,-6270, -7723,-14449,14449,-7723, -9102,-13623,13623,-9102, -10394,-12665,12665,-10394, -11585,-11585,11585,-11585, -12665,-10394,10394,-12665, -13623,-9102,9102,-13623, -14449,-7723,7723,-14449, -15137,-6270,6270,-15137, -15679,-4756,4756,-15679, -16069,-3196,3196,-16069, -16305,-1606,1606,-16305, 16384,0,0,16384, 16364,-804,804,16364, 16305,-1606,1606,16305, 16207,-2404,2404,16207, 16069,-3196,3196,16069, 15893,-3981,3981,15893, 15679,-4756,4756,15679, 15426,-5520,5520,15426, 15137,-6270,6270,15137, 14811,-7005,7005,14811, 14449,-7723,7723,14449, 14053,-8423,8423,14053, 13623,-9102,9102,13623, 13160,-9760,9760,13160, 12665,-10394,10394,12665, 12140,-11003,11003,12140, 11585,-11585,11585,11585, 11003,-12140,12140,11003, 10394,-12665,12665,10394, 9760,-13160,13160,9760, 9102,-13623,13623,9102, 8423,-14053,14053,8423, 7723,-14449,14449,7723, 7005,-14811,14811,7005, 6270,-15137,15137,6270, 5520,-15426,15426,5520, 4756,-15679,15679,4756, 3981,-15893,15893,3981, 3196,-16069,16069,3196, 2404,-16207,16207,2404, 1606,-16305,16305,1606, 804,-16364,16364,804, 0,-16384,16384,0, -804,-16364,16364,-804, -1606,-16305,16305,-1606, -2404,-16207,16207,-2404, -3196,-16069,16069,-3196, -3981,-15893,15893,-3981, -4756,-15679,15679,-4756, -5520,-15426,15426,-5520, -6270,-15137,15137,-6270, -7005,-14811,14811,-7005, -7723,-14449,14449,-7723, -8423,-14053,14053,-8423, -9102,-13623,13623,-9102, -9760,-13160,13160,-9760, -10394,-12665,12665,-10394, -11003,-12140,12140,-11003, -11585,-11585,11585,-11585, -12140,-11003,11003,-12140, -12665,-10394,10394,-12665, -13160,-9760,9760,-13160, -13623,-9102,9102,-13623, -14053,-8423,8423,-14053, -14449,-7723,7723,-14449, -14811,-7005,7005,-14811, -15137,-6270,6270,-15137, -15426,-5520,5520,-15426, -15679,-4756,4756,-15679, -15893,-3981,3981,-15893, -16069,-3196,3196,-16069, -16207,-2404,2404,-16207, -16305,-1606,1606,-16305, -16364,-804,804,-16364, 16384,0,0,16384, 16379,-402,402,16379, 16364,-804,804,16364, 16340,-1205,1205,16340, 16305,-1606,1606,16305, 16261,-2006,2006,16261, 16207,-2404,2404,16207, 16143,-2801,2801,16143, 16069,-3196,3196,16069, 15986,-3590,3590,15986, 15893,-3981,3981,15893, 15791,-4370,4370,15791, 15679,-4756,4756,15679, 15557,-5139,5139,15557, 15426,-5520,5520,15426, 15286,-5897,5897,15286, 15137,-6270,6270,15137, 14978,-6639,6639,14978, 14811,-7005,7005,14811, 14635,-7366,7366,14635, 14449,-7723,7723,14449, 14256,-8076,8076,14256, 14053,-8423,8423,14053, 13842,-8765,8765,13842, 13623,-9102,9102,13623, 13395,-9434,9434,13395, 13160,-9760,9760,13160, 12916,-10080,10080,12916, 12665,-10394,10394,12665, 12406,-10702,10702,12406, 12140,-11003,11003,12140, 11866,-11297,11297,11866, 11585,-11585,11585,11585, 11297,-11866,11866,11297, 11003,-12140,12140,11003, 10702,-12406,12406,10702, 10394,-12665,12665,10394, 10080,-12916,12916,10080, 9760,-13160,13160,9760, 9434,-13395,13395,9434, 9102,-13623,13623,9102, 8765,-13842,13842,8765, 8423,-14053,14053,8423, 8076,-14256,14256,8076, 7723,-14449,14449,7723, 7366,-14635,14635,7366, 7005,-14811,14811,7005, 6639,-14978,14978,6639, 6270,-15137,15137,6270, 5897,-15286,15286,5897, 5520,-15426,15426,5520, 5139,-15557,15557,5139, 4756,-15679,15679,4756, 4370,-15791,15791,4370, 3981,-15893,15893,3981, 3590,-15986,15986,3590, 3196,-16069,16069,3196, 2801,-16143,16143,2801, 2404,-16207,16207,2404, 2006,-16261,16261,2006, 1606,-16305,16305,1606, 1205,-16340,16340,1205, 804,-16364,16364,804, 402,-16379,16379,402, 0,-16384,16384,0, -402,-16379,16379,-402, -804,-16364,16364,-804, -1205,-16340,16340,-1205, -1606,-16305,16305,-1606, -2006,-16261,16261,-2006, -2404,-16207,16207,-2404, -2801,-16143,16143,-2801, -3196,-16069,16069,-3196, -3590,-15986,15986,-3590, -3981,-15893,15893,-3981, -4370,-15791,15791,-4370, -4756,-15679,15679,-4756, -5139,-15557,15557,-5139, -5520,-15426,15426,-5520, -5897,-15286,15286,-5897, -6270,-15137,15137,-6270, -6639,-14978,14978,-6639, -7005,-14811,14811,-7005, -7366,-14635,14635,-7366, -7723,-14449,14449,-7723, -8076,-14256,14256,-8076, -8423,-14053,14053,-8423, -8765,-13842,13842,-8765, -9102,-13623,13623,-9102, -9434,-13395,13395,-9434, -9760,-13160,13160,-9760, -10080,-12916,12916,-10080, -10394,-12665,12665,-10394, -10702,-12406,12406,-10702, -11003,-12140,12140,-11003, -11297,-11866,11866,-11297, -11585,-11585,11585,-11585, -11866,-11297,11297,-11866, -12140,-11003,11003,-12140, -12406,-10702,10702,-12406, -12665,-10394,10394,-12665, -12916,-10080,10080,-12916, -13160,-9760,9760,-13160, -13395,-9434,9434,-13395, -13623,-9102,9102,-13623, -13842,-8765,8765,-13842, -14053,-8423,8423,-14053, -14256,-8076,8076,-14256, -14449,-7723,7723,-14449, -14635,-7366,7366,-14635, -14811,-7005,7005,-14811, -14978,-6639,6639,-14978, -15137,-6270,6270,-15137, -15286,-5897,5897,-15286, -15426,-5520,5520,-15426, -15557,-5139,5139,-15557, -15679,-4756,4756,-15679, -15791,-4370,4370,-15791, -15893,-3981,3981,-15893, -15986,-3590,3590,-15986, -16069,-3196,3196,-16069, -16143,-2801,2801,-16143, -16207,-2404,2404,-16207, -16261,-2006,2006,-16261, -16305,-1606,1606,-16305, -16340,-1205,1205,-16340, -16364,-804,804,-16364, -16379,-402,402,-16379};