Mercurial > hg > svcore
comparison data/fft/FFTFileCache.cpp @ 384:6f6ab834449d spectrogram-cache-rejig
* Merge from trunk
author | Chris Cannam |
---|---|
date | Wed, 27 Feb 2008 11:59:42 +0000 |
parents | 92e8dbde73cd |
children | 115f60df1e4d |
comparison
equal
deleted
inserted
replaced
337:a6fab10ff9e6 | 384:6f6ab834449d |
---|---|
21 | 21 |
22 #include <iostream> | 22 #include <iostream> |
23 | 23 |
24 #include <QMutexLocker> | 24 #include <QMutexLocker> |
25 | 25 |
26 | |
26 // The underlying matrix has height (m_height * 2 + 1). In each | 27 // The underlying matrix has height (m_height * 2 + 1). In each |
27 // column we store magnitude at [0], [2] etc and phase at [1], [3] | 28 // column we store magnitude at [0], [2] etc and phase at [1], [3] |
28 // etc, and then store the normalization factor (maximum magnitude) at | 29 // etc, and then store the normalization factor (maximum magnitude) at |
29 // [m_height * 2]. In compact mode, the factor takes two cells. | 30 // [m_height * 2]. In compact mode, the factor takes two cells. |
30 | 31 |