r807: Minor fix...
[cinelerra_cv/mob.git] / toolame-02l / musicin.h
blob1aaf88a982eec815df691b9afe27f582ebd76ab7
1 /**********************************************************************
2 * ISO MPEG Audio Subgroup Software Simulation Group (1996)
3 * ISO 13818-3 MPEG-2 Audio Encoder - Lower Sampling Frequency Extension
5 * $Id: musicin.h,v 1.1 2003/10/04 00:11:19 herman Exp $
7 * $Log: musicin.h,v $
8 * Revision 1.1 2003/10/04 00:11:19 herman
9 * New file from 1.1.7 (not in 1.1.6) added from Rich's automakified src tree.
11 * Revision 1.1 2003/07/29 04:17:52 heroine
12 * *** empty log message ***
14 * Revision 1.1 1996/02/14 04:04:23 rowlands
15 * Initial revision
17 * Received from Mike Coleman
18 **********************************************************************/
20 #ifndef LOOP_DOT_H
21 #define LOOP_DOT_H
22 #include "common.h"
24 /**********************************************************************
25 * date programmers comment *
26 * 25. 6.92 Toshiyuki Ishino Ver 1.0 *
27 * 29.10.92 Masahiro Iwadare Ver 2.0 *
28 * 17. 4.93 Masahiro Iwadare Updated for IS Modification *
29 * *
30 *********************************************************************/
32 extern int cont_flag;
34 #define e 2.71828182845
36 #define CBLIMIT 21
38 #define SFB_LMAX 22
39 #define SFB_SMAX 13
41 extern int pretab[];
43 struct scalefac_struct
45 int l[23];
46 int s[14];
49 extern struct scalefac_struct sfBandIndex[]; /* Table B.8 -- in loop.c */
51 int nint (double in);
53 #define maximum(A,B) ( (A) > (B) ? (A) : (B) )
54 #define minimum(A,B) ( (A) < (B) ? (A) : (B) )
55 #define signum( A ) ( (A) > 0 ? 1 : -1 )
57 /* GLOBALE VARIABLE */
59 extern int bit_buffer[50000];
61 #endif