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

◆ hb_step()

int fl::detail::gamma_constexpr::hb_step ( u32 v,
int r )
constexpr

Definition at line 62 of file gamma_lut.h.

62 {
63 return (v & 0xFFFF0000u) ? hb_step(v >> 16, r + 16)
64 : (v & 0x0000FF00u) ? hb_step(v >> 8, r + 8)
65 : (v & 0x000000F0u) ? hb_step(v >> 4, r + 4)
66 : (v & 0x0000000Cu) ? hb_step(v >> 2, r + 2)
67 : (v & 0x00000002u) ? r + 1
68 : r;
69}
constexpr int hb_step(u32 v, int r) FL_NOEXCEPT
Definition gamma_lut.h:62

References FL_NOEXCEPT, and hb_step().

Referenced by hb_step(), and highest_bit().

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