| contrib: soxr: fix build on WIN32
(cherry picked from commit aeeceec8d5f362baee4db97a6f9be7fba054f334)
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
| 8 年前 |
| contrib: soxr: fix build on WIN32
(cherry picked from commit aeeceec8d5f362baee4db97a6f9be7fba054f334)
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
| 8 年前 |
| contrib: soxr: enable neon for aarch64
(cherry picked from commit b57560634cc0ec9acaa0a43bf94c0ba55aec2bb6)
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
| 8 年前 |
| contrib: soxr: fix SIGILL with old armv7 devices
(cherry picked from commit cc032d20d71104bcd60de2c531c3a2ab6240d752)
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
| 8 年前 |
| contrib: update soxr to 0.1.3
(cherry picked from commit ba8d44466cc80318aca4711aa2ad150cedf5843b)
(cherry picked from commit bcf9c70debdf32e074ce285476d0a3096c653e59)
Signed-off-by: Thomas Guillem <thomas@gllm.fr>
| 8 年前 |
| contrib: soxr: fix neon detection for aarch64 hosts
What we have :
Given the cmake simd detection module check CMAKE_SYSTEM_PROCESSOR to match "arm" prefixed hosts
When DETECT_SIMD32_C_FLAGS test is performed by cmake for aarch64 Darwin hosts
The test fails and WITH_CR32S is defined to 0 in soxr-config.h
What is expected :
Given the cmake simd detection module check CMAKE_SYSTEM_PROCESSOR to match "aarch64" hosts
When DETECT_SIMD32_C_FLAGS test is performed by cmake for aarch64 Darwin hosts
The test succeeds and WITH_CR32S is defined to 1 in soxr-config.h
When soxr is used on Darwin arm64 platforms (iOS, macOS on Apple Silicon), the expected resampler engine to be used is cr32s.
Without this patch, cr32 is used instead, because in soxr-config.h, WITH_CR32S is defined to 0.
Considering we use "aarch64" for Darwin arm64 hosts in contribs, these changes are an attempt to fix this.
(cherry picked from commit 2837692900e62812f0f6f16bc7c1b5147b11d08e)
| 3 年前 |
| contribs: soxr: Fix build when providing PKG_CONFIG_EXECUTABLE
Otherwise the 2nd find_package(PkgConfig) gets confused:
-- Found PkgConfig: /path/to/pkg-config (found version "0.29")
-- Checking for module 'libavcodec'
-- Found libavcodec, version 58.19.104
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) (found version "0.29")
CMake Error at /usr/share/cmake-3.12/Modules/FindPkgConfig.cmake:489 (message):
pkg-config tool not found
Call Stack (most recent call first):
/usr/share/cmake-3.12/Modules/FindPkgConfig.cmake:602 (_pkg_check_modules_internal)
CMakeLists.txt:140 (pkg_check_modules)
(cherry picked from commit fd7356d7f7d5677e7fd70211ae1cc3ff2e9ad2bf)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
| 7 年前 |
| contrib: soxr: fix neon detection for aarch64 hosts
What we have :
Given the cmake simd detection module check CMAKE_SYSTEM_PROCESSOR to match "arm" prefixed hosts
When DETECT_SIMD32_C_FLAGS test is performed by cmake for aarch64 Darwin hosts
The test fails and WITH_CR32S is defined to 0 in soxr-config.h
What is expected :
Given the cmake simd detection module check CMAKE_SYSTEM_PROCESSOR to match "aarch64" hosts
When DETECT_SIMD32_C_FLAGS test is performed by cmake for aarch64 Darwin hosts
The test succeeds and WITH_CR32S is defined to 1 in soxr-config.h
When soxr is used on Darwin arm64 platforms (iOS, macOS on Apple Silicon), the expected resampler engine to be used is cr32s.
Without this patch, cr32 is used instead, because in soxr-config.h, WITH_CR32S is defined to 0.
Considering we use "aarch64" for Darwin arm64 hosts in contribs, these changes are an attempt to fix this.
(cherry picked from commit 2837692900e62812f0f6f16bc7c1b5147b11d08e)
| 3 年前 |