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

◆ Frame()

fl::Frame::Frame ( int pixels_per_frame)
explicit

Definition at line 17 of file frame.cpp.

17 : mPixelsCount(pixels_count), mRgb() {
18 mRgb.reset(reinterpret_cast<CRGB *>(
19 LargeBlockAllocate(pixels_count * sizeof(CRGB))));
20 memset(mRgb.get(), 0, pixels_count * sizeof(CRGB));
21}
fl::scoped_array< CRGB > mRgb
Definition frame.h:43
const size_t mPixelsCount
Definition frame.h:42
void * LargeBlockAllocate(size_t size, bool zero)
Definition allocator.cpp:42

References fl::LargeBlockAllocate(), mPixelsCount, and mRgb.

Referenced by copy(), interpolate(), and interpolate().

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