comparison dsp/signalconditioning/Filter.h @ 441:3994516c1199

Merge from branch msvc
author Chris Cannam <c.cannam@qmul.ac.uk>
date Thu, 08 Feb 2018 15:41:27 +0000
parents 7461bf03194e
children 701233f8ed41
comparison
equal deleted inserted replaced
432:624ddb622a5d 441:3994516c1199
12 COPYING included with this distribution for more information. 12 COPYING included with this distribution for more information.
13 */ 13 */
14 14
15 #ifndef FILTER_H 15 #ifndef FILTER_H
16 #define FILTER_H 16 #define FILTER_H
17
18 #include "base/Restrict.h"
17 19
18 #include <vector> 20 #include <vector>
19 21
20 class Filter 22 class Filter
21 { 23 {
40 /** 42 /**
41 * Filter the input sequence \arg in of length \arg n samples, and 43 * Filter the input sequence \arg in of length \arg n samples, and
42 * write the resulting \arg n samples into \arg out. There must be 44 * write the resulting \arg n samples into \arg out. There must be
43 * enough room in \arg out for \arg n samples to be written. 45 * enough room in \arg out for \arg n samples to be written.
44 */ 46 */
45 void process(const double *const __restrict__ in, 47 void process(const double *const QM_R__ in,
46 double *const __restrict__ out, 48 double *const QM_R__ out,
47 const int n); 49 const int n);
48 50
49 int getOrder() const { return m_order; } 51 int getOrder() const { return m_order; }
50 52
51 private: 53 private: