Lines Matching refs:spx_int32_t
721 EXPORT int speex_preprocess(SpeexPreprocessState *st, spx_int16_t *x, spx_int32_t *echo)
1056 st->denoise_enabled = (*(spx_int32_t*)ptr);
1059 (*(spx_int32_t*)ptr) = st->denoise_enabled;
1063 st->agc_enabled = (*(spx_int32_t*)ptr);
1066 (*(spx_int32_t*)ptr) = st->agc_enabled;
1081 st->max_increase_step = exp(0.11513f * (*(spx_int32_t*)ptr)*st->frame_size / st->sampling_rate);
1084 (*(spx_int32_t*)ptr) = floor(.5+8.6858*log(st->max_increase_step)*st->sampling_rate/st->frame_size);
1087 st->max_decrease_step = exp(0.11513f * (*(spx_int32_t*)ptr)*st->frame_size / st->sampling_rate);
1090 (*(spx_int32_t*)ptr) = floor(.5+8.6858*log(st->max_decrease_step)*st->sampling_rate/st->frame_size);
1093 st->max_gain = exp(0.11513f * (*(spx_int32_t*)ptr));
1096 (*(spx_int32_t*)ptr) = floor(.5+8.6858*log(st->max_gain));
1102 st->vad_enabled = (*(spx_int32_t*)ptr);
1105 (*(spx_int32_t*)ptr) = st->vad_enabled;
1109 st->dereverb_enabled = (*(spx_int32_t*)ptr);
1114 (*(spx_int32_t*)ptr) = st->dereverb_enabled;
1136 *(spx_int32_t*)ptr = MIN32(100,MAX32(0, *(spx_int32_t*)ptr));
1137 st->speech_prob_start = DIV32_16(MULT16_16(Q15ONE,*(spx_int32_t*)ptr), 100);
1140 (*(spx_int32_t*)ptr) = MULT16_16_Q15(st->speech_prob_start, 100);
1144 *(spx_int32_t*)ptr = MIN32(100,MAX32(0, *(spx_int32_t*)ptr));
1145 st->speech_prob_continue = DIV32_16(MULT16_16(Q15ONE,*(spx_int32_t*)ptr), 100);
1148 (*(spx_int32_t*)ptr) = MULT16_16_Q15(st->speech_prob_continue, 100);
1152 st->noise_suppress = -ABS(*(spx_int32_t*)ptr);
1155 (*(spx_int32_t*)ptr) = st->noise_suppress;
1158 st->echo_suppress = -ABS(*(spx_int32_t*)ptr);
1161 (*(spx_int32_t*)ptr) = st->echo_suppress;
1164 st->echo_suppress_active = -ABS(*(spx_int32_t*)ptr);
1167 (*(spx_int32_t*)ptr) = st->echo_suppress_active;
1177 (*(spx_int32_t*)ptr) = pow(st->loudness, 1.0/LOUDNESS_EXP);
1180 (*(spx_int32_t*)ptr) = floor(.5+8.6858*log(st->agc_gain));
1185 (*(spx_int32_t*)ptr) = st->ps_size;
1189 ((spx_int32_t *)ptr)[i] = (spx_int32_t) st->ps[i];
1193 ((spx_int32_t *)ptr)[i] = (spx_int32_t) PSHR32(st->noise[i], NOISE_SHIFT);
1196 (*(spx_int32_t*)ptr) = MULT16_16_Q15(st->speech_prob, 100);
1200 st->agc_level = (*(spx_int32_t*)ptr);
1207 (*(spx_int32_t*)ptr) = st->agc_level;