Native single-axis authority. For true native input primaries, a pure R/G/B source coordinate is already a request for that exact LED channel. Do not route it through RGW/RBW/BGW or W/LP paths, since that can introduce W or another primary due to white-point/source-matrix differences.
| 297 | // Do not route it through RGW/RBW/BGW or W/LP paths, since that can introduce |
| 298 | // W or another primary due to white-point/source-matrix differences. |
| 299 | static bool native_single_identity(float s_r, float s_g, float s_b, |
| 300 | float out[4]) FL_NOEXCEPT { |
| 301 | out[0] = fl::clamp(s_r, 0.0f, 1.0f); |
| 302 | out[1] = fl::clamp(s_g, 0.0f, 1.0f); |
| 303 | out[2] = fl::clamp(s_b, 0.0f, 1.0f); |
| 304 | out[3] = 0.0f; |
| 305 | return true; |
| 306 | } |
| 307 | |
| 308 | // Solve a target XYZ using only a requested physical channel set. |
| 309 | // |
no test coverage detected