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

Unified Diff: webrtc/common_audio/signal_processing/include/signal_processing_library.h

Issue 2571483002: Fix for integer overflow in NetEq. (Closed)
Patch Set: Created 4 years 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
Index: webrtc/common_audio/signal_processing/include/signal_processing_library.h
diff --git a/webrtc/common_audio/signal_processing/include/signal_processing_library.h b/webrtc/common_audio/signal_processing/include/signal_processing_library.h
index 89a281f41033c1d5bfeba93afd1b1b313b1535a1..ce6484f26f2da18fc6a6dde2504343a9fccda3d6 100644
--- a/webrtc/common_audio/signal_processing/include/signal_processing_library.h
+++ b/webrtc/common_audio/signal_processing/include/signal_processing_library.h
@@ -613,6 +613,12 @@ int32_t WebRtcSpl_DotProductWithScale(const int16_t* vector1,
size_t length,
int scaling);
+// Same as above, but the result is stored in a 64 bit integer.
+int64_t WebRtcSpl_DotProductWithScale_64b(const int16_t* vector1,
+ const int16_t* vector2,
+ size_t length,
kwiberg-webrtc 2016/12/13 08:45:36 Please consider using ArrayView when creating new
+ int scaling);
+
// Filter operations.
size_t WebRtcSpl_FilterAR(const int16_t* ar_coef,
size_t ar_coef_length,

Powered by Google App Engine
This is Rietveld 408576698