Mercurial > mplayer.hg
annotate libaf/window.h @ 26981:f3f553c03044
No need to set LC_ALL=C for individual shell commands,
it is already set from config.mak.
author | diego |
---|---|
date | Sat, 07 Jun 2008 12:01:29 +0000 |
parents | 07abe94a9cc4 |
children | 9e739bdb049c |
rev | line source |
---|---|
7568 | 1 /*============================================================================= |
2 // | |
13602
14090f7300a8
The full name of the GPL is GNU General Public License.
diego
parents:
7568
diff
changeset
|
3 // This software has been released under the terms of the GNU General Public |
7568 | 4 // license. See http://www.gnu.org/copyleft/gpl.html for details. |
5 // | |
6 // Copyright 2001 Anders Johansson ajh@atri.curtin.edu.au | |
7 // | |
8 //============================================================================= | |
9 */ | |
10 | |
11 /* Calculates a number of window functions. The following window | |
12 functions are currently implemented: Boxcar, Triang, Hanning, | |
13 Hamming, Blackman, Flattop and Kaiser. In the function call n is | |
14 the number of filter taps and w the buffer in which the filter | |
15 coefficients will be stored. | |
16 */ | |
17 | |
26029 | 18 #if !defined MPLAYER_DSP_H |
26343
1b73f5aa1796
Remove some useless quotes from #error preprocessor directives.
diego
parents:
26342
diff
changeset
|
19 # error Never use window.h directly; include dsp.h instead. |
7568 | 20 #endif |
21 | |
26029 | 22 #ifndef MPLAYER_WINDOW_H |
23 #define MPLAYER_WINDOW_H | |
7568 | 24 |
26350
07abe94a9cc4
Fix illegal identifier: Rename _ftype_t macro to FLOAT_TYPE.
diego
parents:
26343
diff
changeset
|
25 extern void af_window_boxcar(int n, FLOAT_TYPE* w); |
07abe94a9cc4
Fix illegal identifier: Rename _ftype_t macro to FLOAT_TYPE.
diego
parents:
26343
diff
changeset
|
26 extern void af_window_triang(int n, FLOAT_TYPE* w); |
07abe94a9cc4
Fix illegal identifier: Rename _ftype_t macro to FLOAT_TYPE.
diego
parents:
26343
diff
changeset
|
27 extern void af_window_hanning(int n, FLOAT_TYPE* w); |
07abe94a9cc4
Fix illegal identifier: Rename _ftype_t macro to FLOAT_TYPE.
diego
parents:
26343
diff
changeset
|
28 extern void af_window_hamming(int n, FLOAT_TYPE* w); |
07abe94a9cc4
Fix illegal identifier: Rename _ftype_t macro to FLOAT_TYPE.
diego
parents:
26343
diff
changeset
|
29 extern void af_window_blackman(int n, FLOAT_TYPE* w); |
07abe94a9cc4
Fix illegal identifier: Rename _ftype_t macro to FLOAT_TYPE.
diego
parents:
26343
diff
changeset
|
30 extern void af_window_flattop(int n, FLOAT_TYPE* w); |
07abe94a9cc4
Fix illegal identifier: Rename _ftype_t macro to FLOAT_TYPE.
diego
parents:
26343
diff
changeset
|
31 extern void af_window_kaiser(int n, FLOAT_TYPE* w, FLOAT_TYPE b); |
7568 | 32 |
26029 | 33 #endif /* MPLAYER_WINDOW_H */ |