FastLED 3.10.6
Loading...
Searching...
No Matches

◆ map8_to_16()

u16 fl::map8_to_16 ( u8 x)
inline
Deprecated
Use int_scale<uint8_t, uint16_t>() instead
Examples
/home/runner/work/FastLED/FastLED/src/fl/math/intmap.h.

Definition at line 48 of file intmap.h.

48 {
49 return fl::int_scale<u8, u16>(x);
50}

References FL_NO_EXCEPT, and x.

Referenced by fl::detail::ScaledPixelIteratorRGB16::advance(), easeInOutSine8(), easeOutSine8(), and fl::PixelIterator::loadAndScaleRGB16().

+ Here is the caller graph for this function: