Searched defs:rgb (Results 1 – 2 of 2) sorted by relevance
/device/generic/goldfish/camera/ |
D | Converters.h | 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 [all …]
|
D | Converters.cpp | 32 uint16_t* rgb, in _YUV420SToRGB565() 62 uint32_t* rgb, in _YUV420SToRGB32() 88 void YV12ToRGB565(const void* yv12, void* rgb, int width, int height) in YV12ToRGB565() 97 void YV12ToRGB32(const void* yv12, void* rgb, int width, int height) in YV12ToRGB32() 106 void YU12ToRGB32(const void* yu12, void* rgb, int width, int height) in YU12ToRGB32() 121 uint16_t* rgb, in _NVXXToRGB565() 134 uint32_t* rgb, in _NVXXToRGB32() 141 void NV12ToRGB565(const void* nv12, void* rgb, int width, int height) in NV12ToRGB565() 149 void NV12ToRGB32(const void* nv12, void* rgb, int width, int height) in NV12ToRGB32() 157 void NV21ToRGB565(const void* nv21, void* rgb, int width, int height) in NV21ToRGB565() [all …]
|