Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FastLED/FastLED
/ gamma
Function
gamma
src/fl/gfx/gamma_lut.h:36–38 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
34
// Example: gamma<u8x24>(2.2f) returns constexpr uint32_t
35
template <typename Fixed>
36
constexpr u32 gamma(float g) FL_NOEXCEPT {
37
return Fixed(g).raw();
38
}
39
40
// Forward declarations
41
template <u32 GammaRaw> struct GammaEval;
Callers
nothing calls this directly
Calls
1
raw
Method · 0.45
Tested by
no test coverage detected