MCPcopy Create free account
hub / github.com/FastLED/FastLED / native_profile

Function native_profile

tests/fl/gfx/rgbw_colorimetric.cpp:1187–1194  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1185namespace native_topo {
1186
1187inline DiodeProfile native_profile() {
1188 // Default `kRgbwDefaultProfile` already ships as Native (#2710), so we
1189 // can just copy it. Explicit set_input_gamut(InputGamut::Native) makes
1190 // the contract obvious in the test source.
1191 DiodeProfile p = kRgbwDefaultProfile;
1192 set_input_gamut(&p, InputGamut::Native);
1193 return p;
1194}
1195
1196inline u8 q(float v) { return quantize_u8(v); }
1197

Callers 1

Calls 1

set_input_gamutFunction · 0.85

Tested by

no test coverage detected