FastLED 3.9.15
|
void fl::upscaleRectangular | ( | const CRGB * | input, |
CRGB * | output, | ||
u16 | inputWidth, | ||
u16 | inputHeight, | ||
u16 | outputWidth, | ||
u16 | outputHeight ) |
Optimized upscale for rectangular/line-by-line XY maps.
input | The input grid to read from. |
output | The output grid to write into the interpolated values. |
inputWidth | The width of the input grid. |
inputHeight | The height of the input grid. |
outputWidth | The width of the output grid. |
outputHeight | The height of the output grid. This version bypasses XY mapping overhead for rectangular layouts. |
Definition at line 20 of file upscale.cpp.
References bilinearInterpolate(), x, and y.
Referenced by upscale().