Cleaned up leaky symbols in iSAC.
Review URL: http://webrtc-codereview.appspot.com/329014 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1286 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
2ae4c8cf44
commit
d8f8b32521
@ -33,7 +33,7 @@
|
|||||||
* returns the total number of bytes in the stream
|
* returns the total number of bytes in the stream
|
||||||
*/
|
*/
|
||||||
|
|
||||||
WebRtc_Word16 plc_filterma_Fast(
|
static WebRtc_Word16 plc_filterma_Fast(
|
||||||
WebRtc_Word16 *In, /* (i) Vector to be filtered. InOut[-orderCoef+1]
|
WebRtc_Word16 *In, /* (i) Vector to be filtered. InOut[-orderCoef+1]
|
||||||
to InOut[-1] contains state */
|
to InOut[-1] contains state */
|
||||||
WebRtc_Word16 *Out, /* (o) Filtered vector */
|
WebRtc_Word16 *Out, /* (o) Filtered vector */
|
||||||
|
@ -64,7 +64,7 @@ WebRtcIsac_RemoveLarMean(
|
|||||||
case isac16kHz:
|
case isac16kHz:
|
||||||
{
|
{
|
||||||
numVec = UB16_LPC_VEC_PER_FRAME;
|
numVec = UB16_LPC_VEC_PER_FRAME;
|
||||||
meanLAR = meanLARUB16;
|
meanLAR = WebRtcIsac_kMeanLarUb16;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
@ -516,7 +516,7 @@ WebRtcIsac_AddLarMean(
|
|||||||
case isac16kHz:
|
case isac16kHz:
|
||||||
{
|
{
|
||||||
numVec = UB16_LPC_VEC_PER_FRAME;
|
numVec = UB16_LPC_VEC_PER_FRAME;
|
||||||
meanLAR = meanLARUB16;
|
meanLAR = WebRtcIsac_kMeanLarUb16;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
|
@ -454,7 +454,7 @@ static WebRtc_Word16 EncoderInitUb(
|
|||||||
(MAX_FRAMESAMPLES + LB_TOTAL_DELAY_SAMPLES) * sizeof(float));
|
(MAX_FRAMESAMPLES + LB_TOTAL_DELAY_SAMPLES) * sizeof(float));
|
||||||
|
|
||||||
memcpy(&(instUB->ISACencUB_obj.lastLPCVec),
|
memcpy(&(instUB->ISACencUB_obj.lastLPCVec),
|
||||||
meanLARUB16, sizeof(double) * UB_LPC_ORDER);
|
WebRtcIsac_kMeanLarUb16, sizeof(double) * UB_LPC_ORDER);
|
||||||
|
|
||||||
return statusInit;
|
return statusInit;
|
||||||
}
|
}
|
||||||
@ -1856,7 +1856,7 @@ WebRtc_Word16 WebRtcIsac_Control(
|
|||||||
instISAC->instLB.ISACencLB_obj.buffer_index;
|
instISAC->instLB.ISACencLB_obj.buffer_index;
|
||||||
|
|
||||||
memcpy(&(instISAC->instUB.ISACencUB_obj.lastLPCVec),
|
memcpy(&(instISAC->instUB.ISACencUB_obj.lastLPCVec),
|
||||||
meanLARUB16, sizeof(double) * UB_LPC_ORDER);
|
WebRtcIsac_kMeanLarUb16, sizeof(double) * UB_LPC_ORDER);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
/*
|
/*
|
||||||
* Mean value of LAR
|
* Mean value of LAR
|
||||||
*/
|
*/
|
||||||
const double meanLARUB16[UB_LPC_ORDER] =
|
const double WebRtcIsac_kMeanLarUb16[UB_LPC_ORDER] =
|
||||||
{
|
{
|
||||||
0.454978, 0.364747, 0.102999, 0.104523
|
0.454978, 0.364747, 0.102999, 0.104523
|
||||||
};
|
};
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
#include "typedefs.h"
|
#include "typedefs.h"
|
||||||
|
|
||||||
|
|
||||||
extern const double meanLARUB16[UB_LPC_ORDER];
|
extern const double WebRtcIsac_kMeanLarUb16[UB_LPC_ORDER];
|
||||||
|
|
||||||
extern const double WebRtcIsac_kIintraVecDecorrMatUb16[UB_LPC_ORDER][UB_LPC_ORDER];
|
extern const double WebRtcIsac_kIintraVecDecorrMatUb16[UB_LPC_ORDER][UB_LPC_ORDER];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user