|
FastLED 3.9.15
|
| void fl::upscalePowerOf2 | ( | const CRGB * | input, |
| CRGB * | output, | ||
| u8 | inputWidth, | ||
| u8 | 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 170 of file upscale.cpp.
References bilinearInterpolatePowerOf2(), 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: