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

◆ applyGamma_video() [2/3]

CRGB fl::applyGamma_video ( const CRGB & orig,
float gammaR,
float gammaG,
float gammaB )

Definition at line 1077 of file colorutils.cpp.

1078 {
1079 CRGB adj;
1080 adj.r = applyGamma_video(orig.r, gammaR);
1081 adj.g = applyGamma_video(orig.g, gammaG);
1082 adj.b = applyGamma_video(orig.b, gammaB);
1083 return adj;
1084}
fl::u8 applyGamma_video(fl::u8 brightness, float gamma)
Representation of an RGB pixel (Red, Green, Blue)
Definition crgb.h:86

References applyGamma_video().

+ Here is the call graph for this function: