Searched refs:values (Results 1 - 19 of 19) sorted by relevance

/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
H A 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_
[all...]
H A Dhal_outputs.c66 * @param[out] values Acceleration in m/s^2 includes gravity. So while not in motion, it
73 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy, argument
82 values[0] = accel[0] * ACCEL_CONVERSION;
83 values[1] = accel[1] * ACCEL_CONVERSION;
84 values[2] = accel[2] * ACCEL_CONVERSION;
93 * @param[out] values Linear Acceleration in body frame, length 3, (m/s^2). May show
100 int inv_get_sensor_type_linear_acceleration(float *values, int8_t *accuracy, argument
110 values[0] = accel[0] * ACCEL_CONVERSION;
111 values[1] = accel[1] * ACCEL_CONVERSION;
112 values[
124 inv_get_sensor_type_gravity(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
154 inv_get_sensor_type_gyroscope(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
180 inv_get_sensor_type_gyroscope_raw(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
221 inv_get_sensor_type_rotation_vector(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
242 inv_get_sensor_type_rotation_vector_6_axis(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
286 inv_get_sensor_type_geomagnetic_rotation_vector(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
318 inv_get_sensor_type_magnetic_field(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
346 inv_get_sensor_type_magnetic_field_raw(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
481 inv_get_sensor_type_orientation(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
492 inv_get_sensor_type_orientation_6_axis(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
506 inv_get_sensor_type_orientation_geomagnetic(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
[all...]
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
H A 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,
H A Dhal_outputs.c50 * @param[out] values Acceleration in m/s^2 includes gravity. So while not in motion, it
57 int inv_get_sensor_type_accelerometer(float *values, int8_t *accuracy, argument
66 values[0] = accel[0] * ACCEL_CONVERSION;
67 values[1] = accel[1] * ACCEL_CONVERSION;
68 values[2] = accel[2] * ACCEL_CONVERSION;
77 * @param[out] values Linear Acceleration in body frame, length 3, (m/s^2). May show
84 int inv_get_sensor_type_linear_acceleration(float *values, int8_t *accuracy, argument
94 values[0] = accel[0] * ACCEL_CONVERSION;
95 values[1] = accel[1] * ACCEL_CONVERSION;
96 values[
108 inv_get_sensor_type_gravity(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
138 inv_get_sensor_type_gyroscope(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
162 inv_get_sensor_type_gyroscope_raw(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
203 inv_get_sensor_type_rotation_vector(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
233 inv_get_sensor_type_magnetic_field(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
308 inv_get_sensor_type_orientation(float *values, int8_t *accuracy, inv_time_t * timestamp) argument
[all...]
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
H A Dmm_jpeg_exif.c79 uint8_t *values = (uint8_t *)malloc(count); local
80 if (values == NULL) {
84 memcpy(values, data, count);
85 p_info_data[numOfEntries].tag_entry.data._bytes = values;
107 uint16_t *values = (uint16_t *)malloc(count * sizeof(uint16_t)); local
108 if (values == NULL) {
112 memcpy(values, data, count * sizeof(uint16_t));
113 p_info_data[numOfEntries].tag_entry.data._shorts = values;
122 uint32_t *values = (uint32_t *)malloc(count * sizeof(uint32_t)); local
123 if (values
137 rat_t *values = (rat_t *)malloc(count * sizeof(rat_t)); local
151 uint8_t *values = (uint8_t *)malloc(count); local
163 int32_t *values = (int32_t *)malloc(count * sizeof(int32_t)); local
178 srat_t *values = (srat_t *)malloc(count * sizeof(srat_t)); local
[all...]
/hardware/qcom/camera/QCamera2/HAL3/
H A DQCamera3PostProc.cpp1340 uint8_t *values = (uint8_t *)malloc(count); local
1341 if (values == NULL) {
1345 memcpy(values, data, count);
1346 m_Entries[m_nNumEntries].tag_entry.data._bytes = values;
1371 uint16_t *values = local
1373 if (values == NULL) {
1377 memcpy(values, data, count * sizeof(uint16_t));
1378 m_Entries[m_nNumEntries].tag_entry.data._shorts =values;
1389 uint32_t *values = local
1391 if (values
1407 rat_t *values = (rat_t *)malloc(count * sizeof(rat_t)); local
1423 uint8_t *values = (uint8_t *)malloc(count); local
1436 int32_t *values = local
1454 srat_t *values = (srat_t *)malloc(count * sizeof(srat_t)); local
[all...]
/hardware/qcom/camera/QCamera2/HAL/
H A DQCameraPostProc.cpp1574 uint8_t *values = (uint8_t *)malloc(count); local
1575 if (values == NULL) {
1579 memcpy(values, data, count);
1580 m_Entries[m_nNumEntries].tag_entry.data._bytes = values;
1604 uint16_t *values = (uint16_t *)malloc(count * sizeof(uint16_t)); local
1605 if (values == NULL) {
1609 memcpy(values, data, count * sizeof(uint16_t));
1610 m_Entries[m_nNumEntries].tag_entry.data._shorts = values;
1620 uint32_t *values = (uint32_t *)malloc(count * sizeof(uint32_t)); local
1621 if (values
1636 rat_t *values = (rat_t *)malloc(count * sizeof(rat_t)); local
1651 uint8_t *values = (uint8_t *)malloc(count); local
1664 int32_t *values = (int32_t *)malloc(count * sizeof(int32_t)); local
1680 srat_t *values = (srat_t *)malloc(count * sizeof(srat_t)); local
[all...]
H A DQCameraParameters.h250 // ISO values
514 String8 createValuesString(const int *values, int len,
518 String8 createHfrValuesString(const cam_hfr_info_t *values, int len,
520 String8 createHfrSizesString(const cam_hfr_info_t *values, int len);
545 // Map from strings to values
H A DQCameraParameters.cpp46 const char QCameraParameters::KEY_QC_SUPPORTED_HFR_SIZES[] = "hfr-size-values";
52 const char QCameraParameters::KEY_QC_SUPPORTED_TOUCH_AF_AEC[] = "touch-af-aec-values";
56 const char QCameraParameters::KEY_QC_SUPPORTED_SCENE_DETECT[] = "scene-detect-values";
58 const char QCameraParameters::KEY_QC_SUPPORTED_ISO_MODES[] = "iso-values";
60 const char QCameraParameters::KEY_QC_SUPPORTED_LENSSHADE_MODES[] = "lensshade-values";
62 const char QCameraParameters::KEY_QC_SUPPORTED_AUTO_EXPOSURE[] = "auto-exposure-values";
64 const char QCameraParameters::KEY_QC_SUPPORTED_DENOISE[] = "denoise-values";
66 const char QCameraParameters::KEY_QC_SUPPORTED_FOCUS_ALGOS[] = "selectable-zone-af-values";
68 const char QCameraParameters::KEY_QC_SUPPORTED_FACE_DETECTION[] = "face-detection-values";
70 const char QCameraParameters::KEY_QC_SUPPORTED_FACE_RECOGNITION[] = "face-recognition-values";
672 createValuesString(const int *values, int len, const QCameraMap* map, int map_len) argument
766 createHfrValuesString( const cam_hfr_info_t *values, int len, const QCameraMap* map, int map_len) argument
802 createHfrSizesString( const cam_hfr_info_t *values, int len) argument
5832 int values[5], index=0; local
[all...]
/hardware/qcom/audio/hal/msm8974/
H A Dplatform.c230 static int set_volume_values(int type, int volume, int* values) argument
232 values[0] = volume;
233 values[1] = ALL_SESSION_VSID;
237 values[2] = DEFAULT_VOLUME_RAMP_DURATION_MS;
240 values[2] = DEFAULT_MUTE_RAMP_DURATION;
451 int values[VOLUME_CTL_PARAM_NUM]; local
456 // But this values don't changed in kernel. So, below change is need.
465 ret = set_volume_values(VOLUME_SET, volume, values);
470 ret = mixer_ctl_set_array(ctl, values, sizeof(values)/sizeo
485 int values[VOLUME_CTL_PARAM_NUM]; local
[all...]
/hardware/invensense/60xx/libsensors/
H A DMPLSensor.cpp72 /* Base values for the sensor list, these need to be in the order defined in MPLSensor.h */
726 void MPLSensor::calcOrientationSensor(float *R, float *values) argument
732 values[0] = (float) atan2f(-R[3], R[0]);
734 values[0] = (float) atan2f(R[1], R[4]);
736 values[0] *= 57.295779513082320876798154814105f;
737 if (values[0] < 0) {
738 values[0] += 360.0f;
746 values[1] = -asinf(tmp) * 57.295779513082320876798154814105f;
748 values[1] = 180.0f - values[
[all...]
/hardware/libhardware/tests/hwc/
H A Dcnativewindow.c381 int32_t values[8]; local
411 if ((r = hwc->getDisplayAttributes(hwc, 0, configs[0], attrs, values))) {
416 win->width = values[0];
417 win->height = values[1];
418 win->xdpi = values[3];
419 win->ydpi = values[4];
/hardware/qcom/display/msm8960/libhwcomposer/
H A Dhwc.cpp518 uint32_t config, const uint32_t* attributes, int32_t* values) {
542 values[i] = ctx->dpyAttr[disp].vsync_period;
545 values[i] = ctx->dpyAttr[disp].xres;
550 values[i] = ctx->dpyAttr[disp].yres;
555 values[i] = (int32_t) (ctx->dpyAttr[disp].xdpi*1000.0);
558 values[i] = (int32_t) (ctx->dpyAttr[disp].ydpi*1000.0);
517 hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, uint32_t config, const uint32_t* attributes, int32_t* values) argument
/hardware/qcom/display/msm8974/libhwcomposer/
H A Dhwc.cpp613 uint32_t config, const uint32_t* attributes, int32_t* values) {
637 values[i] = ctx->dpyAttr[disp].vsync_period;
640 values[i] = ctx->dpyAttr[disp].xres;
645 values[i] = ctx->dpyAttr[disp].yres;
650 values[i] = (int32_t) (ctx->dpyAttr[disp].xdpi*1000.0);
653 values[i] = (int32_t) (ctx->dpyAttr[disp].ydpi*1000.0);
612 hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, uint32_t config, const uint32_t* attributes, int32_t* values) argument
/hardware/qcom/display/msm8x26/libhwcomposer/
H A Dhwc.cpp519 uint32_t config, const uint32_t* attributes, int32_t* values) {
543 values[i] = ctx->dpyAttr[disp].vsync_period;
546 values[i] = ctx->dpyAttr[disp].xres;
551 values[i] = ctx->dpyAttr[disp].yres;
556 values[i] = (int32_t) (ctx->dpyAttr[disp].xdpi*1000.0);
559 values[i] = (int32_t) (ctx->dpyAttr[disp].ydpi*1000.0);
518 hwc_getDisplayAttributes(struct hwc_composer_device_1* dev, int disp, uint32_t config, const uint32_t* attributes, int32_t* values) argument
/hardware/libhardware/include/hardware/
H A Dhwcomposer.h278 * hwc_display_contents_1_t::flags values
610 * requested attribute is written in order to the values array. The
611 * HWC_DISPLAY_NO_ATTRIBUTE attribute does not have a value, so the values
622 uint32_t config, const uint32_t* attributes, int32_t* values);
/hardware/qcom/camera/QCamera2/stack/common/
H A Dcam_types.h591 char values[MAX_EXP_BRACKETING_LENGTH]; /* user defined values */ member in struct:__anon489
1006 * if set to values below 'maximum analog sensitivity'. */
1032 /* Table mapping RGB input values to output values */
1109 * and values between entries should be linearly interpolated.
1154 * Higher values mean sharper (better focused) */
1281 /* Sensor is not Bayer; output has 3 16-bit values for each pixel,
/hardware/qcom/camera/
H A DQCamera_Intf.h790 char values[MAX_EXP_BRACKETING_LENGTH]; /* user defined values */ member in struct:__anon688
1135 * Return values:
1139 * (See jpegerr.h for description of error values.)
/hardware/samsung_slsi/exynos5/libhwc/
H A Dhwc.cpp956 // hwc_rect_t right and bottom values are normally exclusive;
1988 int disp, uint32_t config, const uint32_t *attributes, int32_t *values)
1995 values[i] = exynos5_fimd_attribute(pdev, attributes[i]);
1997 values[i] = exynos5_hdmi_attribute(pdev, attributes[i]);
1987 exynos5_getDisplayAttributes(struct hwc_composer_device_1 *dev, int disp, uint32_t config, const uint32_t *attributes, int32_t *values) argument

Completed in 1547 milliseconds