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 1320 of file colorutils.cpp.hpp.

1321 {
1322 CRGB adj;
1323 adj.r = applyGamma_video(orig.r, gammaR);
1324 adj.g = applyGamma_video(orig.g, gammaG);
1325 adj.b = applyGamma_video(orig.b, gammaB);
1326 return adj;
1327}
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().

+ Here is the call graph for this function: