diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-12-29 19:41:21 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-12-29 19:41:21 +0000 |
commit | 47e2a4ad80721634a320f35acbe98dec8073bd16 (patch) | |
tree | d494aba76c99971f7ee8f9a69585aaa670a75941 /libaf/window.c | |
parent | 3fe168658ad0914fe8a0c2de95d06648e90b8388 (diff) | |
download | mpv-47e2a4ad80721634a320f35acbe98dec8073bd16.tar.bz2 mpv-47e2a4ad80721634a320f35acbe98dec8073bd16.tar.xz |
less namespace pollution
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14275 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf/window.c')
-rw-r--r-- | libaf/window.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libaf/window.c b/libaf/window.c index c04913d165..06830b8dfc 100644 --- a/libaf/window.c +++ b/libaf/window.c @@ -24,7 +24,7 @@ // n window length // w buffer for the window parameters */ -void boxcar(int n, _ftype_t* w) +void af_window_boxcar(int n, _ftype_t* w) { int i; // Calculate window coefficients @@ -44,7 +44,7 @@ void boxcar(int n, _ftype_t* w) // n window length // w buffer for the window parameters */ -void triang(int n, _ftype_t* w) +void af_window_triang(int n, _ftype_t* w) { _ftype_t k1 = (_ftype_t)(n & 1); _ftype_t k2 = 1/((_ftype_t)n + k1); @@ -65,7 +65,7 @@ void triang(int n, _ftype_t* w) // n window length // w buffer for the window parameters */ -void hanning(int n, _ftype_t* w) +void af_window_hanning(int n, _ftype_t* w) { int i; _ftype_t k = 2*M_PI/((_ftype_t)(n+1)); // 2*pi/(N+1) @@ -84,7 +84,7 @@ void hanning(int n, _ftype_t* w) // n window length // w buffer for the window parameters */ -void hamming(int n,_ftype_t* w) +void af_window_hamming(int n,_ftype_t* w) { int i; _ftype_t k = 2*M_PI/((_ftype_t)(n-1)); // 2*pi/(N-1) @@ -103,7 +103,7 @@ void hamming(int n,_ftype_t* w) // n window length // w buffer for the window parameters */ -void blackman(int n,_ftype_t* w) +void af_window_blackman(int n,_ftype_t* w) { int i; _ftype_t k1 = 2*M_PI/((_ftype_t)(n-1)); // 2*pi/(N-1) @@ -123,7 +123,7 @@ void blackman(int n,_ftype_t* w) // n window length // w buffer for the window parameters */ -void flattop(int n,_ftype_t* w) +void af_window_flattop(int n,_ftype_t* w) { int i; _ftype_t k1 = 2*M_PI/((_ftype_t)(n-1)); // 2*pi/(N-1) @@ -142,7 +142,7 @@ void flattop(int n,_ftype_t* w) */ #define BIZ_EPSILON 1E-21 // Max error acceptable -_ftype_t besselizero(_ftype_t x) +static _ftype_t besselizero(_ftype_t x) { _ftype_t temp; _ftype_t sum = 1.0; @@ -186,7 +186,7 @@ _ftype_t besselizero(_ftype_t x) // 8.960 5.7 0.000275 -90 // 10.056 6.4 0.000087 -100 */ -void kaiser(int n, _ftype_t* w, _ftype_t b) +void af_window_kaiser(int n, _ftype_t* w, _ftype_t b) { _ftype_t tmp; _ftype_t k1 = 1.0/besselizero(b); |