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

◆ interpolate() [1/2]

void fl::Frame::interpolate ( const Frame & frame1,
const Frame & frame2,
u8 amountOfFrame2 )

Definition at line 125 of file frame.cpp.hpp.

126 {
127 if (frame1.size() != frame2.size() || frame1.size() != mPixelsCount) {
128 FL_DBG("Frames must have the same size");
129 return; // Frames must have the same size
130 }
131 interpolate(frame1, frame2, amountOfFrame2, rgb());
132}
void interpolate(const Frame &frame1, const Frame &frame2, u8 amountOfFrame2) FL_NO_EXCEPT
const size_t mPixelsCount
Definition frame.h:64
fl::span< CRGB > rgb() FL_NO_EXCEPT
Definition frame.h:42
#define FL_DBG
Definition log.h:553

References Frame(), FL_DBG, fl::FL_NO_EXCEPT, interpolate(), mPixelsCount, and rgb().

Referenced by fl::video::FrameInterpolator::draw(), and interpolate().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: