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

◆ interpolate() [1/2]

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

Definition at line 98 of file frame.cpp.

99 {
100 if (frame1.size() != frame2.size() || frame1.size() != mPixelsCount) {
101 FASTLED_DBG("Frames must have the same size");
102 return; // Frames must have the same size
103 }
104 interpolate(frame1, frame2, amountOfFrame2, mRgb.get());
105}
size_t size() const
Definition frame.h:34
fl::scoped_array< CRGB > mRgb
Definition frame.h:43
void interpolate(const Frame &frame1, const Frame &frame2, uint8_t amountOfFrame2)
Definition frame.cpp:98
const size_t mPixelsCount
Definition frame.h:42
#define FASTLED_DBG(X)
Definition dbg.h:60

References Frame(), FASTLED_DBG, interpolate(), mPixelsCount, mRgb, and size().

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

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