Update pffft, add MIPP SIMD library
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
DataHoarder 2022-07-13 17:42:24 +02:00
parent cb9d4093d0
commit ecd3ca8420
Signed by: DataHoarder
SSH key fingerprint: SHA256:OLTRf6Fl87G52SiR7sWLGNzlJt4WOX+tfI2yxo0z7xk
6 changed files with 9 additions and 3 deletions

3
.gitmodules vendored
View file

@ -1,3 +1,6 @@
[submodule "lib/pffft"]
path = lib/pffft
url = https://github.com/marton78/pffft.git
[submodule "lib/MIPP"]
path = lib/MIPP
url = https://github.com/hayguen/MIPP.git

View file

@ -46,7 +46,9 @@ add_definitions(-DGABORATOR_USE_PFFFT)
include_directories(include)
include_directories(lib/gaborator)
include_directories(lib/pffft)
include_directories(lib/MIPP/src)
set(MIPP_ROOT "lib/MIPP/src")
add_subdirectory(lib/pffft EXCLUDE_FROM_ALL)
add_executable(test test.cpp)

View file

@ -184,7 +184,7 @@ uintptr_t gaborator_initialize(int blockSize, double sampleRate, int bandsPerOct
maximumFrequency, stepSize));
}
long gaborator_analysis_support(uintptr_t ptr) {
int64_t gaborator_analysis_support(uintptr_t ptr) {
return reinterpret_cast<Gaborator*>(ptr)->analysis_support();
}

View file

@ -14,7 +14,7 @@ typedef void (*gaborator_transform_callback)(uintptr_t callback_data, float* dat
uintptr_t gaborator_initialize(int blockSize, double sampleRate, int bandsPerOctave, double minimumFrequency, double referenceFrequency, double maximumFrequency, int stepSize);
void gaborator_release(uintptr_t ptr);
long gaborator_analysis_support(uintptr_t ptr);
int64_t gaborator_analysis_support(uintptr_t ptr);
int gaborator_number_of_bands(uintptr_t ptr);
void gaborator_transform(uintptr_t ptr, float* audio_block, int audio_block_length, gaborator_transform_callback callback, uintptr_t callback_data);

1
lib/MIPP Submodule

@ -0,0 +1 @@
Subproject commit ec2fa3a22cd1ac08e4725ff69bd546dd6f5d75cc

@ -1 +1 @@
Subproject commit 9603871ac44b6f782e9666a968d25977f7124e39
Subproject commit 08f5ed2618ac06d7dcc83d209d7253dc215274d5