/hardware/ti/omap4xxx/camera/ |
H A D | SensorListener.cpp | 62 // 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());
|
H A D | CameraHal_Module.cpp | 644 int orientation = 0; local 682 orientation = atoi(valstr); 691 info->orientation = orientation;
|
H A D | BaseCameraAdapter.cpp | 2317 void BaseCameraAdapter::onOrientationEvent(uint32_t orientation, uint32_t tilt) argument
|
H A D | CameraHal.cpp | 61 static void orientation_cb(uint32_t orientation, uint32_t tilt, void* cookie) { argument 66 camera->onOrientationEvent(orientation, tilt); 73 Callback function to receive orientation events from SensorListener 75 void CameraHal::onOrientationEvent(uint32_t orientation, uint32_t tilt) { argument 79 mCameraAdapter->onOrientationEvent(orientation, tilt); 351 int orientation =0; local 356 orientation = params.getInt(TICameraParameters::KEY_SENSOR_ORIENTATION); 359 if(orientation ==90 || orientation ==270)
|
/hardware/libhardware/include/hardware/ |
H A D | camera_common.h | 123 * The orientation of the camera image. The value is the angle that the 125 * display in its natural orientation. It should be 0, 90, 180, or 270. 130 * edge of the screen in natural orientation, the value should be 90. If the 137 int orientation; member in struct:camera_info
|
H A D | sensors.h | 80 * This API is relative to the screen of the device in its default orientation, 82 * is only relative to the NATURAL orientation of the screen. In other words, 83 * the axis are not swapped when the device's screen orientation changes. 163 * orientation sensor, step-detector, step-counter, etc... 414 * The rotation vector symbolizes the orientation of the device relative to the 424 * The orientation of the phone is represented by the rotation necessary to 431 * orientation to the current device orientation. 450 * This sensor must use a gyroscope and an accelerometer as main orientation 530 * orientation shoul 839 sensors_vec_t orientation; member in union:sensors_event_t::__anon353::__anon354 [all...] |
/hardware/ti/omap4xxx/camera/OMXCameraAdapter/ |
H A D | OMXFD.cpp | 117 status_t OMXCameraAdapter::setFaceDetection(bool enable, OMX_U32 orientation) argument 133 if ( orientation > 270 ) { 134 orientation = 0; 139 objDetection.nDeviceOrientation = orientation;
|
H A D | OMXCameraAdapter.cpp | 2520 void OMXCameraAdapter::onOrientationEvent(uint32_t orientation, uint32_t tilt) argument 2530 // we are going to ignore the orientation returned from 2531 // sensor. the orientation returned from sensor is not 2544 // calculate device orientation relative to the sensor orientation 2545 // front camera display is mirrored...needs to be accounted for when orientation 2546 // is 90 or 270...since this will result in a flip on orientation otherwise 2548 (orientation == 90 || orientation == 270)) { 2549 device_orientation = (orientation [all...] |
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
H A D | data_builder.h | 70 int orientation; member in struct:inv_single_sensor_t 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,
|
H A D | ml_math_func.c | 577 /** 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 608 /** Uses the scalar orientation value to convert from chip frame to body frame 609 * @param[in] orientation A scalar that represent how to go from chip to body frame 613 void inv_convert_to_body(unsigned short orientation, const long *input, long *output) argument 615 output[0] = input[orientation & 0x03] * SIGNSET(orientation & 0x004); 616 output[1] = input[(orientation>>3) & 0x03] * SIGNSET(orientation & 0x020); 617 output[2] = input[(orientation>> 625 inv_convert_to_chip(unsigned short orientation, const long *input, long *output) argument 640 inv_convert_to_body_with_scale(unsigned short orientation, long sensitivity, const long *input, long *output) argument [all...] |
H A D | data_builder.c | 168 /** Sets orientation and sensitivity field for a sensor. 170 * @param[in] orientation Orientation description of how part is mounted. 175 int orientation, long sensitivity) 178 sensor->orientation = orientation; 182 * @param[in] orientation A scalar defining the transformation from chip mounting 190 void inv_set_gyro_orientation_and_scale(int orientation, long sensitivity) argument 196 fwrite(&orientation, sizeof(orientation), 1, inv_data_builder.file); 200 set_sensor_orientation_and_scale(&sensors.gyro, orientation, 174 set_sensor_orientation_and_scale(struct inv_single_sensor_t *sensor, int orientation, long sensitivity) argument 376 inv_set_accel_orientation_and_scale(int orientation, long sensitivity) argument 399 inv_set_compass_orientation_and_scale(int orientation, long sensitivity) argument [all...] |
/hardware/qcom/display/msm8960/liboverlay/ |
H A D | overlayUtils.cpp | 290 bool enableBarrier (uint32_t orientation) { argument 292 (void)fp.write("%d", orientation);
|
/hardware/qcom/display/msm8974/liboverlay/ |
H A D | overlayUtils.cpp | 340 bool enableBarrier (uint32_t orientation) { argument 342 (void)fp.write("%d", orientation);
|
/hardware/qcom/display/msm8x26/liboverlay/ |
H A D | overlayUtils.cpp | 290 bool enableBarrier (uint32_t orientation) { argument 292 (void)fp.write("%d", orientation);
|
/hardware/ti/omap4xxx/camera/V4LCameraAdapter/ |
H A D | V4LCameraAdapter.cpp | 477 void V4LCameraAdapter::onOrientationEvent(uint32_t orientation, uint32_t tilt) argument
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
H A D | data_builder.h | 80 int orientation; member in struct:inv_single_sensor_t 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,
|
H A D | data_builder.c | 178 /** Sets orientation and sensitivity field for a sensor. 180 * @param[in] orientation Orientation description of how part is mounted. 185 int orientation, long sensitivity) 196 // Make sure we don't describe some impossible orientation 197 if ((orientation & 3) == 3) { 200 if ((orientation & 0x18) == 0x18) { 203 if ((orientation & 0xc0) == 0xc0) { 207 orientation = 0x88; // Identity 208 MPL_LOGE("\n\nCritical error! Impossible mounting orientation given. Using Identity instead\n\n"); 210 sensor->orientation 184 set_sensor_orientation_and_scale(struct inv_single_sensor_t *sensor, int orientation, long sensitivity) argument 222 inv_set_gyro_orientation_and_scale(int orientation, long sensitivity) argument 413 inv_set_accel_orientation_and_scale(int orientation, long sensitivity) argument 436 inv_set_compass_orientation_and_scale(int orientation, long sensitivity) argument [all...] |
H A D | ml_math_func.c | 577 /** 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 608 /** Uses the scalar orientation value to convert from chip frame to body frame 609 * @param[in] orientation A scalar that represent how to go from chip to body frame 613 void inv_convert_to_body(unsigned short orientation, const long *input, long *output) argument 615 output[0] = input[orientation & 0x03] * SIGNSET(orientation & 0x004); 616 output[1] = input[(orientation>>3) & 0x03] * SIGNSET(orientation & 0x020); 617 output[2] = input[(orientation>> 625 inv_convert_to_chip(unsigned short orientation, const long *input, long *output) argument 640 inv_convert_to_body_with_scale(unsigned short orientation, long sensitivity, const long *input, long *output) argument [all...] |
/hardware/invensense/60xx/mlsdk/mllite/ |
H A D | ml.c | 184 * @brief apply the choosen orientation and full scale range 203 gyroCal[ii] = mldl_cfg->pdata->orientation[ii]; 205 accelCal[ii] = mldl_cfg->pdata->accel.orientation[ii]; 208 magCal[ii] = mldl_cfg->pdata->compass.orientation[ii]; 762 * @param[in] orientation 771 inv_error_t inv_set_accel_calibration(float range, signed char *orientation) argument 817 cal[kk] = scale * orientation[kk]; 821 orient = inv_orientation_matrix_to_scalar(orientation); 909 * @param[in] orientation 917 inv_error_t inv_set_gyro_calibration(float range, signed char *orientation) argument 1065 inv_set_compass_calibration(float range, signed char *orientation) argument [all...] |
/hardware/invensense/60xx/mlsdk/platform/include/linux/ |
H A D | mpu.h | 181 * @orientation: the mounting matrix of the device relative to MPU. 186 * The orientation matricies are 3x3 rotation matricies 187 * that are applied to the data to rotate from the mounting orientation to the 188 * platform orientation. The values must be one of 0, 1, or -1 and each row and 197 signed char orientation[9]; member in struct:ext_slave_platform_data 280 * @orientation: Orientation matrix of the gyroscope 287 * work on this platform. The orientation matricies are 3x3 rotation matricies 288 * that are applied to the data to rotate from the mounting orientation to the 289 * platform orientation. The values must be one of 0, 1, or -1 and each row and 294 signed char orientation[GYRO_NUM_AXE member in struct:mpu_platform_data [all...] |
/hardware/samsung_slsi/exynos5/libcamera/ |
H A D | ExynosExif.h | 191 uint16_t orientation; member in struct:__anon1516
|
/hardware/samsung_slsi/exynos5/libcamera2/ |
H A D | ExynosCamera2.cpp | 471 static const int32_t orientation[1] = {0}; local 473 orientation, 1);
|
H A D | ExynosExif.h | 191 uint16_t orientation; member in struct:__anon1524
|
H A D | fimc-is-metadata.h | 170 uint32_t orientation; member in struct:camera2_sensor_sm 361 uint32_t orientation; member in struct:camera2_jpeg_ctl 372 uint32_t orientation; member in struct:camera2_jpeg_dm
|
/hardware/samsung_slsi/exynos5/original-kernel-headers/linux/ |
H A D | fimc-is-metadata.h | 178 uint32_t orientation; member in struct:camera2_sensor_sm 409 uint32_t orientation; member in struct:camera2_jpeg_ctl 419 uint32_t orientation; member in struct:camera2_jpeg_dm
|