diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-12-29 19:50:44 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-12-29 19:50:44 +0000 |
commit | 77456b04d9a3617ae0dc24c4dbac0f52017a8524 (patch) | |
tree | badb4a4a31165cebbc66245d532aadffa10bf173 /libaf/filter.h | |
parent | 47e2a4ad80721634a320f35acbe98dec8073bd16 (diff) | |
download | mpv-77456b04d9a3617ae0dc24c4dbac0f52017a8524.tar.bz2 mpv-77456b04d9a3617ae0dc24c4dbac0f52017a8524.tar.xz |
less namespace pollution #2 (prefixed globals in filter.c with af_filter_)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14276 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf/filter.h')
-rw-r--r-- | libaf/filter.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libaf/filter.h b/libaf/filter.h index 31ccbaf3c8..9b882c85d2 100644 --- a/libaf/filter.h +++ b/libaf/filter.h @@ -44,25 +44,25 @@ #define ODD 0x00000010 // Make filter HP // Exported functions -extern _ftype_t fir(unsigned int n, _ftype_t* w, _ftype_t* x); +extern _ftype_t af_filter_fir(unsigned int n, _ftype_t* w, _ftype_t* x); -extern _ftype_t* pfir(unsigned int n, unsigned int k, unsigned int xi, _ftype_t** w, _ftype_t** x, _ftype_t* y, unsigned int s); +extern _ftype_t* af_filter_pfir(unsigned int n, unsigned int k, unsigned int xi, _ftype_t** w, _ftype_t** x, _ftype_t* y, unsigned int s); -extern int updateq(unsigned int n, unsigned int xi, _ftype_t* xq, _ftype_t* in); -extern int updatepq(unsigned int n, unsigned int k, unsigned int xi, _ftype_t** xq, _ftype_t* in, unsigned int s); +//extern int af_filter_updateq(unsigned int n, unsigned int xi, _ftype_t* xq, _ftype_t* in); +extern int af_filter_updatepq(unsigned int n, unsigned int k, unsigned int xi, _ftype_t** xq, _ftype_t* in, unsigned int s); -extern int design_fir(unsigned int n, _ftype_t* w, _ftype_t* fc, unsigned int flags, _ftype_t opt); +extern int af_filter_design_fir(unsigned int n, _ftype_t* w, _ftype_t* fc, unsigned int flags, _ftype_t opt); -extern int design_pfir(unsigned int n, unsigned int k, _ftype_t* w, _ftype_t** pw, _ftype_t g, unsigned int flags); +extern int af_filter_design_pfir(unsigned int n, unsigned int k, _ftype_t* w, _ftype_t** pw, _ftype_t g, unsigned int flags); -extern int szxform(_ftype_t* a, _ftype_t* b, _ftype_t Q, _ftype_t fc, _ftype_t fs, _ftype_t *k, _ftype_t *coef); +extern int af_filter_szxform(_ftype_t* a, _ftype_t* b, _ftype_t Q, _ftype_t fc, _ftype_t fs, _ftype_t *k, _ftype_t *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 current index for xq and n the length of the filter. xq must be n*2 long. */ -#define updateq(n,xi,xq,in)\ +#define af_filter_updateq(n,xi,xq,in)\ xq[xi]=(xq)[(xi)+(n)]=*(in);\ xi=(++(xi))&((n)-1); |