1 /* this file is a part of amp software, (C) tomislav uzelac 1996,1997
2 */
3 
4 /* misc2.h
5  *
6  * Created by: tomislav uzelac  May 1996
7  * Last modified by: tomislav uzelac Jan  8 1997
8  */
9 #ifndef _MISC2_H_
10 #define _MISC2_H_
11 void requantize_mono(int, int, struct SIDE_INFO *, struct AUDIO_HEADER *);
12 void requantize_ms(int, struct SIDE_INFO *, struct AUDIO_HEADER *);
13 void requantize_downmix(int, struct SIDE_INFO *, struct AUDIO_HEADER *);
14 
15 void alias_reduction(int);
16 void calculate_t43(void);
17 
18 extern int no_of_imdcts[];
19 
20 #ifdef MISC2
21 
22 #define i_sq2   0.707106781188
23 #define IS_ILLEGAL 0xfeed
24 
25 static inline float fras_l(int,int,int,int,int);
26 static inline float fras_s(int,int,int,int);
27 static inline float fras2(int,float);
28 static int find_isbound(int isbound[3],int gr,struct SIDE_INFO *info,struct AUDIO_HEADER *header);
29 static inline void stereo_s(int l,float a[2],int pos,int ms_flag,int is_pos,struct AUDIO_HEADER *header);
30 static inline void stereo_l(int l,float a[2],int ms_flag,int is_pos,struct AUDIO_HEADER *header);
31 
32 #endif
33 #endif
34 
35