comparison data/fft/FFTMemoryCache.cpp @ 170:b23eea68357e

* flesh out StorageAdviser
author Chris Cannam
date Tue, 26 Sep 2006 12:58:12 +0000
parents e5879045d22b
children ff46f251139e
comparison
equal deleted inserted replaced
169:603991c63ff6 170:b23eea68357e
111 } 111 }
112 112
113 setColumnAt(x, reals, imags, max); 113 setColumnAt(x, reals, imags, max);
114 } 114 }
115 115
116 size_t
117 FFTMemoryCache::getCacheSize(size_t width, size_t height)
118 {
119 return (height * 2 + 1) * width * sizeof(uint16_t);
120 }
121