|
FastLED 3.9.15
|
| void fl::upscaleArbitrary | ( | const CRGB * | input, |
| CRGB * | output, | ||
| u16 | inputWidth, | ||
| u16 | inputHeight, | ||
| const 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 106 of file upscale.cpp.
References bilinearInterpolate(), x, xyMap, and y.
Referenced by fl::ScaleUp::expand(), and upscale().
Here is the call graph for this function:
Here is the caller graph for this function: