FastLED 3.9.15
|
FASTLED_FORCE_INLINE CRGB & CRGB::nscale8_video | ( | uint8_t | scaledown | ) |
Scale down a RGB to N/256ths of it's current brightness using "video" dimming rules.
"Video" dimming rules means that unless the scale factor is ZERO each channel is guaranteed NOT to dim down to zero. If it's already nonzero, it'll stay nonzero, even if that means the hue shifts a little at low brightness levels.
Definition at line 78 of file crgb.hpp.
References CRGB(), FASTLED_FORCE_INLINE, and nscale8x3_video().
Referenced by fl::TwinkleFox::drawTwinkleFox(), drawTwinkles(), map_data_into_colors_through_palette(), and operator%().