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

◆ rgb_2_rgbw() [3/3]

template<RGBW_MODE MODE>
FASTLED_FORCE_INLINE void fl::rgb_2_rgbw ( 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 431 of file rgbw.h.

433 {
434 // We trust that the compiler will inline all of this.
435 rgb_2_rgbw(MODE, w_color_temperature, r, g, b, r_scale, g_scale, b_scale,
436 out_r, out_g, out_b, out_w);
437}
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: