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

◆ neighbors()

static void fl::third_party::vorbis::neighbors ( uint16 * x,
int32_t n,
int32_t * plow,
int32_t * phigh )
static

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

1028{
1029 int32_t low = -1;
1030 int32_t high = 65536;
1031 int32_t i;
1032 for (i=0; i < n; ++i) {
1033 if (x[i] > low && x[i] < x[n]) { *plow = i; low = x[i]; }
1034 if (x[i] < high && x[i] > x[n]) { *phigh = i; high = x[i]; }
1035 }
1036}
fl::i32 int32_t
Definition coder.h:220

References FL_NOEXCEPT, and fl::x.

Referenced by start_decoder().

+ Here is the caller graph for this function: