|
FastLED 3.9.15
|
Functions to convert from the HSV colorspace to the RGB colorspace.
Definition in file hsv2rgb.cpp.
Include dependency graph for hsv2rgb.cpp:Go to the source code of this file.
Macros | |
| #define | APPLY_DIMMING(X) |
| Apply dimming compensation to values. | |
| #define | FASTLED_INTERNAL |
| Disables pragma messages and warnings. | |
| #define | FIXFRAC8(N, D) |
| Convert a fractional input into a constant. | |
| #define | FORCE_REFERENCE(var) |
| Force a variable reference to avoid compiler over-optimization. | |
| #define | HSV_SECTION_3 (0x40) |
| Divide the color wheel into four sections, 64 elements each. | |
| #define | HSV_SECTION_6 (0x20) |
| Divide the color wheel into eight sections, 32 elements each. | |
Functions | |
| CRGB | hsv2rgb_fullspectrum (const struct CHSV &hsv) |
| Inline version of hsv2rgb_fullspectrum which returns a CRGB object. | |
| void | hsv2rgb_fullspectrum (const struct CHSV &hsv, CRGB &rgb) |
| void | hsv2rgb_fullspectrum (const struct CHSV *phsv, struct CRGB *prgb, int numLeds) |
| void | hsv2rgb_rainbow (const CHSV &hsv, CRGB &rgb) |
| CRGB | hsv2rgb_rainbow (const struct CHSV &hsv) |
| void | hsv2rgb_rainbow (const struct CHSV *phsv, struct CRGB *prgb, int numLeds) |
| void | hsv2rgb_raw (const struct CHSV &hsv, struct CRGB &rgb) |
| void | hsv2rgb_raw (const struct CHSV *phsv, struct CRGB *prgb, int numLeds) |
| void | hsv2rgb_raw_avr (const struct CHSV &hsv, struct CRGB &rgb) |
| HSV to RGB implementation in raw C, for the AVR platform only. | |
| FASTLED_NAMESPACE_BEGIN void | hsv2rgb_raw_C (const struct CHSV &hsv, struct CRGB &rgb) |
| HSV to RGB implementation in raw C, platform independent. | |
| CRGB | hsv2rgb_spectrum (const struct CHSV &hsv) |
| Inline version of hsv2rgb_spectrum which returns a CRGB object. | |
| void | hsv2rgb_spectrum (const struct CHSV &hsv, CRGB &rgb) |
| void | hsv2rgb_spectrum (const struct CHSV *phsv, struct CRGB *prgb, int numLeds) |
| CHSV | rgb2hsv_approximate (const CRGB &rgb) |
| Recover approximate HSV values from RGB. | |