Changeset 4b943729 for src/mathutils.c
 Timestamp:
 Oct 1, 2017, 3:30:10 PM (3 years ago)
 Branches:
 feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master
 Children:
 0ad2e17
 Parents:
 95f5c83
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

src/mathutils.c
r95f5c83 r4b943729 161 161 smpl_t tmp = 0.0; 162 162 #if defined(HAVE_INTEL_IPP) 163 #if HAVE_AUBIO_DOUBLE 164 ippsMean_64f(s>data, (int)s>length, &tmp); 165 #else 166 ippsMean_32f(s>data, (int)s>length, &tmp, ippAlgHintFast); 167 #endif 168 return tmp; 163 aubio_ippsMean(s>data, (int)s>length, &tmp, ippAlgHintFast); 164 return tmp; 169 165 #elif defined(HAVE_ACCELERATE) 170 166 aubio_vDSP_meanv(s>data, 1, &tmp, s>length); … … 184 180 smpl_t tmp = 0.0; 185 181 #if defined(HAVE_INTEL_IPP) 186 #if HAVE_AUBIO_DOUBLE 187 ippsSum_64f(s>data, (int)s>length, &tmp); 188 #else 189 ippsSum_32f(s>data, (int)s>length, &tmp, ippAlgHintFast); 190 #endif 182 aubio_ippsSum(s>data, (int)s>length, &tmp, ippAlgHintFast); 191 183 #elif defined(HAVE_ACCELERATE) 192 184 aubio_vDSP_sve(s>data, 1, &tmp, s>length); … … 205 197 #if defined(HAVE_INTEL_IPP) 206 198 smpl_t tmp = 0.; 207 #if HAVE_AUBIO_DOUBLE 208 ippsMax_64f( s>data, (int)s>length, &tmp); 209 #else 210 ippsMax_32f( s>data, (int)s>length, &tmp); 211 #endif 199 aubio_ippsMax( s>data, (int)s>length, &tmp); 212 200 #elif defined(HAVE_ACCELERATE) 213 201 smpl_t tmp = 0.; … … 228 216 #if defined(HAVE_INTEL_IPP) 229 217 smpl_t tmp = 0.; 230 #if HAVE_AUBIO_DOUBLE 231 ippsMin_64f(s>data, (int)s>length, &tmp); 232 #else 233 ippsMin_32f(s>data, (int)s>length, &tmp); 234 #endif 218 aubio_ippsMin(s>data, (int)s>length, &tmp); 235 219 #elif defined(HAVE_ACCELERATE) 236 220 smpl_t tmp = 0.;
Note: See TracChangeset
for help on using the changeset viewer.