kopia lustrzana https://gitlab.com/eliggett/wfview
Add SSE2 enhancements to resampler
rodzic
f04284db0e
commit
827614e080
|
@ -35,15 +35,6 @@ typedef signed short MY_TYPE;
|
|||
#include <QTimer>
|
||||
#include <QTime>
|
||||
#include <QMap>
|
||||
#if defined(__x86_64__) || defined(__i386__) || defined(_M_IX86_FP)
|
||||
#undef USE_NEON
|
||||
#define USE_SSE 1
|
||||
#define USE_SSE2 1
|
||||
#else
|
||||
#undef USE_SSE
|
||||
#undef SUE_SSE2
|
||||
#define USE_NEON 1
|
||||
#endif
|
||||
|
||||
#include "resampler/speex_resampler.h"
|
||||
#include "ring/ring.h"
|
||||
|
|
|
@ -34,6 +34,7 @@ DEFINES += QCUSTOMPLOT_COMPILE_LIBRARY
|
|||
|
||||
# These defines are used for the resampler
|
||||
equals(QT_ARCH, i386): DEFINES += USE_SSE
|
||||
equals(QT_ARCH, i386): DEFINES += USE_SSE2
|
||||
equals(QT_ARCH, arm): DEFINES += USE_NEON
|
||||
DEFINES += OUTSIDE_SPEEX
|
||||
DEFINES += RANDOM_PREFIX=wf
|
||||
|
|
Ładowanie…
Reference in New Issue