Mercurial > hg > svgui
comparison layer/Colour3DPlotRenderer.cpp @ 1099:5c6271734790 spectrogram-minor-refactor
Switch in "standard" colour scale, bin scale, normalisation -- not quite handled elegantly or correctly yet
author | Chris Cannam |
---|---|
date | Wed, 13 Jul 2016 10:00:21 +0100 |
parents | 92ac1fce7102 |
children | 102f986ec032 |
comparison
equal
deleted
inserted
replaced
1098:d9f1d2756b59 | 1099:5c6271734790 |
---|---|
173 // but we want to ensure the cache is coherent without having to | 173 // but we want to ensure the cache is coherent without having to |
174 // worry about vertical matching of required and valid areas as | 174 // worry about vertical matching of required and valid areas as |
175 // well as horizontal. That's why this function didn't take any | 175 // well as horizontal. That's why this function didn't take any |
176 // y/height parameters. | 176 // y/height parameters. |
177 | 177 |
178 if (bufferIsBinResolution) { | 178 if (bufferIsBinResolution && (m_params.binDisplay != PeakFrequencies)) { |
179 renderToCacheBinResolution(v, x0, x1 - x0); | 179 renderToCacheBinResolution(v, x0, x1 - x0); |
180 } else { | 180 } else { |
181 renderToCachePixelResolution(v, x0, x1 - x0, rightToLeft, timeConstrained); | 181 renderToCachePixelResolution(v, x0, x1 - x0, rightToLeft, timeConstrained); |
182 } | 182 } |
183 | 183 |