Optimized WebRtcIsacfix_NormLatticeFilterMa() function for iSAC fix for ARM Neon
architecture with intrinsics and assembly code. The total iSAC codec speech improved about 3~5%. Notes (1) The Neon version after this optimization is not bit-exact with the generic C version. The out quality, however, is not worse as verified by test vectors ouput, and undertandably in theory (32bit x 32bit in Neon is more accurate than the approximation C code in the generic version). (2) In Android, a isac neon library will be built. Along with some new function structures, it is partly for preparation of introducing a run time detection of Neon architecture soon. Review URL: http://webrtc-codereview.appspot.com/268016 git-svn-id: http://webrtc.googlecode.com/svn/trunk@1192 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
10
Android.mk
10
Android.mk
@ -103,6 +103,7 @@ include $(BUILD_SHARED_LIBRARY)
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
include $(LOCAL_PATH)/../../external/webrtc/android-webrtc.mk
|
||||
|
||||
LOCAL_ARM_MODE := arm
|
||||
LOCAL_MODULE := libwebrtc
|
||||
@ -137,6 +138,15 @@ LOCAL_WHOLE_STATIC_LIBRARIES := \
|
||||
libwebrtc_jpeg \
|
||||
libwebrtc_vpx
|
||||
|
||||
# Add Neon libraries.
|
||||
ifneq (,$(filter '-DWEBRTC_DETECT_ARM_NEON',$(MY_WEBRTC_COMMON_DEFS)))
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES += \
|
||||
libwebrtc_isacfix_neon
|
||||
else ifeq ($(ARCH_ARM_HAVE_NEON),true)
|
||||
LOCAL_WHOLE_STATIC_LIBRARIES += \
|
||||
libwebrtc_isacfix_neon
|
||||
endif
|
||||
|
||||
LOCAL_SHARED_LIBRARIES := \
|
||||
libcutils \
|
||||
libdl \
|
||||
|
Reference in New Issue
Block a user