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

◆ BYTECLIP()

static uint8_t fl::third_party::BYTECLIP ( int val)
static

Definition at line 126 of file tjpgd.cpp.hpp.

127{
128 if (val < 0) return 0;
129 else if (val > 255) return 255;
130 return (uint8_t)val;
131}
unsigned char uint8_t
Definition coder.h:209

References FL_NOEXCEPT.

Referenced by block_idct(), and mcu_output().

+ Here is the caller graph for this function: