audio_coding/codecs/ilbc: Replaced macro WEBRTC_SPL_RSHIFT_W32 with >>
Removed usage of trivial macro. BUG=3348,3353 TESTED=locally on linux and trybots R=henrik.lundin@webrtc.org, kwiberg@webrtc.org Review URL: https://webrtc-codereview.appspot.com/29789004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@7480 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -39,9 +39,7 @@ void WebRtcIlbcfix_Interpolate(
|
||||
|
||||
invcoef = 16384 - coef; /* 16384 = 1.0 (Q14)*/
|
||||
for (i = 0; i < length; i++) {
|
||||
out[i] = (int16_t) WEBRTC_SPL_RSHIFT_W32(
|
||||
(WEBRTC_SPL_MUL_16_16(coef, in1[i]) + WEBRTC_SPL_MUL_16_16(invcoef, in2[i]))+8192,
|
||||
14);
|
||||
out[i] = (int16_t)((coef * in1[i] + invcoef * in2[i] + 8192) >> 14);
|
||||
}
|
||||
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user