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

◆ convert() [1/3]

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

Implements fl::Gamma8.

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

436 {
438 const int n =
439 input.size() < output.size() ? input.size() : output.size();
440 for (int i = 0; i < n; ++i) {
441 output[i] = FP::from_raw(lerpLut(input[i]));
442 }
443 }
u16 lerpLut(const fl::ufixed_point< 8, 8 > &fp) const
Definition ease.cpp.hpp:446
constexpr fl::size size() const FL_NOEXCEPT
Definition span.h:458
ufixed_integer< IntBits, FracBits > ufixed_point

References lerpLut().

+ Here is the call graph for this function: