comparison Plugins/Input/aac/libfaad2/kbd_win.h @ 199:0a2ad94e8607 trunk

[svn] Synced with bmp-mp4. Build system is fragile, but should work now.
author chainsaw
date Wed, 16 Nov 2005 16:21:11 -0800
parents fa848bd484d8
children 29feaace84d0
comparison
equal deleted inserted replaced
198:5a338b31e393 199:0a2ad94e8607
1 /* 1 /*
2 ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding 2 ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
3 ** Copyright (C) 2003 M. Bakker, Ahead Software AG, http://www.nero.com 3 ** Copyright (C) 2003-2004 M. Bakker, Ahead Software AG, http://www.nero.com
4 ** 4 **
5 ** This program is free software; you can redistribute it and/or modify 5 ** This program is free software; you can redistribute it and/or modify
6 ** it under the terms of the GNU General Public License as published by 6 ** it under the terms of the GNU General Public License as published by
7 ** the Free Software Foundation; either version 2 of the License, or 7 ** the Free Software Foundation; either version 2 of the License, or
8 ** (at your option) any later version. 8 ** (at your option) any later version.
20 ** forbidden. 20 ** forbidden.
21 ** 21 **
22 ** Commercial non-GPL licensing of this software is possible. 22 ** Commercial non-GPL licensing of this software is possible.
23 ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com. 23 ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com.
24 ** 24 **
25 ** $Id: kbd_win.h,v 1.11 2003/11/12 20:47:58 menno Exp $ 25 ** $Id: kbd_win.h,v 1.17 2004/09/04 14:56:28 menno Exp $
26 **/ 26 **/
27 27
28 #ifndef __KBD_WIN_H__ 28 #ifndef __KBD_WIN_H__
29 #define __KBD_WIN_H__ 29 #define __KBD_WIN_H__
30 30
35 #ifdef _MSC_VER 35 #ifdef _MSC_VER
36 #pragma warning(disable:4305) 36 #pragma warning(disable:4305)
37 #pragma warning(disable:4244) 37 #pragma warning(disable:4244)
38 #endif 38 #endif
39 39
40 real_t kbd_long_1024[] = 40 ALIGN static const real_t kbd_long_1024[] =
41 { 41 {
42 FRAC_CONST(0.00029256153896361), 42 FRAC_CONST(0.00029256153896361),
43 FRAC_CONST(0.00042998567353047), 43 FRAC_CONST(0.00042998567353047),
44 FRAC_CONST(0.00054674074589540), 44 FRAC_CONST(0.00054674074589540),
45 FRAC_CONST(0.00065482304299792), 45 FRAC_CONST(0.00065482304299792),
1064 FRAC_CONST(0.99999990755616), 1064 FRAC_CONST(0.99999990755616),
1065 FRAC_CONST(0.99999995720387) 1065 FRAC_CONST(0.99999995720387)
1066 }; 1066 };
1067 1067
1068 #ifdef ALLOW_SMALL_FRAMELENGTH 1068 #ifdef ALLOW_SMALL_FRAMELENGTH
1069 real_t kbd_long_960[] = { 1069 ALIGN static const real_t kbd_long_960[] = {
1070 FRAC_CONST(0.0003021562530949), 1070 FRAC_CONST(0.0003021562530949),
1071 FRAC_CONST(0.0004452267024786), 1071 FRAC_CONST(0.0004452267024786),
1072 FRAC_CONST(0.0005674947527496), 1072 FRAC_CONST(0.0005674947527496),
1073 FRAC_CONST(0.0006812465553466), 1073 FRAC_CONST(0.0006812465553466),
1074 FRAC_CONST(0.0007910496776387), 1074 FRAC_CONST(0.0007910496776387),
2028 FRAC_CONST(0.9999999008865869), 2028 FRAC_CONST(0.9999999008865869),
2029 FRAC_CONST(0.9999999543507984) 2029 FRAC_CONST(0.9999999543507984)
2030 }; 2030 };
2031 #endif 2031 #endif
2032 2032
2033 real_t kbd_short_128[] = 2033 ALIGN static const real_t kbd_short_128[] =
2034 { 2034 {
2035 FRAC_CONST(4.3795702929468881e-005), 2035 FRAC_CONST(4.3795702929468881e-005),
2036 FRAC_CONST(0.00011867384265436617), 2036 FRAC_CONST(0.00011867384265436617),
2037 FRAC_CONST(0.0002307165763996192), 2037 FRAC_CONST(0.0002307165763996192),
2038 FRAC_CONST(0.00038947282760568383), 2038 FRAC_CONST(0.00038947282760568383),
2161 FRAC_CONST(0.99999999295825959), 2161 FRAC_CONST(0.99999999295825959),
2162 FRAC_CONST(0.99999999904096815) 2162 FRAC_CONST(0.99999999904096815)
2163 }; 2163 };
2164 2164
2165 #ifdef ALLOW_SMALL_FRAMELENGTH 2165 #ifdef ALLOW_SMALL_FRAMELENGTH
2166 real_t kbd_short_120[] = 2166 ALIGN static const real_t kbd_short_120[] =
2167 { 2167 {
2168 FRAC_CONST(0.0000452320086910), 2168 FRAC_CONST(0.0000452320086910),
2169 FRAC_CONST(0.0001274564692111), 2169 FRAC_CONST(0.0001274564692111),
2170 FRAC_CONST(0.0002529398385345), 2170 FRAC_CONST(0.0002529398385345),
2171 FRAC_CONST(0.0004335140496648), 2171 FRAC_CONST(0.0004335140496648),