struct Rgba

Defined at line 16 of file ../../src/camera/lib/image_utils/image_format_rgba.h

A convenient way to store RGBA values so they can be converted into various RGBA

formats. If this struct is representing color values which have a bit width

less than 8, the value is shifted to the most significant position.

Public Members

uint8_t r
uint8_t g
uint8_t b
uint8_t a

Public Methods

Rgba operator& (const Rgba & mask)

Apply bitwise AND to each channel.

Defined at line 20 of file ../../src/camera/lib/image_utils/image_format_rgba.h

bool operator== (const Rgba & other)

Defined at line 24 of file ../../src/camera/lib/image_utils/image_format_rgba.h