summaryrefslogtreecommitdiffstats
path: root/libaf/filter.h
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-12-03 23:01:03 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-12-03 23:01:03 +0000
commit0864f92e7a55b20a21fc2f5eaf9e72cb799a6f7d (patch)
treeacd33d7cbfa6a967626858375daa802c652dfe3f /libaf/filter.h
parentd7a5babef76ba9324f303535745af21461bdcc84 (diff)
downloadmpv-0864f92e7a55b20a21fc2f5eaf9e72cb799a6f7d.tar.bz2
mpv-0864f92e7a55b20a21fc2f5eaf9e72cb799a6f7d.tar.xz
Get rid of pointless 'extern' keywords.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf/filter.h')
-rw-r--r--libaf/filter.h33
1 files changed, 16 insertions, 17 deletions
diff --git a/libaf/filter.h b/libaf/filter.h
index 0993f86cce..fe92be8e9c 100644
--- a/libaf/filter.h
+++ b/libaf/filter.h
@@ -44,28 +44,27 @@
#define ODD 0x00000010 // Make filter HP
// Exported functions
-extern FLOAT_TYPE af_filter_fir(unsigned int n, const FLOAT_TYPE* w, const FLOAT_TYPE* x);
+FLOAT_TYPE af_filter_fir(unsigned int n, const FLOAT_TYPE* w, const FLOAT_TYPE* x);
-extern FLOAT_TYPE* af_filter_pfir(unsigned int n, unsigned int k,
- unsigned int xi, const FLOAT_TYPE** w,
- const FLOAT_TYPE** x, FLOAT_TYPE* y,
- unsigned int s);
+FLOAT_TYPE* af_filter_pfir(unsigned int n, unsigned int k,
+ unsigned int xi, const FLOAT_TYPE** w,
+ const FLOAT_TYPE** x, FLOAT_TYPE* y,
+ unsigned int s);
-//extern int af_filter_updateq(unsigned int n, unsigned int xi,
-// FLOAT_TYPE* xq, FLOAT_TYPE* in);
-extern int af_filter_updatepq(unsigned int n, unsigned int k, unsigned int xi,
- FLOAT_TYPE** xq, const FLOAT_TYPE* in, unsigned int s);
+//int af_filter_updateq(unsigned int n, unsigned int xi,
+// FLOAT_TYPE* xq, FLOAT_TYPE* in);
+int af_filter_updatepq(unsigned int n, unsigned int k, unsigned int xi,
+ FLOAT_TYPE** xq, const FLOAT_TYPE* in, unsigned int s);
-extern int af_filter_design_fir(unsigned int n, FLOAT_TYPE* w, const FLOAT_TYPE* fc,
- unsigned int flags, FLOAT_TYPE opt);
+int af_filter_design_fir(unsigned int n, FLOAT_TYPE* w, const FLOAT_TYPE* fc,
+ unsigned int flags, FLOAT_TYPE opt);
-extern int af_filter_design_pfir(unsigned int n, unsigned int k, const FLOAT_TYPE* w,
- FLOAT_TYPE** pw, FLOAT_TYPE g,
- unsigned int flags);
+int af_filter_design_pfir(unsigned int n, unsigned int k, const FLOAT_TYPE* w,
+ FLOAT_TYPE** pw, FLOAT_TYPE g, unsigned int flags);
-extern int af_filter_szxform(const FLOAT_TYPE* a, const FLOAT_TYPE* b, FLOAT_TYPE Q,
- FLOAT_TYPE fc, FLOAT_TYPE fs, FLOAT_TYPE *k,
- FLOAT_TYPE *coef);
+int af_filter_szxform(const FLOAT_TYPE* a, const FLOAT_TYPE* b, FLOAT_TYPE Q,
+ FLOAT_TYPE fc, FLOAT_TYPE fs, FLOAT_TYPE *k,
+ FLOAT_TYPE *coef);
/* Add new data to circular queue designed to be used with a FIR
filter. xq is the circular queue, in pointing at the new sample, xi