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 2004/05/08 12:14:42 kramm Exp $
37 * Revision 1.1 2004/05/08 12:14:42 kramm
38 * Version 0.94.1 of the bladeenc mp3 encoder
40 * Revision 1.1 2002/01/10 17:30:00 kramm
41 * Version 0.94.1 of the bladeenc mp3 encoder
43 * Revision 1.1 1996/02/14 04:04:23 rowlands
46 * Received from Mike Coleman
47 **********************************************************************/
48 /**********************************************************************
49 * date programmers comment *
50 * 25. 6.92 Toshiyuki Ishino Ver 1.0 *
51 * 29.10.92 Masahiro Iwadare Ver 2.0 *
52 * 17. 4.93 Masahiro Iwadare Updated for IS Modification *
54 *********************************************************************/
63 /* #define CBLIMIT_SHORT 12 */
69 /* void l3deco (void); */
75 /* Layer III side information. */
77 /* typedef double D576[576]; */
78 /* typedef int I576[576]; */
79 /* typedef double D192_3[192][3]; */
80 /* typedef int I192_3[192][3]; */
81 /* typedef char C192_3[192][3]; */
94 double s[2][2][12][3];
100 double s[2][2][12][3];
108 double xmin_s[3][192];
111 } III_input3;*/ /* ch */
115 unsigned part2_3_length;
118 unsigned global_gain;
119 unsigned scalefac_compress;
120 unsigned window_switching_flag;
122 unsigned mixed_block_flag;
123 unsigned table_select[3];
124 int /* unsigned */ subblock_gain[3];
125 unsigned region0_count;
126 unsigned region1_count;
128 unsigned scalefac_scale;
129 unsigned count1table_select;
130 unsigned part2_length;
136 double quantizerStepSize;
138 unsigned *sfb_partition_table;
144 int main_data_begin; /* unsigned -> int */
145 unsigned private_bits;
147 unsigned scfsi[2][4];
161 /* Layer III scale factors. */
165 int l[2][2][22]; /* [cb] */
166 int s[2][2][13][3]; /* [window][cb] */
167 } III_scalefac_t; /* [gr][ch] */
173 #endif /* __L3SIDE__ */