Lines Matching refs:int16_t
17 static const int16_t kLog2Exp = 5909; // log2(exp(1)) in Q12.
30 int32_t WebRtcVad_GaussianProbability(int16_t input,
31 int16_t mean,
32 int16_t std,
33 int16_t* delta) {
34 int16_t tmp16, inv_std, inv_std2, exp_value = 0;
41 inv_std = (int16_t) WebRtcSpl_DivW32W16(tmp32, std);
46 inv_std2 = (int16_t) WEBRTC_SPL_MUL_16_16_RSFT(tmp16, tmp16, 2);
48 // |inv_std2| = (int16_t) WEBRTC_SPL_MUL_16_16_RSFT(|inv_std|, |inv_std|, 6);
57 *delta = (int16_t) WEBRTC_SPL_MUL_16_16_RSFT(inv_std2, tmp16, 10);
70 tmp16 = (int16_t) WEBRTC_SPL_MUL_16_16_RSFT(kLog2Exp, (int16_t) tmp32, 12);