Searched defs:gain_floor (Results 1 - 1 of 1) sorted by relevance
/external/speex/libspeex/ |
H A D | preprocess.c | 209 spx_word16_t *gain_floor; /**< Minimum gain allowed */ member in struct:SpeexPreprocessState_ 321 static void compute_gain_floor(int noise_suppress, int effective_echo_suppress, spx_word32_t *noise, spx_word32_t *echo, spx_word16_t *gain_floor, int len) argument 331 /* gain_floor = sqrt [ (noise*noise_floor + echo*echo_floor) / (noise+echo) ] */ 333 gain_floor[i] = MULT16_16_Q15(noise_gain, 341 /* gain_floor = sqrt [ (noise*noise_floor + echo*echo_floor) / (noise+echo) ] */ 343 gain_floor[i] = MULT16_16_Q15(echo_gain, 380 static void compute_gain_floor(int noise_suppress, int effective_echo_suppress, spx_word32_t *noise, spx_word32_t *echo, spx_word16_t *gain_floor, int len) argument 391 gain_floor[i] = FRAC_SCALING*sqrt(noise_floor*PSHR32(noise[i],NOISE_SHIFT) + echo_floor*echo[i])/sqrt(1+PSHR32(noise[i],NOISE_SHIFT) + echo[i]); 462 st->gain_floor = (spx_word16_t*)speex_alloc((N+M)*sizeof(spx_word16_t)); 539 speex_free(st->gain_floor); [all...] |
Completed in 26 milliseconds