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) static_cast<uint8_t>((((rgb) & kRed5) << 3) | (((rgb) & kRed5) >> 2)) argument
87 #define G16_32(rgb) static_cast<uint8_t>((((rgb) & kGreen6) >> 3) | (((rgb) & kGreen6) >> 9)) argument
88 #define B16_32(rgb) static_cast<uint8_t>((((rgb) & kBlue5) >> 8) | (((rgb) & kBlue5) >> 14)) argument
90 #define R32(rgb) static_cast<uint8_t>((rgb) & kRed8) argument
91 #define G32(rgb) static_cast<uint8_t>((((rgb) & kGreen8) >> 8) & 0xff) argument
92 #define B32(rgb) static_cast<uint8_t>((((rgb) & kBlue8) >> 16) & 0xff) argument
99 #define R16(rgb) static_cast<uint8_t>(((rgb) & kRed5) >> 11) argument
100 #define G16(rgb) static_cast<uint8_t>(((rgb) & kGreen6) >> 5) argument
101 #define B16(rgb) static_cast<uint8_t>((rgb) & kBlue5) argument
103 #define R16_32(rgb) static_cast<uint8_t>((((rgb) & kRed5) >> 8) | (((rgb) & kRed5) >> 14)) argument
104 #define G16_32(rgb) static_cast<uint8_t>((((rgb) & kGreen6) >> 3) | (((rgb) & kGreen6) >> 9)) argument
105 #define B16_32(rgb) static_cast<uint8_t>((((rgb) & kBlue5) << 3) | (((rgb) & kBlue5) >> 2)) argument
107 #define R32(rgb) static_cast<uint8_t>(((rgb) & kRed8) >> 16) argument
108 #define G32(rgb) static_cast<uint8_t>(((rgb) & kGreen8) >> 8) argument
109 #define B32(rgb) static_cast<uint8_t>((rgb) & kBlue8) argument
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()
222 RGB32_t rgb; in YUVToRGB32() local