Lines Matching defs:rgb
82 #define R16(rgb) static_cast<uint8_t>(rgb & kRed5) argument
83 #define G16(rgb) static_cast<uint8_t>((rgb & kGreen6) >> 5) argument
84 #define B16(rgb) static_cast<uint8_t>((rgb & kBlue5) >> 11) argument
86 #define R16_32(rgb) \ argument
88 #define G16_32(rgb) \ argument
90 #define B16_32(rgb) \ argument
93 #define R32(rgb) static_cast<uint8_t>(rgb & kRed8) argument
94 #define G32(rgb) static_cast<uint8_t>(((rgb & kGreen8) >> 8) & 0xff) argument
95 #define B32(rgb) static_cast<uint8_t>(((rgb & kBlue8) >> 16) & 0xff) argument
104 #define R16(rgb) static_cast<uint8_t>((rgb & kRed5) >> 11) argument
105 #define G16(rgb) static_cast<uint8_t>((rgb & kGreen6) >> 5) argument
106 #define B16(rgb) static_cast<uint8_t>(rgb & kBlue5) argument
108 #define R16_32(rgb) \ argument
110 #define G16_32(rgb) \ argument
112 #define B16_32(rgb) \ argument
115 #define R32(rgb) static_cast<uint8_t>((rgb & kRed8) >> 16) argument
116 #define G32(rgb) static_cast<uint8_t>((rgb & kGreen8) >> 8) argument
117 #define B32(rgb) static_cast<uint8_t>(rgb & kBlue8) argument
177 static __inline__ void RGB565ToYUV(uint16_t rgb, uint8_t* y, uint8_t* u, in RGB565ToYUV()
183 static __inline__ void RGB32ToYUV(uint32_t rgb, uint8_t* y, uint8_t* u, in RGB32ToYUV()
236 RGB32_t rgb; in YUVToRGB32() local