FastLED  3.1
PixelController< RGB_ORDER, LANES, MASK > Struct Template Reference
+ Collaboration diagram for PixelController< RGB_ORDER, LANES, MASK >:

Public Member Functions

 PixelController (const PixelController &other)
 
void initOffsets (int len)
 
 PixelController (const uint8_t *d, int len, CRGB &s, EDitherMode dither=BINARY_DITHER, bool advance=true, uint8_t skip=0)
 
 PixelController (const CRGB *d, int len, CRGB &s, EDitherMode dither=BINARY_DITHER)
 
 PixelController (const CRGB &d, int len, CRGB &s, EDitherMode dither=BINARY_DITHER)
 
void init_binary_dithering ()
 
 __attribute__ ((always_inline)) inline bool has(int n)
 
void enable_dithering (EDitherMode dither)
 
 __attribute__ ((always_inline)) inline int size()
 
 __attribute__ ((always_inline)) inline int advanceBy()
 
 __attribute__ ((always_inline)) inline void advanceData()
 
 __attribute__ ((always_inline)) inline void stepDithering()
 
 __attribute__ ((always_inline)) inline void preStepFirstByteDithering()
 
template<int SLOT>
 __attribute__ ((always_inline)) inline static uint8_t loadByte(PixelController &pc)
 
template<int SLOT>
 __attribute__ ((always_inline)) inline static uint8_t loadByte(PixelController &pc
 
template<int SLOT>
 __attribute__ ((always_inline)) inline static uint8_t dither(PixelController &pc
 
template<int SLOT>
 __attribute__ ((always_inline)) inline static uint8_t dither(PixelController &
 
template<int SLOT>
 __attribute__ ((always_inline)) inline static uint8_t scale(PixelController &pc
 
template<int SLOT>
 __attribute__ ((always_inline)) inline static uint8_t scale(PixelController &
 
template<int SLOT>
 __attribute__ ((always_inline)) inline static uint8_t loadAndScale(PixelController &pc)
 
template<int SLOT>
 __attribute__ ((always_inline)) inline static uint8_t loadAndScale(PixelController &pc
 
template<int SLOT>
 __attribute__ ((always_inline)) inline static uint8_t loadAndScale(PixelController &pc
 
template<int SLOT>
 __attribute__ ((always_inline)) inline static uint8_t loadAndScale(PixelController &pc
 
template<int SLOT>
 __attribute__ ((always_inline)) inline static uint8_t advanceAndLoadAndScale(PixelController &pc)
 
template<int SLOT>
 __attribute__ ((always_inline)) inline static uint8_t advanceAndLoadAndScale(PixelController &pc
 
return pc loadAndScale (pc, lane)
 
template<int SLOT>
 __attribute__ ((always_inline)) inline static uint8_t getd(PixelController &pc)
 
template<int SLOT>
 __attribute__ ((always_inline)) inline static uint8_t getscale(PixelController &pc)
 
 __attribute__ ((always_inline)) inline uint8_t loadAndScale0(int lane)
 
 __attribute__ ((always_inline)) inline uint8_t loadAndScale1(int lane)
 
 __attribute__ ((always_inline)) inline uint8_t loadAndScale2(int lane)
 
 __attribute__ ((always_inline)) inline uint8_t advanceAndLoadAndScale0(int lane)
 
 __attribute__ ((always_inline)) inline uint8_t stepAdvanceAndLoadAndScale0(int lane)
 
 __attribute__ ((always_inline)) inline uint8_t loadAndScale0()
 
 __attribute__ ((always_inline)) inline uint8_t loadAndScale1()
 
 __attribute__ ((always_inline)) inline uint8_t loadAndScale2()
 
 __attribute__ ((always_inline)) inline uint8_t advanceAndLoadAndScale0()
 
 __attribute__ ((always_inline)) inline uint8_t stepAdvanceAndLoadAndScale0()
 

Public Attributes

const uint8_t * mData
 
int mLen
 
int mLenRemaining
 
uint8_t d [3]
 
uint8_t e [3]
 
CRGB mScale
 
int8_t mAdvance
 
int mOffsets [LANES]
 
int lane { return pc.mData[pc.mOffsets[lane] + RO(SLOT)]
 
uint8_t b { return b ? qadd8(b, pc.d[RO(SLOT)]) : 0
 
uint8_t uint8_t d { return b ? qadd8(b,d) : 0
 
uint8_t uint8_t scale { return scale8(b, scale)
 
int uint8_t d
 
int uint8_t uint8_t scale { return scale8(pc.dither<SLOT>(pc, pc.loadByte<SLOT>(pc, lane), d), scale)
 
int uint8_t scale { return scale8(pc.loadByte<SLOT>(pc, lane), scale)
 

Detailed Description

template<EOrder RGB_ORDER, int LANES = 1, uint32_t MASK = 0xFFFFFFFF>
struct PixelController< RGB_ORDER, LANES, MASK >

Definition at line 177 of file controller.h.


The documentation for this struct was generated from the following file: