comparison layer/SpectrogramLayer.h @ 480:567b94e627b8

* start introducing another rendering method
author Chris Cannam
date Tue, 03 Feb 2009 15:21:28 +0000
parents 0033dbfb92e3
children 74a7729e3653
comparison
equal deleted inserted replaced
479:0033dbfb92e3 480:567b94e627b8
411 typedef std::map<const View *, MagnitudeRange> ViewMagMap; 411 typedef std::map<const View *, MagnitudeRange> ViewMagMap;
412 mutable ViewMagMap m_viewMags; 412 mutable ViewMagMap m_viewMags;
413 mutable std::vector<MagnitudeRange> m_columnMags; 413 mutable std::vector<MagnitudeRange> m_columnMags;
414 void invalidateMagnitudes(); 414 void invalidateMagnitudes();
415 bool updateViewMagnitudes(View *v) const; 415 bool updateViewMagnitudes(View *v) const;
416 bool paintColumnValues2(View *v, FFTModel *fft, int w, int h,
417 int *binforx, int *binfory) const;
416 bool paintColumnValues(View *v, FFTModel *fft, int x0, int x, 418 bool paintColumnValues(View *v, FFTModel *fft, int x0, int x,
417 int minbin, int maxbin, 419 int minbin, int maxbin,
418 float displayMinFreq, float displayMaxFreq, 420 float displayMinFreq, float displayMaxFreq,
419 float xPixelRatio, 421 float xPixelRatio,
420 const int h, 422 const int h,