WebRtcIlbcfix_EnhancerInterface: Let input array be const
NOTRY=true BUG=chromium:617124 Review-Url: https://codereview.webrtc.org/2297873003 Cr-Commit-Position: refs/heads/master@{#14029}
This commit is contained in:
@ -30,11 +30,11 @@
|
|||||||
* interface for enhancer
|
* interface for enhancer
|
||||||
*---------------------------------------------------------------*/
|
*---------------------------------------------------------------*/
|
||||||
|
|
||||||
size_t WebRtcIlbcfix_EnhancerInterface( /* (o) Estimated lag in end of in[] */
|
size_t // (o) Estimated lag in end of in[]
|
||||||
int16_t *out, /* (o) enhanced signal */
|
WebRtcIlbcfix_EnhancerInterface(
|
||||||
int16_t *in, /* (i) unenhanced signal */
|
int16_t* out, // (o) enhanced signal
|
||||||
IlbcDecoder *iLBCdec_inst /* (i) buffers etc */
|
const int16_t* in, // (i) unenhanced signal
|
||||||
){
|
IlbcDecoder* iLBCdec_inst) { // (i) buffers etc
|
||||||
size_t iblock;
|
size_t iblock;
|
||||||
size_t lag=20, tlag=20;
|
size_t lag=20, tlag=20;
|
||||||
size_t inLen=iLBCdec_inst->blockl+120;
|
size_t inLen=iLBCdec_inst->blockl+120;
|
||||||
@ -54,7 +54,7 @@ size_t WebRtcIlbcfix_EnhancerInterface( /* (o) Estimated lag in end of in[] */
|
|||||||
int16_t *tmpW16ptr;
|
int16_t *tmpW16ptr;
|
||||||
size_t startPos;
|
size_t startPos;
|
||||||
int16_t *plc_pred;
|
int16_t *plc_pred;
|
||||||
int16_t *target, *regressor;
|
const int16_t *target, *regressor;
|
||||||
int16_t max16;
|
int16_t max16;
|
||||||
int shifts;
|
int shifts;
|
||||||
int32_t ener;
|
int32_t ener;
|
||||||
|
|||||||
@ -25,10 +25,10 @@
|
|||||||
* interface for enhancer
|
* interface for enhancer
|
||||||
*---------------------------------------------------------------*/
|
*---------------------------------------------------------------*/
|
||||||
|
|
||||||
size_t WebRtcIlbcfix_EnhancerInterface( /* (o) Estimated lag in end of in[] */
|
size_t // (o) Estimated lag in end of in[]
|
||||||
int16_t *out, /* (o) enhanced signal */
|
WebRtcIlbcfix_EnhancerInterface(
|
||||||
int16_t *in, /* (i) unenhanced signal */
|
int16_t* out, // (o) enhanced signal
|
||||||
IlbcDecoder *iLBCdec_inst /* (i) buffers etc */
|
const int16_t* in, // (i) unenhanced signal
|
||||||
);
|
IlbcDecoder* iLBCdec_inst); // (i) buffers etc
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user