Home
last modified time | relevance | path

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

12

/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/intel/img/libdrm/libdrm/nouveau/
Dnouveau_grobj.c34 struct drm_nouveau_grobj_alloc g; in nouveau_grobj_alloc() local
49 g.channel = chan->id; in nouveau_grobj_alloc()
50 g.handle = handle; in nouveau_grobj_alloc()
51 g.class = class; in nouveau_grobj_alloc()
53 &g, sizeof(g)); in nouveau_grobj_alloc()
Dnouveau_device.c158 struct drm_nouveau_getparam g; in nouveau_device_get_param() local
164 g.param = param; in nouveau_device_get_param()
166 &g, sizeof(g)); in nouveau_device_get_param()
170 *value = g.value; in nouveau_device_get_param()
/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/60xx/libsensors_iio/software/core/mllite/
Dhal_outputs.c272 static void google_orientation(float *g) in google_orientation() argument
279 g[0] = atan2f(-R[1][0], R[0][0]) * rad2deg; in google_orientation()
280 g[1] = atan2f(-R[2][1], R[2][2]) * rad2deg; in google_orientation()
281 g[2] = asinf ( R[2][0]) * rad2deg; in google_orientation()
282 if (g[0] < 0) in google_orientation()
283 g[0] += 360; in google_orientation()
/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/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/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/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/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/msm8960/original-kernel-headers/linux/
Dmsm_mdp.h395 uint32_t *g; member
458 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
464 struct mdp_pcc_coeff r, g, b; member
/hardware/qcom/msm8960/kernel-headers/linux/
Dmsm_mdp.h399 uint32_t *g; member
442 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
449 struct mdp_pcc_coeff r, g, b; member
/hardware/intel/common/libva/
DNEWS17 * Fix vaTerminate() with some applications, e.g. GStreamer
/hardware/qcom/msm8x26/original-kernel-headers/linux/
Dmsm_mdp.h276 uint32_t g; member
635 uint32_t *g; member
725 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
731 struct mdp_pcc_coeff r, g, b; member
/hardware/qcom/msm8x26/kernel-headers/linux/
Dmsm_mdp.h286 uint32_t g; member
596 uint32_t *g; member
671 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
677 struct mdp_pcc_coeff r, g, b; member
/hardware/qcom/msm8x84/kernel-headers/linux/
Dmsm_mdp.h290 uint32_t g; member
600 uint32_t *g; member
675 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
681 struct mdp_pcc_coeff r, g, b; member
/hardware/qcom/msm8x84/original-kernel-headers/linux/
Dmsm_mdp.h279 uint32_t g; member
638 uint32_t *g; member
728 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
734 struct mdp_pcc_coeff r, g, b; member
/hardware/qcom/msm8x74/kernel-headers/linux/
Dmsm_mdp.h465 uint32_t *g; member
537 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
544 struct mdp_pcc_coeff r, g, b; member
/hardware/qcom/msm8x74/original-kernel-headers/linux/
Dmsm_mdp.h473 uint32_t *g; member
561 uint32_t c, r, g, b, rr, gg, bb, rg, gb, rb, rgb_0, rgb_1; member
567 struct mdp_pcc_coeff r, g, b; member
/hardware/libhardware/include/hardware/
Dhwcomposer.h71 uint8_t g; member
/hardware/intel/img/libdrm/
Dinstall-sh420 *\'*) qprefix=`echo "$prefix" | sed "s/'/'\\\\\\\\''/g"`;;
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/build/make/
Dconfigure.sh341 *c++-analyzer|*clang++|*g++*) check_cxx -Werror "$@" <<EOF
602 CXX=${CXX:-${CROSS}g++}
908 CXX=${TOOLCHAIN_PATH}g++
1047 CXX=${CXX:-${CROSS}g++}
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/
DREADME27 effort to support other platforms (e.g. Solaris, AIX, and z/OS).
126 g++ -isystem ${GTEST_DIR}/include -I${GTEST_DIR} \
136 g++ -isystem ${GTEST_DIR}/include -pthread path/to/your_test.cc libgtest.a \
141 (e.g. Linux, Mac OS X, and Cygwin). It doesn't try to build Google
317 using some compilers (e.g. GCC), they may become necessary in the

12