1 #include <cppunit/TestFixture.h>
2 #include <cppunit/extensions/HelperMacros.h>
6 class FPUTest :
public CppUnit::TestFixture
9 #if defined(ARCH_X86) && defined(BUILD_SSE_OPTIMIZATIONS)
14 #elif defined ARM_NEON_SUPPORT
16 #elif defined(__APPLE__) && defined(BUILD_VECLIB_OPTIMIZATIONS)
27 #if defined(ARCH_X86) && defined(BUILD_SSE_OPTIMIZATIONS)
32 #elif defined ARM_NEON_SUPPORT
34 #elif defined(__APPLE__) && defined(BUILD_VECLIB_OPTIMIZATIONS)
41 void run (
size_t,
float const max_diff = 0);
42 void compare (std::string,
size_t,
float const max_diff = 0);
void compare(std::string, size_t, float const max_diff=0)
ARDOUR::mix_buffers_with_gain_t mix_buffers_with_gain
ARDOUR::find_peaks_t find_peaks
ARDOUR::copy_vector_t copy_vector
CPPUNIT_TEST_SUITE(FPUTest)
ARDOUR::apply_gain_to_buffer_t apply_gain_to_buffer
void run(size_t, float const max_diff=0)
ARDOUR::mix_buffers_no_gain_t mix_buffers_no_gain
ARDOUR::compute_peak_t compute_peak
void(* mix_buffers_with_gain_t)(ARDOUR::Sample *, const ARDOUR::Sample *, pframes_t, float)
float(* compute_peak_t)(const ARDOUR::Sample *, pframes_t, float)
void(* apply_gain_to_buffer_t)(ARDOUR::Sample *, pframes_t, float)
void(* copy_vector_t)(ARDOUR::Sample *, const ARDOUR::Sample *, pframes_t)
void(* mix_buffers_no_gain_t)(ARDOUR::Sample *, const ARDOUR::Sample *, pframes_t)
void(* find_peaks_t)(const ARDOUR::Sample *, pframes_t, float *, float *)