Home | History | Annotate | Download | only in vad

Lines Matching refs:tmp16

34   int16_t tmp16, inv_std, inv_std2, exp_value = 0;
44 tmp16 = (inv_std >> 2); // Q10 -> Q8.
46 inv_std2 = (int16_t) WEBRTC_SPL_MUL_16_16_RSFT(tmp16, tmp16, 2);
51 tmp16 = (input << 3); // Q4 -> Q7
52 tmp16 = tmp16 - mean; // Q7 - Q7 = Q7
57 *delta = (int16_t) WEBRTC_SPL_MUL_16_16_RSFT(inv_std2, tmp16, 10);
62 tmp32 = WEBRTC_SPL_MUL_16_16_RSFT(*delta, tmp16, 9);
68 // Calculate |tmp16| = log2(exp(1)) * |tmp32|, in Q10.
70 tmp16 = (int16_t) WEBRTC_SPL_MUL_16_16_RSFT(kLog2Exp, (int16_t) tmp32, 12);
71 tmp16 = -tmp16;
72 exp_value = (0x0400 | (tmp16 & 0x03FF));
73 tmp16 ^= 0xFFFF;
74 tmp16 >>= 10;
75 tmp16 += 1;
77 exp_value >>= tmp16;