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

◆ hsv2rgb_raw() [1/2]

void hsv2rgb_raw ( const struct CHSV & hsv,
struct CRGB & rgb )

Convert an HSV value to RGB using a mathematically straight spectrum.

See also
hsv2rgb_spectrum(const struct CHSV&, struct CRGB&)
Note
The hue is limited to the range 0-191 (HUE_MAX). This results in a slightly faster conversion speed at the expense of color balance.
Parameters
hsvCHSV struct to convert to RGB. Max hue supported is HUE_MAX
rgbCRGB struct to store the result of the conversion (will be modified)

Definition at line 23 of file hsv2rgb.cpp.

24{
25 hsv2rgb_raw_C( hsv, rgb);
26}
FASTLED_NAMESPACE_BEGIN void hsv2rgb_raw_C(const struct CHSV &hsv, struct CRGB &rgb)
HSV to RGB implementation in raw C, platform independent.
Definition hsv2rgb.cpp:41

References hsv2rgb_raw_C().

Referenced by hsv2rgb_raw(), and hsv2rgb_spectrum().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: