Home
last modified time | relevance | path

Searched refs:kRed5 (Results 1 – 2 of 2) sorted by relevance

/device/generic/goldfish/camera/
DConverters.h49 static const uint16_t kRed5 = 0x001f; variable
53 static const uint16_t kRed5 = 0xf800;
58 static const uint32_t kWhite16 = kRed5 | kGreen6 | kBlue5;
82 #define R16(rgb) static_cast<uint8_t>((rgb) & kRed5)
86 #define R16_32(rgb) static_cast<uint8_t>((((rgb) & kRed5) << 3) | (((rgb) & kRed5) >> 2))
99 #define R16(rgb) static_cast<uint8_t>(((rgb) & kRed5) >> 11)
103 #define R16_32(rgb) static_cast<uint8_t>((((rgb) & kRed5) >> 8) | (((rgb) & kRed5) >> 14))
/device/google/cuttlefish/guest/hals/camera/
DConverters.h49 static const uint16_t kRed5 = 0x001f; variable
53 static const uint16_t kRed5 = 0xf800;
58 static const uint32_t kWhite16 = kRed5 | kGreen6 | kBlue5;
82 #define R16(rgb) static_cast<uint8_t>(rgb & kRed5)
87 static_cast<uint8_t>(((rgb & kRed5) << 3) | ((rgb & kRed5) >> 2))
104 #define R16(rgb) static_cast<uint8_t>((rgb & kRed5) >> 11)
109 static_cast<uint8_t>(((rgb & kRed5) >> 8) | ((rgb & kRed5) >> 14))