Definition at line 521 of file pixel_controller.h.
521 {
522
523
524
529 #if FASTLED_HD_COLOR_MIXING
532 #else
535 #endif
536 if (
scale[0] != 255) {
538 }
539 if (
scale[1] != 255) {
541 }
542 if (
scale[2] != 255) {
544 }
549 }
550 }
558 }
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().