Definition at line 533 of file pixel_controller.h.
533 {
534
535
536
541 #if FASTLED_HD_COLOR_MIXING
544 #else
547 #endif
548 if (
scale[0] != 255) {
550 }
551 if (
scale[1] != 255) {
553 }
554 if (
scale[2] != 255) {
556 }
561 }
562 }
570 }
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().