|
FastLED 3.9.15
|
| LIB8STATIC_ALWAYS_INLINE uint8_t scale8_video_LEAVING_R1_DIRTY | ( | uint8_t | i, |
| fract8 | scale ) |
This version of scale8_video() does not clean up the R1 register on AVR.
If you are doing several "scale8_video()'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 272 of file scale8.h.
References LIB8STATIC_ALWAYS_INLINE, and scale.
Referenced by fl::ColorFromPalette(), and hsv2rgb_rainbow().
Here is the caller graph for this function: