| 132 | } |
| 133 | |
| 134 | void ImageToLedManager::setLedString(const LedString& ledString) |
| 135 | { |
| 136 | if (_colorAveraging != nullptr) |
| 137 | { |
| 138 | _ledString = ledString; |
| 139 | |
| 140 | // get current width/height |
| 141 | unsigned width = _colorAveraging->width(); |
| 142 | unsigned height = _colorAveraging->height(); |
| 143 | |
| 144 | // Construct a new buffer and mapping |
| 145 | registerProcessingUnit(width, height, 0, 0); |
| 146 | } |
| 147 | } |
| 148 | |
| 149 | void ImageToLedManager::setBlackbarDetectDisable(bool enable) |
| 150 | { |
no test coverage detected