2 (c) Copyright 1998-2000 - Tord Jansson
3 ======================================
5 This file is part of the BladeEnc MP3 Encoder, based on
6 ISO's reference code for MPEG Layer 3 compression, and might
7 contain smaller or larger sections that are directly taken
8 from ISO's reference code.
10 All changes to the ISO reference code herein are either
11 copyrighted by Tord Jansson (tord.jansson@swipnet.se)
12 or sublicensed to Tord Jansson by a third party.
14 BladeEnc is free software; you can redistribute this file
15 and/or modify it under the terms of the GNU Lesser General Public
16 License as published by the Free Software Foundation; either
17 version 2.1 of the License, or (at your option) any later version.
21 ------------ Changes ------------
23 2000-12-06 Andre Piotrowski
34 #define NEW_L3PARM_TABLES 1
53 int cbmax_l; /* number of valid entries */
54 int numlines_l[CBANDS];
55 double minval [CBANDS];
56 double qthr_l [CBANDS];
57 #if !CALC_NORM /* do we compute more exact values? */
58 double norm_l [CBANDS];
60 double bval_l [CBANDS];
66 int cbmax_s; /* number of valid entries */
67 int numlines_s[CBANDS_s];
68 double qthr_s [CBANDS_s];
69 #if !CALC_NORM /* do we compute more exact values? */
70 double norm_s [CBANDS_s];
72 double SNR_s [CBANDS_s];
73 double bval_s [CBANDS_s];
92 double w1_s [CBANDS_s];
93 double w2_s [CBANDS_s];
99 l3_long_data long_data;
100 l3_short_data short_data;
101 l3_long_thres long_thres;
102 l3_short_thres short_thres;
106 extern l3_parm_block l3_parm[3];
109 #else /* NEW_L3PARM_TABLES */
143 extern psyDataElem psy_longBlock_48000_61[62];
144 extern psyDataElem psy_longBlock_44100_62[63];
145 extern psyDataElem psy_longBlock_32000_58[59];
147 extern psyDataElem2 psy_shortBlock_48000_37[38];
148 extern psyDataElem2 psy_shortBlock_44100_38[39];
149 extern psyDataElem2 psy_shortBlock_32000_41[42];
151 extern psyDataElem3 psy_data3_48000_20[21];
152 extern psyDataElem3 psy_data3_44100_20[21];
153 extern psyDataElem3 psy_data3_32000_20[21];
155 extern psyDataElem3 psy_data4_48000_11[12];
156 extern psyDataElem3 psy_data4_44100_11[12];
157 extern psyDataElem3 psy_data4_32000_11[12];
160 #endif /* NEW_L3PARM_TABLES */
166 extern double enwindow[512];
167 extern char aHuffcode[1498][36];
173 #endif /* __TABLES__ */