|
FastLED 3.10.8
|
| FASTLED_FORCE_INLINE void fl::rgb_2_rgbw | ( | const Rgbw & | cfg, |
| u8 | r, | ||
| u8 | g, | ||
| u8 | b, | ||
| u8 | r_scale, | ||
| u8 | g_scale, | ||
| u8 | b_scale, | ||
| u8 * | out_r, | ||
| u8 * | out_g, | ||
| u8 * | out_b, | ||
| u8 * | out_w ) |
Converts RGB to RGBW using one of the functions.
Dynamic version of the rgb_w_rgbw function with less chance for the compiler to optimize.
Definition at line 406 of file rgbw.h.
References FL_NO_EXCEPT, g, kRGBWBoostedWhite, kRGBWColorimetric, kRGBWColorimetricBoosted, kRGBWExactColors, kRGBWInvalid, kRGBWMaxBrightness, kRGBWNullWhitePixel, kRGBWUserFunction, rgb_2_rgbw_colorimetric(), rgb_2_rgbw_colorimetric_boosted(), rgb_2_rgbw_exact(), rgb_2_rgbw_max_brightness(), rgb_2_rgbw_null_white_pixel(), rgb_2_rgbw_user_function(), and rgb_2_rgbw_white_boosted().
Referenced by calculate_unscaled_power_mW(), PixelController< RGB_ORDER, LANES, MASK >::loadAndScaleRGBWUnordered(), rgb_2_rgbw(), rgb_2_rgbw(), and fl::detail::anonymous_namespace{rgbw.cpp.hpp}::rgbw_convert_pixel().
Here is the call graph for this function:
Here is the caller graph for this function: