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

◆ dotAdaptationRowQ16()

i32 fl::anonymous_namespace{chromatic_adaptation.cpp.hpp}::dotAdaptationRowQ16 ( const i32(&) row[3],
const i32(&) v[3] )

Definition at line 73 of file chromatic_adaptation.cpp.hpp.

73 {
74 const i64 acc = static_cast<i64>(row[0]) * static_cast<i64>(v[0])
75 + static_cast<i64>(row[1]) * static_cast<i64>(v[1])
76 + static_cast<i64>(row[2]) * static_cast<i64>(v[2]);
77 return static_cast<i32>(acc >= 0 ? (acc + 32768) >> 16
78 : -((-acc + 32768) >> 16));
79}
fl::i64 i64
Definition stdint.h:221

References dotAdaptationRowQ16(), and fl::FL_NO_EXCEPT.

Referenced by dotAdaptationRowQ16().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: