23 FASTLED_ASSERT(
false,
"Pin not found in RectangularDrawBuffer");
60 u32 max_bytes_in_strip = 0;
62 getBlockInfo(&num_strips, &max_bytes_in_strip, &total_bytes);
76 offset += max_bytes_in_strip;
84 max_bytes =
fl::max(max_bytes, it->mNumBytes);
92 return num_strips * max_bytes;
100 *total_bytes = (*num_strips) * (*bytes_per_strip);
static T * Alloc(fl::size n) FL_NO_EXCEPT
static void Free(T *p) FL_NO_EXCEPT
bool onQueuingStart() FL_NO_EXCEPT
void getBlockInfo(u32 *num_strips, u32 *bytes_per_strip, u32 *total_bytes) const FL_NO_EXCEPT
fl::flat_map< u8, fl::span< u8 > > mPinToLedSegment
bool mDrawListChangedThisFrame
void queue(const DrawItem &item) FL_NO_EXCEPT
unique_ptr< u8[], PSRamDeleter< u8 > > mAllLedsBufferUint8
fl::span< u8 > getLedsBufferBytesForPin(u8 pin, bool clear_first=true) FL_NO_EXCEPT
u32 getTotalBytes() const FL_NO_EXCEPT
bool onQueuingDone() FL_NO_EXCEPT
u32 getMaxBytesInStrip() const FL_NO_EXCEPT
u32 mAllLedsBufferUint8Size
const T * data() const FL_NO_EXCEPT
constexpr fl::size size() const FL_NO_EXCEPT
fl::UISlider offset("Offset", 0.0f, 0.0f, 1.0f, 0.01f)
Functions for red, green, blue, white (RGBW) output.
constexpr common_type_t< T, U > max(T a, U b) FL_NO_EXCEPT
u8 u8 fract8 blur_amount FL_NO_EXCEPT
FASTLED_FORCE_INLINE void * memset(void *s, int c, size_t n) FL_NO_EXCEPT
Base definition for an LED controller.
DrawItem() FL_NO_EXCEPT=default
static u32 size_as_rgb(u32 num_of_rgbw_pixels) FL_NO_EXCEPT