Home
last modified time | relevance | path

Searched refs:g (Results 1 – 25 of 71) sorted by relevance

123

/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dlpd8806.cxx30 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()
Dtcs3414cs.cxx55 …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/
Dhal_outputs.c395 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/
Dhal_outputs.c441 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/
Dstress_iio.c503 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/
Dutil.c114 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/
Dlpd8806.cxx82 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()
Dlpd8806.h82 void setPixelColor (uint16_t pixelOffset, uint8_t r, uint8_t g, uint8_t b);
/hardware/intel/img/psb_video/src/x11/
Dpsb_x11.c203 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/
Djhd1313m1.cxx92 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()
Djhd1313m1.h85 mraa::Result setColor(uint8_t r, uint8_t g, uint8_t b);
/hardware/bsp/intel/peripheral/libupm/src/h3lis331dl/
DCMakeLists.txt2 set (libdescription "upm h3lis331dl I2c Accelerometer (400g)")
/hardware/bsp/intel/peripheral/libupm/src/mma7660/
DCMakeLists.txt2 set (libdescription "upm mma7660 I2C 3-axis digital accelermeter (1.5g)")
/hardware/bsp/intel/peripheral/libupm/src/rgbringcoder/
Drgbringcoder.cxx182 void RGBRingCoder::setRGBLED(float r, float g, float b) in setRGBLED() argument
185 m_pwmGreen.write(g); in setRGBLED()
Drgbringcoder.h128 void setRGBLED(float r, float g, float b);
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dtcs3414cs.js39 console.log(rgb.r + ", " + rgb.g + ", " + rgb.b + ", " + rgb.clr);
/hardware/bsp/intel/peripheral/libupm/examples/python/
Dtcs3414cs.py53 myrgb.g, myrgb.b, myrgb.clr)
/hardware/bsp/intel/peripheral/libmraa/src/javascript/
Dbinding.gyp.cmake13 … "v8_version%": "<!(node -e 'console.log(process.versions.v8)' | sed 's/\.//g' | cut -c 1-5)",
/hardware/bsp/intel/peripheral/libupm/
DREADME.md46 << "g y = " << ay
47 << "g z = " << az
48 << "g" << endl;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/arm/neon/
Diwalsh_neon.asm56 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/
DREADME.webm12 which down-samples the original input video (f.g. 1280x720) a number of times
/hardware/qcom/msm8x27/original-kernel-headers/linux/
Dmsm_mdp.h353 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/
Dmsm_mdp.h352 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/
Dtcs3414cs.h102 uint16_t g; member
/hardware/libhardware/include/hardware/
Dhwcomposer_defs.h56 uint8_t g; member

123