Home
last modified time | relevance | path

Searched refs:values (Results 1 – 25 of 58) sorted by relevance

123

/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Ddatalogger_outputs.c49 void inv_get_sensor_type_gyro_raw_short(short *values, inv_time_t *timestamp) in inv_get_sensor_type_gyro_raw_short() argument
53 if (values) in inv_get_sensor_type_gyro_raw_short()
54 memcpy(values, &pg->raw, sizeof(short) * 3); in inv_get_sensor_type_gyro_raw_short()
64 void inv_get_sensor_type_gyro_raw_body_float(float *values, in inv_get_sensor_type_gyro_raw_body_float() argument
76 if (values) { in inv_get_sensor_type_gyro_raw_body_float()
77 values[0] = inv_q16_to_float(raw_body[0]); in inv_get_sensor_type_gyro_raw_body_float()
78 values[1] = inv_q16_to_float(raw_body[1]); in inv_get_sensor_type_gyro_raw_body_float()
79 values[2] = inv_q16_to_float(raw_body[2]); in inv_get_sensor_type_gyro_raw_body_float()
91 void inv_get_sensor_type_gyro_float(float *values, int8_t *accuracy, in inv_get_sensor_type_gyro_float() argument
97 values[0] = (float)gyro[0] / 65536.f; in inv_get_sensor_type_gyro_float()
[all …]
Ddatalogger_outputs.h23 void inv_get_sensor_type_gyro_float(float *values, int8_t *accuracy,
25 void inv_get_sensor_type_accel_float(float *values, int8_t *accuracy,
28 float *values, int8_t *accuracy, inv_time_t *timestamp);
29 void inv_get_sensor_type_quat_float(float *values, int *accuracy,
31 void inv_get_sensor_type_gravity_float(float *values, int *accuracy,
33 void inv_get_sensor_type_rotation_vector_float(float *values, int *accuracy,
37 void inv_get_sensor_type_gyro_raw_short(short *values,
39 void inv_get_sensor_type_gyro_raw_body_float(float *values,
41 void inv_get_sensor_type_accel_raw_short(short *values,
43 void inv_get_sensor_type_compass_raw_short(short *values,
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dhal_outputs.c74 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy, in inv_get_sensor_type_accelerometer() argument
83 values[0] = accel[0] * ACCEL_CONVERSION; in inv_get_sensor_type_accelerometer()
84 values[1] = accel[1] * ACCEL_CONVERSION; in inv_get_sensor_type_accelerometer()
85 values[2] = accel[2] * ACCEL_CONVERSION; in inv_get_sensor_type_accelerometer()
90 MPL_LOGV("accel values:%f %f %f -%d -%lld", values[0], values[1], in inv_get_sensor_type_accelerometer()
91 values[2], status, *timestamp); in inv_get_sensor_type_accelerometer()
103 int inv_get_sensor_type_linear_acceleration(float *values, int8_t *accuracy, in inv_get_sensor_type_linear_acceleration() argument
114 values[0] = accel[0] * ACCEL_CONVERSION; in inv_get_sensor_type_linear_acceleration()
115 values[1] = accel[1] * ACCEL_CONVERSION; in inv_get_sensor_type_linear_acceleration()
116 values[2] = accel[2] * ACCEL_CONVERSION; in inv_get_sensor_type_linear_acceleration()
[all …]
Dhal_outputs.h16 int inv_get_sensor_type_orientation(float *values, int8_t *accuracy,
18 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy,
20 int inv_get_sensor_type_gyroscope(float *values, int8_t *accuracy,
22 int inv_get_sensor_type_gyroscope_raw(float *values, int8_t *accuracy,
24 int inv_get_sensor_type_magnetic_field(float *values, int8_t *accuracy,
26 int inv_get_sensor_type_magnetic_field_raw(float *values, int8_t *accuracy,
28 int inv_get_sensor_type_rotation_vector(float *values, int8_t *accuracy,
31 int inv_get_sensor_type_linear_acceleration(float *values,
34 int inv_get_sensor_type_gravity(float *values, int8_t *accuracy,
37 int inv_get_sensor_type_orientation_6_axis(float *values, int8_t *accuracy,
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dhal_outputs.c122 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy, in inv_get_sensor_type_accelerometer() argument
131 values[0] = accel[0] * ACCEL_CONVERSION; in inv_get_sensor_type_accelerometer()
132 values[1] = accel[1] * ACCEL_CONVERSION; in inv_get_sensor_type_accelerometer()
133 values[2] = accel[2] * ACCEL_CONVERSION; in inv_get_sensor_type_accelerometer()
138 MPL_LOGV("accel values:%f %f %f -%d -%lld", values[0], values[1], in inv_get_sensor_type_accelerometer()
139 values[2], status, *timestamp); in inv_get_sensor_type_accelerometer()
151 int inv_get_sensor_type_linear_acceleration(float *values, int8_t *accuracy, in inv_get_sensor_type_linear_acceleration() argument
162 values[0] = accel[0] * ACCEL_CONVERSION; in inv_get_sensor_type_linear_acceleration()
163 values[1] = accel[1] * ACCEL_CONVERSION; in inv_get_sensor_type_linear_acceleration()
164 values[2] = accel[2] * ACCEL_CONVERSION; in inv_get_sensor_type_linear_acceleration()
[all …]
Dhal_outputs.h16 int inv_get_sensor_type_orientation(float *values, int8_t *accuracy,
18 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy,
20 int inv_get_sensor_type_gyroscope(float *values, int8_t *accuracy,
22 int inv_get_sensor_type_gyroscope_raw(float *values, int8_t *accuracy,
24 int inv_get_sensor_type_magnetic_field(float *values, int8_t *accuracy,
26 int inv_get_sensor_type_magnetic_field_raw(float *values, int8_t *accuracy,
28 int inv_get_sensor_type_rotation_vector(float *values, int8_t *accuracy,
31 int inv_get_sensor_type_linear_acceleration(float *values,
34 int inv_get_sensor_type_gravity(float *values, int8_t *accuracy,
37 int inv_get_sensor_type_orientation_6_axis(float *values, int8_t *accuracy,
[all …]
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
Dhal_outputs.c57 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy, in inv_get_sensor_type_accelerometer() argument
66 values[0] = accel[0] * ACCEL_CONVERSION; in inv_get_sensor_type_accelerometer()
67 values[1] = accel[1] * ACCEL_CONVERSION; in inv_get_sensor_type_accelerometer()
68 values[2] = accel[2] * ACCEL_CONVERSION; in inv_get_sensor_type_accelerometer()
84 int inv_get_sensor_type_linear_acceleration(float *values, int8_t *accuracy, in inv_get_sensor_type_linear_acceleration() argument
94 values[0] = accel[0] * ACCEL_CONVERSION; in inv_get_sensor_type_linear_acceleration()
95 values[1] = accel[1] * ACCEL_CONVERSION; in inv_get_sensor_type_linear_acceleration()
96 values[2] = accel[2] * ACCEL_CONVERSION; in inv_get_sensor_type_linear_acceleration()
108 int inv_get_sensor_type_gravity(float *values, int8_t *accuracy, in inv_get_sensor_type_gravity() argument
117 values[0] = (gravity[0] >> 14) * ACCEL_CONVERSION; in inv_get_sensor_type_gravity()
[all …]
Dhal_outputs.h16 int inv_get_sensor_type_orientation(float *values, int8_t *accuracy,
18 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy,
20 int inv_get_sensor_type_gyroscope(float *values, int8_t *accuracy,
22 int inv_get_sensor_type_gyroscope_raw(float *values, int8_t *accuracy,
24 int inv_get_sensor_type_magnetic_field(float *values, int8_t *accuracy,
26 int inv_get_sensor_type_rotation_vector(float *values, int8_t *accuracy,
29 int inv_get_sensor_type_linear_acceleration(float *values,
32 int inv_get_sensor_type_gravity(float *values, int8_t *accuracy,
/hardware/intel/img/hwcomposer/common/devices/
DDummyDevice.cpp135 int32_t *values) in getDisplayAttributes() argument
139 if ((configs > 0) || !attributes || !values) { in getDisplayAttributes()
153 values[i] = 1e9 / 60; in getDisplayAttributes()
156 values[i] = 1280; in getDisplayAttributes()
159 values[i] = 720; in getDisplayAttributes()
162 values[i] = 0; in getDisplayAttributes()
165 values[i] = 0; in getDisplayAttributes()
DExternalDevice.cpp336 int32_t *values) in getDisplayAttributes() argument
339 return PhysicalDevice::getDisplayAttributes(config, attributes, values); in getDisplayAttributes()
342 return PhysicalDevice::getDisplayAttributes(config, attributes, values); in getDisplayAttributes()
343 if (!attributes || !values) in getDisplayAttributes()
349 values[i] = 1e9 / 60; in getDisplayAttributes()
352 values[i] = 1920; in getDisplayAttributes()
355 values[i] = 1080; in getDisplayAttributes()
358 values[i] = 1; in getDisplayAttributes()
361 values[i] = 1; in getDisplayAttributes()
DPhysicalDevice.cpp208 int32_t *values) in getDisplayAttributes() argument
219 if (!attributes || !values) { in getDisplayAttributes()
235 values[i] = 1e9 / configChosen->getRefreshRate(); in getDisplayAttributes()
238 values[i] = 0; in getDisplayAttributes()
242 values[i] = configChosen->getWidth(); in getDisplayAttributes()
245 values[i] = configChosen->getHeight(); in getDisplayAttributes()
248 values[i] = configChosen->getDpiX() * 1000.0f; in getDisplayAttributes()
251 values[i] = configChosen->getDpiY() * 1000.0f; in getDisplayAttributes()
/hardware/invensense/60xx/libsensors/
DMPLSensor.cpp726 void MPLSensor::calcOrientationSensor(float *R, float *values) in calcOrientationSensor() argument
732 values[0] = (float) atan2f(-R[3], R[0]); in calcOrientationSensor()
734 values[0] = (float) atan2f(R[1], R[4]); in calcOrientationSensor()
736 values[0] *= 57.295779513082320876798154814105f; in calcOrientationSensor()
737 if (values[0] < 0) { in calcOrientationSensor()
738 values[0] += 360.0f; in calcOrientationSensor()
746 values[1] = -asinf(tmp) * 57.295779513082320876798154814105f; in calcOrientationSensor()
748 values[1] = 180.0f - values[1]; in calcOrientationSensor()
750 if (values[1] > 180.0f) { in calcOrientationSensor()
751 values[1] -= 360.0f; in calcOrientationSensor()
[all …]
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/common/x86/
Dloopfilter_mmx.asm151 pxor mm2, [GLOBAL(t80)] ; p1 offset to convert to signed values
152 pxor mm7, [GLOBAL(t80)] ; q1 offset to convert to signed values
155 pxor mm6, [GLOBAL(t80)] ; offset to convert to signed values
156 pxor mm0, [GLOBAL(t80)] ; offset to convert to signed values
162 pand mm1, mm2 ; mask filter values we don't care about
749 pxor mm2, [GLOBAL(t80)] ; p1 offset to convert to signed values
750 pxor mm7, [GLOBAL(t80)] ; q1 offset to convert to signed values
753 pxor mm6, [GLOBAL(t80)] ; offset to convert to signed values
754 pxor mm0, [GLOBAL(t80)] ; offset to convert to signed values
760 pand mm1, mm2 ; mask filter values we don't care about
[all …]
/hardware/intel/common/libmix/videoencoder/
DIntelMetadataBuffer.h94 IMB_Result GetExtraValues(intptr_t* &values, uint32_t &num);
95 IMB_Result SetExtraValues(intptr_t *values, uint32_t num);
DIntelMetadataBuffer.cpp516 IMB_Result IntelMetadataBuffer::GetExtraValues(intptr_t* &values, uint32_t& num) in GetExtraValues() argument
518 values = mExtraValues; in GetExtraValues()
524 IMB_Result IntelMetadataBuffer::SetExtraValues(intptr_t* values, uint32_t num) in SetExtraValues() argument
526 if (values && num > 0) in SetExtraValues()
537 memcpy(mExtraValues, values, sizeof(intptr_t) * num); in SetExtraValues()
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc.cpp518 uint32_t config, const uint32_t* attributes, int32_t* values) { in hwc_getDisplayAttributes() argument
542 values[i] = ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes()
545 values[i] = ctx->dpyAttr[disp].xres; in hwc_getDisplayAttributes()
550 values[i] = ctx->dpyAttr[disp].yres; in hwc_getDisplayAttributes()
555 values[i] = (int32_t) (ctx->dpyAttr[disp].xdpi*1000.0); in hwc_getDisplayAttributes()
558 values[i] = (int32_t) (ctx->dpyAttr[disp].ydpi*1000.0); in hwc_getDisplayAttributes()
/hardware/libhardware/tests/hwc/
Dcnativewindow.c381 int32_t values[8]; in hwc_init() local
411 if ((r = hwc->getDisplayAttributes(hwc, 0, configs[0], attrs, values))) { in hwc_init()
416 win->width = values[0]; in hwc_init()
417 win->height = values[1]; in hwc_init()
418 win->xdpi = values[3]; in hwc_init()
419 win->ydpi = values[4]; in hwc_init()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/x86/
Dsubtract_sse2.asm102 pxor xmm1, xmm4 ;convert to signed values
122 pxor xmm5, xmm4 ;convert to signed values
184 pxor xmm1, xmm4 ;convert to signed values
218 pxor xmm1, xmm4 ;convert to signed values
/hardware/intel/common/libva/test/decode/
Dtinyjpeg.c164 memcpy(priv->HTDC[i].values, default_huffman_table_param.huffman_table[i].dc_values, 16); in build_default_huffman_tables()
167 memcpy(priv->HTAC[i].values, default_huffman_table_param.huffman_table[i].ac_values, 256); in build_default_huffman_tables()
349 memcpy(priv->HTAC[index & 0xf].values, stream, count); in parse_DHT()
353 memcpy(priv->HTDC[index & 0xf].values, stream, count); in parse_DHT()
749 sizeof(priv->HTDC[0].values[0])); in tinyjpeg_decode()
756 memcpy(huffman_table.huffman_table[i].dc_values, priv->HTDC[i].values, in tinyjpeg_decode()
760 memcpy(huffman_table.huffman_table[i].ac_values, priv->HTAC[i].values, in tinyjpeg_decode()
Dtinyjpeg-internal.h71 unsigned char values[256]; member
/hardware/qcom/display/msm8974/libhwcomposer/
Dhwc.cpp614 uint32_t config, const uint32_t* attributes, int32_t* values) { in hwc_getDisplayAttributes() argument
638 values[i] = ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes()
641 values[i] = ctx->dpyAttr[disp].xres; in hwc_getDisplayAttributes()
646 values[i] = ctx->dpyAttr[disp].yres; in hwc_getDisplayAttributes()
651 values[i] = (int32_t) (ctx->dpyAttr[disp].xdpi*1000.0); in hwc_getDisplayAttributes()
654 values[i] = (int32_t) (ctx->dpyAttr[disp].ydpi*1000.0); in hwc_getDisplayAttributes()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp9/common/x86/
Dvp9_loopfilter_mmx.asm151 pxor mm2, [GLOBAL(t80)] ; p1 offset to convert to signed values
152 pxor mm7, [GLOBAL(t80)] ; q1 offset to convert to signed values
155 pxor mm6, [GLOBAL(t80)] ; offset to convert to signed values
156 pxor mm0, [GLOBAL(t80)] ; offset to convert to signed values
162 pand mm1, mm2 ; mask filter values we don't care about
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc.cpp669 uint32_t /*config*/, const uint32_t* attributes, int32_t* values) { in hwc_getDisplayAttributes() argument
694 values[i] = ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes()
697 values[i] = ctx->dpyAttr[disp].xres; in hwc_getDisplayAttributes()
702 values[i] = ctx->dpyAttr[disp].yres; in hwc_getDisplayAttributes()
707 values[i] = (int32_t) (ctx->dpyAttr[disp].xdpi*1000.0); in hwc_getDisplayAttributes()
710 values[i] = (int32_t) (ctx->dpyAttr[disp].ydpi*1000.0); in hwc_getDisplayAttributes()
/hardware/intel/img/hwcomposer/common/base/
DHwcModule.cpp160 int32_t *values) in hwc_getDisplayAttributes() argument
164 bool ret = hwc->getDisplayAttributes(disp, config, attributes, values); in hwc_getDisplayAttributes()
/hardware/intel/img/hwcomposer/include/
DExternalDevice.h43 int32_t *values);

123