FastLED 3.9.7
Loading...
Searching...
No Matches
bilinear_expansion.h File Reference

Detailed Description

Demonstrates how to mix noise generation with color palettes on a 2D LED matrix.

Definition in file bilinear_expansion.h.

#include <stdint.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

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.
 
void fl::bilinearExpand (const CRGB *input, CRGB *output, uint16_t inputWidth, uint16_t inputHeight, fl::XYMap xyMap)
 
void fl::bilinearExpandFloat (const CRGB *input, CRGB *output, uint8_t inputWidth, uint8_t inputHeight, XYMap xyMap)
 
void fl::bilinearExpandArbitraryFloat (const CRGB *input, CRGB *output, uint16_t inputWidth, uint16_t inputHeight, XYMap xyMap)
 
uint8_t fl::bilinearInterpolateFloat (uint8_t v00, uint8_t v10, uint8_t v01, uint8_t v11, float dx, float dy)