WebRtc_Word32 => int32_t etc. in audio_coding/
BUG=314 Review URL: https://webrtc-codereview.appspot.com/1271006 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3789 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -20,12 +20,12 @@
|
||||
#include "constants.h"
|
||||
|
||||
void WebRtcIlbcfix_InterpolateSamples(
|
||||
WebRtc_Word16 *interpSamples, /* (o) The interpolated samples */
|
||||
WebRtc_Word16 *CBmem, /* (i) The CB memory */
|
||||
WebRtc_Word16 lMem /* (i) Length of the CB memory */
|
||||
int16_t *interpSamples, /* (o) The interpolated samples */
|
||||
int16_t *CBmem, /* (i) The CB memory */
|
||||
int16_t lMem /* (i) Length of the CB memory */
|
||||
) {
|
||||
WebRtc_Word16 *ppi, *ppo, i, j, temp1, temp2;
|
||||
WebRtc_Word16 *tmpPtr;
|
||||
int16_t *ppi, *ppo, i, j, temp1, temp2;
|
||||
int16_t *tmpPtr;
|
||||
|
||||
/* Calculate the 20 vectors of interpolated samples (4 samples each)
|
||||
that are used in the codebooks for lag 20 to 39 */
|
||||
@ -37,8 +37,8 @@ void WebRtcIlbcfix_InterpolateSamples(
|
||||
ppi = CBmem+lMem-j-24;
|
||||
for (i=0; i<4; i++) {
|
||||
|
||||
*tmpPtr++ = (WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(WebRtcIlbcfix_kAlpha[temp2],*ppo, 15) +
|
||||
(WebRtc_Word16)WEBRTC_SPL_MUL_16_16_RSFT(WebRtcIlbcfix_kAlpha[temp1], *ppi, 15);
|
||||
*tmpPtr++ = (int16_t)WEBRTC_SPL_MUL_16_16_RSFT(WebRtcIlbcfix_kAlpha[temp2],*ppo, 15) +
|
||||
(int16_t)WEBRTC_SPL_MUL_16_16_RSFT(WebRtcIlbcfix_kAlpha[temp1], *ppi, 15);
|
||||
|
||||
ppo++;
|
||||
ppi++;
|
||||
|
||||
Reference in New Issue
Block a user