FastLED 3.10.6
Loading...
Searching...
No Matches

◆ rgb_2_rgbw() [2/3]

FASTLED_FORCE_INLINE void fl::rgb_2_rgbw ( RGBW_MODE mode,
u16 w_color_temperature,
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 )

Definition at line 421 of file rgbw.h.

423 {
424 rgb_2_rgbw(Rgbw(w_color_temperature, mode), r, g, b, r_scale, g_scale,
425 b_scale, out_r, out_g, out_b, out_w);
426}
FASTLED_FORCE_INLINE void 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) FL_NO_EXCEPT
Converts RGB to RGBW using one of the functions.
Definition rgbw.h:380
InputGamut g
Definition rgbw.h:124

References FL_NO_EXCEPT, g, and rgb_2_rgbw().

+ Here is the call graph for this function: