39 for (uint8_t iSegment = 0; iSegment < commonSize; iSegment++)
41 *p++ = color.Segment[iSegment];
51 for (uint8_t iSegment = 0; iSegment < commonSize; iSegment++)
53 color.Segment[iSegment] = *p++;
61 const uint8_t* p =
getPixelAddress((
const uint8_t*)pPixels, indexPixel);
64 for (uint8_t iSegment = 0; iSegment < commonSize; iSegment++)
66 color.Segment[iSegment] = pgm_read_byte(p++);
#define PGM_VOID_P
Definition: NeoUtil.h:42
Definition: NeoAbcdefgpsSegmentFeature.h:33
static void applyPixelColor(uint8_t *pPixels, uint16_t indexPixel, ColorObject color)
Definition: NeoAbcdefgpsSegmentFeature.h:35
static ColorObject retrievePixelColor(const uint8_t *pPixels, uint16_t indexPixel)
Definition: NeoAbcdefgpsSegmentFeature.h:45
static ColorObject retrievePixelColor_P(PGM_VOID_P pPixels, uint16_t indexPixel)
Definition: NeoAbcdefgpsSegmentFeature.h:58
Definition: NeoByteElements.h:101
static uint8_t * getPixelAddress(uint8_t *pPixels, uint16_t indexPixel)
Definition: NeoByteElements.h:43
T_COLOR_OBJECT ColorObject
Definition: NeoByteElements.h:41
static const size_t PixelSize
Definition: NeoByteElements.h:40
Definition: NeoElementsNoSettings.h:30