Encode pixels in P9813 format (zero allocation)
- Parameters
-
| out | Output buffer to write encoded bytes |
- Note
- Protocol: [Boundary:4B][LED:flag+BGR]×N[Boundary:4B]
Definition at line 311 of file pixel_iterator.h.
311 {
314 encodeP9813(pixel_range.first, pixel_range.second, back_ins);
315 }
pair< detail::ScaledPixelIteratorRGB, detail::ScaledPixelIteratorRGB > makeScaledPixelRangeRGB(PixelIterator *pixels) FL_NOEXCEPT
Create RGB input iterator range from PixelIterator.
back_insert_iterator< Container > back_inserter(Container &c) FL_NOEXCEPT
Helper function to create a back_insert_iterator.
void encodeP9813(InputIterator first, InputIterator last, OutputIterator out) FL_NOEXCEPT
Encode pixel data in P9813 format.
References fl::back_inserter(), fl::encodeP9813(), FL_NOEXCEPT, and fl::makeScaledPixelRangeRGB().
Referenced by fl::Channel::showPixels().