HomeSort by relevance Sort by last modified time
    Searched refs:kRed5 (Results 1 - 2 of 2) sorted by null

  /device/generic/goldfish/camera/
Converters.h 49 static const uint16_t kRed5 = 0x001f;
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))
  /external/qemu/android/camera/
camera-format-converters.c 51 static const uint16_t kRed5 = 0x001f;
55 static const uint16_t kRed5 = 0xf800;
80 #define R16(rgb) (uint8_t)((rgb) & kRed5)
84 #define R16_32(rgb) (uint8_t)((((rgb) & kRed5) << 3) | (((rgb) & kRed5) >> 2))
97 #define R16(rgb) (uint8_t)(((rgb) & kRed5) >> 11)
101 #define R16_32(rgb) (uint8_t)((((rgb) & kRed5) >> 8) | (((rgb) & kRed5) >> 14))
    [all...]

Completed in 72 milliseconds