FastLED 3.9.15
Loading...
Searching...
No Matches
upscale.h File Reference
#include "fl/stdint.h"
#include "crgb.h"
#include "fl/namespace.h"
#include "fl/xymap.h"
+ Include dependency graph for upscale.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  fl
 IMPORTANT!
 

Functions

void fl::upscale (const CRGB *input, CRGB *output, u16 inputWidth, u16 inputHeight, const fl::XYMap &xyMap)
 
void fl::upscaleArbitrary (const CRGB *input, CRGB *output, u16 inputWidth, u16 inputHeight, const fl::XYMap &xyMap)
 Performs bilinear interpolation for upscaling an image.
 
void fl::upscaleArbitraryFloat (const CRGB *input, CRGB *output, u16 inputWidth, u16 inputHeight, const XYMap &xyMap)
 
void fl::upscaleFloat (const CRGB *input, CRGB *output, u8 inputWidth, u8 inputHeight, const XYMap &xyMap)
 
u8 fl::upscaleFloat (u8 v00, u8 v10, u8 v01, u8 v11, float dx, float dy)
 
void fl::upscalePowerOf2 (const CRGB *input, CRGB *output, u8 inputWidth, u8 inputHeight, const fl::XYMap &xyMap)
 Performs bilinear interpolation for upscaling an image.
 
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.
 
void fl::upscaleRectangularPowerOf2 (const CRGB *input, CRGB *output, u8 inputWidth, u8 inputHeight, u8 outputWidth, u8 outputHeight)
 Optimized upscale for rectangular/line-by-line XY maps (power-of-2 version).