imdct.h

来自「Application (fix point) for playing MP3 」· C头文件 代码 · 共 122 行

H
122
字号
/*  This program 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 2 of the License, or  (at your option) any later version.   This program 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 this program; if not, write to the Free Software  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.*/static short win[2][4][36] ={  /* Start of table */  {   /* Start of row 0 */    {      714, 2138, 3546, 4926,       6269, 7565, 8803, 9973,       11068, 12079, 12998, 13818,       14532, 15136, 15625, 15995,       16243, 16368, 16368, 16243,       15995, 15625, 15136, 14532,       13818, 12998, 12079, 11068,       9973, 8803, 7565, 6269,       4926, 3546, 2138, 714     }, /* end of row 0 */   /* Start of row 1 */    {      714, 2138, 3546, 4926,       6269, 7565, 8803, 9973,       11068, 12079, 12998, 13818,       14532, 15136, 15625, 15995,       16243, 16368, 16384, 16384,       16384, 16384, 16384, 16384,       16243, 15136, 12998, 9973,       6269, 2138, 0, 0,       0, 0, 0, 0     }, /* end of row 1 */   /* Start of row 2 */    {      2138, 6269, 9973, 12998,       15136, 16243, 16243, 15136,       12998, 9973, 6269, 2138,       0, 0, 0, 0,       0, 0, 0, 0,       0, 0, 0, 0,       0, 0, 0, 0,       0, 0, 0, 0,       0, 0, 0, 0     }, /* end of row 2 */   /* Start of row 3 */    {      0, 0, 0, 0,       0, 0, 2138, 6269,       9973, 12998, 15136, 16243,       16384, 16384, 16384, 16384,       16384, 16384, 16368, 16243,       15995, 15625, 15136, 14532,       13818, 12998, 12079, 11068,       9973, 8803, 7565, 6269,       4926, 3546, 2138, 714     }, /* end of row 3 */  }, /* Start of second half of table */  {    /* Start of row 0 */    {      714, -2138, 3546, -4926,       6269, -7565, 8803, -9973,       11068, -12079, 12998, -13818,       14532, -15136, 15625, -15995,       16243, -16368, 16368, -16243,       15995, -15625, 15136, -14532,       13818, -12998, 12079, -11068,       9973, -8803, 7565, -6269,       4926, -3546, 2138, -714     }, /* end of row 0 */    /* Start of row 1 */    {      714, -2138, 3546, -4926,       6269, -7565, 8803, -9973,       11068, -12079, 12998, -13818,       14532, -15136, 15625, -15995,       16243, -16368, 16384, -16384,       16384, -16384, 16384, -16384,       16243, -15136, 12998, -9973,       6269, -2138, 0, 0,       0, 0, 0, 0     }, /* end of row 1 */    /* Start of row 2 */    {      2138, -6269, 9973, -12998,       15136, -16243, 16243, -15136,       12998, -9973, 6269, -2138,       0, 0, 0, 0,       0, 0, 0, 0,       0, 0, 0, 0,       0, 0, 0, 0,       0, 0, 0, 0,       0, 0, 0, 0     }, /* end of row 2 */    /* Start of row 3 */    {      0, 0, 0, 0,       0, 0, 2138, -6269,       9973, -12998, 15136, -16243,       16384, -16384, 16384, -16384,       16384, -16384, 16368, -16243,       15995, -15625, 15136, -14532,       13818, -12998, 12079, -11068,       9973, -8803, 7565, -6269,       4926, -3546, 2138, -714     }, /* end of row 3 */  }/* End of second half of table */};

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?