comparison data/fft/FFTFileCache.h @ 170:b23eea68357e

* flesh out StorageAdviser
author Chris Cannam
date Tue, 26 Sep 2006 12:58:12 +0000
parents 21792a550ec9
children 146eb9e35baa
comparison
equal deleted inserted replaced
169:603991c63ff6 170:b23eea68357e
53 53
54 virtual void setColumnAt(size_t x, float *mags, float *phases, float factor); 54 virtual void setColumnAt(size_t x, float *mags, float *phases, float factor);
55 virtual void setColumnAt(size_t x, float *reals, float *imags); 55 virtual void setColumnAt(size_t x, float *reals, float *imags);
56 56
57 virtual void suspend() { m_mfc->suspend(); } 57 virtual void suspend() { m_mfc->suspend(); }
58
59 static size_t getCacheSize(size_t width, size_t height, StorageType type);
58 60
59 protected: 61 protected:
60 char *m_writebuf; 62 char *m_writebuf;
61 mutable char *m_readbuf; 63 mutable char *m_readbuf;
62 mutable size_t m_readbufCol; 64 mutable size_t m_readbufCol;