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

123

/hardware/ti/omap4-aah/kernel-headers-ti/linux/
H A Dbvsurfgeom.h27 int orientation; member in struct:bvsurfgeom
/hardware/bsp/intel/peripheral/sensors/mraa/sensors/
H A DLSM303dOrientation.cpp61 data->orientation.x = (double)rawdatap[0];
62 data->orientation.y = (double)rawdatap[1];
63 data->orientation.z = (double)rawdatap[2];
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
H A Dand_constructor.c116 int32_t orientation; local
202 r = fread(&orientation, sizeof(orientation), 1, inv_construct.file);
204 inv_set_gyro_orientation_and_scale(orientation, sensitivity);
208 r = fread(&orientation, sizeof(orientation), 1, inv_construct.file);
210 inv_set_accel_orientation_and_scale(orientation, sensitivity);
214 r = fread(&orientation, sizeof(orientation), 1, inv_construct.file);
216 inv_set_compass_orientation_and_scale(orientation, sensitivit
[all...]
/hardware/ti/omap4-aah/camera/inc/
H A 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/ti/omap4xxx/camera/inc/
H A 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/invensense/6515/libsensors_iio/software/core/mllite/
H A 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 *input, long *output);
H A Dml_math_func.c577 /** Converts an orientation matrix made up of 0,+1,and -1 to a scalar representation.
579 * @return Description of orientation matrix. The lowest 2 bits (0 and 1) represent the column the one is on for the
607 /** Uses the scalar orientation value to convert from chip frame to body frame
608 * @param[in] orientation A scalar that represent how to go from chip to body frame
612 void inv_convert_to_body(unsigned short orientation, const long *input, long *output) argument
614 output[0] = input[orientation & 0x03] * SIGNSET(orientation & 0x004);
615 output[1] = input[(orientation>>3) & 0x03] * SIGNSET(orientation & 0x020);
616 output[2] = input[(orientation>>
624 inv_convert_to_chip(unsigned short orientation, const long *input, long *output) argument
639 inv_convert_to_body_with_scale(unsigned short orientation, long sensitivity, const long *input, long *output) argument
[all...]
H A Ddata_builder.c201 /** Sets orientation and sensitivity field for a sensor.
203 * @param[in] orientation Orientation description of how part is mounted.
208 int orientation, long sensitivity)
219 // Make sure we don't describe some impossible orientation
220 if ((orientation & 3) == 3) {
223 if ((orientation & 0x18) == 0x18) {
226 if ((orientation & 0xc0) == 0xc0) {
230 orientation = 0x88; // Identity
231 MPL_LOGE("\n\nCritical error! Impossible mounting orientation given. Using Identity instead\n\n");
233 sensor->orientation
207 set_sensor_orientation_and_scale(struct inv_single_sensor_t *sensor, int orientation, long sensitivity) argument
245 inv_set_gyro_orientation_and_scale(int orientation, long sensitivity) argument
642 inv_set_accel_orientation_and_scale(int orientation, long sensitivity) argument
665 inv_set_compass_orientation_and_scale(int orientation, long sensitivity) argument
[all...]
H A Ddata_builder.h84 int orientation; member in struct:inv_single_sensor_t
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/
H A 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 *input, long *output);
H A Ddata_builder.h82 int orientation; member in struct:inv_single_sensor_t
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,
H A Dml_math_func.c577 /** Converts an orientation matrix made up of 0,+1,and -1 to a scalar representation.
579 * @return Description of orientation matrix. The lowest 2 bits (0 and 1) represent the column the one is on for the
607 /** Uses the scalar orientation value to convert from chip frame to body frame
608 * @param[in] orientation A scalar that represent how to go from chip to body frame
612 void inv_convert_to_body(unsigned short orientation, const long *input, long *output) argument
614 output[0] = input[orientation & 0x03] * SIGNSET(orientation & 0x004);
615 output[1] = input[(orientation>>3) & 0x03] * SIGNSET(orientation & 0x020);
616 output[2] = input[(orientation>>
624 inv_convert_to_chip(unsigned short orientation, const long *input, long *output) argument
639 inv_convert_to_body_with_scale(unsigned short orientation, long sensitivity, const long *input, long *output) argument
[all...]
H A Ddata_builder.c200 /** Sets orientation and sensitivity field for a sensor.
202 * @param[in] orientation Orientation description of how part is mounted.
207 int orientation, long sensitivity)
218 // Make sure we don't describe some impossible orientation
219 if ((orientation & 3) == 3) {
222 if ((orientation & 0x18) == 0x18) {
225 if ((orientation & 0xc0) == 0xc0) {
229 orientation = 0x88; // Identity
230 MPL_LOGE("\n\nCritical error! Impossible mounting orientation given. Using Identity instead\n\n");
232 sensor->orientation
206 set_sensor_orientation_and_scale(struct inv_single_sensor_t *sensor, int orientation, long sensitivity) argument
244 inv_set_gyro_orientation_and_scale(int orientation, long sensitivity) argument
437 inv_set_accel_orientation_and_scale(int orientation, long sensitivity) argument
460 inv_set_compass_orientation_and_scale(int orientation, long sensitivity) argument
[all...]
/hardware/qcom/display/msm8084/libqservice/
H A DQServiceUtils.h77 inline android::status_t setExtOrientation(uint32_t orientation) { argument
79 orientation);
/hardware/qcom/display/msm8226/libqservice/
H A DQServiceUtils.h77 inline android::status_t setExtOrientation(uint32_t orientation) { argument
79 orientation);
/hardware/qcom/display/msm8909/libqservice/
H A DQServiceUtils.h85 inline android::status_t setExtOrientation(uint32_t orientation) { argument
87 orientation);
/hardware/qcom/display/msm8994/libqservice/
H A DQServiceUtils.h85 inline android::status_t setExtOrientation(uint32_t orientation) { argument
87 orientation);
/hardware/qcom/display/msm8996/libqservice/
H A DQServiceUtils.h73 inline android::status_t setExtOrientation(uint32_t orientation) { argument
75 orientation);
/hardware/akm/AK8975_FS/libsensors/
H A DAkmSensor.cpp59 mPendingEvents[Orientation ].orientation.status = SENSOR_STATUS_ACCURACY_HIGH;
309 mPendingEvents[Orientation].orientation.azimuth = value * CONVERT_O;
313 mPendingEvents[Orientation].orientation.pitch = value * CONVERT_O;
317 mPendingEvents[Orientation].orientation.roll = value * CONVERT_O;
321 mPendingEvents[Orientation].orientation.status = value;
/hardware/libhardware/include/hardware/
H A Dcamera_common.h180 * The orientation of the camera image. The value is the angle that the
182 * display in its natural orientation. It should be 0, 90, 180, or 270.
187 * edge of the screen in natural orientation, the value should be 90. If the
202 int orientation; member in struct:camera_info
/hardware/ti/omap4-aah/camera/OMXCameraAdapter/
H A DOMXFD.cpp111 status_t OMXCameraAdapter::setFaceDetectionOrientation(OMX_U32 orientation) argument
117 mFaceOrientation = orientation;
121 setFaceDetection(true, orientation);
127 status_t OMXCameraAdapter::setFaceDetection(bool enable, OMX_U32 orientation) argument
143 if ( orientation > 270 ) {
144 orientation = 0;
149 objDetection.nDeviceOrientation = orientation;
/hardware/ti/omap4xxx/camera/
H A DSensorListener.cpp62 // about conversion from cartesian to spherical for orientation calculations
81 CAMHAL_LOGVB(" tilt = %d orientation = %d", tilt, orient);
184 void SensorListener::handleOrientation(uint32_t orientation, uint32_t tilt) { argument
190 mOrientationCb(orientation, tilt, mCbCookie);
206 CAMHAL_LOGDB("orientation = %p (%s)", sensor, sensor->getName().string());
225 CAMHAL_LOGDB("orientation = %p (%s)", sensor, sensor->getName().string());
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/
H A DOMXFD.cpp117 status_t OMXCameraAdapter::setFaceDetection(bool enable, OMX_U32 orientation) argument
133 if ( orientation > 270 ) {
134 orientation = 0;
139 objDetection.nDeviceOrientation = orientation;
/hardware/ti/omap4xxx/camera/inc/V4LCameraAdapter/
H A DV4LCameraAdapter.h94 virtual void onOrientationEvent(uint32_t orientation, uint32_t tilt);
/hardware/ti/omap4-aah/test/CameraHal/
H A Dcamera_test_menu.cpp1082 if (cameraInfo.orientation == 90 || cameraInfo.orientation == 270 ) {
1279 int orientation; local
1284 printf ("dinfo.orientation = %d\n", dinfo.orientation);
1288 // calculate display orientation from sensor orientation
1291 orientation = (cameraInfo.orientation + dinfo.orientation)
[all...]

Completed in 807 milliseconds

123