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

◆ convert() [2/3]

void fl::Gamma8Impl::convert ( fl::span< const fl::ufixed_point< 8, 8 > > input,
fl::span< u16 > output ) const
inlineoverridevirtual

Implements fl::Gamma8.

Definition at line 427 of file ease.cpp.hpp.

428 {
429 const int n =
430 input.size() < output.size() ? input.size() : output.size();
431 for (int i = 0; i < n; ++i) {
432 output[i] = lerpLut(input[i]);
433 }
434 }
u16 lerpLut(const fl::ufixed_point< 8, 8 > &fp) const FL_NO_EXCEPT
Definition ease.cpp.hpp:447
constexpr fl::size size() const FL_NO_EXCEPT
Definition span.h:483

References fl::FL_NO_EXCEPT, and lerpLut().

+ Here is the call graph for this function: