Home
last modified time | relevance | path

Searched refs:gainW32 (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Dgain_quant.c34 int32_t gainW32, measure1, measure2; in WebRtcIlbcfix_GainQuant() local
51 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()
Dcb_update_best_index.c39 int32_t gainW32; in WebRtcIlbcfix_CbUpdateBestIndex() local
67 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()