Mercurial > hg > svgui
comparison layer/Colour3DPlotRenderer.h @ 1097:92ac1fce7102 spectrogram-minor-refactor
Introduce peak frequency rendering (basics of)
author | Chris Cannam |
---|---|
date | Mon, 11 Jul 2016 16:03:39 +0100 |
parents | 6288f1b5f49b |
children | 102f986ec032 |
comparison
equal
deleted
inserted
replaced
1096:6288f1b5f49b | 1097:92ac1fce7102 |
---|---|
188 void renderToCachePixelResolution(LayerGeometryProvider *v, int x0, | 188 void renderToCachePixelResolution(LayerGeometryProvider *v, int x0, |
189 int repaintWidth, bool rightToLeft, | 189 int repaintWidth, bool rightToLeft, |
190 bool timeConstrained); | 190 bool timeConstrained); |
191 void renderToCacheBinResolution(LayerGeometryProvider *v, int x0, | 191 void renderToCacheBinResolution(LayerGeometryProvider *v, int x0, |
192 int repaintWidth); | 192 int repaintWidth); |
193 | |
193 int renderDrawBuffer(int w, int h, | 194 int renderDrawBuffer(int w, int h, |
194 const std::vector<int> &binforx, | 195 const std::vector<int> &binforx, |
195 const std::vector<double> &binfory, | 196 const std::vector<double> &binfory, |
196 bool usePeaksCache, | 197 bool usePeaksCache, |
197 bool rightToLeft, | 198 bool rightToLeft, |
198 bool timeConstrained); | 199 bool timeConstrained); |
200 | |
201 int renderDrawBufferPeakFrequencies(LayerGeometryProvider *v, | |
202 int w, int h, | |
203 const std::vector<int> &binforx, | |
204 const std::vector<double> &binfory, | |
205 bool rightToLeft, | |
206 bool timeConstrained); | |
207 | |
199 void recreateDrawBuffer(int w, int h); | 208 void recreateDrawBuffer(int w, int h); |
200 void clearDrawBuffer(int w, int h); | 209 void clearDrawBuffer(int w, int h); |
201 }; | 210 }; |
202 | 211 |
203 #endif | 212 #endif |