comparison layer/SpectrogramLayer.h @ 1555:745be36202aa spectrogram-export

Provide export model
author Chris Cannam
date Tue, 07 Jan 2020 11:18:43 +0000
parents a0b2f3b4dd2f
children 3b45788b7804
comparison
equal deleted inserted replaced
1554:a0b2f3b4dd2f 1555:745be36202aa
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 void checkCacheSpace(int *suggestedPeakDivisor, 338 void checkCacheSpace(int *suggestedPeakDivisor,
338 bool *createWholeCache) const; 339 bool *createWholeCache) const;
339 void recreateFFTModel(); 340 void recreateFFTModel();
340 341
341 typedef std::map<int, MagnitudeRange> ViewMagMap; // key is view id 342 typedef std::map<int, MagnitudeRange> ViewMagMap; // key is view id