FastLED 3.9.7
|
Defines functions for five-bit gamma correction.
Definition in file five_bit_hd_gamma.cpp.
#include "five_bit_hd_gamma.h"
#include "FastLED.h"
#include "fastled_progmem.h"
#include "lib8tion/intmap.h"
#include "lib8tion/math8.h"
#include "lib8tion/scale8.h"
#include "lib8tion/brightness_bitshifter.h"
#include "fl/namespace.h"
Go to the source code of this file.
Macros | |
#define | FASTLED_INTERNAL 1 |
Functions | |
void | five_bit_hd_gamma_function (CRGB color, uint16_t *r16, uint16_t *g16, uint16_t *b16) |
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 | __builtin_five_bit_hd_gamma_bitshift (CRGB colors, CRGB colors_scale, uint8_t global_brightness, CRGB *out_colors, uint8_t *out_power_5bit) |
#define FASTLED_INTERNAL 1 |
Definition at line 4 of file five_bit_hd_gamma.cpp.
void __builtin_five_bit_hd_gamma_bitshift | ( | CRGB | colors, |
CRGB | colors_scale, | ||
uint8_t | global_brightness, | ||
CRGB * | out_colors, | ||
uint8_t * | out_power_5bit ) |
Definition at line 126 of file five_bit_hd_gamma.cpp.
uint8_t five_bit_bitshift | ( | uint16_t | r16, |
uint16_t | g16, | ||
uint16_t | b16, | ||
uint8_t | brightness, | ||
CRGB * | out, | ||
uint8_t * | out_power_5bit ) |
Definition at line 74 of file five_bit_hd_gamma.cpp.
void five_bit_hd_gamma_function | ( | CRGB | color, |
uint16_t * | r16, | ||
uint16_t * | g16, | ||
uint16_t * | b16 ) |
Definition at line 29 of file five_bit_hd_gamma.cpp.