FastLED 3.9.15
Loading...
Searching...
No Matches

◆ brighten8_video()

LIB8STATIC uint8_t brighten8_video ( uint8_t x)

Brighten a value (inverse of dim8_video())

Definition at line 727 of file scale8.h.

727 {
728 uint8_t ix = 255 - x;
729 return 255 - scale8_video(ix, ix);
730}
uint32_t x[NUM_LAYERS]
Definition Fire2023.ino:80
LIB8STATIC_ALWAYS_INLINE uint8_t scale8_video(uint8_t i, fract8 scale)
The "video" version of scale8() guarantees that the output will be only be zero if one or both of the...
Definition scale8.h:117

References LIB8STATIC, scale8_video(), and x.

+ Here is the call graph for this function: