Searched defs:orient (Results 1 - 13 of 13) sorted by relevance

/hardware/qcom/display/liboverlay/
H A DoverlayCtrl.cpp59 bool Ctrl::setTransform(const utils::eTransform& orient) argument
61 if(!mMdp.setTransform(orient)) {
H A DoverlayMdp.cpp118 void MdpCtrl::setTransform(const utils::eTransform& orient) { argument
119 int rot = utils::getMdpOrient(orient);
H A Doverlay.cpp166 void Overlay::setTransform(const int orient, argument
172 static_cast<utils::eTransform>(orient);
H A DoverlayCtrlData.h60 /* set source using whf, orient and wait flag */
166 inline void Ctrl::setTransform(const utils::eTransform& orient) argument
168 mMdp.setTransform(orient);
/hardware/qcom/display/libhwcomposer/
H A Dhwc_fbupdate.cpp104 ovutils::eTransform orient = local
106 ov.setTransform(orient, dest);
232 ovutils::eTransform orient = local
234 ov.setTransform(orient, destL);
235 ov.setTransform(orient, destR);
H A Dhwc_utils.cpp467 float& rightCutRatio, float& bottomCutRatio, int orient) {
468 if(orient & HAL_TRANSFORM_FLIP_H) {
471 if(orient & HAL_TRANSFORM_FLIP_V) {
474 if(orient & HAL_TRANSFORM_ROT_90) {
545 const hwc_rect_t& scissor, int orient) {
591 calc_cut(leftCutRatio, topCutRatio, rightCutRatio, bottomCutRatio, orient);
832 const eMdpFlags& mdpFlags, const eTransform& orient,
836 rot->setTransform(orient);
885 const eTransform& orient, const hwc_rect_t& crop,
889 ov->setTransform(orient, des
466 calc_cut(float& leftCutRatio, float& topCutRatio, float& rightCutRatio, float& bottomCutRatio, int orient) argument
544 calculate_crop_rects(hwc_rect_t& crop, hwc_rect_t& dst, const hwc_rect_t& scissor, int orient) argument
831 configRotator(Rotator *rot, const Whf& whf, const eMdpFlags& mdpFlags, const eTransform& orient, const int& downscale) argument
884 configMdp(Overlay *ov, const PipeArgs& parg, const eTransform& orient, const hwc_rect_t& crop, const hwc_rect_t& pos, const MetaData_t *metadata, const eDest& dest) argument
910 updateSource(eTransform& orient, Whf& whf, hwc_rect_t& crop) argument
940 eTransform orient = static_cast<eTransform>(transform); local
1007 eTransform orient = static_cast<eTransform>(transform); local
[all...]
/hardware/qcom/display/liboverlay/pipes/
H A DoverlayGenPipe.cpp106 void GenericPipe::setTransform(const utils::eTransform& orient) { argument
109 mRotUsed |= ((orient & utils::OVERLAY_TRANSFORM_ROT_90) && !mPreRotated);
110 mRot->setTransform(orient);
111 mCtrlData.ctrl.setTransform(orient);
/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/libsensors_iio/software/simple_apps/gesture_test/
H A Dinv_gesture_test.c74 orient, enumerator in enum:__anon145
344 int orient; local
351 fscanf(fp, "%d\n", &orient);
354 printf("Google Orient-> %d\n", orient);
362 int orient; local
365 fscanf(fp, "%d\n", &orient);
372 if (orient & 0x01)
375 if (orient & 0x02)
378 if (orient & 0x04)
381 if (orient
[all...]
/hardware/invensense/libsensors_iio/software/simple_apps/mpu_iio/
H A Dmpu_iio.c165 void HandleOrient(int orient) argument
167 if (orient & 0x01)
169 if (orient & 0x02)
171 if (orient & 0x04)
173 if (orient & 0x08)
175 if (orient & 0x10)
177 if (orient & 0x20)
179 if (orient & 0x40)
390 printf("orient=%x\n", data);
/hardware/invensense/libsensors_iio/
H A DMPLSensor.cpp531 unsigned short orient; local
539 orient = inv_orientation_matrix_to_scalar(mGyroOrientation);
540 inv_set_gyro_orientation_and_scale(orient, 2000L << 15);
543 orient = inv_orientation_matrix_to_scalar(mAccelOrientation);
545 inv_set_accel_orientation_and_scale(orient, 1LL << 22);
547 inv_set_accel_orientation_and_scale(orient, mAccelScale << 15);
552 orient =
556 inv_set_compass_orientation_and_scale(orient, sensitivity);
2226 int MPLSensor::dmpOrientHandler(int orient)
2230 LOGV_IF(PROCESS_VERBOSE, "HAL:orient
[all...]
/hardware/invensense/libsensors_iio/software/core/mllite/
H A Ddata_builder.c1102 inv_error_t inv_get_gyro_orient(int *orient) argument
1104 *orient = sensors.gyro.orientation;
1108 inv_error_t inv_get_accel_orient(int *orient) argument
1110 *orient = sensors.accel.orientation;
/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);
814 unsigned short orient; local
821 orient = inv_orientation_matrix_to_scalar(orientation);
822 regs[0] = tmp[orient & 3];
823 regs[1] = tmp[(orient >> 3) & 3];
824 regs[2] = tmp[(orient >> 6) & 3];
842 if (orient & 4)
844 if (orient & 0x20)
846 if (orient
1505 inv_freescale_sensor_fusion_16bit(unsigned short orient) argument
1554 inv_freescale_sensor_fusion_8bit(unsigned short orient) argument
[all...]

Completed in 134 milliseconds