comparison layer/SpectrogramLayer.h @ 490:aa477ddcadb5

* Restore (better quality) y-axis interpolation in spectrogram * Make spectrogram x axis interpolation a preference
author Chris Cannam
date Fri, 06 Feb 2009 15:06:23 +0000
parents 5cd6f0d3f42d
children c74e511a3c96
comparison
equal deleted inserted replaced
489:363157772fbd 490:aa477ddcadb5
423 mutable ViewMagMap m_viewMags; 423 mutable ViewMagMap m_viewMags;
424 mutable std::vector<MagnitudeRange> m_columnMags; 424 mutable std::vector<MagnitudeRange> m_columnMags;
425 void invalidateMagnitudes(); 425 void invalidateMagnitudes();
426 bool updateViewMagnitudes(View *v) const; 426 bool updateViewMagnitudes(View *v) const;
427 bool paintDrawBuffer(View *v, int w, int h, 427 bool paintDrawBuffer(View *v, int w, int h,
428 int *binforx, int *binfory, 428 int *binforx, float *binfory,
429 bool usePeaksCache) const; 429 bool usePeaksCache) const;
430 bool paintDrawBufferPeakFrequencies(View *v, int w, int h, 430 bool paintDrawBufferPeakFrequencies(View *v, int w, int h,
431 int *binforx, 431 int *binforx,
432 int minbin, 432 int minbin,
433 int maxbin, 433 int maxbin,