Mercurial > hg > svcore
comparison data/model/AggregateWaveModel.cpp @ 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 | 06f13a3b9e9e |
comparison
equal
deleted
inserted
replaced
376:ab24af1271e9 | 377:166c22eff678 |
---|---|
188 if (here < min) min = here; | 188 if (here < min) min = here; |
189 } | 189 } |
190 | 190 |
191 return min; | 191 return min; |
192 } | 192 } |
193 | |
194 size_t | |
195 AggregateWaveModel::getSummaryBlockSize(size_t desired) const | |
196 { | |
197 //!!! complete | |
198 return desired; | |
199 } | |
193 | 200 |
194 void | 201 void |
195 AggregateWaveModel::getSummaries(size_t channel, size_t start, size_t count, | 202 AggregateWaveModel::getSummaries(size_t channel, size_t start, size_t count, |
196 RangeBlock &ranges, size_t &blockSize) const | 203 RangeBlock &ranges, size_t &blockSize) const |
197 { | 204 { |