Mercurial > hg > silvet
comparison data/include/templates.h @ 114:b2f0967cb8d1 bqvec-openmp
Pull out shifted templates into separate arrays with proper alignment (trading off memory occupied against getting the alignments right)
author | Chris Cannam |
---|---|
date | Wed, 07 May 2014 09:43:15 +0100 |
parents | 97b77e7cb94c |
children |
comparison
equal
deleted
inserted
replaced
113:c4eae816bdb3 | 114:b2f0967cb8d1 |
---|---|
13 | 13 |
14 typedef struct { | 14 typedef struct { |
15 const char *name; | 15 const char *name; |
16 int lowest; | 16 int lowest; |
17 int highest; | 17 int highest; |
18 double data[SILVET_TEMPLATE_NOTE_COUNT][SILVET_TEMPLATE_SIZE]; | 18 float data[SILVET_TEMPLATE_NOTE_COUNT][SILVET_TEMPLATE_SIZE]; |
19 } silvet_template_t; | 19 } silvet_template_t; |
20 | 20 |
21 static int silvet_templates_lowest_note = 15; | 21 static int silvet_templates_lowest_note = 15; |
22 static int silvet_templates_highest_note = 72; | 22 static int silvet_templates_highest_note = 72; |
23 | 23 |