Mercurial > hg > svcore
comparison data/fft/FFTMemoryCache.cpp @ 980:6e6da0636e5e tonioni
Merge from default branch
author | Chris Cannam |
---|---|
date | Tue, 09 Sep 2014 16:36:21 +0100 |
parents | 5173e56e17f7 |
children | cc27f35aa75c |
comparison
equal
deleted
inserted
replaced
954:35b05cac32d0 | 980:6e6da0636e5e |
---|---|
203 | 203 |
204 switch (type) { | 204 switch (type) { |
205 | 205 |
206 case FFTCache::Compact: | 206 case FFTCache::Compact: |
207 sz = (height * 2 + 1) * width * sizeof(uint16_t); | 207 sz = (height * 2 + 1) * width * sizeof(uint16_t); |
208 break; | |
208 | 209 |
209 case FFTCache::Polar: | 210 case FFTCache::Polar: |
210 case FFTCache::Rectangular: | 211 case FFTCache::Rectangular: |
211 sz = (height * 2 + 1) * width * sizeof(float); | 212 sz = (height * 2 + 1) * width * sizeof(float); |
213 break; | |
212 } | 214 } |
213 | 215 |
214 return sz; | 216 return sz; |
215 } | 217 } |
216 | 218 |