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

Detailed Description

Low level pixel data writing class.

Definition in file pixel_controller.h.

#include <stddef.h>
#include "FastLED.h"
#include "rgbw.h"
#include "fl/five_bit_hd_gamma.h"
#include "fl/force_inline.h"
#include "fl/namespace.h"
#include "eorder.h"
#include "dither_mode.h"
#include "pixel_iterator.h"
#include "crgb.h"
+ Include dependency graph for pixel_controller.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  ColorAdjustment
 
struct  PixelController< RGB_ORDER, LANES, MASK >
 Pixel controller class. More...
 

Macros

#define MAX_LIKELY_UPDATE_RATE_HZ   400
 Predicted max update rate, in Hertz.
 
#define MIN_ACCEPTABLE_DITHER_RATE_HZ   50
 Minimum acceptable dithering rate, in Hertz.
 
#define RECOMMENDED_VIRTUAL_BITS
 Set "virtual bits" of dithering to the highest level that is not likely to cause excessive flickering at low brightness levels + low update rates.
 
#define RGB_BYTE(RO, X)
 Gets the assigned color channel for a byte's position in the output, using a passed RGB color order.
 
#define RGB_BYTE0(RO)
 Gets the color channel for byte 0.
 
#define RGB_BYTE1(RO)
 Gets the color channel for byte 1.
 
#define RGB_BYTE2(RO)
 Gets the color channel for byte 2.
 
#define RO(X)
 Gets the assigned color channel for a byte's position in the output, using the color order (EOrder) template parameter from the LED controller.
 
#define UPDATES_PER_FULL_DITHER_CYCLE   (MAX_LIKELY_UPDATE_RATE_HZ / MIN_ACCEPTABLE_DITHER_RATE_HZ)
 The number of updates in a single dither cycle.
 
#define VIRTUAL_BITS   RECOMMENDED_VIRTUAL_BITS
 Alias for RECOMMENDED_VIRTUAL_BITS.
 

Class Documentation

◆ ColorAdjustment

struct ColorAdjustment
+ Collaboration diagram for ColorAdjustment:
Class Members
CRGB premixed