8
9
10
11
12
22 void setValue(uint8_t r, uint8_t g, uint8_t b) {
39 static uint8_t
size() {
return 18; }
RGB color stored in 18-bit RGB666 format.
Definition: RGB666.h:13
uint8_t value[3]
Definition: RGB666.h:42
RGB666(uint8_t r, uint8_t g, uint8_t b)
Creates a color from 8-bit red, green, and blue components.
Definition: RGB666.h:19
uint8_t getBlue() const
Returns the blue component (expanded to 8 bits).
Definition: RGB666.h:33
static uint8_t size()
Returns size in bits.
Definition: RGB666.h:39
uint8_t getGreen() const
Returns the green component (expanded to 8 bits).
Definition: RGB666.h:31
uint8_t getRed() const
Returns the red component (expanded to 8 bits).
Definition: RGB666.h:29
const uint8_t * getValue() const
Returns the packed RGB666 value as a pointer to 3 bytes (upper 6 bits used).
Definition: RGB666.h:36
RGB666()=default
Creates a black RGB666 color.
void setValue(uint8_t r, uint8_t g, uint8_t b)
Sets the color from 8-bit red, green, and blue components.
Definition: RGB666.h:22
Definition: AVIWriter.h:9