📄 imdct.h
字号:
/****************************************************************************//* * imdct.h -- IMDCT table data structure * * Author : St閜hane TAVENARD * * (C) Copyright 1997-1998 St閜hane TAVENARD * All Rights Reserved * * 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. *//****************************************************************************/#ifndef IMDCT_H#define IMDCT_H/****************************************************************************/static short win[2][4][36] ={ { /* 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 }, /* 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 }, /* 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 }, /* 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 }, }, /* 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 }, /* 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 }, /* 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 }, /* 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 }, }};/****************************************************************************/#endif /* IMDCT_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -