FastLED 3.9.15
|
LIB8STATIC_ALWAYS_INLINE void nscale8_video_LEAVING_R1_DIRTY | ( | uint8_t & | i, |
fract8 | scale ) |
In place modifying version of scale8_video() that 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 311 of file scale8.h.
References LIB8STATIC_ALWAYS_INLINE, and scale.
Referenced by nscale8x2_video(), and nscale8x3_video().