|
FastLED 3.10.6
|
| void fl::encodeHD108_HD | ( | InputIterator | first, |
| InputIterator | last, | ||
| BrightnessIterator | brightness_first, | ||
| OutputIterator | out ) |
Encode pixel data in HD108 format with per-LED brightness.
| InputIterator | Iterator yielding fl::array<u8, 3> (3 bytes in wire order) |
| BrightnessIterator | Iterator yielding uint8_t brightness values |
| OutputIterator | Output iterator accepting uint8_t |
| first | Iterator to first pixel |
| last | Iterator past last pixel |
| brightness_first | Accepted and never read. hd108BrightnessHeader() pins all gains at 31 regardless, so per-LED brightness has no effect on the output (FastLED#4042) – it used to be dereferenced once per LED and thrown away, which cost a call each time (FastLED#4402). Kept for source compatibility. |
| out | Output iterator for encoded bytes |
Definition at line 99 of file hd108.h.
References FL_NO_EXCEPT, FL_UNUSED, hd108BrightnessHeader(), and hd108GammaCorrect().
Here is the call graph for this function: