MCPcopy Create free account
hub / github.com/awawa-dev/HyperHDR / setSparseProcessing

Method setSparseProcessing

sources/base/ImageToLedManager.cpp:170–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

168}
169
170void ImageToLedManager::setSparseProcessing(bool sparseProcessing)
171{
172 bool _orgmappingType = _sparseProcessing;
173
174 _sparseProcessing = sparseProcessing;
175
176 Debug(_log, "setSparseProcessing to %d", _sparseProcessing);
177 if (_orgmappingType != _sparseProcessing && _colorAveraging != nullptr)
178 {
179 unsigned width = _colorAveraging->width();
180 unsigned height = _colorAveraging->height();
181
182 registerProcessingUnit(width, height, 0, 0);
183 }
184}
185
186void ImageToLedManager::setLedMappingType(int mapType)
187{

Callers

nothing calls this directly

Calls 2

widthMethod · 0.45
heightMethod · 0.45

Tested by

no test coverage detected