Refactoring common_audio: Remove macro WEBRTC_SPL_MEMMOVE_W16
Yet another macro that utilizes a function directly. BUG=3348,3353 TESTED=locally on linux and trybots R=kwiberg@webrtc.org, turaj@webrtc.org Review URL: https://webrtc-codereview.appspot.com/18159004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@6935 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -16,6 +16,8 @@
|
||||
|
||||
******************************************************************/
|
||||
|
||||
#include <string.h>
|
||||
|
||||
#include "defines.h"
|
||||
#include "lpc_encode.h"
|
||||
#include "frame_classify.h"
|
||||
@ -352,7 +354,7 @@ void WebRtcIlbcfix_EncodeImpl(
|
||||
|
||||
/* update memory */
|
||||
|
||||
WEBRTC_SPL_MEMMOVE_W16(mem, mem+SUBL, (CB_MEML-SUBL));
|
||||
memmove(mem, mem + SUBL, (CB_MEML - SUBL) * sizeof(*mem));
|
||||
WEBRTC_SPL_MEMCPY_W16(mem+CB_MEML-SUBL,
|
||||
&decresidual[(iLBCbits_inst->startIdx+1+subframe)*SUBL], SUBL);
|
||||
|
||||
@ -457,8 +459,7 @@ void WebRtcIlbcfix_EncodeImpl(
|
||||
);
|
||||
|
||||
/* update memory */
|
||||
|
||||
WEBRTC_SPL_MEMMOVE_W16(mem, mem+SUBL, (CB_MEML-SUBL));
|
||||
memmove(mem, mem + SUBL, (CB_MEML - SUBL) * sizeof(*mem));
|
||||
WEBRTC_SPL_MEMCPY_W16(mem+CB_MEML-SUBL,
|
||||
&reverseDecresidual[subframe*SUBL], SUBL);
|
||||
|
||||
|
Reference in New Issue
Block a user