20 uint8_t res = esp_scale8(esp_scale8(red, this->
max_brightness_.
red), this->local_brightness_);
24 uint8_t res = esp_scale8(esp_scale8(green, this->
max_brightness_.
green), this->local_brightness_);
28 uint8_t res = esp_scale8(esp_scale8(blue, this->
max_brightness_.
blue), this->local_brightness_);
32 uint8_t res = esp_scale8(esp_scale8(white, this->
max_brightness_.
white), this->local_brightness_);
Color color_correct(Color color) const ALWAYS_INLINE
Color color_uncorrect(Color color) const ALWAYS_INLINE
void calculate_gamma_table(float gamma)
void set_max_brightness(const Color &max_brightness)
uint8_t color_uncorrect_blue(uint8_t blue) const ALWAYS_INLINE
uint8_t color_correct_white(uint8_t white) const ALWAYS_INLINE
uint8_t color_uncorrect_green(uint8_t green) const ALWAYS_INLINE
uint8_t color_uncorrect_white(uint8_t white) const ALWAYS_INLINE
void set_local_brightness(uint8_t local_brightness)
uint8_t color_correct_green(uint8_t green) const ALWAYS_INLINE
uint8_t gamma_reverse_table_[256]
uint8_t color_correct_red(uint8_t red) const ALWAYS_INLINE
uint8_t color_correct_blue(uint8_t blue) const ALWAYS_INLINE
uint8_t gamma_table_[256]
uint8_t color_uncorrect_red(uint8_t red) const ALWAYS_INLINE
uint8_t local_brightness_