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

◆ upscale()

void CRGB::upscale ( const CRGB * src,
const fl::XYMap & srcXY,
CRGB * dst,
const fl::XYMap & dstXY )
static

Definition at line 79 of file crgb.cpp.

80 {
83 "Upscaling only works with a src matrix that is rectangular");
84 fl::u16 w = srcXY.getWidth();
85 fl::u16 h = srcXY.getHeight();
86 fl::upscale(src, dst, w, h, dstXY);
87}
XyMapType getType() const
Definition xymap.cpp:128
u16 getWidth() const
Definition xymap.cpp:122
@ kLineByLine
Definition xymap.h:47
u16 getHeight() const
Definition xymap.cpp:124
void upscale(const CRGB *input, CRGB *output, u16 inputWidth, u16 inputHeight, const fl::XYMap &xyMap)
Definition upscale.h:58
#define FASTLED_WARN_IF
Definition warn.h:8

References CRGB(), FASTLED_WARN_IF, fl::XYMap::getHeight(), fl::XYMap::getType(), fl::XYMap::getWidth(), fl::XYMap::kLineByLine, and fl::upscale().

+ Here is the call graph for this function: