Commit 4c486cf2 authored by Gautier Pelloux-Prayer's avatar Gautier Pelloux-Prayer
Browse files

configs: enable speex optimizations ENABLE_ARM_NEON_INSTRINCS for iOS armv7,...

configs: enable speex optimizations ENABLE_ARM_NEON_INSTRINCS for iOS armv7, arm64, bb10 and android
parent 38c55f44
......@@ -123,7 +123,7 @@ set(EP_ortp_LINKING_TYPE "-DENABLE_STATIC=NO" "-DENABLE_SHARED=YES")
set(EP_polarssl_LINKING_TYPE "-DUSE_SHARED_POLARSSL_LIBRARY=0")
# speex
list(APPEND EP_speex_CMAKE_OPTIONS "-DENABLE_FLOAT_API=NO" "-DENABLE_FIXED_POINT=YES")
list(APPEND EP_speex_CMAKE_OPTIONS "-DENABLE_FLOAT_API=NO" "-DENABLE_FIXED_POINT=YES" "-DENABLE_ARM_NEON_INTRINSICS=1")
# vpx
set(EP_vpx_LINKING_TYPE "--enable-static" "--disable-shared")
......
......@@ -33,7 +33,7 @@ set(LINPHONE_BUILDER_CFLAGS "${LINPHONE_BUILDER_CFLAGS} -march=armv7-a -mfpu=neo
list(APPEND EP_speex_CMAKE_OPTIONS
"-DENABLE_FLOAT_API=0"
"-DENABLE_FIXED_POINT=1"
"-DENABLE_ARMV7_NEON_ASM=1"
"-DENABLE_ARM_NEON_INTRINSICS=1"
)
# opus
......
......@@ -27,3 +27,5 @@ if (NOT ${XCODE_VERSION} VERSION_LESS 7)
set(LINPHONE_BUILDER_CPPFLAGS "${LINPHONE_BUILDER_CPPFLAGS} -fembed-bitcode")
endif()
# speex
list(APPEND EP_speex_CMAKE_OPTIONS "-DENABLE_ARM_NEON_INTRINSICS=1")
......@@ -29,3 +29,7 @@ set(LINPHONE_BUILDER_CPPFLAGS "${LINPHONE_BUILDER_CPPFLAGS} -mcpu=cortex-a8")
if (NOT ${XCODE_VERSION} VERSION_LESS 7)
set(LINPHONE_BUILDER_CPPFLAGS "${LINPHONE_BUILDER_CPPFLAGS} -fembed-bitcode")
endif()
# speex
list(APPEND EP_speex_CMAKE_OPTIONS "-DENABLE_ARM_NEON_INTRINSICS=1")
......@@ -95,7 +95,7 @@ list(APPEND EP_linphone_CMAKE_OPTIONS
)
# mbedtls
set(EP_mbedtls_LINKING_TYPE "-DUSE_STATIC_MBEDTLS_LIBRARY=YES"" "-DUSE_SHARED_MBEDTLS_LIBRARY=NO")
set(EP_mbedtls_LINKING_TYPE "-DUSE_STATIC_MBEDTLS_LIBRARY=YES" "-DUSE_SHARED_MBEDTLS_LIBRARY=NO")
# mediastreamer2
list(APPEND EP_ms2_CMAKE_OPTIONS
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment