/external/speex/libspeex/ |
mdf.c | 128 void speex_echo_get_residual(SpeexEchoState *st, spx_word32_t *Yout, int len); 146 spx_word32_t sum_adapt; 157 spx_word32_t *PHI; /* scratch */ 158 spx_word32_t *W; /* (Background) filter weights */ 161 spx_word32_t Davg1; /* 1st recursive average of the residual power difference */ 162 spx_word32_t Davg2; /* 2nd recursive average of the residual power difference */ 166 spx_word32_t *power; /* Power of the far-end signal */ 172 spx_word32_t *Rf; /* scratch */ 173 spx_word32_t *Yf; /* scratch */ 174 spx_word32_t *Xf; /* scratch * [all...] |
filterbank.c | 54 FilterBank *filterbank_new(int banks, spx_word32_t sampling, int len, int type) 57 spx_word32_t df; 58 spx_word32_t max_mel, mel_interval; 80 spx_word32_t mel; 134 void filterbank_compute_bank32(FilterBank *bank, spx_word32_t *ps, spx_word32_t *mel) 161 spx_word32_t tmp;
|
math_approx.h | 124 spx_word32_t res; 142 static inline spx_word16_t spx_sqrt(spx_word32_t x) 145 spx_word32_t rt; 216 static inline spx_word16_t spx_cos_norm(spx_word32_t x) 250 static inline spx_word32_t spx_exp2(spx_word16_t x) 265 static inline spx_word32_t spx_exp(spx_word16_t x) 290 static inline spx_word16_t spx_atan(spx_word32_t x)
|
preprocess.c | 96 static inline spx_word16_t DIV32_16_Q8(spx_word32_t a, spx_word32_t b) 122 static inline spx_word16_t DIV32_16_Q15(spx_word32_t a, spx_word32_t b) 207 spx_word32_t *ps; /**< Current power spectrum */ 211 spx_word32_t *noise; /**< Noise estimate */ 212 spx_word32_t *reverb_estimate; /**< Estimate of reverb energy */ 213 spx_word32_t *old_ps; /**< Power spectrum for last frame */ 218 spx_word32_t *S; /**< Smoothed power spectrum */ 219 spx_word32_t *Smin; /**< See Cohen paper * [all...] |
stereo.c | 44 spx_word32_t balance; /**< Left/right balance info */ 45 spx_word32_t e_ratio; /**< Ratio of energies: E(left+right)/[E(left)+E(right)] */ 46 spx_word32_t smooth_left; /**< Smoothed left channel gain */ 47 spx_word32_t smooth_right; /**< Smoothed right channel gain */ 149 spx_word32_t e_left=0, e_right=0, e_tot=0; 150 spx_word32_t balance, e_ratio; 151 spx_word32_t largest, smallest; 224 spx_word32_t balance; 251 spx_word32_t balance;
|
modes.h | 77 int, int, SpeexBits*, char *, spx_word16_t *, spx_word16_t *, int, int, int, spx_word32_t *); 80 typedef void (*ltp_unquant_func)(spx_word16_t *, spx_word32_t *, int, int, spx_word16_t, const void *, int, int *,
|
sb_celp.h | 71 spx_word32_t *pi_gain; 119 spx_word32_t *pi_gain;
|
cb_search.c | 53 static void compute_weighted_codebook(const signed char *shape_cb, const spx_word16_t *r, spx_word16_t *resp, spx_word16_t *resp2, spx_word32_t *E, int shape_cb_size, int subvect_size, char *stack) 70 spx_word32_t resj=0; 122 VARDECL(spx_word32_t *E); 130 spx_word32_t best_dist; 145 ALLOC(E, shape_cb_size, spx_word32_t); 265 VARDECL(spx_word32_t *E); 270 VARDECL(spx_word32_t *ndist); 271 VARDECL(spx_word32_t *odist); 284 VARDECL(spx_word32_t *best_dist); 317 ALLOC(E, shape_cb_size, spx_word32_t); [all...] |
pseudofloat.h | 241 static inline spx_int32_t FLOAT_MUL32(spx_float_t a, spx_word32_t b) 246 static inline spx_float_t FLOAT_MUL32U(spx_word32_t a, spx_word32_t b) 264 static inline spx_float_t FLOAT_DIV32_FLOAT(spx_word32_t a, spx_float_t b) 286 static inline spx_float_t FLOAT_DIV32(spx_word32_t a, spx_word32_t b)
|
filters.c | 65 void sanitize_values32(spx_word32_t *vec, spx_word32_t min_val, spx_word32_t max_val, int len) 102 spx_word32_t vout = ADD32(MULT16_16(num[0], x[i]),mem[0]); 113 void signal_mul(const spx_sig_t *x, spx_sig_t *y, spx_word32_t scale, int len) 122 void signal_div(const spx_word16_t *x, spx_word16_t *y, spx_word32_t scale, int len) 157 void signal_mul(const spx_sig_t *x, spx_sig_t *y, spx_word32_t scale, int len) 164 void signal_div(const spx_sig_t *x, spx_sig_t *y, spx_word32_t scale, int len) 182 spx_word32_t sum=0; 204 spx_word32_t sum2=0 [all...] |
vq_sse.h | 36 void vq_nbest(spx_word16_t *_in, const __m128 *codebook, int len, int entries, __m128 *E, int N, int *nbest, spx_word32_t *best_dist, char *stack) 75 void vq_nbest_sign(spx_word16_t *_in, const __m128 *codebook, int len, int entries, __m128 *E, int N, int *nbest, spx_word32_t *best_dist, char *stack)
|
sb_celp.c | 245 st->pi_gain = (spx_word32_t*)speex_alloc((st->nbSubframes)*sizeof(spx_word32_t)); 313 VARDECL(spx_word32_t *low_pi_gain); 361 ALLOC(low_pi_gain, st->nbSubframes, spx_word32_t); 556 spx_word32_t rl, rh; /*Q13*/ 602 spx_word32_t g; /*Q7*/ 643 spx_word32_t scale; /*Q14*/ 798 st->pi_gain = (spx_word32_t*)speex_alloc((st->nbSubframes)*sizeof(spx_word32_t)); 880 VARDECL(spx_word32_t *low_pi_gain) [all...] |
quant_lsp.c | 101 spx_word32_t dist; 103 spx_word32_t best_dist=VERY_LARGE32; 133 spx_word32_t dist; 135 spx_word32_t best_dist=VERY_LARGE32;
|
nb_celp.c | 79 const spx_word32_t ol_gain_table[32]={18900, 25150, 33468, 44536, 59265, 78865, 104946, 139653, 185838, 247297, 329081, 437913, 582736, 775454, 1031906, 1373169, 1827293, 2431601, 3235761, 4305867, 5729870, 7624808, 10146425, 13501971, 17967238, 23909222, 31816294, 42338330, 56340132, 74972501, 99766822, 132760927}; 183 st->pi_gain = (spx_word32_t*)speex_alloc((st->nbSubframes)*sizeof(spx_word32_t)); 258 spx_word32_t ol_gain; 262 VARDECL(spx_word32_t *exc32); 277 spx_word32_t ener=0; 640 ALLOC(exc32, st->subframeSize, spx_word32_t); 677 spx_word32_t pi_g=LPC_SCALING; 809 spx_word32_t f = PDIV32(ener,PSHR32(ol_gain,SIG_SHIFT)); 966 st->pi_gain = (spx_word32_t*)speex_alloc((st->nbSubframes)*sizeof(spx_word32_t)) [all...] |
fixed_debug.h | 43 #define QCONST16(x,bits) ((spx_word16_t)(.5+(x)*(((spx_word32_t)1)<<(bits)))) 44 #define QCONST32(x,bits) ((spx_word32_t)(.5+(x)*(((spx_word32_t)1)<<(bits))))
|
kiss_fftr.c | 64 spx_word32_t phase = i+(nfft>>1); 178 spx_word32_t f1kr, f1ki, twr, twi;
|
kiss_fft.c | 53 spx_word32_t tr, ti; 483 spx_word32_t phase = i;
|
resample.c | 343 spx_word32_t sum; 444 spx_word32_t sum; 460 spx_word32_t accum[4] = {0,0,0,0}; 507 spx_word32_t sum; [all...] |