Home
last modified time | relevance | path

Searched refs:orient (Results 1 – 25 of 69) sorted by relevance

123

/hardware/invensense/6515/libsensors_iio/
DCompassSensor.AKM.cpp182 void CompassSensor::getOrientationMatrix(signed char *orient) in getOrientationMatrix() argument
186 orient[0] = 1; in getOrientationMatrix()
187 orient[1] = 0; in getOrientationMatrix()
188 orient[2] = 0; in getOrientationMatrix()
189 orient[3] = 0; in getOrientationMatrix()
190 orient[4] = 1; in getOrientationMatrix()
191 orient[5] = 0; in getOrientationMatrix()
192 orient[6] = 0; in getOrientationMatrix()
193 orient[7] = 0; in getOrientationMatrix()
194 orient[8] = 1; in getOrientationMatrix()
/hardware/invensense/65xx/libsensors_iio/
DCompassSensor.AKM.cpp182 void CompassSensor::getOrientationMatrix(signed char *orient) in getOrientationMatrix() argument
186 orient[0] = 1; in getOrientationMatrix()
187 orient[1] = 0; in getOrientationMatrix()
188 orient[2] = 0; in getOrientationMatrix()
189 orient[3] = 0; in getOrientationMatrix()
190 orient[4] = 1; in getOrientationMatrix()
191 orient[5] = 0; in getOrientationMatrix()
192 orient[6] = 0; in getOrientationMatrix()
193 orient[7] = 0; in getOrientationMatrix()
194 orient[8] = 1; in getOrientationMatrix()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/
Dinv_gesture_test.c445 int orient; in display_orientation_handler() local
456 fscanf(fp, "%d\n", &orient); in display_orientation_handler()
459 printf("Screen Orient-> %d\n", orient); in display_orientation_handler()
469 int orient; in host_orientation_handler() local
472 fscanf(fp, "%d\n", &orient); in host_orientation_handler()
479 if (orient & 0x01) in host_orientation_handler()
481 if (orient & 0x02) in host_orientation_handler()
483 if (orient & 0x04) in host_orientation_handler()
485 if (orient & 0x08) in host_orientation_handler()
487 if (orient & 0x10) in host_orientation_handler()
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Dand_constructor.c69 unsigned short orient; in inv_constructor_setup() local
77 orient = inv_orientation_matrix_to_scalar(g_gyro_orientation); in inv_constructor_setup()
78 inv_set_gyro_orientation_and_scale(orient, 2000L << 15); in inv_constructor_setup()
81 orient = inv_orientation_matrix_to_scalar(g_accel_orientation); in inv_constructor_setup()
84 inv_set_accel_orientation_and_scale(orient, sens); in inv_constructor_setup()
87 orient = inv_orientation_matrix_to_scalar(g_compass_orientation); in inv_constructor_setup()
91 inv_set_compass_orientation_and_scale(orient, sens); in inv_constructor_setup()
/hardware/qcom/display/msm8909/libhwcomposer/
Dhwc_fbupdate.cpp95 ovutils::eTransform orient = static_cast<ovutils::eTransform >(extOrient); in preRotateExtDisplay() local
105 if(configRotator(mRot, info, sourceCrop, mdpFlags, orient, 0) < 0) { in preRotateExtDisplay()
110 updateSource(orient, info, sourceCrop, mRot); in preRotateExtDisplay()
176 ovutils::eTransform orient = in configure() local
196 transform, orient); in configure()
208 orient = ovutils::OVERLAY_TRANSFORM_0; in configure()
216 if(configMdp(ctx->mOverlay, parg, orient, sourceCrop, displayFrame, in configure()
284 ovutils::eTransform orient = in configure() local
322 transform, orient); in configure()
357 if (configMdp(ctx->mOverlay, pargL, orient, cropL, in configure()
[all …]
Dhwc_utils.cpp820 ovutils::eTransform& orient) { in calcExtDisplayPosition() argument
885 orient = static_cast<ovutils::eTransform >(extOrient); in calcExtDisplayPosition()
1201 double& rightCutRatio, double& bottomCutRatio, int orient) { in calc_cut() argument
1202 if(orient & HAL_TRANSFORM_FLIP_H) { in calc_cut()
1205 if(orient & HAL_TRANSFORM_FLIP_V) { in calc_cut()
1208 if(orient & HAL_TRANSFORM_ROT_90) { in calc_cut()
1317 const hwc_rect_t& scissor, int orient) { in calculate_crop_rects() argument
1361 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
1834 const eTransform& orient, const int& downscale) { in configRotator() argument
1852 rot->setTransform(orient); in configRotator()
[all …]
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp477 float& rightCutRatio, float& bottomCutRatio, int orient) { in calc_cut() argument
478 if(orient & HAL_TRANSFORM_FLIP_H) { in calc_cut()
481 if(orient & HAL_TRANSFORM_FLIP_V) { in calc_cut()
484 if(orient & HAL_TRANSFORM_ROT_90) { in calc_cut()
555 const hwc_rect_t& scissor, int orient) { in calculate_crop_rects() argument
599 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
841 const eTransform& orient, in configRotator() argument
845 rot->setTransform(orient); in configRotator()
893 const eTransform& orient, const hwc_rect_t& crop, in configMdp() argument
897 ov->setTransform(orient, dest); in configMdp()
[all …]
Dhwc_fbupdate.cpp104 ovutils::eTransform orient = in configure() local
106 ov.setTransform(orient, dest); in configure()
232 ovutils::eTransform orient = in configure() local
234 ov.setTransform(orient, destL); in configure()
235 ov.setTransform(orient, destR); in configure()
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_fbupdate.cpp97 ovutils::eTransform orient = static_cast<ovutils::eTransform >(extOrient); in preRotateExtDisplay() local
107 if(configRotator(mRot, info, sourceCrop, mdpFlags, orient, 0) < 0) { in preRotateExtDisplay()
112 updateSource(orient, info, sourceCrop, mRot); in preRotateExtDisplay()
185 ovutils::eTransform orient = in configure() local
207 transform, orient); in configure()
219 orient = ovutils::OVERLAY_TRANSFORM_0; in configure()
227 if(configMdp(ctx->mOverlay, parg, orient, sourceCrop, displayFrame, in configure()
301 ovutils::eTransform orient = in configure() local
346 if (configMdp(ctx->mOverlay, pargL, orient, cropL, in configure()
386 if (configMdp(ctx->mOverlay, pargR, orient, cropR, in configure()
[all …]
Dhwc_utils.cpp587 ovutils::eTransform& orient) { in calcExtDisplayPosition() argument
643 orient = static_cast<ovutils::eTransform >(extOrient); in calcExtDisplayPosition()
915 double& rightCutRatio, double& bottomCutRatio, int orient) { in calc_cut() argument
916 if(orient & HAL_TRANSFORM_FLIP_H) { in calc_cut()
919 if(orient & HAL_TRANSFORM_FLIP_V) { in calc_cut()
922 if(orient & HAL_TRANSFORM_ROT_90) { in calc_cut()
1032 const hwc_rect_t& scissor, int orient) { in calculate_crop_rects() argument
1076 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
1519 const eTransform& orient, const int& downscale) { in configRotator() argument
1537 rot->setTransform(orient); in configRotator()
[all …]
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_fbupdate.cpp90 ovutils::eTransform orient = static_cast<ovutils::eTransform >(extOrient); in preRotateExtDisplay() local
100 if(configRotator(mRot, info, sourceCrop, mdpFlags, orient, 0) < 0) { in preRotateExtDisplay()
106 updateSource(orient, info, sourceCrop); in preRotateExtDisplay()
179 ovutils::eTransform orient = in configure() local
201 transform, orient); in configure()
213 orient = ovutils::OVERLAY_TRANSFORM_0; in configure()
221 if(configMdp(ctx->mOverlay, parg, orient, sourceCrop, displayFrame, in configure()
295 ovutils::eTransform orient = in configure() local
340 if (configMdp(ctx->mOverlay, pargL, orient, cropL, in configure()
380 if (configMdp(ctx->mOverlay, pargR, orient, cropR, in configure()
[all …]
Dhwc_utils.cpp600 ovutils::eTransform& orient) { in calcExtDisplayPosition() argument
656 orient = static_cast<ovutils::eTransform >(extOrient); in calcExtDisplayPosition()
955 double& rightCutRatio, double& bottomCutRatio, int orient) { in calc_cut() argument
956 if(orient & HAL_TRANSFORM_FLIP_H) { in calc_cut()
959 if(orient & HAL_TRANSFORM_FLIP_V) { in calc_cut()
962 if(orient & HAL_TRANSFORM_ROT_90) { in calc_cut()
1045 const hwc_rect_t& scissor, int orient) { in calculate_crop_rects() argument
1089 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
1503 const eTransform& orient, const int& downscale) { in configRotator() argument
1531 rot->setTransform(orient); in configRotator()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_fbupdate.cpp95 ovutils::eTransform orient = static_cast<ovutils::eTransform >(extOrient); in preRotateExtDisplay() local
105 if(configRotator(mRot, info, sourceCrop, mdpFlags, orient, 0) < 0) { in preRotateExtDisplay()
110 updateSource(orient, info, sourceCrop, mRot); in preRotateExtDisplay()
179 ovutils::eTransform orient = in configure() local
199 transform, orient); in configure()
211 orient = ovutils::OVERLAY_TRANSFORM_0; in configure()
219 if(configMdp(ctx->mOverlay, parg, orient, sourceCrop, displayFrame, in configure()
290 ovutils::eTransform orient = in configure() local
328 transform, orient); in configure()
363 if (configMdp(ctx->mOverlay, pargL, orient, cropL, in configure()
[all …]
Dhwc_utils.cpp753 ovutils::eTransform& orient) { in calcExtDisplayPosition() argument
818 orient = static_cast<ovutils::eTransform >(extOrient); in calcExtDisplayPosition()
1130 double& rightCutRatio, double& bottomCutRatio, int orient) { in calc_cut() argument
1131 if(orient & HAL_TRANSFORM_FLIP_H) { in calc_cut()
1134 if(orient & HAL_TRANSFORM_FLIP_V) { in calc_cut()
1137 if(orient & HAL_TRANSFORM_ROT_90) { in calc_cut()
1250 const hwc_rect_t& scissor, int orient) { in calculate_crop_rects() argument
1294 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient); in calculate_crop_rects()
1754 const eTransform& orient, const int& downscale) { in configRotator() argument
1772 rot->setTransform(orient); in configRotator()
[all …]
/hardware/qcom/display/msm8226/liboverlay/
DoverlayCtrl.cpp59 bool Ctrl::setTransform(const utils::eTransform& orient) in setTransform() argument
61 if(!mMdp.setTransform(orient)) { in setTransform()
/hardware/qcom/display/msm8960/liboverlay/
DoverlayCtrl.cpp59 bool Ctrl::setTransform(const utils::eTransform& orient) in setTransform() argument
61 if(!mMdp.setTransform(orient)) { in setTransform()
DoverlayCtrlData.h166 inline void Ctrl::setTransform(const utils::eTransform& orient) in setTransform() argument
168 mMdp.setTransform(orient); in setTransform()
/hardware/qcom/display/msm8960/liboverlay/pipes/
DoverlayGenPipe.cpp106 void GenericPipe::setTransform(const utils::eTransform& orient) { in setTransform() argument
109 mRotUsed |= ((orient & utils::OVERLAY_TRANSFORM_ROT_90) && !mPreRotated); in setTransform()
110 mRot->setTransform(orient); in setTransform()
111 mCtrlData.ctrl.setTransform(orient); in setTransform()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Dmpu_iio.c336 void handle_display_orientation(int orient) in handle_display_orientation() argument
338 printf("display_orientation=%x\n", orient); in handle_display_orientation()
346 void handle_orientation(int orient) in handle_orientation() argument
349 if (orient & 0x01) in handle_orientation()
351 if (orient & 0x02) in handle_orientation()
353 if (orient & 0x04) in handle_orientation()
355 if (orient & 0x08) in handle_orientation()
357 if (orient & 0x10) in handle_orientation()
359 if (orient & 0x20) in handle_orientation()
361 if (orient & 0x40) in handle_orientation()
/hardware/qcom/display/msm8226/liboverlay/pipes/
DoverlayGenPipe.cpp56 void GenericPipe::setTransform(const utils::eTransform& orient) { in setTransform() argument
57 mCtrl->setTransform(orient); in setTransform()
/hardware/qcom/display/msm8909/liboverlay/pipes/
DoverlayGenPipe.cpp56 void GenericPipe::setTransform(const utils::eTransform& orient) { in setTransform() argument
57 mCtrl->setTransform(orient); in setTransform()
/hardware/qcom/display/msm8994/liboverlay/pipes/
DoverlayGenPipe.cpp56 void GenericPipe::setTransform(const utils::eTransform& orient) { in setTransform() argument
57 mCtrl->setTransform(orient); in setTransform()
/hardware/qcom/display/msm8084/liboverlay/pipes/
DoverlayGenPipe.cpp58 void GenericPipe::setTransform(const utils::eTransform& orient) { in setTransform() argument
59 mCtrl->setTransform(orient); in setTransform()
/hardware/invensense/6515/libsensors_iio/software/core/mpl/
Dquat_accuracy_monitor.h65 float inv_heading_accuracy_check(float orient[3], float *heading, int8_t *accuracy);
/hardware/invensense/65xx/libsensors_iio/software/core/mpl/
Dquat_accuracy_monitor.h65 float inv_heading_accuracy_check(float orient[3], float *heading, int8_t *accuracy);

123