FastLED 3.10.8
Loading...
Searching...
No Matches

◆ toFixed8< fl::s16x16 >()

template<>
fl::i32 fl::gfx::detail::toFixed8< fl::s16x16 > ( fl::s16x16 val)
inline

Definition at line 202 of file primitives.h.

202 {
203 // Q16.16 → Q8.8: shift right by 8
204 return static_cast<fl::i32>(val.raw() >> 8);
205}
constexpr i32 raw() const FL_NO_EXCEPT
Definition s16x16.h:62

References fl::FL_NO_EXCEPT, and toFixed8().

+ Here is the call graph for this function: