comparison layer/SpectrogramLayer.h @ 1:ab83c415a6cd

* Backed out partially complete changes to make the spectrogram only store results up to the requested max frequency. The speed improvement was minimal at the expense of annoyance when changing frequency limit, and although it did save memory, it wasn't yet reliable and fixing it is not a high enough priority.
author Chris Cannam
date Tue, 10 Jan 2006 17:04:02 +0000
parents 2a4f26e85b4c
children 37b110168acf
comparison
equal deleted inserted replaced
0:2a4f26e85b4c 1:ab83c415a6cd
163 163
164 void fillCache(); 164 void fillCache();
165 165
166 QImage *m_cache; 166 QImage *m_cache;
167 bool m_cacheInvalid; 167 bool m_cacheInvalid;
168 size_t m_maxCachedFrequency;
169 168
170 mutable QPixmap *m_pixmapCache; 169 mutable QPixmap *m_pixmapCache;
171 mutable bool m_pixmapCacheInvalid; 170 mutable bool m_pixmapCacheInvalid;
172 mutable long m_pixmapCacheStartFrame; 171 mutable long m_pixmapCacheStartFrame;
173 mutable size_t m_pixmapCacheZoomLevel; 172 mutable size_t m_pixmapCacheZoomLevel;