FastLED 3.10.6
Loading...
Searching...
No Matches

◆ applyGamma_video() [1/3]

CRGB fl::applyGamma_video ( const CRGB & orig,
float gamma )

Definition at line 1397 of file colorutils.cpp.hpp.

1397 {
1398 CRGB adj;
1399 adj.r = applyGamma_video(orig.r, gamma);
1400 adj.g = applyGamma_video(orig.g, gamma);
1401 adj.b = applyGamma_video(orig.b, gamma);
1402 return adj;
1403}
constexpr u32 gamma(float g) FL_NO_EXCEPT
Definition gamma_lut.h:36
fl::u8 applyGamma_video(fl::u8 brightness, float gamma)
Representation of an 8-bit RGB pixel (Red, Green, Blue)
Definition crgb.h:38

References applyGamma_video(), and gamma().

+ Here is the call graph for this function: