39 uint8_t global_brightness,
41 uint8_t *out_power_5bit);
47#ifdef FASTLED_FIVE_BIT_HD_BITSHIFT_FUNCTION_OVERRIDE
52 uint8_t global_brightness,
54 uint8_t *out_power_5bit);
59 uint8_t global_brightness,
61 uint8_t *out_power_5bit) {
83#ifdef FASTLED_FIVE_BIT_HD_GAMMA_FUNCTION_OVERRIDE
87 uint16_t *r16, uint16_t *g16, uint16_t *b16);
90 uint16_t *r16, uint16_t *g16, uint16_t *b16);
UISlider brightness("Brightness", 255, 0, 255, 1)
Defines the red, green, and blue (RGB) pixel struct.
#define FASTLED_FORCE_INLINE
Implements the FastLED namespace macros.
FiveBitGammaCorrectionMode
@ kFiveBitGammaCorrectionMode_Null
@ kFiveBitGammaCorrectionMode_BitShift
void __builtin_five_bit_hd_gamma_bitshift(CRGB colors, CRGB colors_scale, uint8_t global_brightness, CRGB *out_colors, uint8_t *out_power_5bit)
uint8_t five_bit_bitshift(uint16_t r16, uint16_t g16, uint16_t b16, uint8_t brightness, CRGB *out, uint8_t *out_power_5bit)
void five_bit_hd_gamma_function(CRGB color, uint16_t *r16, uint16_t *g16, uint16_t *b16)
FASTLED_FORCE_INLINE void five_bit_hd_gamma_bitshift(CRGB colors, CRGB colors_scale, uint8_t global_brightness, CRGB *out_colors, uint8_t *out_power_5bit)
Implements a simple red square effect for 2D LED grids.
Representation of an RGB pixel (Red, Green, Blue)