Mercurial > mplayer.hg
annotate libaf/window.h @ 24758:8383cea01fff
#ifdef's in tv.c and tv.h becomes more and more hard to maintain.
I've decided to remove all of them and control options only through cfg-common.h
author | voroshil |
---|---|
date | Sun, 14 Oct 2007 16:44:32 +0000 |
parents | 3f0d00abc073 |
children | 3baf6a2283da |
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 | |
23689
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
14274
diff
changeset
|
18 #if !defined DSP_H |
7568 | 19 # error "Never use <window.h> directly; include <dsp.h> instead" |
20 #endif | |
21 | |
23689
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
14274
diff
changeset
|
22 #ifndef WINDOW_H |
3f0d00abc073
Do not use leading underscores in multiple inclusion guards, they are reserved.
diego
parents:
14274
diff
changeset
|
23 #define WINDOW_H |
7568 | 24 |
14274 | 25 extern void af_window_boxcar(int n, _ftype_t* w); |
26 extern void af_window_triang(int n, _ftype_t* w); | |
27 extern void af_window_hanning(int n, _ftype_t* w); | |
28 extern void af_window_hamming(int n,_ftype_t* w); | |
29 extern void af_window_blackman(int n,_ftype_t* w); | |
30 extern void af_window_flattop(int n,_ftype_t* w); | |
31 extern void af_window_kaiser(int n, _ftype_t* w,_ftype_t b); | |
7568 | 32 |
33 #endif |