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

◆ brighten8_raw()

LIB8STATIC uint8_t brighten8_raw ( uint8_t x)

Brighten a value (inverse of dim8_raw())

Definition at line 732 of file scale8.h.

732 {
733 uint8_t ix = 255 - x;
734 return 255 - scale8(ix, ix);
735}
int x
Definition simple.h:92
LIB8STATIC_ALWAYS_INLINE uint8_t scale8(uint8_t i, fract8 scale)
Scale one byte by a second one, which is treated as the numerator of a fraction whose denominator is ...
Definition scale8.h:44

References LIB8STATIC, scale8(), and x.

+ Here is the call graph for this function: