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-04 Andre Piotrowski
25 - reformatted, slimmed
30 /**********************************************************************
31 * ISO MPEG Audio Subgroup Software Simulation Group (1996)
32 * ISO 13818-3 MPEG-2 Audio Encoder - Lower Sampling Frequency Extension
34 * $Id: l3side.h,v 1.1 2002/01/10 17:30:00 kramm Exp $
37 * Revision 1.1 2002/01/10 17:30:00 kramm
38 * Version 0.94.1 of the bladeenc mp3 encoder
40 * Revision 1.1 1996/02/14 04:04:23 rowlands
43 * Received from Mike Coleman
44 **********************************************************************/
45 /**********************************************************************
46 * date programmers comment *
47 * 25. 6.92 Toshiyuki Ishino Ver 1.0 *
48 * 29.10.92 Masahiro Iwadare Ver 2.0 *
49 * 17. 4.93 Masahiro Iwadare Updated for IS Modification *
51 *********************************************************************/
60 /* #define CBLIMIT_SHORT 12 */
66 /* void l3deco (void); */
72 /* Layer III side information. */
74 /* typedef double D576[576]; */
75 /* typedef int I576[576]; */
76 /* typedef double D192_3[192][3]; */
77 /* typedef int I192_3[192][3]; */
78 /* typedef char C192_3[192][3]; */
91 double s[2][2][12][3];
97 double s[2][2][12][3];
105 double xmin_s[3][192];
108 } III_input3;*/ /* ch */
112 unsigned part2_3_length;
115 unsigned global_gain;
116 unsigned scalefac_compress;
117 unsigned window_switching_flag;
119 unsigned mixed_block_flag;
120 unsigned table_select[3];
121 int /* unsigned */ subblock_gain[3];
122 unsigned region0_count;
123 unsigned region1_count;
125 unsigned scalefac_scale;
126 unsigned count1table_select;
127 unsigned part2_length;
133 double quantizerStepSize;
135 unsigned *sfb_partition_table;
141 int main_data_begin; /* unsigned -> int */
142 unsigned private_bits;
144 unsigned scfsi[2][4];
158 /* Layer III scale factors. */
162 int l[2][2][22]; /* [cb] */
163 int s[2][2][13][3]; /* [window][cb] */
164 } III_scalefac_t; /* [gr][ch] */
170 #endif /* __L3SIDE__ */