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

◆ CLZ()

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

Leading zeros.

Definition at line 527 of file assembly.h.

528{
529 int32_t numZeros;
530
531 if (!x)
532 return (sizeof(int32_t) * 8);
533
534 numZeros = 0;
535 while (!(x & 0x80000000)) {
536 numZeros++;
537 x <<= 1;
538 }
539
540 return numZeros;
541}
fl::i32 int32_t
Definition coder.h:220

References FL_NOEXCEPT, and fl::x.

Referenced by DequantChannel(), Dequantize(), and HybridTransform().

+ Here is the caller graph for this function: