common_audio/signal_processing: Removes macro WEBRTC_SPL_UMUL_RSFT16
This macro was only used on two lines in iSACfix and I replaced those with the operations the macro performed. BUG=3348 TESTED=trybots, manual unittests R=tina.legrand@webrtc.org Review URL: https://webrtc-codereview.appspot.com/14529004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6184 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -67,9 +67,9 @@ int WebRtcIsacfix_EncHistMulti(Bitstr_enc *streamData,
|
||||
W_upper_LSB = W_upper & 0x0000FFFF;
|
||||
W_upper_MSB = WEBRTC_SPL_RSHIFT_W32(W_upper, 16);
|
||||
W_lower = WEBRTC_SPL_UMUL(W_upper_MSB, cdfLo);
|
||||
W_lower += WEBRTC_SPL_UMUL_RSFT16(W_upper_LSB, cdfLo);
|
||||
W_lower += ((W_upper_LSB * cdfLo) >> 16);
|
||||
W_upper = WEBRTC_SPL_UMUL(W_upper_MSB, cdfHi);
|
||||
W_upper += WEBRTC_SPL_UMUL_RSFT16(W_upper_LSB, cdfHi);
|
||||
W_upper += ((W_upper_LSB * cdfHi) >> 16);
|
||||
|
||||
/* shift interval such that it begins at zero */
|
||||
W_upper -= ++W_lower;
|
||||
|
Reference in New Issue
Block a user