Searched refs:gainW32 (Results 1 – 2 of 2) sorted by relevance
34 int32_t gainW32, measure1, measure2; in WebRtcIlbcfix_GainQuant() local51 gainW32 = gain << 14; in WebRtcIlbcfix_GainQuant()68 measure1 = measure1 - gainW32; in WebRtcIlbcfix_GainQuant()82 if (gainW32>measure1) { in WebRtcIlbcfix_GainQuant()85 if ((measure2-gainW32)<(gainW32-measure1)) { in WebRtcIlbcfix_GainQuant()91 if ((gainW32-measure2)<=(measure1-gainW32)) { in WebRtcIlbcfix_GainQuant()
39 int32_t gainW32; in WebRtcIlbcfix_CbUpdateBestIndex() local67 gainW32 = ((int16_t)WEBRTC_SPL_SHIFT_W32(cDotNew, -tmp16) * invEnergyNew) >> in WebRtcIlbcfix_CbUpdateBestIndex()74 if (gainW32>21299) { in WebRtcIlbcfix_CbUpdateBestIndex()76 } else if (gainW32<-21299) { in WebRtcIlbcfix_CbUpdateBestIndex()79 *bestGain=(int16_t)gainW32; in WebRtcIlbcfix_CbUpdateBestIndex()