audio_coding: Replaced macro WEBRTC_SPL_RSHIFT_W16 with >>

Replaced trivial shift macro with >>. The actual implementation of the macro is simply >>.

Affected codecs:
* ilbc
* isac/fix

BUG=3348,3353
TESTED=locally on linux and trybots
R=henrik.lundin@webrtc.org, kwiberg@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/23889004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@7396 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
bjornv@webrtc.org
2014-10-08 15:36:30 +00:00
parent 575d126a3d
commit f71785cd3b
16 changed files with 47 additions and 58 deletions

View File

@ -53,7 +53,7 @@ void WebRtcIlbcfix_Refiner(
/* defining array bounds */
estSegPosRounded=WEBRTC_SPL_RSHIFT_W16((estSegPos - 2),2);
estSegPosRounded = (estSegPos - 2) >> 2;
searchSegStartPos=estSegPosRounded-ENH_SLOP;
@ -103,7 +103,7 @@ void WebRtcIlbcfix_Refiner(
bounds */
*updStartPos = (int16_t)WEBRTC_SPL_MUL_16_16(searchSegStartPos,4) + tloc + 4;
tloc2 = WEBRTC_SPL_RSHIFT_W16((tloc+3), 2);
tloc2 = (tloc + 3) >> 2;
st=searchSegStartPos+tloc2-ENH_FL0;