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

◆ interpolate() [1/2]

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

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

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

References Frame(), FL_DBG, interpolate(), mPixelsCount, rgb(), and size().

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

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