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 101 of file frame.cpp.

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

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: