Home
last modified time | relevance | path

Searched refs:tmp16_1 (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/fix/source/
Dpitch_estimator.c38 int16_t tmp16_1, tmp16_2; in Exp2Q10() local
41 tmp16_1 = -(x >> 10); in Exp2Q10()
42 if(tmp16_1>0) in Exp2Q10()
43 return tmp16_2 >> tmp16_1; in Exp2Q10()
45 return tmp16_2 << -tmp16_1; in Exp2Q10()
56 int16_t t16, tmp16, tmp16_1; in Intrp1DQ8() local
83 tmp16_1 = (int16_t)(t16 * t16); /* Q8*Q8=Q16 */ in Intrp1DQ8()
84 tmp16_1 >>= 2; /* Q16>>2 = Q14 */ in Intrp1DQ8()
86 tmp16 = tmp16_1-t16; in Intrp1DQ8()
90 tmp16 = 16384-tmp16_1; /* 1 in Q14 - Q14 */ in Intrp1DQ8()
[all …]
Dlpc_masking_model.c365 int16_t tmp16_1, tmp16_2; in WebRtcIsacfix_GetVars() local
413 tmp16_1 = ((uint16_t)(tmp16 ^ 0xFFFF) >> 10) - 3; /* Gives result in Q14 */ in WebRtcIsacfix_GetVars()
414 if (tmp16_1<0) in WebRtcIsacfix_GetVars()
415 expPg = -(tmp16_2 << -tmp16_1); in WebRtcIsacfix_GetVars()
417 expPg = -(tmp16_2 >> tmp16_1); in WebRtcIsacfix_GetVars()
427 tmp16_1 = ((uint16_t)(tmp16 ^ 0xFFFF) >> 10) - 3; /* Gives result in Q14 */ in WebRtcIsacfix_GetVars()
428 if (tmp16_1<0) in WebRtcIsacfix_GetVars()
429 expPg = tmp16_2 << -tmp16_1; in WebRtcIsacfix_GetVars()
431 expPg = tmp16_2 >> tmp16_1; in WebRtcIsacfix_GetVars()
443 int16_t tmp16_1, tmp16_2; in exp2_Q10_T() local
[all …]
Ddecode_plc.c106 int16_t tmp16_1, tmp16_2; in exp2_Q10_T() local
109 tmp16_1 = -(x >> 10); in exp2_Q10_T()
110 if(tmp16_1>0) in exp2_Q10_T()
111 return tmp16_2 >> tmp16_1; in exp2_Q10_T()
113 return tmp16_2 << -tmp16_1; in exp2_Q10_T()
/external/webrtc/webrtc/common_audio/vad/
Dvad_sp.c31 int16_t tmp16_1 = 0, tmp16_2 = 0; in WebRtcVad_Downsampling() local
41 tmp16_1 = (int16_t) ((tmp32_1 >> 1) + in WebRtcVad_Downsampling()
43 *signal_out = tmp16_1; in WebRtcVad_Downsampling()
44 tmp32_1 = (int32_t)(*signal_in++) - ((kAllPassCoefsQ13[0] * tmp16_1) >> 12); in WebRtcVad_Downsampling()