Home
last modified time | relevance | path

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

123

/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Dand_constructor.c116 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/6515/libsensors_iio/software/core/mllite/
Dml_math_func.c612 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 …]
Ddata_builder.c208 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 …]
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…
Ddata_builder.h84 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/invensense/65xx/libsensors_iio/software/core/mllite/
Dml_math_func.c612 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 …]
Ddata_builder.c207 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 …]
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…
Ddata_builder.h82 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/bsp/intel/peripheral/sensors/mraa/sensors/
DLSM303dOrientation.cpp61 data->orientation.x = (double)rawdatap[0]; in pollEvents()
62 data->orientation.y = (double)rawdatap[1]; in pollEvents()
63 data->orientation.z = (double)rawdatap[2]; in pollEvents()
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
DOMXFD.cpp111 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/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/akm/AK8975_FS/libsensors/
DAkmSensor.cpp59 mPendingEvents[Orientation ].orientation.status = SENSOR_STATUS_ACCURACY_HIGH; in AkmSensor()
309 mPendingEvents[Orientation].orientation.azimuth = value * CONVERT_O; in processEvent()
313 mPendingEvents[Orientation].orientation.pitch = value * CONVERT_O; in processEvent()
317 mPendingEvents[Orientation].orientation.roll = value * CONVERT_O; in processEvent()
321 mPendingEvents[Orientation].orientation.status = value; in processEvent()
/hardware/ti/omap4-aah/camera/inc/
DSensorListener.h42 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/
DQServiceUtils.h77 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument
79 orientation); in setExtOrientation()
/hardware/qcom/display/msm8909/libqservice/
DQServiceUtils.h85 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument
87 orientation); in setExtOrientation()
/hardware/qcom/display/msm8994/libqservice/
DQServiceUtils.h85 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument
87 orientation); in setExtOrientation()
/hardware/qcom/display/msm8226/libqservice/
DQServiceUtils.h77 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument
79 orientation); in setExtOrientation()
/hardware/qcom/display/msm8996/libqservice/
DQServiceUtils.h73 inline android::status_t setExtOrientation(uint32_t orientation) { in setExtOrientation() argument
75 orientation); in setExtOrientation()
/hardware/ti/omap4-aah/kernel-headers-ti/linux/
Dbvsurfgeom.h27 int orientation; member
/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/ti/omap4-aah/test/CameraHal/
Dcamera_test_menu.cpp1082 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/ti/omap4xxx/camera/
DSensorListener.cpp184 void SensorListener::handleOrientation(uint32_t orientation, uint32_t tilt) { in handleOrientation() argument
190 mOrientationCb(orientation, tilt, mCbCookie); in handleOrientation()
/hardware/ti/omap4-aah/camera/
DSensorListener.cpp182 void SensorListener::handleOrientation(uint32_t orientation, uint32_t tilt) { in handleOrientation() argument
188 mOrientationCb(orientation, tilt, mCbCookie); in handleOrientation()
/hardware/libhardware/include/hardware/
Dcamera_common.h202 int orientation; member

123