Mercurial > hg > svgui
diff 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 |
line wrap: on
line diff
--- a/layer/Colour3DPlotRenderer.h Mon Jul 11 14:37:03 2016 +0100 +++ b/layer/Colour3DPlotRenderer.h Mon Jul 11 16:03:39 2016 +0100 @@ -190,12 +190,21 @@ bool timeConstrained); void renderToCacheBinResolution(LayerGeometryProvider *v, int x0, int repaintWidth); + int renderDrawBuffer(int w, int h, const std::vector<int> &binforx, const std::vector<double> &binfory, bool usePeaksCache, bool rightToLeft, bool timeConstrained); + + int renderDrawBufferPeakFrequencies(LayerGeometryProvider *v, + int w, int h, + const std::vector<int> &binforx, + const std::vector<double> &binfory, + bool rightToLeft, + bool timeConstrained); + void recreateDrawBuffer(int w, int h); void clearDrawBuffer(int w, int h); };