FastLED 3.9.15
Loading...
Searching...
No Matches

◆ bilinearExpandArbitrary()

void fl::bilinearExpandArbitrary ( const CRGB * input,
CRGB * output,
uint16_t inputWidth,
uint16_t inputHeight,
fl::XYMap xyMap )
inline

Performs bilinear interpolation for upscaling an image.

Parameters
outputThe output grid to write into the interpolated values.
inputThe input grid to read from.
inputWidthThe width of the input grid.
inputHeightThe height of the input grid.
xyMapThe 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 53 of file bilinear_expansion.h.

55 {
56 upscaleArbitrary(input, output, inputWidth, inputHeight, xyMap);
57}
XYMap xyMap
Definition gfx.cpp:8
void upscaleArbitrary(const CRGB *input, CRGB *output, uint16_t inputWidth, uint16_t inputHeight, XYMap xyMap)
Performs bilinear interpolation for upscaling an image.
Definition upscale.cpp:20

References upscaleArbitrary(), and xyMap.

+ Here is the call graph for this function: