comparison layer/SpectrogramLayer.h @ 1562:3b45788b7804 spectrogram-export

Provide parameters needed for scale and thresholding
author Chris Cannam
date Thu, 09 Jan 2020 14:35:41 +0000
parents 745be36202aa
children
comparison
equal deleted inserted replaced
1561:d6f9fac336b3 1562:3b45788b7804
332 // models and caches with ModelById 332 // models and caches with ModelById
333 ModelId m_fftModel; // an FFTModel 333 ModelId m_fftModel; // an FFTModel
334 ModelId m_wholeCache; // a Dense3DModelPeakCache 334 ModelId m_wholeCache; // a Dense3DModelPeakCache
335 ModelId m_peakCache; // a Dense3DModelPeakCache 335 ModelId m_peakCache; // a Dense3DModelPeakCache
336 int m_peakCacheDivisor; 336 int m_peakCacheDivisor;
337 mutable std::vector<ModelId> m_exporters; // used and waiting to be released 337
338 mutable std::vector<ModelId> m_exporters; // used, waiting to be released
339
338 void checkCacheSpace(int *suggestedPeakDivisor, 340 void checkCacheSpace(int *suggestedPeakDivisor,
339 bool *createWholeCache) const; 341 bool *createWholeCache) const;
340 void recreateFFTModel(); 342 void recreateFFTModel();
341 343
342 typedef std::map<int, MagnitudeRange> ViewMagMap; // key is view id 344 typedef std::map<int, MagnitudeRange> ViewMagMap; // key is view id