Changeset 641 for pjproject/trunk/pjmedia/src/pjmedia-codec/speex/mdf.c
- Timestamp:
- Aug 1, 2006 11:09:35 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia-codec/speex/mdf.c
r628 r641 147 147 }; 148 148 149 static inline voidfilter_dc_notch16(const spx_int16_t *in, spx_word16_t radius, spx_word16_t *out, int len, spx_mem_t *mem)149 PJ_INLINE(void) filter_dc_notch16(const spx_int16_t *in, spx_word16_t radius, spx_word16_t *out, int len, spx_mem_t *mem) 150 150 { 151 151 int i; … … 171 171 } 172 172 173 static inline spx_word32_tmdf_inner_prod(const spx_word16_t *x, const spx_word16_t *y, int len)173 PJ_INLINE(spx_word32_t ) mdf_inner_prod(const spx_word16_t *x, const spx_word16_t *y, int len) 174 174 { 175 175 spx_word32_t sum=0; … … 187 187 188 188 /** Compute power spectrum of a half-complex (packed) vector */ 189 static inline voidpower_spectrum(const spx_word16_t *X, spx_word32_t *ps, int N)189 PJ_INLINE(void) power_spectrum(const spx_word16_t *X, spx_word32_t *ps, int N) 190 190 { 191 191 int i, j; … … 228 228 } 229 229 #else 230 static inline voidspectral_mul_accum(const spx_word16_t *X, const spx_word32_t *Y, spx_word16_t *acc, int N, int M)230 PJ_INLINE(void) spectral_mul_accum(const spx_word16_t *X, const spx_word32_t *Y, spx_word16_t *acc, int N, int M) 231 231 { 232 232 int i,j; … … 249 249 250 250 /** Compute weighted cross-power spectrum of a half-complex (packed) vector with conjugate */ 251 static inline voidweighted_spectral_mul_conj(const spx_float_t *w, const spx_word16_t *X, const spx_word16_t *Y, spx_word32_t *prod, int N)251 PJ_INLINE(void) weighted_spectral_mul_conj(const spx_float_t *w, const spx_word16_t *X, const spx_word16_t *Y, spx_word32_t *prod, int N) 252 252 { 253 253 int i, j;
Note: See TracChangeset
for help on using the changeset viewer.