Home
last modified time | relevance | path

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

/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Ddo_plc.c46 int16_t shift1, shift2, shift3, shiftMax; in WebRtcIlbcfix_DoThePlc() local
96 shiftMax = WebRtcSpl_GetSizeInBits(WEBRTC_SPL_ABS_W32(cross))-15; in WebRtcIlbcfix_DoThePlc()
98 (int16_t)WEBRTC_SPL_SHIFT_W32(cross, -shiftMax) * in WebRtcIlbcfix_DoThePlc()
99 (int16_t)WEBRTC_SPL_SHIFT_W32(cross, -shiftMax)) >> 15); in WebRtcIlbcfix_DoThePlc()
122 if(((shiftMax<<1)+shift3) > ((shift1<<1)+shift2)) { in WebRtcIlbcfix_DoThePlc()
123 tmp1 = WEBRTC_SPL_MIN(31, (shiftMax<<1)+shift3-(shift1<<1)-shift2); in WebRtcIlbcfix_DoThePlc()
127 tmp2 = WEBRTC_SPL_MIN(31, (shift1<<1)+shift2-(shiftMax<<1)-shift3); in WebRtcIlbcfix_DoThePlc()
135 shiftMax = shift1; in WebRtcIlbcfix_DoThePlc()