FastLED
3.9.15
Loading...
Searching...
No Matches
◆
screen_fp()
FASTLED_FORCE_INLINE
fl::i32 fl::screen_fp
(
fl::i32
a
,
fl::i32
b
)
Definition at line
139
of file
render_value_fp.h
.
139
{
140
// screen(a,b) = 1 - (1-a/255)*(1-b/255) * 255
141
// = 255 - (255-a)*(255-b)/255
142
return
255 - ((255 - a) * (255 - b)) / 255;
143
}
References
FASTLED_FORCE_INLINE
.
fl
Generated on Tue Jun 16 2026 00:07:04 for FastLED by
1.13.2