Home
last modified time | relevance | path

Searched defs:g (Results 1 – 4 of 4) sorted by relevance

/device/generic/goldfish/camera/
DConverters.h94 #define RGB565(r, g, b) static_cast<uint16_t>((((static_cast<uint16_t>(b) << 6) | g) << 5) | r) argument
96 #define RGB32(r, g, b) static_cast<uint32_t>((((static_cast<uint32_t>(b) << 8) | g) << 8) | r) argument
111 #define RGB565(r, g, b) static_cast<uint16_t>((((static_cast<uint16_t>(r) << 6) | g) << 5) | b) argument
113 #define RGB32(r, g, b) static_cast<uint32_t>((((static_cast<uint32_t>(r) << 8) | g) << 8) | b) argument
122 uint8_t r; uint8_t g; uint8_t b; uint8_t a; member
147 #define RGB2Y(r, g, b) (uint8_t)(((66 * (r) + 129 * (g) + 25 * (b) + 128) >> 8) + 16) argument
148 #define RGB2U(r, g, b) (uint8_t)(((-38 * (r) - 74 * (g) + 112 * (b) + 128) >> 8) + 128) argument
149 #define RGB2V(r, g, b) (uint8_t)(((112 * (r) - 94 * (g) - 18 * (b) + 128) >> 8) + 128) argument
153 R8G8B8ToYUV(uint8_t r, uint8_t g, uint8_t b, uint8_t* y, uint8_t* u, uint8_t* v) in R8G8B8ToYUV()
211 const uint16_t g = (YUV2GO(y,u,v) >> 2) & 0x3f; in YUVToRGB565() local
DEmulatedCameraDevice.cpp150 int g = YUV2G(y, u, v); in changeWhiteBalance() local
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
DColorWheel.java150 int g = ave(Color.green(c0), Color.green(c1), p); in interpColor() local
159 int g = Color.green(color); in rotateColor() local
DColorLEDController.java79 ViewGroup g = (ViewGroup) targetView.getChildAt(i); in attachToView() local