FastLED 3.10.6
Loading...
Searching...
No Matches

◆ writeWS2803()

template<typename CONTAINER_UIN8_T>
void fl::PixelIterator::writeWS2803 ( CONTAINER_UIN8_T * out)
inline

Encode pixels in WS2803 format (zero allocation)

Parameters
outOutput buffer to write encoded bytes
Note
Protocol: Identical to WS2801
Uses unified encoder: src/fl/chipsets/encoders/ws2803.h

Definition at line 570 of file pixel_iterator.h.

570 {
571 auto back_ins = fl::back_inserter(*out);
572 auto pixel_range = makeScaledPixelRangeRGB(this);
573 encodeWS2803(pixel_range.first, pixel_range.second, back_ins);
574 }
back_insert_iterator< Container > back_inserter(Container &c) FL_NO_EXCEPT
Helper function to create a back_insert_iterator.
Definition iterator.h:139
void encodeWS2803(InputIterator first, InputIterator last, OutputIterator out) FL_NO_EXCEPT
Encode pixel data in WS2803 format (alias for WS2801)
Definition ws2803.h:31
pair< detail::ScaledPixelIteratorRGB, detail::ScaledPixelIteratorRGB > makeScaledPixelRangeRGB(PixelIterator *pixels) FL_NO_EXCEPT
Create RGB input iterator range from PixelIterator.

References fl::back_inserter(), fl::encodeWS2803(), fl::FL_NO_EXCEPT, and fl::makeScaledPixelRangeRGB().

+ Here is the call graph for this function: