FastLED 3.9.15
Loading...
Searching...
No Matches
five_bit_hd_gamma.h File Reference

Detailed Description

Declares functions for five-bit gamma correction.

Definition in file five_bit_hd_gamma.h.

#include "fl/stl/int.h"
#include "fl/stl/span.h"
#include "fl/stl/noexcept.h"
+ Include dependency graph for five_bit_hd_gamma.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  fl::CRGBA5
 

Namespaces

namespace  fl
 Base definition for an LED controller.
 

Enumerations

enum class  fl::FiveBitGammaCorrectionMode { fl::kFiveBitGammaCorrectionMode_Null = 0 , fl::kFiveBitGammaCorrectionMode_BitShift = 1 }
 

Functions

FL_OPTIMIZE_FUNCTION void fl::five_bit_hd_gamma_bitshift (fl::span< const CRGB > colors, CRGB colors_scale, u8 global_brightness, fl::span< CRGB > out_colors, fl::span< u8 > out_power_5bit)
 
FL_OPTIMIZE_FUNCTION void fl::five_bit_hd_gamma_bitshift (fl::span< const CRGB > colors, CRGB colors_scale, u8 global_brightness, fl::span< CRGBA5 > out)
 

Class Documentation

◆ fl::CRGBA5

struct fl::CRGBA5
+ Collaboration diagram for fl::CRGBA5:
Class Members
u8 brightness_5bit
CRGB color