FastLED 3.10.8
Loading...
Searching...
No Matches

◆ grownBitdataWords()

uint32_t objectfled::grownBitdataWords ( uint32_t currentWords,
uint32_t numbytes,
uint32_t bytesPerDma )
constexpr

New capacity after seeing a frame of numbytes: grows, never shrinks.

Definition at line 24 of file ObjectFLEDBitdataSize.h.

25 {
26 return bitdataWordsFor(numbytes, bytesPerDma) > currentWords
27 ? bitdataWordsFor(numbytes, bytesPerDma)
28 : currentWords;
29}
constexpr uint32_t bitdataWordsFor(uint32_t numbytes, uint32_t bytesPerDma)
Words of bitdata a frame of numbytes bytes per strip needs.

References bitdataWordsFor().

+ Here is the call graph for this function: