Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: webrtc/modules/audio_coding/codecs/ilbc/enhancer_interface.c

Issue 1184643002: Reland "Upconvert various types to int.", ilbc portion. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/audio_coding/codecs/ilbc/cb_search.c ('k') | webrtc/modules/audio_coding/codecs/ilbc/ilbc.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_coding/codecs/ilbc/enhancer_interface.c
diff --git a/webrtc/modules/audio_coding/codecs/ilbc/enhancer_interface.c b/webrtc/modules/audio_coding/codecs/ilbc/enhancer_interface.c
index 6dca0b7ba276de75c1535a49d850d17ab08bb590..c630dd5af9780aa23022993817f8d4430fc622b0 100644
--- a/webrtc/modules/audio_coding/codecs/ilbc/enhancer_interface.c
+++ b/webrtc/modules/audio_coding/codecs/ilbc/enhancer_interface.c
@@ -119,8 +119,8 @@ int WebRtcIlbcfix_EnhancerInterface( /* (o) Estimated lag in end of in[] */
shifts = WEBRTC_SPL_MAX(0, shifts);
/* compute cross correlation */
- WebRtcSpl_CrossCorrelation(corr32, target, regressor,
- ENH_BLOCKL_HALF, 50, (int16_t)shifts, -1);
+ WebRtcSpl_CrossCorrelation(corr32, target, regressor, ENH_BLOCKL_HALF, 50,
+ shifts, -1);
/* Find 3 highest correlations that should be compared for the
highest (corr*corr)/ener */
@@ -205,8 +205,8 @@ int WebRtcIlbcfix_EnhancerInterface( /* (o) Estimated lag in end of in[] */
shifts=0;
/* compute cross correlation */
- WebRtcSpl_CrossCorrelation(corr32, target, regressor,
- plc_blockl, 3, (int16_t)shifts, 1);
+ WebRtcSpl_CrossCorrelation(corr32, target, regressor, plc_blockl, 3, shifts,
+ 1);
/* find lag */
lag=WebRtcSpl_MaxIndexW32(corr32, 3);
« no previous file with comments | « webrtc/modules/audio_coding/codecs/ilbc/cb_search.c ('k') | webrtc/modules/audio_coding/codecs/ilbc/ilbc.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698