Home
last modified time | relevance | path

Searched refs:gain_floor (Results 1 - 2 of 2) sorted by relevance

/third_party/pulseaudio/speex/tmv/
H A Dpreprocess_tm.h529 float * gain_floor, in compute_gain_floor()
552 gain_floor[i] = FRAC_SCALING * sqrt(noise_floor * noisei + echo_floor * echoi) / sqrt(1+noisei+echoi); in compute_gain_floor()
567 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);
818 register spx_word16_t * restrict gain_floor = st->gain_floor; in preprocess_compute_linear_gain() local
826 filterbank_compute_psd16(st->bank,gain_floor+N,gain_floor); in preprocess_compute_linear_gain()
840 register spx_word16_t gfi = gain_floor[i]; in preprocess_compute_linear_gain()
879 register spx_word16_t * restrict gain_floor = st->gain_floor;
524 compute_gain_floor( int noise_suppress, int effective_echo_suppress, float * restrict noise, float * restrict echo, float * gain_floor, int len ) compute_gain_floor() argument
[all...]
/third_party/pulseaudio/speex/libspeexdsp/
H A Dpreprocess.c205 spx_word16_t *gain_floor; /**< Minimum gain allowed */ member
317 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) in compute_gain_floor() argument
327 /* gain_floor = sqrt [ (noise*noise_floor + echo*echo_floor) / (noise+echo) ] */ in compute_gain_floor()
329 gain_floor[i] = MULT16_16_Q15(noise_gain, in compute_gain_floor()
337 /* gain_floor = sqrt [ (noise*noise_floor + echo*echo_floor) / (noise+echo) ] */ in compute_gain_floor()
339 gain_floor[i] = MULT16_16_Q15(echo_gain, in compute_gain_floor()
376 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) in compute_gain_floor() argument
387 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]); in compute_gain_floor()
458 st->gain_floor = (spx_word16_t*)speex_alloc((N+M)*sizeof(spx_word16_t)); in speex_preprocess_state_init()
535 speex_free(st->gain_floor); in speex_preprocess_state_destroy()
[all...]

Completed in 3 milliseconds