FastLED 3.10.8
Loading...
Searching...
No Matches

◆ upscale()

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

Definition at line 79 of file crgb.cpp.hpp.

80 {
81 FL_WARN_IF(srcXY.getType() != fl::XYMap::kLineByLine, "Upscaling only works with a src matrix that is rectangular");
82 fl::u16 w = srcXY.getWidth();
83 fl::u16 h = srcXY.getHeight();
84 fl::upscale(src, dst, w, h, dstXY);
85}
@ kLineByLine
Definition xymap.h:43
#define FL_WARN_IF(COND,...)
Definition log.h:438
void upscale(const CRGB *input, CRGB *output, u16 inputWidth, u16 inputHeight, const fl::XYMap &xyMap) FL_NO_EXCEPT
Definition upscale.h:57

References CRGB(), fl::FL_NO_EXCEPT, FL_WARN_IF, fl::XYMap::kLineByLine, and fl::upscale().

+ Here is the call graph for this function: