polygon intersector: added horizontal line reconstruction
[swftools.git] / lib / lame / psymodel.h
1 /*
2  *      psymodel.h
3  *
4  *      Copyright (c) 1999 Mark Taylor
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Library General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Library General Public License for more details.
15  *
16  * You should have received a copy of the GNU Library General Public
17  * License along with this library; if not, write to the
18  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
19  * Boston, MA 02111-1307, USA.
20  */
21
22 #ifndef LAME_PSYMODEL_H
23 #define LAME_PSYMODEL_H
24
25 #include "l3side.h"
26
27 int L3psycho_anal( lame_global_flags *gfc,
28                     const sample_t *buffer[2], int gr, 
29                     FLOAT8 *ms_ratio, 
30                     FLOAT8 *ms_ratio_next, 
31                     III_psy_ratio ratio[2][2],
32                     III_psy_ratio MS_ratio[2][2],
33                    FLOAT8 pe[2], FLOAT8 pe_MS[2], FLOAT8 ener[2],
34                     int blocktype_d[2]); 
35
36 int L3psycho_anal_ns( lame_global_flags *gfc,
37                       const sample_t *buffer[2], int gr, 
38                       FLOAT8 *ms_ratio, 
39                       FLOAT8 *ms_ratio_next, 
40                       III_psy_ratio ratio[2][2],
41                       III_psy_ratio MS_ratio[2][2],
42                       FLOAT8 pe[2], FLOAT8 pe_MS[2], FLOAT8 ener[2],
43                       int blocktype_d[2]); 
44
45
46 int psymodel_init(lame_global_flags *gfp);
47
48
49 #endif /* LAME_PSYMODEL_H */