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

◆ FASTABS()

__inline int32_t fl::third_party::FASTABS ( int32_t x)

Absolute value of x.

Definition at line 513 of file assembly.h.

514{
516
517 sign = x >> (sizeof(int32_t) * 8 - 1);
518 x ^= sign;
519 x -= sign;
520
521 return x;
522}
fl::i32 int32_t
Definition coder.h:220
constexpr enable_if< is_fixed_point< T >::value, int >::type sign(T x) FL_NOEXCEPT

References FL_NOEXCEPT, fl::sign(), and fl::x.

Referenced by FreqInvertRescale(), HybridTransform(), IMDCT12x3(), IMDCT36(), IntensityProcMPEG1(), IntensityProcMPEG2(), and MidSideProc().

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