Mercurial > hg > svgui
comparison layer/SpectrogramLayer.h @ 332:6440e280122e spectrogram-cache-rejig
* Some bits and bobs of cache mangling -- closer to working, but still not
author | Chris Cannam |
---|---|
date | Mon, 19 Nov 2007 15:50:37 +0000 |
parents | 846746e4e865 |
children | 64e84e5efb76 |
comparison
equal
deleted
inserted
replaced
330:846746e4e865 | 332:6440e280122e |
---|---|
352 bool m_exiting; | 352 bool m_exiting; |
353 }; | 353 }; |
354 | 354 |
355 PaintThread *m_paintThread; | 355 PaintThread *m_paintThread; |
356 bool paintCache(View *v) const; | 356 bool paintCache(View *v) const; |
357 bool checkAndScrollCache(PixmapCache &cache, QPainter &paint, | |
358 long startFrame, int increment, | |
359 int &x0, int &x1) const; | |
360 void selectPaintStrip(PixmapCache &cache, | |
361 int &x0, int &x1, | |
362 int paintBlockWidth) const; | |
357 | 363 |
358 typedef std::pair<FFTModel *, int> FFTFillPair; // model, last fill | 364 typedef std::pair<FFTModel *, int> FFTFillPair; // model, last fill |
359 typedef std::map<const View *, FFTFillPair> ViewFFTMap; | 365 typedef std::map<const View *, FFTFillPair> ViewFFTMap; |
360 typedef std::vector<float> FloatVector; | 366 typedef std::vector<float> FloatVector; |
361 mutable ViewFFTMap m_fftModels; | 367 mutable ViewFFTMap m_fftModels; |