Lines Matching defs:RGB
1368 struct RGB struct
1371 RGB(uint8_t r, uint8_t g, uint8_t b) in RGB() function
1376 RGB(int r, int g, int b) in RGB() argument
1382 RGB operator<<(int shift) const { return { r << shift, g << shift, b << shift }; } in operator <<()
1383 RGB operator>>(int shift) const { return { r >> shift, g >> shift, b >> shift }; } in operator >>()
1384 RGB operator|(int bits) const { return { r | bits, g | bits, b | bits }; } in operator |()
1385 RGB operator|(const RGB &rhs) const { return { r | rhs.r, g | rhs.g, b | rhs.b }; } in operator |()
1386 RGB operator+(const RGB &rhs) const { return { r + rhs.r, g + rhs.g, b + rhs.b }; } in operator +()
1388 uint8_t b;
1389 uint8_t g;
1390 uint8_t r;