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)
87 static_cast<uint8_t>(((rgb & kRed5) << 3) | ((rgb & kRed5) >> 2))
89 static_cast<uint8_t>(((rgb & kGreen6) >> 3) | ((rgb & kGreen6) >> 9))
91 static_cast<uint8_t>(((rgb & kBlue5) >> 8) | ((rgb & kBlue5) >> 14))
93 #define R32(rgb) static_cast<uint8_t>(rgb & kRed8)
94 #define G32(rgb) static_cast<uint8_t>(((rgb & kGreen8) >> 8) & 0xff)
95 #define B32(rgb) static_cast<uint8_t>(((rgb & kBlue8) >> 16) & 0xff)
104 #define R16(rgb) static_cast<uint8_t>((rgb & kRed5) >> 11)
105 #define G16(rgb) static_cast<uint8_t>((rgb & kGreen6) >> 5)
106 #define B16(rgb) static_cast<uint8_t>(rgb & kBlue5)
109 static_cast<uint8_t>(((rgb & kRed5) >> 8) | ((rgb & kRed5) >> 14))
111 static_cast<uint8_t>(((rgb & kGreen6) >> 3) | ((rgb & kGreen6) >> 9))
113 static_cast<uint8_t>(((rgb & kBlue5) << 3) | ((rgb & kBlue5) >> 2))
115 #define R32(rgb) static_cast<uint8_t>((rgb & kRed8) >> 16)
116 #define G32(rgb) static_cast<uint8_t>((rgb & kGreen8) >> 8)
117 #define B32(rgb) static_cast<uint8_t>(rgb & kBlue8)
133 uint8_t r;
134 uint8_t g;
135 uint8_t b;
136 uint8_t a;
138 uint8_t a;
139 uint8_t b;
140 uint8_t g;
141 uint8_t r;
162 (uint8_t)(((66 * (r) + 129 * (g) + 25 * (b) + 128) >> 8) + 16)
164 (uint8_t)(((-38 * (r)-74 * (g) + 112 * (b) + 128) >> 8) + 128)
166 (uint8_t)(((112 * (r)-94 * (g)-18 * (b) + 128) >> 8) + 128)
169 static __inline__ void R8G8B8ToYUV(uint8_t r, uint8_t g, uint8_t b, uint8_t* y, in R8G8B8ToYUV()
170 uint8_t* u, uint8_t* v) { in R8G8B8ToYUV()
177 static __inline__ void RGB565ToYUV(uint16_t rgb, uint8_t* y, uint8_t* u, in RGB565ToYUV()
178 uint8_t* v) { in RGB565ToYUV()
183 static __inline__ void RGB32ToYUV(uint32_t rgb, uint8_t* y, uint8_t* u, in RGB32ToYUV()
184 uint8_t* v) { in RGB32ToYUV()
245 uint8_t Y;
246 uint8_t U;
247 uint8_t V;
255 inline void get(uint8_t* pY, uint8_t* pU, uint8_t* pV) const { in get()