MCPcopy Create free account
hub / github.com/FastLED/FastLED / getMaxBytesInStrip

Method getMaxBytesInStrip

src/fl/gfx/rectangular_draw_buffer.cpp.hpp:80–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78}
79
80u32 RectangularDrawBuffer::getMaxBytesInStrip() const {
81 u32 max_bytes = 0;
82 for (auto it = mDrawList.begin(); it != mDrawList.end(); ++it) {
83 max_bytes = fl::max(max_bytes, it->mNumBytes);
84 }
85 return max_bytes;
86}
87
88u32 RectangularDrawBuffer::getTotalBytes() const {
89 u32 num_strips = mDrawList.size();

Callers 2

outputParallelGroupMethod · 0.80
FL_TEST_FILEFunction · 0.80

Calls 3

maxFunction · 0.85
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected