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

◆ applyGamma_video() [2/3]

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

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

1406 {
1407 CRGB adj;
1408 adj.r = applyGamma_video(orig.r, gammaR);
1409 adj.g = applyGamma_video(orig.g, gammaG);
1410 adj.b = applyGamma_video(orig.b, gammaB);
1411 return adj;
1412}
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: