comparison data/model/AggregateWaveModel.h @ 377:166c22eff678

* Ensure waveforms are strictly correct even when using a non-power-of-two non-power-of-sqrt-two block size with cacheing off and painting only small areas at a time
author Chris Cannam
date Thu, 07 Feb 2008 15:25:05 +0000
parents 0e30c8ec15a0
children 59e7fe1b1003
comparison
equal deleted inserted replaced
376:ab24af1271e9 377:166c22eff678
69 69
70 virtual size_t getData(size_t fromchannel, size_t tochannel, 70 virtual size_t getData(size_t fromchannel, size_t tochannel,
71 size_t start, size_t count, 71 size_t start, size_t count,
72 float **buffer) const; 72 float **buffer) const;
73 73
74 virtual size_t getSummaryBlockSize(size_t desired) const;
75
74 virtual void getSummaries(size_t channel, size_t start, size_t count, 76 virtual void getSummaries(size_t channel, size_t start, size_t count,
75 RangeBlock &ranges, 77 RangeBlock &ranges,
76 size_t &blockSize) const; 78 size_t &blockSize) const;
77 79
78 virtual Range getSummary(size_t channel, size_t start, size_t count) const; 80 virtual Range getSummary(size_t channel, size_t start, size_t count) const;