FastLED 3.9.15
|
void fl::bilinearExpandArbitrary | ( | const CRGB * | input, |
CRGB * | output, | ||
uint16_t | inputWidth, | ||
uint16_t | inputHeight, | ||
fl::XYMap | xyMap ) |
Performs bilinear interpolation for upscaling an image.
output | The output grid to write into the interpolated values. |
input | The input grid to read from. |
inputWidth | The width of the input grid. |
inputHeight | The height of the input grid. |
xyMap | The XYMap to use to determine where to write the pixel. If the pixel is mapped outside of the range then it is clipped. |
Definition at line 22 of file bilinear_expansion.cpp.
References bilinearInterpolate(), x, xyMap, and y.
Referenced by bilinearExpand(), and fl::ScaleUp::expand().