Searched refs:orient (Results 1 - 3 of 3) sorted by relevance

/hardware/ti/omap4xxx/camera/
H A DSensorListener.cpp54 int tilt = 0, orient = 0; local
65 orient = (int) atan2f(-x, y) * RADIANS_2_DEG;
67 if (orient < 0) {
68 orient += 360;
71 if (orient >= DEGREES_270_THRESH) {
72 orient = 270;
73 } else if (orient >= DEGREES_180_THRESH) {
74 orient = 180;
75 } else if (orient >= DEGREES_90_THRESH) {
76 orient
[all...]
/hardware/invensense/mlsdk/mllite/
H A Dml.c110 inv_error_t inv_freescale_sensor_fusion_16bit(unsigned short orient);
111 inv_error_t inv_freescale_sensor_fusion_8bit(unsigned short orient);
803 unsigned short orient; local
810 orient = inv_orientation_matrix_to_scalar(orientation);
811 regs[0] = tmp[orient & 3];
812 regs[1] = tmp[(orient >> 3) & 3];
813 regs[2] = tmp[(orient >> 6) & 3];
831 if (orient & 4)
833 if (orient & 0x20)
835 if (orient
1494 inv_freescale_sensor_fusion_16bit(unsigned short orient) argument
1543 inv_freescale_sensor_fusion_8bit(unsigned short orient) argument
[all...]
H A Dml.h430 void (*orientation_cb_func) (unsigned short orient); // Callback function that will run when a change of orientation is detected.

Completed in 6 milliseconds