FastLED 3.9.15
Loading...
Searching...
No Matches
bilinear_compression.h
Go to the documentation of this file.
1
2/*
3Experimental bilinearn downscaling algorithm. Not tested yet and completely
4"vibe-coded" by ai.
5
6If you use this and find an issue then please report it.
7*/
8
9
10#include "crgb.h"
11
12namespace fl {
13
14void downscaleBilinear(const CRGB *src, uint16_t srcWidth, uint16_t srcHeight,
15 CRGB *dst, uint16_t dstWidth, uint16_t dstHeight);
16
17} // namespace fl
Defines the red, green, and blue (RGB) pixel struct.
void downscaleBilinear(const CRGB *src, uint16_t srcWidth, uint16_t srcHeight, CRGB *dst, uint16_t dstWidth, uint16_t dstHeight)
Implements a simple red square effect for 2D LED grids.
Definition crgb.h:16