/hardware/bsp/intel/peripheral/libupm/examples/c++/ |
D | lpd8806.cxx | 30 void scanner(uint8_t r, uint8_t g, uint8_t b, uint8_t wait); 69 void scanner(uint8_t r, uint8_t g, uint8_t b, uint8_t wait) { in scanner() argument 80 sensor->setPixelColor(pos - 2, r/4, g/4, b/4); in scanner() 81 sensor->setPixelColor(pos - 1, r/2, g/2, b/2); in scanner() 82 sensor->setPixelColor(pos, r, g, b); in scanner() 83 sensor->setPixelColor(pos + 1, r/2, g/2, b/2); in scanner() 84 sensor->setPixelColor(pos + 2, r/4, g/4, b/4); in scanner()
|
D | tcs3414cs.cxx | 55 …std::cout << (int)rgb.r << ", " << (int)rgb.g << ", " << (int)rgb.b << ", " << rgb.clr << std::end… in main()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | hal_outputs.c | 395 static void google_orientation_geomagnetic(float *g) in google_orientation_geomagnetic() argument 400 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation_geomagnetic() 401 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation_geomagnetic() 402 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation_geomagnetic() 403 if (g[0] < 0) in google_orientation_geomagnetic() 404 g[0] += 360; in google_orientation_geomagnetic() 426 static void google_orientation_6_axis(float *g) in google_orientation_6_axis() argument 433 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation_6_axis() 434 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation_6_axis() 435 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation_6_axis() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | hal_outputs.c | 441 static void google_orientation_geomagnetic(float *g) in google_orientation_geomagnetic() argument 446 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation_geomagnetic() 447 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation_geomagnetic() 448 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation_geomagnetic() 449 if (g[0] < 0) in google_orientation_geomagnetic() 450 g[0] += 360; in google_orientation_geomagnetic() 472 static void google_orientation_6_axis(float *g) in google_orientation_6_axis() argument 479 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation_6_axis() 480 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation_6_axis() 481 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation_6_axis() [all …]
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
D | stress_iio.c | 503 bool g, a; variable 508 bool g, a, out; in run_enable_sequence() local 511 g = rand()%2; in run_enable_sequence() 513 if (!g && !a) in run_enable_sequence() 516 g = true; in run_enable_sequence() 522 if(g) { in run_enable_sequence() 626 bool g, a, out; in run_dmp_off() local 629 g = rand()%2; in run_dmp_off() 631 if (!g && !a) in run_dmp_off() 634 g = true; in run_dmp_off() [all …]
|
/hardware/libhardware/tests/hwc/ |
D | util.c | 114 EGLint R,G,B,A,r,g,b,a; in select_config_for_window() local 146 EGLint r,g,b,a; in select_config_for_window() local 148 eglGetConfigAttrib(dpy, cfg[i], EGL_GREEN_SIZE, &g); in select_config_for_window() 151 if (r == R && g == G && b == B && a == A) { in select_config_for_window()
|
/hardware/bsp/intel/peripheral/libupm/src/lpd8806/ |
D | lpd8806.cxx | 82 LPD8806::setPixelColor (uint16_t pixelOffset, uint8_t r, uint8_t g, uint8_t b) { in setPixelColor() argument 85 *ptr++ = g | 0x80; // Strip color order is GRB, in setPixelColor()
|
D | lpd8806.h | 82 void setPixelColor (uint16_t pixelOffset, uint8_t r, uint8_t g, uint8_t b);
|
/hardware/intel/img/psb_video/src/x11/ |
D | psb_x11.c | 203 int r, g, b; in psb_putsurface_x11() local 206 g = y - (((179 * (v - 128)) + (86 * (u - 128))) >> 8); in psb_putsurface_x11() 210 if (g > 255) g = 255; in psb_putsurface_x11() 213 if (g < 0) g = 0; in psb_putsurface_x11() 216 *pixel = ((r << rshift) & rmask) | ((g << gshift) & gmask) | ((b << bshift) & bmask); in psb_putsurface_x11()
|
/hardware/bsp/intel/peripheral/libupm/src/lcd/ |
D | jhd1313m1.cxx | 92 Jhd1313m1::setColor(uint8_t r, uint8_t g, uint8_t b) in setColor() argument 105 ret = m_i2c_lcd_rgb.writeReg(0x03, g); in setColor()
|
D | jhd1313m1.h | 85 mraa::Result setColor(uint8_t r, uint8_t g, uint8_t b);
|
/hardware/bsp/intel/peripheral/libupm/src/h3lis331dl/ |
D | CMakeLists.txt | 2 set (libdescription "upm h3lis331dl I2c Accelerometer (400g)")
|
/hardware/bsp/intel/peripheral/libupm/src/mma7660/ |
D | CMakeLists.txt | 2 set (libdescription "upm mma7660 I2C 3-axis digital accelermeter (1.5g)")
|
/hardware/bsp/intel/peripheral/libupm/src/rgbringcoder/ |
D | rgbringcoder.cxx | 182 void RGBRingCoder::setRGBLED(float r, float g, float b) in setRGBLED() argument 185 m_pwmGreen.write(g); in setRGBLED()
|
D | rgbringcoder.h | 128 void setRGBLED(float r, float g, float b);
|
/hardware/bsp/intel/peripheral/libupm/examples/javascript/ |
D | tcs3414cs.js | 39 console.log(rgb.r + ", " + rgb.g + ", " + rgb.b + ", " + rgb.clr);
|
/hardware/bsp/intel/peripheral/libupm/examples/python/ |
D | tcs3414cs.py | 53 myrgb.g, myrgb.b, myrgb.clr)
|
/hardware/bsp/intel/peripheral/libmraa/src/javascript/ |
D | binding.gyp.cmake | 13 … "v8_version%": "<!(node -e 'console.log(process.versions.v8)' | sed 's/\.//g' | cut -c 1-5)",
|
/hardware/bsp/intel/peripheral/libupm/ |
D | README.md | 46 << "g y = " << ay 47 << "g z = " << az 48 << "g" << endl;
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/neon/ |
D | iwalsh_neon.asm | 56 vadd.i16 q1, q1, q8 ;g/h += 3 59 vshr.s16 q1, q1, #3 ;g/h >> 3
|
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/libyuv/ |
D | README.webm | 12 which down-samples the original input video (f.g. 1280x720) a number of times
|
/hardware/qcom/msm8x27/original-kernel-headers/linux/ |
D | msm_mdp.h | 353 uint32_t *g; member 416 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member 422 struct mdp_pcc_coeff r, g, b; member
|
/hardware/qcom/msm8x27/kernel-headers/linux/ |
D | msm_mdp.h | 352 uint32_t *g; member 396 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member 402 struct mdp_pcc_coeff r, g, b; member
|
/hardware/bsp/intel/peripheral/libupm/src/tcs3414cs/ |
D | tcs3414cs.h | 102 uint16_t g; member
|
/hardware/libhardware/include/hardware/ |
D | hwcomposer_defs.h | 56 uint8_t g; member
|