|
FastLED 3.9.15
|
#include "fl/stl/int.h"#include "fl/stl/span.h"#include "fl/stl/shared_ptr.h"#include "fl/math/fixed_point.h"#include "fl/stl/noexcept.h"
Include dependency graph for ease.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | fl::Gamma8 |
Namespaces | |
| namespace | fl |
| Base definition for an LED controller. | |
Enumerations | |
| enum class | fl::EaseType { fl::EASE_NONE , fl::EASE_IN_QUAD , fl::EASE_OUT_QUAD , fl::EASE_IN_OUT_QUAD , fl::EASE_IN_CUBIC , fl::EASE_OUT_CUBIC , fl::EASE_IN_OUT_CUBIC , fl::EASE_IN_SINE , fl::EASE_OUT_SINE , fl::EASE_IN_OUT_SINE } |
Functions | |
| void | fl::ease16 (EaseType type, u16 *src, u16 *dst, u16 count) FL_NOEXCEPT |
| u16 | fl::ease16 (EaseType type, u16 i) FL_NOEXCEPT |
| void | fl::ease8 (EaseType type, u8 *src, u8 *dst, u8 count) FL_NOEXCEPT |
| u8 | fl::ease8 (EaseType type, u8 i) FL_NOEXCEPT |
| u16 | fl::easeInCubic16 (u16 i) FL_NOEXCEPT |
| 16-bit cubic ease-in function Takes an input value 0-65535 and returns an eased value 0-65535 | |
| u8 | fl::easeInCubic8 (u8 i) FL_NOEXCEPT |
| 8-bit cubic ease-in function Takes an input value 0-255 and returns an eased value 0-255 More pronounced acceleration than quadratic | |
| u16 | fl::easeInOutCubic16 (u16 i) FL_NOEXCEPT |
| 16-bit cubic ease-in/ease-out function Takes an input value 0-65535 and returns an eased value 0-65535 | |
| u8 | fl::easeInOutCubic8 (u8 i) FL_NOEXCEPT |
| 8-bit cubic ease-in/ease-out function Takes an input value 0-255 and returns an eased value 0-255 More pronounced easing curve than quadratic | |
| u16 | fl::easeInOutQuad16 (u16 i) FL_NOEXCEPT |
| 16-bit quadratic ease-in/ease-out function Takes an input value 0-65535 and returns an eased value 0-65535 | |
| u8 | fl::easeInOutQuad8 (u8 i) FL_NOEXCEPT |
| 8-bit quadratic ease-in/ease-out function Takes an input value 0-255 and returns an eased value 0-255 The curve starts slow, accelerates in the middle, then slows down again | |
| u16 | fl::easeInOutSine16 (u16 i) FL_NOEXCEPT |
| 16-bit sine ease-in/ease-out function Takes an input value 0-65535 and returns an eased value 0-65535 | |
| u8 | fl::easeInOutSine8 (u8 i) FL_NOEXCEPT |
| 8-bit sine ease-in/ease-out function Takes an input value 0-255 and returns an eased value 0-255 Smooth sinusoidal acceleration and deceleration | |
| u16 | fl::easeInQuad16 (u16 i) FL_NOEXCEPT |
| 16-bit quadratic ease-in function Takes an input value 0-65535 and returns an eased value 0-65535 | |
| u8 | fl::easeInQuad8 (u8 i) FL_NOEXCEPT |
| 8-bit quadratic ease-in function Takes an input value 0-255 and returns an eased value 0-255 The curve starts slow and accelerates (ease-in only) | |
| u16 | fl::easeInSine16 (u16 i) FL_NOEXCEPT |
| 16-bit sine ease-in function Takes an input value 0-65535 and returns an eased value 0-65535 | |
| u8 | fl::easeInSine8 (u8 i) FL_NOEXCEPT |
| 8-bit sine ease-in function Takes an input value 0-255 and returns an eased value 0-255 Smooth sinusoidal acceleration | |
| u16 | fl::easeOutCubic16 (u16 i) FL_NOEXCEPT |
| 16-bit cubic ease-out function Takes an input value 0-65535 and returns an eased value 0-65535 | |
| u8 | fl::easeOutCubic8 (u8 i) FL_NOEXCEPT |
| 8-bit cubic ease-out function Takes an input value 0-255 and returns an eased value 0-255 More pronounced deceleration than quadratic | |
| u16 | fl::easeOutQuad16 (u16 i) FL_NOEXCEPT |
| 16-bit quadratic ease-out function Takes an input value 0-65535 and returns an eased value 0-65535 | |
| u8 | fl::easeOutQuad8 (u8 i) FL_NOEXCEPT |
| 8-bit quadratic ease-out function Takes an input value 0-255 and returns an eased value 0-255 The curve starts fast and decelerates (ease-out only) | |
| u16 | fl::easeOutSine16 (u16 i) FL_NOEXCEPT |
| 16-bit sine ease-out function Takes an input value 0-65535 and returns an eased value 0-65535 | |
| u8 | fl::easeOutSine8 (u8 i) FL_NOEXCEPT |
| 8-bit sine ease-out function Takes an input value 0-255 and returns an eased value 0-255 Smooth sinusoidal deceleration | |
| u16 | fl::gamma_2_8 (u8 value) |
Variables | |
| const u16 | fl::GAMMA_2_8_LUT [256] |