FastLED 3.9.7
|
Demonstrates how to mix noise generation with color palettes on a 2D LED matrix.
Definition in file bilinear_expansion.cpp.
#include <stdint.h>
#include "bilinear_expansion.h"
#include "crgb.h"
#include "fl/namespace.h"
#include "fl/xymap.h"
Go to the source code of this file.
Namespaces | |
namespace | fl |
Implements a simple red square effect for 2D LED grids. | |
Functions | |
uint8_t | fl::bilinearInterpolate (uint8_t v00, uint8_t v10, uint8_t v01, uint8_t v11, uint16_t dx, uint16_t dy) |
uint8_t | fl::bilinearInterpolatePowerOf2 (uint8_t v00, uint8_t v10, uint8_t v01, uint8_t v11, uint8_t dx, uint8_t dy) |
void | fl::bilinearExpandArbitrary (const CRGB *input, CRGB *output, uint16_t inputWidth, uint16_t inputHeight, fl::XYMap xyMap) |
Performs bilinear interpolation for upscaling an image. | |
void | fl::bilinearExpandPowerOf2 (const CRGB *input, CRGB *output, uint8_t inputWidth, uint8_t inputHeight, fl::XYMap xyMap) |
Performs bilinear interpolation for upscaling an image. | |
uint8_t | fl::bilinearInterpolateFloat (uint8_t v00, uint8_t v10, uint8_t v01, uint8_t v11, float dx, float dy) |
void | fl::bilinearExpandArbitraryFloat (const CRGB *input, CRGB *output, uint16_t inputWidth, uint16_t inputHeight, XYMap xyMap) |
void | fl::bilinearExpandFloat (const CRGB *input, CRGB *output, uint8_t inputWidth, uint8_t inputHeight, XYMap xyMap) |