|
FastLED 3.9.15
|
|
inlineconstexpr |
Scale a signed integer by this alpha (UNORM16 semantics).
result = (v * (raw + 1)) >> 16 Identity: scale_signed(x) == x when raw == 65535 Zero: scale_signed(x) == 0 when raw == 0 and |x| < 65536
Definition at line 123 of file alpha.h.
References FL_NOEXCEPT, and value.
Referenced by fl::audio::fft::Context::applyWindow().
Here is the caller graph for this function: