FastLED 3.9.15
Loading...
Searching...
No Matches

◆ rgb_2_rgbw() [2/2]

template<RGBW_MODE MODE>
FASTLED_FORCE_INLINE void rgb_2_rgbw ( uint16_t w_color_temperature,
uint8_t r,
uint8_t g,
uint8_t b,
uint8_t r_scale,
uint8_t g_scale,
uint8_t b_scale,
uint8_t * out_r,
uint8_t * out_g,
uint8_t * out_b,
uint8_t * out_w )

Definition at line 185 of file rgbw.h.

187 {
188 // We trust that the compiler will inline all of this.
189 rgb_2_rgbw(MODE, w_color_temperature, r, g, b, r_scale, g_scale, b_scale,
190 out_r, out_g, out_b, out_w);
191}
FASTLED_FORCE_INLINE void rgb_2_rgbw(RGBW_MODE mode, uint16_t w_color_temperature, uint8_t r, uint8_t g, uint8_t b, uint8_t r_scale, uint8_t g_scale, uint8_t b_scale, uint8_t *out_r, uint8_t *out_g, uint8_t *out_b, uint8_t *out_w)
Converts RGB to RGBW using one of the functions.
Definition rgbw.h:150

References rgb_2_rgbw().

+ Here is the call graph for this function: