Ignore:
Timestamp:
Aug 1, 2006 11:09:35 PM (18 years ago)
Author:
bennylp
Message:

Added simple WinCE application:

  • added pjsua_wince in pjsip-apps, which is a simple SIP UA application just to broadly test pjsip/pjmedia on WinCE.
  • Fix name conflicts in xpidf.c (e.g. ATOM variable conflicts with ATOM type in WinCE SDK).
  • Fix speex compilation errors on Wince (e.g. inline keyword is not recognized, replaced with PJ_INLINE).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia-codec/speex/mdf.c

    r628 r641  
    147147}; 
    148148 
    149 static inline void filter_dc_notch16(const spx_int16_t *in, spx_word16_t radius, spx_word16_t *out, int len, spx_mem_t *mem) 
     149PJ_INLINE(void) filter_dc_notch16(const spx_int16_t *in, spx_word16_t radius, spx_word16_t *out, int len, spx_mem_t *mem) 
    150150{ 
    151151   int i; 
     
    171171} 
    172172 
    173 static inline spx_word32_t mdf_inner_prod(const spx_word16_t *x, const spx_word16_t *y, int len) 
     173PJ_INLINE(spx_word32_t ) mdf_inner_prod(const spx_word16_t *x, const spx_word16_t *y, int len) 
    174174{ 
    175175   spx_word32_t sum=0; 
     
    187187 
    188188/** Compute power spectrum of a half-complex (packed) vector */ 
    189 static inline void power_spectrum(const spx_word16_t *X, spx_word32_t *ps, int N) 
     189PJ_INLINE(void) power_spectrum(const spx_word16_t *X, spx_word32_t *ps, int N) 
    190190{ 
    191191   int i, j; 
     
    228228} 
    229229#else 
    230 static inline void spectral_mul_accum(const spx_word16_t *X, const spx_word32_t *Y, spx_word16_t *acc, int N, int M) 
     230PJ_INLINE(void) spectral_mul_accum(const spx_word16_t *X, const spx_word32_t *Y, spx_word16_t *acc, int N, int M) 
    231231{ 
    232232   int i,j; 
     
    249249 
    250250/** Compute weighted cross-power spectrum of a half-complex (packed) vector with conjugate */ 
    251 static 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) 
     251PJ_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) 
    252252{ 
    253253   int i, j; 
Note: See TracChangeset for help on using the changeset viewer.