comparison layer/SpectrogramLayer.h @ 1472:dbff4b290bf0 by-id

Further layer updates
author Chris Cannam
date Mon, 01 Jul 2019 14:25:53 +0100
parents 696e569ff21b
children 886c1cd48f9d
comparison
equal deleted inserted replaced
1471:f2525e6cbdf1 1472:dbff4b290bf0
304 else return m_windowSize / (1 << (m_windowHopLevel - 1)); 304 else return m_windowSize / (1 << (m_windowHopLevel - 1));
305 } 305 }
306 306
307 int getFFTSize() const; // m_windowSize * getOversampling() 307 int getFFTSize() const; // m_windowSize * getOversampling()
308 308
309 ModelId m_fftModel; 309 ModelId m_fftModel; // an FFTModel
310 Dense3DModelPeakCache *m_wholeCache; 310 Dense3DModelPeakCache *m_wholeCache;
311 Dense3DModelPeakCache *m_peakCache; 311 Dense3DModelPeakCache *m_peakCache;
312 Dense3DModelPeakCache *getPeakCache() const { return m_peakCache; } 312 Dense3DModelPeakCache *getPeakCache() const { return m_peakCache; }
313 int m_peakCacheDivisor; 313 int m_peakCacheDivisor;
314 void checkCacheSpace(int *suggestedPeakDivisor, 314 void checkCacheSpace(int *suggestedPeakDivisor,