Lines Matching refs:uint8_t
82 #define R16(rgb) static_cast<uint8_t>((rgb) & kRed5)
83 #define G16(rgb) static_cast<uint8_t>(((rgb) & kGreen6) >> 5)
84 #define B16(rgb) static_cast<uint8_t>(((rgb) & kBlue5) >> 11)
86 #define R16_32(rgb) static_cast<uint8_t>((((rgb) & kRed5) << 3) | (((rgb) & kRed5) >> 2))
87 #define G16_32(rgb) static_cast<uint8_t>((((rgb) & kGreen6) >> 3) | (((rgb) & kGreen6) >> 9))
88 #define B16_32(rgb) static_cast<uint8_t>((((rgb) & kBlue5) >> 8) | (((rgb) & kBlue5) >> 14))
90 #define R32(rgb) static_cast<uint8_t>((rgb) & kRed8)
91 #define G32(rgb) static_cast<uint8_t>((((rgb) & kGreen8) >> 8) & 0xff)
92 #define B32(rgb) static_cast<uint8_t>((((rgb) & kBlue8) >> 16) & 0xff)
99 #define R16(rgb) static_cast<uint8_t>(((rgb) & kRed5) >> 11)
100 #define G16(rgb) static_cast<uint8_t>(((rgb) & kGreen6) >> 5)
101 #define B16(rgb) static_cast<uint8_t>((rgb) & kBlue5)
103 #define R16_32(rgb) static_cast<uint8_t>((((rgb) & kRed5) >> 8) | (((rgb) & kRed5) >> 14))
104 #define G16_32(rgb) static_cast<uint8_t>((((rgb) & kGreen6) >> 3) | (((rgb) & kGreen6) >> 9))
105 #define B16_32(rgb) static_cast<uint8_t>((((rgb) & kBlue5) << 3) | (((rgb) & kBlue5) >> 2))
107 #define R32(rgb) static_cast<uint8_t>(((rgb) & kRed8) >> 16)
108 #define G32(rgb) static_cast<uint8_t>(((rgb) & kGreen8) >> 8)
109 #define B32(rgb) static_cast<uint8_t>((rgb) & kBlue8)
122 uint8_t r; uint8_t g; uint8_t b; uint8_t a;
124 uint8_t a; uint8_t b; uint8_t g; uint8_t r;
147 #define RGB2Y(r, g, b) (uint8_t)(((66 * (r) + 129 * (g) + 25 * (b) + 128) >> 8) + 16)
148 #define RGB2U(r, g, b) (uint8_t)(((-38 * (r) - 74 * (g) + 112 * (b) + 128) >> 8) + 128)
149 #define RGB2V(r, g, b) (uint8_t)(((112 * (r) - 94 * (g) - 18 * (b) + 128) >> 8) + 128)
153 R8G8B8ToYUV(uint8_t r, uint8_t g, uint8_t b, uint8_t* y, uint8_t* u, uint8_t* v) in R8G8B8ToYUV()
162 RGB565ToYUV(uint16_t rgb, uint8_t* y, uint8_t* u, uint8_t* v) in RGB565ToYUV()
169 RGB32ToYUV(uint32_t rgb, uint8_t* y, uint8_t* u, uint8_t* v) in RGB32ToYUV()
231 uint8_t Y;
232 uint8_t U;
233 uint8_t V;
250 inline void get(uint8_t* pY, uint8_t* pU, uint8_t* pV) const in get()