Mercurial > hg > beaglert
view examples/samples/SampleData.h @ 318:f7b19ea31bbb prerelease
Added NEON vectorised float<->int converters. Curiously, its performance is worse than the C version. I guess clang is better at vectorising than we thought! The new code remains disabled for now.
author | andrewm |
---|---|
date | Mon, 30 May 2016 01:06:01 +0100 |
parents | dbeed520b014 |
children |
line wrap: on
line source
/* * SampleData.h * * Created on: Nov 5, 2014 * Author: Victor Zappi */ #ifndef SAMPLEDATA_H_ #define SAMPLEDATA_H_ // User defined structure to pass between main and rendere complex data retrieved from file struct SampleData { float *samples; // Samples in file int sampleLen; // Total nume of samples }; #endif /* SAMPLEDATA_H_ */