MCPcopy Create free account
hub / github.com/FastLED/FastLED / nscale8_video

Function nscale8_video

src/fl/gfx/colorutils.h:80–82  ·  view source on GitHub ↗

@copydoc nscale8_video()

Source from the content-addressed store, hash-verified

78
79/// @copydoc nscale8_video()
80inline void nscale8_video(fl::span<CRGB> leds, fl::u8 scale) FL_NOEXCEPT {
81 nscale8_video(leds.data(), static_cast<fl::u16>(leds.size()), scale);
82}
83
84/// Reduce the brightness of an array of pixels all at once.
85/// This function will eventually fade all the way to black.

Callers 1

CPixelViewClass · 0.50

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected