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

Method writeP9813

src/fl/chipsets/encoders/pixel_iterator.h:311–315  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309 /// @note Protocol: [Boundary:4B][LED:flag+BGR]×N[Boundary:4B]
310 template <typename CONTAINER_UIN8_T>
311 void writeP9813(CONTAINER_UIN8_T* out) FL_NOEXCEPT {
312 auto back_ins = fl::back_inserter(*out);
313 auto pixel_range = makeScaledPixelRangeRGB(this);
314 encodeP9813(pixel_range.first, pixel_range.second, back_ins);
315 }
316
317 /// @brief Encode pixels in LPD8806 format (zero allocation)
318 /// @param out Output buffer to write encoded bytes

Callers 1

showPixelsMethod · 0.80

Calls 3

back_inserterFunction · 0.85
makeScaledPixelRangeRGBFunction · 0.85
encodeP9813Function · 0.85

Tested by

no test coverage detected