FastLED 3.9.3
Loading...
Searching...
No Matches
Palette Upscaling Functions

Detailed Description

Functions to upscale palettes from one type to another.

Functions

void UpscalePalette (const class CRGBPalette16 &srcpal16, class CRGBPalette256 &destpal256)
 Convert a 16-entry palette to a 256-entry palette.
 
void UpscalePalette (const class CHSVPalette16 &srcpal16, class CHSVPalette256 &destpal256)
 
void UpscalePalette (const class CRGBPalette16 &srcpal16, class CRGBPalette32 &destpal32)
 Convert a 16-entry palette to a 32-entry palette.
 
void UpscalePalette (const class CHSVPalette16 &srcpal16, class CHSVPalette32 &destpal32)
 
void UpscalePalette (const class CRGBPalette32 &srcpal32, class CRGBPalette256 &destpal256)
 Convert a 32-entry palette to a 256-entry palette.
 
void UpscalePalette (const class CHSVPalette32 &srcpal32, class CHSVPalette256 &destpal256)
 

Function Documentation

◆ UpscalePalette() [1/6]

void UpscalePalette ( const class CHSVPalette16 & srcpal16,
class CHSVPalette256 & destpal256 )

Definition at line 1279 of file colorutils.cpp.

◆ UpscalePalette() [2/6]

void UpscalePalette ( const class CHSVPalette16 & srcpal16,
class CHSVPalette32 & destpal32 )

Definition at line 1296 of file colorutils.cpp.

◆ UpscalePalette() [3/6]

void UpscalePalette ( const class CHSVPalette32 & srcpal32,
class CHSVPalette256 & destpal256 )

Definition at line 1312 of file colorutils.cpp.

◆ UpscalePalette() [4/6]

void UpscalePalette ( const class CRGBPalette16 & srcpal16,
class CRGBPalette256 & destpal256 )

Convert a 16-entry palette to a 256-entry palette.

Parameters
srcpal16the source palette to upscale
destpal256the destination palette for the upscaled data

Definition at line 1272 of file colorutils.cpp.

◆ UpscalePalette() [5/6]

void UpscalePalette ( const class CRGBPalette16 & srcpal16,
class CRGBPalette32 & destpal32 )

Convert a 16-entry palette to a 32-entry palette.

Parameters
srcpal16the source palette to upscale
destpal32the destination palette for the upscaled data

Definition at line 1287 of file colorutils.cpp.

◆ UpscalePalette() [6/6]

void UpscalePalette ( const class CRGBPalette32 & srcpal32,
class CRGBPalette256 & destpal256 )

Convert a 32-entry palette to a 256-entry palette.

Parameters
srcpal32the source palette to upscale
destpal256the destination palette for the upscaled data

Definition at line 1305 of file colorutils.cpp.