diff options
Diffstat (limited to 'lib/rbcodec/codecs/demac/libdemac/filter.h')
-rw-r--r-- | lib/rbcodec/codecs/demac/libdemac/filter.h | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/lib/rbcodec/codecs/demac/libdemac/filter.h b/lib/rbcodec/codecs/demac/libdemac/filter.h new file mode 100644 index 0000000000..609ea12496 --- /dev/null +++ b/lib/rbcodec/codecs/demac/libdemac/filter.h | |||
@@ -0,0 +1,50 @@ | |||
1 | /* | ||
2 | |||
3 | libdemac - A Monkey's Audio decoder | ||
4 | |||
5 | $Id$ | ||
6 | |||
7 | Copyright (C) Dave Chapman 2007 | ||
8 | |||
9 | This program is free software; you can redistribute it and/or modify | ||
10 | it under the terms of the GNU General Public License as published by | ||
11 | the Free Software Foundation; either version 2 of the License, or | ||
12 | (at your option) any later version. | ||
13 | |||
14 | This program is distributed in the hope that it will be useful, | ||
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
17 | GNU General Public License for more details. | ||
18 | |||
19 | You should have received a copy of the GNU General Public License | ||
20 | along with this program; if not, write to the Free Software | ||
21 | Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA | ||
22 | |||
23 | */ | ||
24 | |||
25 | #ifndef _APE_FILTER_H | ||
26 | #define _APE_FILTER_H | ||
27 | |||
28 | #include "demac_config.h" | ||
29 | |||
30 | void init_filter_16_11(filter_int* buf); | ||
31 | void apply_filter_16_11(int fileversion, int channel, | ||
32 | int32_t* decoded, int count); | ||
33 | |||
34 | void init_filter_64_11(filter_int* buf); | ||
35 | void apply_filter_64_11(int fileversion, int channel, | ||
36 | int32_t* decoded, int count); | ||
37 | |||
38 | void init_filter_32_10(filter_int* buf); | ||
39 | void apply_filter_32_10(int fileversion, int channel, | ||
40 | int32_t* decoded, int count); | ||
41 | |||
42 | void init_filter_256_13(filter_int* buf); | ||
43 | void apply_filter_256_13(int fileversion, int channel, | ||
44 | int32_t* decoded, int count); | ||
45 | |||
46 | void init_filter_1280_15(filter_int* buf); | ||
47 | void apply_filter_1280_15(int fileversion, int channel, | ||
48 | int32_t* decoded, int count); | ||
49 | |||
50 | #endif | ||