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

Unified Diff: webrtc/modules/audio_processing/utility/ooura_fft.cc

Issue 2442773002: Fix compile error for non Intel platforms (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/utility/ooura_fft.cc
diff --git a/webrtc/modules/audio_processing/utility/ooura_fft.cc b/webrtc/modules/audio_processing/utility/ooura_fft.cc
index 4ba88d7f17f0905426f86fd3a37421b7bdbe706b..30f203480dcce75566128e699f4d6b6454e55527 100644
--- a/webrtc/modules/audio_processing/utility/ooura_fft.cc
+++ b/webrtc/modules/audio_processing/utility/ooura_fft.cc
@@ -348,12 +348,14 @@ void OouraFft::cft1st_128(float* a) const {
cft1st_128_mips(a);
#elif defined(WEBRTC_HAS_NEON)
cft1st_128_neon(a);
-#else
+#elif defined(WEBRTC_ARCH_X86_FAMILY)
if (use_sse2_) {
cft1st_128_SSE2(a);
} else {
cft1st_128_C(a);
}
+#else
+ cft1st_128_C(a);
#endif
}
void OouraFft::cftmdl_128(float* a) const {
@@ -361,12 +363,14 @@ void OouraFft::cftmdl_128(float* a) const {
cftmdl_128_mips(a);
#elif defined(WEBRTC_HAS_NEON)
cftmdl_128_neon(a);
-#else
+#elif defined(WEBRTC_ARCH_X86_FAMILY)
if (use_sse2_) {
cftmdl_128_SSE2(a);
} else {
cftmdl_128_C(a);
}
+#else
+ cftmdl_128_C(a);
#endif
}
void OouraFft::rftfsub_128(float* a) const {
@@ -374,12 +378,14 @@ void OouraFft::rftfsub_128(float* a) const {
rftfsub_128_mips(a);
#elif defined(WEBRTC_HAS_NEON)
rftfsub_128_neon(a);
-#else
+#elif defined(WEBRTC_ARCH_X86_FAMILY)
if (use_sse2_) {
rftfsub_128_SSE2(a);
} else {
rftfsub_128_C(a);
}
+#else
+ rftfsub_128_C(a);
#endif
}
@@ -388,12 +394,14 @@ void OouraFft::rftbsub_128(float* a) const {
rftbsub_128_mips(a);
#elif defined(WEBRTC_HAS_NEON)
rftbsub_128_neon(a);
-#else
+#elif defined(WEBRTC_ARCH_X86_FAMILY)
if (use_sse2_) {
rftbsub_128_SSE2(a);
} else {
rftbsub_128_C(a);
}
+#else
+ rftbsub_128_C(a);
#endif
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698