FastLED 3.9.15
|
LIB8STATIC_ALWAYS_INLINE uint8_t scale8_LEAVING_R1_DIRTY | ( | uint8_t | i, |
fract8 | scale ) |
This version of scale8() does not clean up the R1 register on AVR.
If you are doing several "scale8()'s" in a row, use this, and then explicitly call cleanup_R1().
i | input value to scale |
scale | scale factor, in n/256 units |
Definition at line 170 of file scale8.h.
References LIB8STATIC_ALWAYS_INLINE, and scale.
Referenced by blend8(), ColorFromPalette(), ColorFromPalette(), ColorFromPalette(), ColorFromPalette(), ColorFromPalette(), ColorFromPalette(), ColorFromPaletteExtended(), ColorFromPaletteExtended(), ColorFromPaletteExtended(), ease8InOutCubic(), fadeUsingColor(), CRGB::getAverageLight(), CRGB::getLuma(), hsv2rgb_rainbow(), MyColorFromPaletteExtended(), nblend(), nblend(), nscale8x2(), and nscale8x3().