FastLED 3.9.7
|
Implements a simple red square effect for 2D LED grids.
Typedefs | |
using | pair_xy_float = pair_xy<float> |
typedef LUT< uint16_t > | LUT16 |
typedef LUT< pair_xy_float > | LUTXYFLOAT |
template<bool Condition, typename T = void> | |
using | enable_if_t = typename enable_if<Condition, T>::type |
template<typename Base , typename Derived > | |
using | is_derived = enable_if_t<is_base_of<Base, Derived>::value> |
typedef int64_t | cycle_t |
8.8 fixed point (signed) value | |
typedef uint16_t(* | XFunction) (uint16_t x, uint16_t length) |
typedef uint16_t(* | XYFunction) (uint16_t x, uint16_t y, uint16_t width, uint16_t height) |
Functions | |
void | SetLargeBlockAllocator (void *(*alloc)(size_t), void(*free)(void *)) |
void * | LargeBlockAllocate (size_t size, bool zero) |
void | LargeBlockDeallocate (void *ptr) |
FASTLED_SMART_PTR (ByteStream) | |
FASTLED_SMART_PTR (ByteStreamMemory) | |
FsImplPtr | make_sdcard_filesystem (int cs_pin) |
FASTLED_SMART_PTR (FsImpl) | |
FASTLED_SMART_PTR (FileSystem) | |
FASTLED_SMART_PTR (FileHandle) | |
bool | parseJson (const char *json, fl::JsonDocument *doc, Str *_error) |
void | toJson (const fl::JsonDocument &doc, Str *jsonBuffer) |
FASTLED_SMART_PTR_NO_FWD (LUT16) | |
FASTLED_SMART_PTR_NO_FWD (LUTXYFLOAT) | |
FASTLED_SMART_PTR (StringHolder) | |
FASTLED_UI_DEFINE_OPERATORS (Slider) | |
FASTLED_UI_DEFINE_OPERATORS (NumberField) | |
FASTLED_UI_DEFINE_OPERATORS (Checkbox) | |
FASTLED_UI_DEFINE_OPERATORS (Button) | |
FASTLED_FORCE_INLINE uint16_t | x_linear (uint16_t x, uint16_t length) |
FASTLED_FORCE_INLINE uint16_t | x_reverse (uint16_t x, uint16_t length) |
FASTLED_FORCE_INLINE uint16_t | xy_serpentine (uint16_t x, uint16_t y, uint16_t width, uint16_t height) |
FASTLED_FORCE_INLINE uint16_t | xy_line_by_line (uint16_t x, uint16_t y, uint16_t width, uint16_t height) |
FASTLED_SMART_PTR (Cylon) | |
FASTLED_SMART_PTR (DemoReel100) | |
FASTLED_SMART_PTR (Fire2012) | |
Simple one-dimensional fire animation function. | |
FASTLED_SMART_PTR (NoiseWave) | |
FASTLED_SMART_PTR (Pacifica) | |
FASTLED_SMART_PTR (Pride2015) | |
FASTLED_SMART_PTR (TwinkleFox) | |
FASTLED_SMART_PTR (Animartrix) | |
void | AnimartrixLoop (Animartrix &self, uint32_t now) |
uint8_t | bilinearInterpolate (uint8_t v00, uint8_t v10, uint8_t v01, uint8_t v11, uint16_t dx, uint16_t dy) |
uint8_t | bilinearInterpolatePowerOf2 (uint8_t v00, uint8_t v10, uint8_t v01, uint8_t v11, uint8_t dx, uint8_t dy) |
void | bilinearExpandArbitrary (const CRGB *input, CRGB *output, uint16_t inputWidth, uint16_t inputHeight, fl::XYMap xyMap) |
Performs bilinear interpolation for upscaling an image. | |
void | bilinearExpandPowerOf2 (const CRGB *input, CRGB *output, uint8_t inputWidth, uint8_t inputHeight, fl::XYMap xyMap) |
Performs bilinear interpolation for upscaling an image. | |
uint8_t | bilinearInterpolateFloat (uint8_t v00, uint8_t v10, uint8_t v01, uint8_t v11, float dx, float dy) |
void | bilinearExpandArbitraryFloat (const CRGB *input, CRGB *output, uint16_t inputWidth, uint16_t inputHeight, XYMap xyMap) |
void | bilinearExpandFloat (const CRGB *input, CRGB *output, uint8_t inputWidth, uint8_t inputHeight, XYMap xyMap) |
void | bilinearExpand (const CRGB *input, CRGB *output, uint16_t inputWidth, uint16_t inputHeight, fl::XYMap xyMap) |
FASTLED_SMART_PTR (NoisePalette) | |
FASTLED_SMART_PTR (RedSquare) | |
FASTLED_SMART_PTR (ScaleUp) | |
FASTLED_SMART_PTR (FxLayer) | |
FASTLED_SMART_PTR (Frame) | |
FASTLED_SMART_PTR (Fx) | |
FASTLED_SMART_PTR (Fx2d) | |
FASTLED_SMART_PTR (TimeFunction) | |
FASTLED_SMART_PTR (TimeScale) | |
FASTLED_SMART_PTR (PixelStream) | |
FASTLED_SMART_PTR (FrameInterpolator) | |
FASTLED_SMART_PTR (VideoImpl) | |
FASTLED_SMART_PTR (VideoFxWrapper) | |
FASTLED_SMART_PTR (DigitalPinImpl) | |
Variables | |
const TProgmemRGBPalette16 | RedGreenWhite_p |
const TProgmemRGBPalette16 | Holly_p |
const TProgmemRGBPalette16 | RedWhite_p |
const TProgmemRGBPalette16 | BlueWhite_p |
const TProgmemRGBPalette16 | FairyLight_p |
const TProgmemRGBPalette16 | Snow_p |
const TProgmemRGBPalette16 | RetroC9_p |
const TProgmemRGBPalette16 | Ice_p |
const TProgmemRGBPalette16 * | ActivePaletteList [] |
typedef int64_t fl::cycle_t |
using fl::enable_if_t = typename enable_if<Condition, T>::type |
Definition at line 29 of file template_magic.h.
using fl::is_derived = enable_if_t<is_base_of<Base, Derived>::value> |
Definition at line 112 of file template_magic.h.
typedef LUT<pair_xy_float> fl::LUTXYFLOAT |
using fl::pair_xy_float = pair_xy<float> |
typedef uint16_t(* fl::XFunction) (uint16_t x, uint16_t length) |
typedef uint16_t(* fl::XYFunction) (uint16_t x, uint16_t y, uint16_t width, uint16_t height) |
enum fl::AnimartrixAnim |
Definition at line 26 of file animartrix.hpp.
enum fl::InsertResult |
Definition at line 10 of file insert_result.h.
void fl::AnimartrixLoop | ( | Animartrix & | self, |
uint32_t | now ) |
Definition at line 162 of file animartrix.hpp.
|
inline |
Definition at line 37 of file bilinear_expansion.h.
void fl::bilinearExpandArbitrary | ( | const CRGB * | input, |
CRGB * | output, | ||
uint16_t | inputWidth, | ||
uint16_t | inputHeight, | ||
fl::XYMap | xyMap ) |
Performs bilinear interpolation for upscaling an image.
output | The output grid to write into the interpolated values. |
input | The input grid to read from. |
inputWidth | The width of the input grid. |
inputHeight | The height of the input grid. |
xyMap | The XYMap to use to determine where to write the pixel. If the pixel is mapped outside of the range then it is clipped. |
Definition at line 22 of file bilinear_expansion.cpp.
void fl::bilinearExpandArbitraryFloat | ( | const CRGB * | input, |
CRGB * | output, | ||
uint16_t | inputWidth, | ||
uint16_t | inputHeight, | ||
XYMap | xyMap ) |
Definition at line 180 of file bilinear_expansion.cpp.
void fl::bilinearExpandFloat | ( | const CRGB * | input, |
CRGB * | output, | ||
uint8_t | inputWidth, | ||
uint8_t | inputHeight, | ||
XYMap | xyMap ) |
Definition at line 225 of file bilinear_expansion.cpp.
void fl::bilinearExpandPowerOf2 | ( | const CRGB * | input, |
CRGB * | output, | ||
uint8_t | inputWidth, | ||
uint8_t | inputHeight, | ||
fl::XYMap | xyMap ) |
Performs bilinear interpolation for upscaling an image.
output | The output grid to write into the interpolated values. |
input | The input grid to read from. |
inputWidth | The width of the input grid. |
inputHeight | The height of the input grid. |
xyMap | The XYMap to use to determine where to write the pixel. If the pixel is mapped outside of the range then it is clipped. |
Definition at line 86 of file bilinear_expansion.cpp.
uint8_t fl::bilinearInterpolate | ( | uint8_t | v00, |
uint8_t | v10, | ||
uint8_t | v01, | ||
uint8_t | v11, | ||
uint16_t | dx, | ||
uint16_t | dy ) |
Definition at line 67 of file bilinear_expansion.cpp.
uint8_t fl::bilinearInterpolateFloat | ( | uint8_t | v00, |
uint8_t | v10, | ||
uint8_t | v01, | ||
uint8_t | v11, | ||
float | dx, | ||
float | dy ) |
Definition at line 159 of file bilinear_expansion.cpp.
uint8_t fl::bilinearInterpolatePowerOf2 | ( | uint8_t | v00, |
uint8_t | v10, | ||
uint8_t | v01, | ||
uint8_t | v11, | ||
uint8_t | dx, | ||
uint8_t | dy ) |
Definition at line 134 of file bilinear_expansion.cpp.
void * fl::LargeBlockAllocate | ( | size_t | size, |
bool | zero ) |
Definition at line 42 of file allocator.cpp.
void fl::LargeBlockDeallocate | ( | void * | ptr | ) |
Definition at line 50 of file allocator.cpp.
FsImplPtr fl::make_sdcard_filesystem | ( | int | cs_pin | ) |
Definition at line 190 of file file_system.cpp.
bool fl::parseJson | ( | const char * | json, |
fl::JsonDocument * | doc, | ||
Str * | _error ) |
void fl::SetLargeBlockAllocator | ( | void *(* | alloc )(size_t), |
void(* | free )(void *) ) |
Definition at line 37 of file allocator.cpp.
void fl::toJson | ( | const fl::JsonDocument & | doc, |
Str * | jsonBuffer ) |
FASTLED_FORCE_INLINE uint16_t fl::x_linear | ( | uint16_t | x, |
uint16_t | length ) |
FASTLED_FORCE_INLINE uint16_t fl::x_reverse | ( | uint16_t | x, |
uint16_t | length ) |
FASTLED_FORCE_INLINE uint16_t fl::xy_line_by_line | ( | uint16_t | x, |
uint16_t | y, | ||
uint16_t | width, | ||
uint16_t | height ) |
FASTLED_FORCE_INLINE uint16_t fl::xy_serpentine | ( | uint16_t | x, |
uint16_t | y, | ||
uint16_t | width, | ||
uint16_t | height ) |
const TProgmemRGBPalette16* fl::ActivePaletteList[] |
Definition at line 295 of file twinklefox.hpp.
const TProgmemRGBPalette16 fl::BlueWhite_p |
Definition at line 255 of file twinklefox.hpp.
const TProgmemRGBPalette16 fl::FairyLight_p |
Definition at line 260 of file twinklefox.hpp.
const TProgmemRGBPalette16 fl::Holly_p |
Definition at line 245 of file twinklefox.hpp.
const TProgmemRGBPalette16 fl::Ice_p |
Definition at line 288 of file twinklefox.hpp.
const TProgmemRGBPalette16 fl::RedGreenWhite_p |
Definition at line 240 of file twinklefox.hpp.
const TProgmemRGBPalette16 fl::RedWhite_p |
Definition at line 250 of file twinklefox.hpp.
const TProgmemRGBPalette16 fl::RetroC9_p |
Definition at line 283 of file twinklefox.hpp.
const TProgmemRGBPalette16 fl::Snow_p |
Definition at line 278 of file twinklefox.hpp.