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

Unified Diff: webrtc/modules/audio_processing/aec/aec_core_neon.cc

Issue 1713923002: Moved the AEC C code to be built using C++ (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Format changes to comply with lint Created 4 years, 10 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
Index: webrtc/modules/audio_processing/aec/aec_core_neon.cc
diff --git a/webrtc/modules/audio_processing/aec/aec_core_neon.c b/webrtc/modules/audio_processing/aec/aec_core_neon.cc
similarity index 99%
rename from webrtc/modules/audio_processing/aec/aec_core_neon.c
rename to webrtc/modules/audio_processing/aec/aec_core_neon.cc
index 38c043a20bdb5e314683bdb206203fbec2f39543..ba374b21ab8a452e88aa315240c47603d9978b57 100644
--- a/webrtc/modules/audio_processing/aec/aec_core_neon.c
+++ b/webrtc/modules/audio_processing/aec/aec_core_neon.cc
@@ -18,10 +18,14 @@
#include <math.h>
#include <string.h> // memset
+extern "C" {
#include "webrtc/common_audio/signal_processing/include/signal_processing_library.h"
+}
#include "webrtc/modules/audio_processing/aec/aec_common.h"
#include "webrtc/modules/audio_processing/aec/aec_core_internal.h"
+extern "C" {
#include "webrtc/modules/audio_processing/aec/aec_rdft.h"
+}
enum { kShiftExponentIntoTopMantissa = 8 };
enum { kFloatExponentShift = 23 };
@@ -120,7 +124,6 @@ static float32x4_t vsqrtq_f32(float32x4_t s) {
}
// sqrt(s) = s * 1/sqrt(s)
return vmulq_f32(s, x);
- ;
}
#endif // WEBRTC_ARCH_ARM64
« no previous file with comments | « webrtc/modules/audio_processing/aec/aec_core_neon.c ('k') | webrtc/modules/audio_processing/aec/aec_core_sse2.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698