Definition at line 526 of file pixel_controller.h.
526 {
527
528
529
534 #if FASTLED_HD_COLOR_MIXING
537 #else
540 #endif
541 if (
scale[0] != 255) {
543 }
544 if (
scale[1] != 255) {
546 }
547 if (
scale[2] != 255) {
549 }
554 }
555 }
563 }
LIB8STATIC_ALWAYS_INLINE uint16_t scale16by8(uint16_t i, fract8 scale)
Scale a 16-bit unsigned value by an 8-bit value, which is treated as the numerator of a fraction whos...
LIB8STATIC_ALWAYS_INLINE uint16_t map8_to_16(uint8_t x)
#define RGB_BYTE2(RO)
Gets the color channel for byte 2.
#define RGB_BYTE1(RO)
Gets the color channel for byte 1.
#define RGB_BYTE0(RO)
Gets the color channel for byte 0.
static FASTLED_FORCE_INLINE uint8_t scale(PixelController &pc, uint8_t b)
Scale a value using the per-channel scale data.
const uint8_t * mData
pointer to the underlying LED data
ColorAdjustment mColorAdjustment
References brightness, FASTLED_FORCE_INLINE, map8_to_16(), mColorAdjustment, mData, RGB_BYTE0, RGB_BYTE1, RGB_BYTE2, scale(), and scale16by8().
Referenced by WS2816Controller< DATA_PIN, RGB_ORDER >::showPixels().