Home
last modified time | relevance | path

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

12345

/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/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_exif.c83 uint8_t *values = (uint8_t *)malloc(count); in addExifEntry() local
84 if (values == NULL) { in addExifEntry()
88 memcpy(values, data, count); in addExifEntry()
89 p_info_data[numOfEntries].tag_entry.data._bytes = values; in addExifEntry()
111 uint16_t *values = (uint16_t *)malloc(count * sizeof(uint16_t)); in addExifEntry() local
112 if (values == NULL) { in addExifEntry()
116 memcpy(values, data, count * sizeof(uint16_t)); in addExifEntry()
117 p_info_data[numOfEntries].tag_entry.data._shorts = values; in addExifEntry()
126 uint32_t *values = (uint32_t *)malloc(count * sizeof(uint32_t)); in addExifEntry() local
127 if (values == NULL) { in addExifEntry()
[all …]
/hardware/bsp/intel/peripheral/libupm/src/mma7660/
Dmma7660.cxx94 int *values = new int[3]; in getRawValues() local
95 getRawValues(&values[0], &values[1], &values[2]); in getRawValues()
96 return values; in getRawValues()
270 float *values = new float[3]; in getAcceleration() local
271 getAcceleration(&values[0], &values[1], &values[2]); in getAcceleration()
272 return values; in getAcceleration()
/hardware/intel/img/hwcomposer/moorefield_hdmi/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.cpp327 int32_t *values) in getDisplayAttributes() argument
330 return PhysicalDevice::getDisplayAttributes(config, attributes, values); in getDisplayAttributes()
333 return PhysicalDevice::getDisplayAttributes(config, attributes, values); in getDisplayAttributes()
334 if (!attributes || !values) in getDisplayAttributes()
340 values[i] = 1e9 / 60; in getDisplayAttributes()
343 values[i] = 1920; in getDisplayAttributes()
346 values[i] = 1080; in getDisplayAttributes()
349 values[i] = 1; in getDisplayAttributes()
352 values[i] = 1; in getDisplayAttributes()
DPhysicalDevice.cpp209 int32_t *values) in getDisplayAttributes() argument
220 if (!attributes || !values) { in getDisplayAttributes()
236 values[i] = 1e9 / configChosen->getRefreshRate(); in getDisplayAttributes()
239 values[i] = 0; in getDisplayAttributes()
243 values[i] = configChosen->getWidth(); in getDisplayAttributes()
246 values[i] = configChosen->getHeight(); in getDisplayAttributes()
249 values[i] = configChosen->getDpiX() * 1000.0f; in getDisplayAttributes()
252 values[i] = configChosen->getDpiY() * 1000.0f; in getDisplayAttributes()
/hardware/bsp/intel/peripheral/libupm/src/adxl335/
Dadxl335.cxx73 void ADXL335::values(int *xVal, int *yVal, int *zVal) in values() function in ADXL335
81 int *ADXL335::values() in values() function in ADXL335
84 values(&v[0], &v[1], &v[2]); in values()
94 values(&x, &y, &z); in acceleration()
120 values(&x, &y, &z); in calibrate()
Dadxl335.h106 void values(int *xVal, int *yVal, int *zVal);
114 int *values();
Djavaupm_adxl335.i34 %typemap(out) int *values {
40 %ignore values(int *, int *, int *);
/hardware/intel/img/hwcomposer/merrifield/common/devices/
DPhysicalDevice.cpp212 int32_t *values) in getDisplayAttributes() argument
223 if (!attributes || !values) { in getDisplayAttributes()
239 values[i] = 1e9 / configChosen->getRefreshRate(); in getDisplayAttributes()
242 values[i] = 0; in getDisplayAttributes()
246 values[i] = configChosen->getWidth(); in getDisplayAttributes()
249 values[i] = configChosen->getHeight(); in getDisplayAttributes()
252 values[i] = configChosen->getDpiX() * 1000.0f; in getDisplayAttributes()
255 values[i] = configChosen->getDpiY() * 1000.0f; in getDisplayAttributes()
/hardware/qcom/camera/QCamera2/HAL3/
DQCamera3PostProc.cpp2728 uint8_t *values = (uint8_t *)malloc(count); in addEntry() local
2729 if (values == NULL) { in addEntry()
2733 memcpy(values, data, count); in addEntry()
2734 m_Entries[m_nNumEntries].tag_entry.data._bytes = values; in addEntry()
2760 uint16_t *values = in addEntry() local
2762 if (values == NULL) { in addEntry()
2766 memcpy(values, exif_data, count * sizeof(uint16_t)); in addEntry()
2767 m_Entries[m_nNumEntries].tag_entry.data._shorts = values; in addEntry()
2779 uint32_t *values = in addEntry() local
2781 if (values == NULL) { in addEntry()
[all …]
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc.cpp806 uint32_t /*config*/, const uint32_t* attributes, int32_t* values) { in hwc_getDisplayAttributes() argument
839 values[i] = ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes()
843 values[i] = ctx->dpyAttr[disp].xres_new; in hwc_getDisplayAttributes()
845 values[i] = ctx->dpyAttr[disp].xres; in hwc_getDisplayAttributes()
848 values[i]); in hwc_getDisplayAttributes()
852 values[i] = ctx->dpyAttr[disp].yres_new; in hwc_getDisplayAttributes()
854 values[i] = ctx->dpyAttr[disp].yres; in hwc_getDisplayAttributes()
856 values[i]); in hwc_getDisplayAttributes()
859 values[i] = (int32_t) (ctx->dpyAttr[disp].xdpi*1000.0); in hwc_getDisplayAttributes()
862 values[i] = (int32_t) (ctx->dpyAttr[disp].ydpi*1000.0); in hwc_getDisplayAttributes()
[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);
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc.cpp829 uint32_t config, const uint32_t* attributes, int32_t* values) { in hwc_getDisplayAttributes() argument
856 values[i] = in hwc_getDisplayAttributes()
861 values[i] = ctx->dpyAttr[disp].xres_new; in hwc_getDisplayAttributes()
863 values[i] = hotPluggable ? xres : ctx->dpyAttr[disp].xres; in hwc_getDisplayAttributes()
866 values[i]); in hwc_getDisplayAttributes()
870 values[i] = ctx->dpyAttr[disp].yres_new; in hwc_getDisplayAttributes()
872 values[i] = hotPluggable ? yres : ctx->dpyAttr[disp].yres; in hwc_getDisplayAttributes()
874 values[i]); in hwc_getDisplayAttributes()
877 values[i] = (int32_t) (ctx->dpyAttr[disp].xdpi*1000.0); in hwc_getDisplayAttributes()
880 values[i] = (int32_t) (ctx->dpyAttr[disp].ydpi*1000.0); in hwc_getDisplayAttributes()
[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/qcom/display/msm8226/libhwcomposer/
Dhwc.cpp794 uint32_t /*config*/, const uint32_t* attributes, int32_t* values) { in hwc_getDisplayAttributes() argument
819 values[i] = ctx->dpyAttr[disp].vsync_period; in hwc_getDisplayAttributes()
823 values[i] = ctx->dpyAttr[disp].xres_new; in hwc_getDisplayAttributes()
825 values[i] = ctx->dpyAttr[disp].xres; in hwc_getDisplayAttributes()
828 values[i]); in hwc_getDisplayAttributes()
832 values[i] = ctx->dpyAttr[disp].yres_new; in hwc_getDisplayAttributes()
834 values[i] = ctx->dpyAttr[disp].yres; in hwc_getDisplayAttributes()
836 values[i]); in hwc_getDisplayAttributes()
839 values[i] = (int32_t) (ctx->dpyAttr[disp].xdpi*1000.0); in hwc_getDisplayAttributes()
842 values[i] = (int32_t) (ctx->dpyAttr[disp].ydpi*1000.0); in hwc_getDisplayAttributes()
/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/qcom/camera/QCamera2/HAL/
DQCameraPostProc.cpp3506 uint8_t *values = (uint8_t *)malloc(count); in addEntry() local
3507 if (values == NULL) { in addEntry()
3511 memcpy(values, data, count); in addEntry()
3512 m_Entries[m_nNumEntries].tag_entry.data._bytes = values; in addEntry()
3537 uint16_t *values = (uint16_t *)malloc(count * sizeof(uint16_t)); in addEntry() local
3538 if (values == NULL) { in addEntry()
3542 memcpy(values, exif_data, count * sizeof(uint16_t)); in addEntry()
3543 m_Entries[m_nNumEntries].tag_entry.data._shorts = values; in addEntry()
3554 uint32_t *values = (uint32_t *)malloc(count * sizeof(uint32_t)); in addEntry() local
3555 if (values == NULL) { in addEntry()
[all …]
/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

12345