FastLED 3.10.6
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 stdint.h:208

References fl::FL_NO_EXCEPT.

Referenced by block_idct(), and mcu_output().

+ Here is the caller graph for this function: