ref: b701179cbdb851325ad07bfbce75c768c6bcb9ee
parent: 14e300e8c9313387f48b159370dc126176309fd2
author: Paul Brossier <piem@piem.org>
date: Sun Oct 1 14:55:35 EDT 2017
src/*.c, wscript: remove trailing spaces
--- a/src/cvec.c
+++ b/src/cvec.c
@@ -116,7 +116,7 @@
aubio_ippsZero(s->norm, (int)s->length);
#elif defined(HAVE_MEMCPY_HACKS)
memset(s->norm, 0, s->length * sizeof(smpl_t));
-#else
+#else
cvec_norm_set_all (s, 0.);
#endif
}
--- a/src/fvec.c
+++ b/src/fvec.c
@@ -102,7 +102,7 @@
uint_t length = MIN(s->length, weight->length);
#if defined(HAVE_INTEL_IPP)
aubio_ippsMul(s->data, weight->data, s->data, (int)length);
-#elif defined(HAVE_ACCELERATE)
+#elif defined(HAVE_ACCELERATE)
aubio_vDSP_vmul( s->data, 1, weight->data, 1, s->data, 1, length );
#else
uint_t j;
@@ -116,7 +116,7 @@
uint_t length = MIN(in->length, MIN(out->length, weight->length));
#if defined(HAVE_INTEL_IPP)
aubio_ippsMul(in->data, weight->data, out->data, (int)length);
-#elif defined(HAVE_ACCELERATE)
+#elif defined(HAVE_ACCELERATE)
aubio_vDSP_vmul(in->data, 1, weight->data, 1, out->data, 1, length);
#else
uint_t j;
--- a/src/mathutils.c
+++ b/src/mathutils.c
@@ -588,7 +588,7 @@
uint_t
aubio_power_of_two_order (uint_t a)
{
- int order = 0;
+ int order = 0;
int temp = aubio_next_power_of_two(a);
while (temp >>= 1) {
++order;
--- a/src/spectral/fft.c
+++ b/src/spectral/fft.c
@@ -156,7 +156,7 @@
aubio_FFTSetup fftSetup;
aubio_DSPSplitComplex spec;
smpl_t *in, *out;
-
+
#elif defined HAVE_INTEL_IPP // using Intel IPP
smpl_t *in, *out;
Ipp8u* memSpec;
@@ -222,7 +222,7 @@
#elif defined HAVE_INTEL_IPP // using Intel IPP
const IppHintAlgorithm qualityHint = ippAlgHintAccurate; // OR ippAlgHintFast;
- const int flags = IPP_FFT_NODIV_BY_ANY; // we're scaling manually afterwards
+ const int flags = IPP_FFT_NODIV_BY_ANY; // we're scaling manually afterwards
int order = aubio_power_of_two_order(winsize);
int sizeSpec, sizeInit, sizeBuffer;
IppStatus status;
--- a/wscript
+++ b/wscript
@@ -289,7 +289,7 @@
ctx.check(header_name='complex.h')
else:
ctx.msg('Checking if complex.h is enabled', 'no')
-
+
# check for Intel IPP
if (ctx.options.enable_intelipp != False):
if (ctx.check(header_name=['ippcore.h', 'ippvm.h', 'ipps.h'], mandatory = False) and
@@ -301,7 +301,7 @@
ctx.define('_IPP_SEQUENTIAL_STATIC', 1)
else:
ctx.msg('Checking if Intel IPP is available', 'no')
-
+
# check for fftw3
if (ctx.options.enable_fftw3 != False or ctx.options.enable_fftw3f != False):
# one of fftwf or fftw3f