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

◆ toFixed8< fl::s16x16 >()

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

Definition at line 200 of file primitives.h.

200 {
201 // Q16.16 → Q8.8: shift right by 8
202 return static_cast<fl::i32>(val.raw() >> 8);
203}
constexpr i32 raw() const FL_NOEXCEPT
Definition s16x16.h:60

References fl::s16x16::raw(), and toFixed8().

+ Here is the call graph for this function: