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

◆ napplyGamma_video() [3/4]

void napplyGamma_video ( CRGB * rgbarray,
uint16_t count,
float gamma )

Destructively applies a gamma adjustment to a color array.

Parameters
rgbarraypointer to an LED array to apply an adjustment to (modified in place)
countthe number of LEDs to modify
gammathe gamma value to apply

Definition at line 1438 of file colorutils.cpp.

1439{
1440 for( uint16_t i = 0; i < count; ++i) {
1441 rgbarray[i] = applyGamma_video( rgbarray[i], gamma);
1442 }
1443}
uint8_t applyGamma_video(uint8_t brightness, float gamma)
Applies a gamma adjustment to a color channel.

References applyGamma_video().

+ Here is the call graph for this function: