| 168 | } |
| 169 | |
| 170 | void 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 | |
| 186 | void ImageToLedManager::setLedMappingType(int mapType) |
| 187 | { |