Home
last modified time | relevance | path

Searched refs:orientation (Results 1 – 25 of 57) sorted by relevance

123

/hardware/invensense/60xx/mlsdk/mllite/
Dmldl_cfg_mpu.c142 accel->orientation[0],accel->orientation[1],accel->orientation[2], in mpu_print_cfg()
143 accel->orientation[3],accel->orientation[4],accel->orientation[5], in mpu_print_cfg()
144 accel->orientation[6],accel->orientation[7],accel->orientation[8]); in mpu_print_cfg()
153 compass->orientation[0],compass->orientation[1],compass->orientation[2], in mpu_print_cfg()
154 compass->orientation[3],compass->orientation[4],compass->orientation[5], in mpu_print_cfg()
155 compass->orientation[6],compass->orientation[7],compass->orientation[8]); in mpu_print_cfg()
164 pressure->orientation[0],pressure->orientation[1],pressure->orientation[2], in mpu_print_cfg()
165 pressure->orientation[3],pressure->orientation[4],pressure->orientation[5], in mpu_print_cfg()
166 pressure->orientation[6],pressure->orientation[7],pressure->orientation[8]); in mpu_print_cfg()
174 pdata->orientation[0],pdata->orientation[1],pdata->orientation[2], in mpu_print_cfg()
[all …]
Dml.c203 gyroCal[ii] = mldl_cfg->pdata->orientation[ii]; in inv_apply_calibration()
205 accelCal[ii] = mldl_cfg->pdata->accel.orientation[ii]; in inv_apply_calibration()
208 magCal[ii] = mldl_cfg->pdata->compass.orientation[ii]; in inv_apply_calibration()
771 inv_error_t inv_set_accel_calibration(float range, signed char *orientation) in inv_set_accel_calibration() argument
817 cal[kk] = scale * orientation[kk]; in inv_set_accel_calibration()
821 orient = inv_orientation_matrix_to_scalar(orientation); in inv_set_accel_calibration()
917 inv_error_t inv_set_gyro_calibration(float range, signed char *orientation) in inv_set_gyro_calibration() argument
946 inv_obj.gyro_cal[kk] = (long)(scale * orientation[kk] * (1L << 30)); in inv_set_gyro_calibration()
947 inv_obj.gyro_orient[kk] = (long)((double)orientation[kk] * (1L << 30)); in inv_set_gyro_calibration()
1065 inv_error_t inv_set_compass_calibration(float range, signed char *orientation) in inv_set_compass_calibration() argument
[all …]
Dml.h549 inv_error_t inv_set_gyro_calibration(float range, signed char *orientation);
551 signed char *orientation);
553 signed char *orientation);
Daccel.c137 signed char *mtx = mldl_cfg->pdata->accel.orientation; in inv_get_accel_data()
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
Dml_math_func.c613 void inv_convert_to_body(unsigned short orientation, const long *input, long *output) in inv_convert_to_body() argument
615 output[0] = input[orientation & 0x03] * SIGNSET(orientation & 0x004); in inv_convert_to_body()
616 output[1] = input[(orientation>>3) & 0x03] * SIGNSET(orientation & 0x020); in inv_convert_to_body()
617 output[2] = input[(orientation>>6) & 0x03] * SIGNSET(orientation & 0x100); in inv_convert_to_body()
625 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output) in inv_convert_to_chip() argument
627 output[orientation & 0x03] = input[0] * SIGNSET(orientation & 0x004); in inv_convert_to_chip()
628 output[(orientation>>3) & 0x03] = input[1] * SIGNSET(orientation & 0x020); in inv_convert_to_chip()
629 output[(orientation>>6) & 0x03] = input[2] * SIGNSET(orientation & 0x100); in inv_convert_to_chip()
640 void inv_convert_to_body_with_scale(unsigned short orientation, long sensitivity, const long *input… in inv_convert_to_body_with_scale() argument
642 output[0] = inv_q30_mult(input[orientation & 0x03] * in inv_convert_to_body_with_scale()
[all …]
Ddata_builder.c175 int orientation, long sensitivity) in set_sensor_orientation_and_scale() argument
178 sensor->orientation = orientation; in set_sensor_orientation_and_scale()
190 void inv_set_gyro_orientation_and_scale(int orientation, long sensitivity) in inv_set_gyro_orientation_and_scale() argument
196 fwrite(&orientation, sizeof(orientation), 1, inv_data_builder.file); in inv_set_gyro_orientation_and_scale()
200 set_sensor_orientation_and_scale(&sensors.gyro, orientation, in inv_set_gyro_orientation_and_scale()
376 void inv_set_accel_orientation_and_scale(int orientation, long sensitivity) in inv_set_accel_orientation_and_scale() argument
382 fwrite(&orientation, sizeof(orientation), 1, inv_data_builder.file); in inv_set_accel_orientation_and_scale()
386 set_sensor_orientation_and_scale(&sensors.accel, orientation, in inv_set_accel_orientation_and_scale()
399 void inv_set_compass_orientation_and_scale(int orientation, long sensitivity) in inv_set_compass_orientation_and_scale() argument
405 fwrite(&orientation, sizeof(orientation), 1, inv_data_builder.file); in inv_set_compass_orientation_and_scale()
[all …]
Ddata_builder.h70 int orientation; member
153 void inv_set_gyro_orientation_and_scale(int orientation, long sensitivity);
154 void inv_set_accel_orientation_and_scale(int orientation,
156 void inv_set_compass_orientation_and_scale(int orientation,
Dml_math_func.h94 void inv_convert_to_body(unsigned short orientation, const long *input, long *output);
95 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output);
96 …void inv_convert_to_body_with_scale(unsigned short orientation, long sensitivity, const long *inpu…
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dml_math_func.c613 void inv_convert_to_body(unsigned short orientation, const long *input, long *output) in inv_convert_to_body() argument
615 output[0] = input[orientation & 0x03] * SIGNSET(orientation & 0x004); in inv_convert_to_body()
616 output[1] = input[(orientation>>3) & 0x03] * SIGNSET(orientation & 0x020); in inv_convert_to_body()
617 output[2] = input[(orientation>>6) & 0x03] * SIGNSET(orientation & 0x100); in inv_convert_to_body()
625 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output) in inv_convert_to_chip() argument
627 output[orientation & 0x03] = input[0] * SIGNSET(orientation & 0x004); in inv_convert_to_chip()
628 output[(orientation>>3) & 0x03] = input[1] * SIGNSET(orientation & 0x020); in inv_convert_to_chip()
629 output[(orientation>>6) & 0x03] = input[2] * SIGNSET(orientation & 0x100); in inv_convert_to_chip()
640 void inv_convert_to_body_with_scale(unsigned short orientation, long sensitivity, const long *input… in inv_convert_to_body_with_scale() argument
642 output[0] = inv_q30_mult(input[orientation & 0x03] * in inv_convert_to_body_with_scale()
[all …]
Ddata_builder.c185 int orientation, long sensitivity) in set_sensor_orientation_and_scale() argument
197 if ((orientation & 3) == 3) { in set_sensor_orientation_and_scale()
200 if ((orientation & 0x18) == 0x18) { in set_sensor_orientation_and_scale()
203 if ((orientation & 0xc0) == 0xc0) { in set_sensor_orientation_and_scale()
207 orientation = 0x88; // Identity in set_sensor_orientation_and_scale()
210 sensor->orientation = orientation; in set_sensor_orientation_and_scale()
222 void inv_set_gyro_orientation_and_scale(int orientation, long sensitivity) in inv_set_gyro_orientation_and_scale() argument
228 fwrite(&orientation, sizeof(orientation), 1, inv_data_builder.file); in inv_set_gyro_orientation_and_scale()
232 set_sensor_orientation_and_scale(&sensors.gyro, orientation, in inv_set_gyro_orientation_and_scale()
413 void inv_set_accel_orientation_and_scale(int orientation, long sensitivity) in inv_set_accel_orientation_and_scale() argument
[all …]
Ddata_builder.h80 int orientation; member
207 void inv_set_gyro_orientation_and_scale(int orientation, long sensitivity);
208 void inv_set_accel_orientation_and_scale(int orientation,
210 void inv_set_compass_orientation_and_scale(int orientation,
Dml_math_func.h94 void inv_convert_to_body(unsigned short orientation, const long *input, long *output);
95 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output);
96 …void inv_convert_to_body_with_scale(unsigned short orientation, long sensitivity, const long *inpu…
/hardware/akm/AK8975_FS/libsensors/
DAkmSensor.cpp58 mPendingEvents[Orientation ].orientation.status = SENSOR_STATUS_ACCURACY_HIGH; in AkmSensor()
308 mPendingEvents[Orientation].orientation.azimuth = value * CONVERT_O; in processEvent()
312 mPendingEvents[Orientation].orientation.pitch = value * CONVERT_O; in processEvent()
316 mPendingEvents[Orientation].orientation.roll = value * CONVERT_O; in processEvent()
320 mPendingEvents[Orientation].orientation.status = value; in processEvent()
/hardware/ti/omap4xxx/camera/inc/
DSensorListener.h39 typedef void (*orientation_callback_t) (uint32_t orientation, uint32_t tilt, void* cookie);
85 void handleOrientation(uint32_t orientation, uint32_t tilt);
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
DOMXFD.cpp117 status_t OMXCameraAdapter::setFaceDetection(bool enable, OMX_U32 orientation) in setFaceDetection() argument
133 if ( orientation > 270 ) { in setFaceDetection()
134 orientation = 0; in setFaceDetection()
139 objDetection.nDeviceOrientation = orientation; in setFaceDetection()
/hardware/invensense/60xx/mlsdk/platform/include/linux/
Dmpu.h197 signed char orientation[9]; member
294 signed char orientation[GYRO_NUM_AXES * GYRO_NUM_AXES]; member
/hardware/ti/omap4xxx/camera/
DSensorListener.cpp184 void SensorListener::handleOrientation(uint32_t orientation, uint32_t tilt) { in handleOrientation() argument
190 mOrientationCb(orientation, tilt, mCbCookie); in handleOrientation()
DCameraHal_Module.cpp644 int orientation = 0; in camera_get_camera_info() local
682 orientation = atoi(valstr); in camera_get_camera_info()
691 info->orientation = orientation; in camera_get_camera_info()
/hardware/libhardware/include/hardware/
Dcamera_common.h137 int orientation; member
/hardware/samsung_slsi/exynos5/libcamera2/
Dfimc-is-metadata.h170 uint32_t orientation; member
361 uint32_t orientation; member
372 uint32_t orientation; member
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/
Dfimc-is-metadata.h178 uint32_t orientation; member
409 uint32_t orientation; member
419 uint32_t orientation; member
/hardware/ti/omap4xxx/camera/inc/V4LCameraAdapter/
DV4LCameraAdapter.h94 virtual void onOrientationEvent(uint32_t orientation, uint32_t tilt);
/hardware/qcom/camera/
DQCameraParameters.h242 void setOrientation(int orientation);
/hardware/qcom/display/msm8960/liboverlay/
DoverlayUtils.cpp290 bool enableBarrier (uint32_t orientation) { in enableBarrier() argument
292 (void)fp.write("%d", orientation); in enableBarrier()
/hardware/qcom/display/msm8x26/liboverlay/
DoverlayUtils.cpp290 bool enableBarrier (uint32_t orientation) { in enableBarrier() argument
292 (void)fp.write("%d", orientation); in enableBarrier()

123