comparison data/model/AggregateWaveModel.h @ 1326:54af1e21705c 3.0-integration

Update to use bqvec allocator for float vectors
author Chris Cannam
date Tue, 13 Dec 2016 15:23:21 +0000
parents 4d9816ba0ebe
children 770f80d9ccee
comparison
equal deleted inserted replaced
1325:3aea4f7617bb 1326:54af1e21705c
57 float getValueMaximum() const { return 1.0f; } 57 float getValueMaximum() const { return 1.0f; }
58 58
59 virtual sv_frame_t getStartFrame() const { return 0; } 59 virtual sv_frame_t getStartFrame() const { return 0; }
60 virtual sv_frame_t getEndFrame() const { return getFrameCount(); } 60 virtual sv_frame_t getEndFrame() const { return getFrameCount(); }
61 61
62 virtual std::vector<float> getData(int channel, sv_frame_t start, sv_frame_t count) const; 62 virtual floatvec_t getData(int channel, sv_frame_t start, sv_frame_t count) const;
63 63
64 virtual std::vector<std::vector<float>> getMultiChannelData(int fromchannel, int tochannel, sv_frame_t start, sv_frame_t count) const; 64 virtual std::vector<floatvec_t> getMultiChannelData(int fromchannel, int tochannel, sv_frame_t start, sv_frame_t count) const;
65 65
66 virtual int getSummaryBlockSize(int desired) const; 66 virtual int getSummaryBlockSize(int desired) const;
67 67
68 virtual void getSummaries(int channel, sv_frame_t start, sv_frame_t count, 68 virtual void getSummaries(int channel, sv_frame_t start, sv_frame_t count,
69 RangeBlock &ranges, 69 RangeBlock &ranges,