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

Method writeWS2803

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

Source from the content-addressed store, hash-verified

299 /// @note Uses unified encoder: src/fl/chipsets/encoders/ws2803.h
300 template <typename CONTAINER_UIN8_T>
301 void writeWS2803(CONTAINER_UIN8_T* out) FL_NOEXCEPT {
302 auto back_ins = fl::back_inserter(*out);
303 auto pixel_range = makeScaledPixelRangeRGB(this);
304 encodeWS2803(pixel_range.first, pixel_range.second, back_ins);
305 }
306
307 /// @brief Encode pixels in P9813 format (zero allocation)
308 /// @param out Output buffer to write encoded bytes

Callers 1

showPixelsMethod · 0.80

Calls 3

back_inserterFunction · 0.85
makeScaledPixelRangeRGBFunction · 0.85
encodeWS2803Function · 0.85

Tested by

no test coverage detected