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

◆ plm_clamp()

static uint8_t fl::third_party::plm_clamp ( int n)
inlinestatic

Definition at line 2097 of file pl_mpeg.hpp.

2097 {
2098 if (n > 255) {
2099 n = 255;
2100 }
2101 else if (n < 0) {
2102 n = 0;
2103 }
2104 return n;
2105}

References FL_NOEXCEPT.

Referenced by plm_video_decode_block().

+ Here is the caller graph for this function: