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

◆ applyGamma_video() [1/3]

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

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

1312 {
1313 CRGB adj;
1314 adj.r = applyGamma_video(orig.r, gamma);
1315 adj.g = applyGamma_video(orig.g, gamma);
1316 adj.b = applyGamma_video(orig.b, gamma);
1317 return adj;
1318}
fl::u8 applyGamma_video(fl::u8 brightness, float gamma)
constexpr u32 gamma(float g) FL_NOEXCEPT
Definition gamma_lut.h:36
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: