26 return uint16_t(
x) * 0x101;
40 return uint8_t((
x + 128) >> 8);
44 return uint32_t(
x) * 0x1010101;
LIB8STATIC_ALWAYS_INLINE uint8_t map16_to_8(uint16_t x)
LIB8STATIC_ALWAYS_INLINE uint32_t map8_to_32(uint8_t x)
LIB8STATIC_ALWAYS_INLINE uint16_t map8_to_16(uint8_t x)
#define LIB8STATIC_ALWAYS_INLINE
Define a LIB8TION member function as always static inline.
Defines static inlining macros for lib8tion functions.
#define FASTLED_NAMESPACE_END
Implements the FastLED namespace macros.