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

12

/hardware/qcom/display/msm8226/liboverlay/
H A DoverlayCtrl.cpp59 bool Ctrl::setTransform(const utils::eTransform& orient) argument
61 if(!mMdp.setTransform(orient)) {
H A DoverlayCtrlData.h56 /* set source using whf, orient and wait flag */
138 inline void Ctrl::setTransform(const utils::eTransform& orient) argument
140 mMdp->setTransform(orient);
/hardware/qcom/display/msm8960/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);
/hardware/qcom/display/msm8974/liboverlay/
H A DoverlayCtrl.cpp59 bool Ctrl::setTransform(const utils::eTransform& orient) argument
61 if(!mMdp.setTransform(orient)) {
H A DoverlayMdp.cpp108 void MdpCtrl::setTransform(const utils::eTransform& orient) { argument
109 int rot = utils::getMdpOrient(orient);
/hardware/invensense/6515/libsensors_iio/
H A DCompassSensor.AKM.cpp182 void CompassSensor::getOrientationMatrix(signed char *orient) argument
186 orient[0] = 1;
187 orient[1] = 0;
188 orient[2] = 0;
189 orient[3] = 0;
190 orient[4] = 1;
191 orient[5] = 0;
192 orient[6] = 0;
193 orient[7] = 0;
194 orient[
[all...]
H A DCompassSensor.IIO.9150.cpp223 void CompassSensor::getOrientationMatrix(signed char *orient) argument
226 memcpy(orient, mCompassOrientation, sizeof(mCompassOrientation));
H A DCompassSensor.IIO.primary.cpp338 void CompassSensor::getOrientationMatrix(signed char *orient) argument
341 memcpy(orient, mCompassOrientation, sizeof(mCompassOrientation));
/hardware/invensense/65xx/libsensors_iio/
H A DCompassSensor.AKM.cpp182 void CompassSensor::getOrientationMatrix(signed char *orient) argument
186 orient[0] = 1;
187 orient[1] = 0;
188 orient[2] = 0;
189 orient[3] = 0;
190 orient[4] = 1;
191 orient[5] = 0;
192 orient[6] = 0;
193 orient[7] = 0;
194 orient[
[all...]
H A DCompassSensor.IIO.9150.cpp221 void CompassSensor::getOrientationMatrix(signed char *orient) argument
224 memcpy(orient, mCompassOrientation, sizeof(mCompassOrientation));
H A DCompassSensor.IIO.primary.cpp338 void CompassSensor::getOrientationMatrix(signed char *orient) argument
341 memcpy(orient, mCompassOrientation, sizeof(mCompassOrientation));
/hardware/qcom/display/msm8084/liboverlay/pipes/
H A DoverlayGenPipe.cpp58 void GenericPipe::setTransform(const utils::eTransform& orient) { argument
59 mCtrl->setTransform(orient);
/hardware/qcom/display/msm8226/liboverlay/pipes/
H A DoverlayGenPipe.cpp56 void GenericPipe::setTransform(const utils::eTransform& orient) { argument
57 mCtrl->setTransform(orient);
/hardware/qcom/display/msm8960/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);
/hardware/qcom/display/msm8960/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/qcom/display/msm8974/libhwcomposer/
H A Dhwc_fbupdate.cpp125 ovutils::eTransform orient = local
127 ov.setTransform(orient, dest);
280 ovutils::eTransform orient = local
282 ov.setTransform(orient, destL);
283 ov.setTransform(orient, destR);
/hardware/qcom/display/msm8974/liboverlay/pipes/
H A DoverlayGenPipe.cpp96 void GenericPipe::setTransform(const utils::eTransform& orient) { argument
97 mCtrlData.ctrl.setTransform(orient);
/hardware/ti/omap4-aah/camera/
H A DSensorListener.cpp52 int tilt = 0, orient = 0; local
63 orient = (int) atan2f(-x, y) * RADIANS_2_DEG;
65 if (orient < 0) {
66 orient += 360;
69 if (orient >= DEGREES_270_THRESH) {
70 orient = 270;
71 } else if (orient >= DEGREES_180_THRESH) {
72 orient = 180;
73 } else if (orient >= DEGREES_90_THRESH) {
74 orient
[all...]
/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/6515/libsensors_iio/software/simple_apps/playback/linux/
H A Dand_constructor.c69 unsigned short orient; local
77 orient = inv_orientation_matrix_to_scalar(g_gyro_orientation);
78 inv_set_gyro_orientation_and_scale(orient, 2000L << 15);
81 orient = inv_orientation_matrix_to_scalar(g_accel_orientation);
84 inv_set_accel_orientation_and_scale(orient, sens);
87 orient = inv_orientation_matrix_to_scalar(g_compass_orientation);
91 inv_set_compass_orientation_and_scale(orient, sens);
/hardware/qcom/display/msm8084/libhwcomposer/
H A Dhwc_fbupdate.cpp90 ovutils::eTransform orient = static_cast<ovutils::eTransform >(extOrient); local
100 if(configRotator(mRot, info, sourceCrop, mdpFlags, orient, 0) < 0) {
106 updateSource(orient, info, sourceCrop);
179 ovutils::eTransform orient = local
201 transform, orient);
213 orient = ovutils::OVERLAY_TRANSFORM_0;
221 if(configMdp(ctx->mOverlay, parg, orient, sourceCrop, displayFrame,
295 ovutils::eTransform orient = local
340 if (configMdp(ctx->mOverlay, pargL, orient, cropL,
380 if (configMdp(ctx->mOverlay, pargR, orient, crop
448 ovutils::eTransform orient = local
[all...]
/hardware/qcom/display/msm8084/liboverlay/
H A DoverlayCtrlData.h56 /* set source using whf, orient and wait flag */
138 inline void Ctrl::setTransform(const utils::eTransform& orient) argument
140 mMdp->setTransform(orient);
H A DoverlayMdp.cpp117 void MdpCtrl::setTransform(const utils::eTransform& orient) { argument
118 int rot = utils::getMdpOrient(orient);
/hardware/qcom/display/msm8226/libhwcomposer/
H A Dhwc_fbupdate.cpp97 ovutils::eTransform orient = static_cast<ovutils::eTransform >(extOrient); local
107 if(configRotator(mRot, info, sourceCrop, mdpFlags, orient, 0) < 0) {
112 updateSource(orient, info, sourceCrop, mRot);
185 ovutils::eTransform orient = local
207 transform, orient);
219 orient = ovutils::OVERLAY_TRANSFORM_0;
227 if(configMdp(ctx->mOverlay, parg, orient, sourceCrop, displayFrame,
301 ovutils::eTransform orient = local
346 if (configMdp(ctx->mOverlay, pargL, orient, cropL,
386 if (configMdp(ctx->mOverlay, pargR, orient, crop
454 ovutils::eTransform orient = local
[all...]

Completed in 477 milliseconds

12