/hardware/invensense/60xx/mlsdk/mllite/ |
D | mldl_cfg_mpu.c | 142 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 …]
|
D | ml.c | 203 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 …]
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 613 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 …]
|
D | data_builder.c | 175 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 …]
|
D | data_builder.h | 70 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,
|
D | ml_math_func.h | 94 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/6515/libsensors_iio/software/simple_apps/playback/linux/ |
D | and_constructor.c | 116 int32_t orientation; in inv_playback() local 202 r = fread(&orientation, sizeof(orientation), 1, inv_construct.file); in inv_playback() 204 inv_set_gyro_orientation_and_scale(orientation, sensitivity); in inv_playback() 208 r = fread(&orientation, sizeof(orientation), 1, inv_construct.file); in inv_playback() 210 inv_set_accel_orientation_and_scale(orientation, sensitivity); in inv_playback() 214 r = fread(&orientation, sizeof(orientation), 1, inv_construct.file); in inv_playback() 216 inv_set_compass_orientation_and_scale(orientation, sensitivity); in inv_playback()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 612 void inv_convert_to_body(unsigned short orientation, const long *input, long *output) in inv_convert_to_body() argument 614 output[0] = input[orientation & 0x03] * SIGNSET(orientation & 0x004); in inv_convert_to_body() 615 output[1] = input[(orientation>>3) & 0x03] * SIGNSET(orientation & 0x020); in inv_convert_to_body() 616 output[2] = input[(orientation>>6) & 0x03] * SIGNSET(orientation & 0x100); in inv_convert_to_body() 624 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output) in inv_convert_to_chip() argument 626 output[orientation & 0x03] = input[0] * SIGNSET(orientation & 0x004); in inv_convert_to_chip() 627 output[(orientation>>3) & 0x03] = input[1] * SIGNSET(orientation & 0x020); in inv_convert_to_chip() 628 output[(orientation>>6) & 0x03] = input[2] * SIGNSET(orientation & 0x100); in inv_convert_to_chip() 639 void inv_convert_to_body_with_scale(unsigned short orientation, in inv_convert_to_body_with_scale() argument 643 output[0] = inv_q30_mult(input[orientation & 0x03] * in inv_convert_to_body_with_scale() [all …]
|
D | data_builder.c | 207 int orientation, long sensitivity) in set_sensor_orientation_and_scale() argument 219 if ((orientation & 3) == 3) { in set_sensor_orientation_and_scale() 222 if ((orientation & 0x18) == 0x18) { in set_sensor_orientation_and_scale() 225 if ((orientation & 0xc0) == 0xc0) { in set_sensor_orientation_and_scale() 229 orientation = 0x88; // Identity in set_sensor_orientation_and_scale() 232 sensor->orientation = orientation; in set_sensor_orientation_and_scale() 244 void inv_set_gyro_orientation_and_scale(int orientation, long sensitivity) in inv_set_gyro_orientation_and_scale() argument 250 fwrite(&orientation, sizeof(orientation), 1, inv_data_builder.file); in inv_set_gyro_orientation_and_scale() 254 set_sensor_orientation_and_scale(&sensors.gyro, orientation, in inv_set_gyro_orientation_and_scale() 437 void inv_set_accel_orientation_and_scale(int orientation, long sensitivity) in inv_set_accel_orientation_and_scale() argument [all …]
|
D | ml_math_func.h | 94 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…
|
D | data_builder.h | 82 int orientation; member 217 void inv_set_gyro_orientation_and_scale(int orientation, long sensitivity); 218 void inv_set_accel_orientation_and_scale(int orientation, 220 void inv_set_compass_orientation_and_scale(int orientation,
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | ml_math_func.c | 612 void inv_convert_to_body(unsigned short orientation, const long *input, long *output) in inv_convert_to_body() argument 614 output[0] = input[orientation & 0x03] * SIGNSET(orientation & 0x004); in inv_convert_to_body() 615 output[1] = input[(orientation>>3) & 0x03] * SIGNSET(orientation & 0x020); in inv_convert_to_body() 616 output[2] = input[(orientation>>6) & 0x03] * SIGNSET(orientation & 0x100); in inv_convert_to_body() 624 void inv_convert_to_chip(unsigned short orientation, const long *input, long *output) in inv_convert_to_chip() argument 626 output[orientation & 0x03] = input[0] * SIGNSET(orientation & 0x004); in inv_convert_to_chip() 627 output[(orientation>>3) & 0x03] = input[1] * SIGNSET(orientation & 0x020); in inv_convert_to_chip() 628 output[(orientation>>6) & 0x03] = input[2] * SIGNSET(orientation & 0x100); in inv_convert_to_chip() 639 void inv_convert_to_body_with_scale(unsigned short orientation, in inv_convert_to_body_with_scale() argument 643 output[0] = inv_q30_mult(input[orientation & 0x03] * in inv_convert_to_body_with_scale() [all …]
|
D | data_builder.c | 208 int orientation, long sensitivity) in set_sensor_orientation_and_scale() argument 220 if ((orientation & 3) == 3) { in set_sensor_orientation_and_scale() 223 if ((orientation & 0x18) == 0x18) { in set_sensor_orientation_and_scale() 226 if ((orientation & 0xc0) == 0xc0) { in set_sensor_orientation_and_scale() 230 orientation = 0x88; // Identity in set_sensor_orientation_and_scale() 233 sensor->orientation = orientation; in set_sensor_orientation_and_scale() 245 void inv_set_gyro_orientation_and_scale(int orientation, long sensitivity) in inv_set_gyro_orientation_and_scale() argument 251 fwrite(&orientation, sizeof(orientation), 1, inv_data_builder.file); in inv_set_gyro_orientation_and_scale() 255 set_sensor_orientation_and_scale(&sensors.gyro, orientation, in inv_set_gyro_orientation_and_scale() 642 void inv_set_accel_orientation_and_scale(int orientation, long sensitivity) in inv_set_accel_orientation_and_scale() argument [all …]
|
D | ml_math_func.h | 94 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…
|
D | data_builder.h | 84 int orientation; member 220 void inv_set_gyro_orientation_and_scale(int orientation, long sensitivity); 221 void inv_set_accel_orientation_and_scale(int orientation, 223 void inv_set_compass_orientation_and_scale(int orientation,
|
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/ |
D | OMXFD.cpp | 111 status_t OMXCameraAdapter::setFaceDetectionOrientation(OMX_U32 orientation) in setFaceDetectionOrientation() argument 117 mFaceOrientation = orientation; in setFaceDetectionOrientation() 121 setFaceDetection(true, orientation); in setFaceDetectionOrientation() 127 status_t OMXCameraAdapter::setFaceDetection(bool enable, OMX_U32 orientation) in setFaceDetection() argument 143 if ( orientation > 270 ) { in setFaceDetection() 144 orientation = 0; in setFaceDetection() 149 objDetection.nDeviceOrientation = orientation; in setFaceDetection()
|
/hardware/akm/AK8975_FS/libsensors/ |
D | AkmSensor.cpp | 58 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/ |
D | SensorListener.h | 39 typedef void (*orientation_callback_t) (uint32_t orientation, uint32_t tilt, void* cookie); 85 void handleOrientation(uint32_t orientation, uint32_t tilt);
|
/hardware/ti/omap4-aah/camera/inc/ |
D | SensorListener.h | 42 typedef void (*orientation_callback_t) (uint32_t orientation, uint32_t tilt, void* cookie); 88 void handleOrientation(uint32_t orientation, uint32_t tilt);
|
/hardware/qcom/display/msm8084/libqservice/ |
D | QServiceUtils.h | 77 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument 79 orientation); in setExtOrientation()
|
/hardware/qcom/display/msm8226/libqservice/ |
D | QServiceUtils.h | 77 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument 79 orientation); in setExtOrientation()
|
/hardware/ti/omap4-aah/kernel-headers-ti/linux/ |
D | bvsurfgeom.h | 27 int orientation; member
|
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
D | OMXFD.cpp | 117 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/ti/omap4-aah/test/CameraHal/ |
D | camera_test_menu.cpp | 1082 if (cameraInfo.orientation == 90 || cameraInfo.orientation == 270 ) { in configureRecorder() 1279 int orientation; in startPreview() local 1284 printf ("dinfo.orientation = %d\n", dinfo.orientation); in startPreview() 1291 orientation = (cameraInfo.orientation + dinfo.orientation) % 360; in startPreview() 1292 orientation = (360 - orientation) % 360; // compensate the mirror in startPreview() 1294 orientation = (cameraInfo.orientation - dinfo.orientation + 360) % 360; in startPreview() 1312 if ((orientation == 90) || (orientation == 270)) { in startPreview() 1337 if ((cameraInfo.orientation == 90 || cameraInfo.orientation == 270) && recordingMode) { in startPreview() 1347 orientation = (cameraInfo.orientation + dinfo.orientation) % 360; in startPreview() 1348 orientation= (360 - orientation) % 360; // compensate the mirror in startPreview() [all …]
|
/hardware/invensense/60xx/mlsdk/platform/include/linux/ |
D | mpu.h | 197 signed char orientation[9]; member 294 signed char orientation[GYRO_NUM_AXES * GYRO_NUM_AXES]; member
|