Home
last modified time | relevance | path

Searched defs:g (Results 1 – 9 of 9) 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
/device/google/contexthub/lib/nanohub/
Dsha2.c68 uint32_t i, a, b, c, d, e, f, g, h; in sha2processBlock() local
/device/google/dragon/audio/hal/dsp/
Dbiquad.c52 double g = pow(10.0, 0.05 * resonance); in biquad_lowpass() local
87 double g = pow(10.0, 0.05 * resonance); in biquad_highpass() local
/device/google/contexthub/firmware/src/drivers/ams_tmd4903/
Dams_tmd4903.c313 static inline float getLuxFromAlsData(uint16_t c, uint16_t r, uint16_t g, uint16_t b) in getLuxFromAlsData()
607 uint16_t c, r, g, b, ps; in handle_i2c_event() local
/device/google/contexthub/firmware/src/drivers/orientation/
Dorientation.c318 struct Vec3 g, a; in updateOutput() local
/device/google/dragon/recovery/updater/
Dec_commands.h1215 uint8_t r, g, b; member