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

◆ compute_bitreverse()

static void fl::third_party::vorbis::compute_bitreverse ( int32_t n,
uint16 * rev )
static

Definition at line 1002 of file stb_vorbis.cpp.hpp.

1003{
1004 int32_t ld = ilog(n) - 1; // ilog is off-by-one from normal definitions
1005 int32_t i, n8 = n >> 3;
1006 for (i=0; i < n8; ++i)
1007 rev[i] = (bit_reverse(i) >> (32-ld+3)) << 2;
1008}
static int32_t ilog(int32 n) FL_NOEXCEPT
static uint32_t bit_reverse(uint32_t n) FL_NOEXCEPT
fl::i32 int32_t
Definition coder.h:220

References bit_reverse(), FL_NOEXCEPT, and ilog().

Referenced by init_blocksize().

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