|
|
a14855 |
diff -up webrtc-audio-processing-0.3/configure.ac.neon webrtc-audio-processing-0.3/configure.ac
|
|
|
a14855 |
--- webrtc-audio-processing-0.3/configure.ac.neon 2016-06-22 01:46:41.000000000 -0500
|
|
|
a14855 |
+++ webrtc-audio-processing-0.3/configure.ac 2016-07-18 08:01:43.541116030 -0500
|
|
|
a14855 |
@@ -98,7 +98,7 @@ AS_IF([test "x$enable_neon" != "xno"],
|
|
|
a14855 |
],
|
|
|
a14855 |
[
|
|
|
a14855 |
HAVE_NEON=1
|
|
|
a14855 |
- ARCH_CFLAGS="$ARCH_CFLAGS -DWEBRTC_DETECT_NEON -mfpu=neon"
|
|
|
a14855 |
+ ARCH_CFLAGS="$ARCH_CFLAGS -DWEBRTC_DETECT_NEON"
|
|
|
a14855 |
])
|
|
|
a14855 |
)
|
|
|
a14855 |
AM_CONDITIONAL([HAVE_NEON], [test "x$HAVE_NEON" = "x1"])
|
|
|
a14855 |
diff -up webrtc-audio-processing-0.3/webrtc/common_audio/Makefile.am.neon webrtc-audio-processing-0.3/webrtc/common_audio/Makefile.am
|
|
|
a14855 |
--- webrtc-audio-processing-0.3/webrtc/common_audio/Makefile.am.neon 2016-06-21 06:16:05.000000000 -0500
|
|
|
a14855 |
+++ webrtc-audio-processing-0.3/webrtc/common_audio/Makefile.am 2016-07-18 07:40:02.128151244 -0500
|
|
|
a14855 |
@@ -118,13 +118,18 @@ libcommon_audio_la_SOURCES += \
|
|
|
a14855 |
endif
|
|
|
a14855 |
|
|
|
a14855 |
if HAVE_NEON
|
|
|
a14855 |
-libcommon_audio_la_SOURCES += \
|
|
|
a14855 |
+noinst_LTLIBRARIES += libcommon_audio_neon.la
|
|
|
a14855 |
+libcommon_audio_neon_la_SOURCES = \
|
|
|
a14855 |
resampler/sinc_resampler_neon.cc \
|
|
|
a14855 |
signal_processing/cross_correlation_neon.c \
|
|
|
a14855 |
signal_processing/downsample_fast_neon.c \
|
|
|
a14855 |
signal_processing/min_max_operations_neon.c \
|
|
|
a14855 |
fir_filter_neon.cc \
|
|
|
a14855 |
fir_filter_neon.h
|
|
|
a14855 |
+
|
|
|
a14855 |
+libcommon_audio_neon_la_CFLAGS = -mfpu=neon $(AM_CFLAGS) $(COMMON_CFLAGS) -mfpu=neon
|
|
|
a14855 |
+libcommon_audio_neon_la_CXXFLAGS = -mfpu=neon $(AM_CXXFLAGS) $(COMMON_CXXFLAGS) -mfpu=neon
|
|
|
a14855 |
+libcommon_audio_neon_la_LDFLAGS = $(AM_LDFLAGS)
|
|
|
a14855 |
endif
|
|
|
a14855 |
|
|
|
a14855 |
if !HAVE_ARM
|
|
|
a14855 |
diff -up webrtc-audio-processing-0.3/webrtc/modules/audio_processing/Makefile.am.neon webrtc-audio-processing-0.3/webrtc/modules/audio_processing/Makefile.am
|
|
|
a14855 |
--- webrtc-audio-processing-0.3/webrtc/modules/audio_processing/Makefile.am.neon 2016-06-21 06:15:34.000000000 -0500
|
|
|
a14855 |
+++ webrtc-audio-processing-0.3/webrtc/modules/audio_processing/Makefile.am 2016-07-18 07:40:02.128151244 -0500
|
|
|
a14855 |
@@ -158,10 +158,15 @@ libwebrtc_audio_processing_privatearch_l
|
|
|
a14855 |
endif
|
|
|
a14855 |
|
|
|
a14855 |
if HAVE_NEON
|
|
|
a14855 |
+noinst_LTLIBRARIES = libwebrtc_audio_processing_privatearch.la
|
|
|
a14855 |
+LIBWEBRTC_PRIVATEARCH=libwebrtc_audio_processing_privatearch.la
|
|
|
a14855 |
libwebrtc_audio_processing_la_SOURCES += \
|
|
|
a14855 |
aec/aec_core_neon.c \
|
|
|
a14855 |
aec/aec_rdft_neon.c \
|
|
|
a14855 |
aecm/aecm_core_neon.c
|
|
|
a14855 |
+libwebrtc_audio_processing_privatearch_la_CFLAGS = -mfpu=neon $(AM_CFLAGS) $(COMMON_CFLAGS) -mfpu=neon
|
|
|
a14855 |
+libwebrtc_audio_processing_privatearch_la_CXXFLAGS = -mfpu=neon $(AM_CXXFLAGS) $(COMMON_CXXFLAGS) -mfpu-neon
|
|
|
a14855 |
+libwebrtc_audio_processing_privatearch_la_LDFLAGS = $(AM_LDFLAGS)
|
|
|
a14855 |
endif
|
|
|
a14855 |
|
|
|
a14855 |
libwebrtc_audio_processing_la_CFLAGS = $(AM_CFLAGS) $(COMMON_CFLAGS)
|