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

Method getBlockInfo

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

Source from the content-addressed store, hash-verified

92}
93
94void RectangularDrawBuffer::getBlockInfo(u32 *num_strips,
95 u32 *bytes_per_strip,
96 u32 *total_bytes) const {
97 *num_strips = mDrawList.size();
98 *bytes_per_strip = getMaxBytesInStrip();
99 *total_bytes = (*num_strips) * (*bytes_per_strip);
100}
101
102} // namespace fl

Callers 2

rebuildObjectFLEDMethod · 0.80
showMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected