/hardware/qcom/display/msm8960/liboverlay/ |
H A D | mdpWrapper.h | 58 bool startRotator(int fd, msm_rotator_img_info& rot); 61 bool rotate(int fd, msm_rotator_data_info& rot); 92 void dump(const char* const s, const msm_rotator_img_info& rot); 93 void dump(const char* const s, const msm_rotator_data_info& rot); 128 inline bool startRotator(int fd, msm_rotator_img_info& rot) { argument 129 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ 137 inline bool rotate(int fd, msm_rotator_data_info& rot) { argument 138 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { 245 inline void dump(const char* const s, const msm_rotator_img_info& rot) { argument 246 ALOGE("%s msm_rotator_img_info sessid=%u dstx=%d dsty=%d rot 253 dump(const char* const s, const msm_rotator_data_info& rot) argument [all...] |
H A D | overlayUtils.cpp | 382 const msm_rotator_img_info& rot) { 384 snprintf(str, 256, "%s sessid=%u rot=%d, enable=%d downscale=%d\n", 385 prefix, rot.session_id, rot.rotations, rot.enable, 386 rot.downscale_ratio); 388 getDump(buf, len, "\tsrc", rot.src); 389 getDump(buf, len, "\tdst", rot.dst); 390 getDump(buf, len, "\tsrc_rect", rot.src_rect); 394 const msm_rotator_data_info& rot) { 381 getDump(char *buf, size_t len, const char *prefix, const msm_rotator_img_info& rot) argument 393 getDump(char *buf, size_t len, const char *prefix, const msm_rotator_data_info& rot) argument [all...] |
H A D | overlayRotator.cpp | 71 ALOGE("%s error in closing rot mem %d", __FUNCTION__, i); 141 //Return a rot object, creating one if necessary 142 overlay::Rotator *rot = NULL; local 148 rot = mRot[mUseCount++]; 150 return rot;
|
/hardware/qcom/display/msm8084/liboverlay/ |
H A D | mdpWrapper.h | 60 bool startRotator(int fd, msm_rotator_img_info& rot); 63 bool rotate(int fd, msm_rotator_data_info& rot); 115 void dump(const char* const s, const msm_rotator_img_info& rot); 116 void dump(const char* const s, const msm_rotator_data_info& rot); 151 inline bool startRotator(int fd, msm_rotator_img_info& rot) { argument 152 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ 160 inline bool rotate(int fd, msm_rotator_data_info& rot) { argument 161 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { 341 inline void dump(const char* const s, const msm_rotator_img_info& rot) { argument 342 ALOGE("%s msm_rotator_img_info sessid=%u dstx=%d dsty=%d rot 349 dump(const char* const s, const msm_rotator_data_info& rot) argument [all...] |
H A D | overlayRotator.cpp | 68 ALOGE("%s error in closing rot mem", __FUNCTION__); 145 //Return a rot object, creating one if necessary 146 overlay::Rotator *rot = NULL; local 152 rot = mRot[mUseCount++]; 154 return rot;
|
H A D | overlayUtils.cpp | 459 const msm_rotator_img_info& rot) { 461 snprintf(str, 256, "%s sessid=%u rot=%d, enable=%d downscale=%d\n", 462 prefix, rot.session_id, rot.rotations, rot.enable, 463 rot.downscale_ratio); 465 getDump(buf, len, "\tsrc", rot.src); 466 getDump(buf, len, "\tdst", rot.dst); 467 getDump(buf, len, "\tsrc_rect", rot.src_rect); 471 const msm_rotator_data_info& rot) { 458 getDump(char *buf, size_t len, const char *prefix, const msm_rotator_img_info& rot) argument 470 getDump(char *buf, size_t len, const char *prefix, const msm_rotator_data_info& rot) argument [all...] |
/hardware/qcom/display/msm8226/liboverlay/ |
H A D | mdpWrapper.h | 63 bool startRotator(int fd, msm_rotator_img_info& rot); 66 bool rotate(int fd, msm_rotator_data_info& rot); 112 void dump(const char* const s, const msm_rotator_img_info& rot); 113 void dump(const char* const s, const msm_rotator_data_info& rot); 151 inline bool startRotator(int fd, msm_rotator_img_info& rot) { argument 153 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ 161 inline bool rotate(int fd, msm_rotator_data_info& rot) { argument 163 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { 336 inline void dump(const char* const s, const msm_rotator_img_info& rot) { argument 337 ALOGE("%s msm_rotator_img_info sessid=%u dstx=%d dsty=%d rot 344 dump(const char* const s, const msm_rotator_data_info& rot) argument [all...] |
H A D | overlayUtils.cpp | 390 const msm_rotator_img_info& rot) { 392 snprintf(str, 256, "%s sessid=%u rot=%d, enable=%d downscale=%d\n", 393 prefix, rot.session_id, rot.rotations, rot.enable, 394 rot.downscale_ratio); 396 getDump(buf, len, "\tsrc", rot.src); 397 getDump(buf, len, "\tdst", rot.dst); 398 getDump(buf, len, "\tsrc_rect", rot.src_rect); 402 const msm_rotator_data_info& rot) { 389 getDump(char *buf, size_t len, const char *prefix, const msm_rotator_img_info& rot) argument 401 getDump(char *buf, size_t len, const char *prefix, const msm_rotator_data_info& rot) argument [all...] |
H A D | overlayRotator.cpp | 69 ALOGE("%s error in closing rot mem", __FUNCTION__); 146 //Return a rot object, creating one if necessary 147 overlay::Rotator *rot = NULL; local 153 rot = mRot[mUseCount++]; 155 return rot;
|
/hardware/qcom/display/msm8909/liboverlay/ |
H A D | mdpWrapper.h | 66 bool startRotator(int fd, msm_rotator_img_info& rot); 69 bool rotate(int fd, msm_rotator_data_info& rot); 114 void dump(const char* const s, const msm_rotator_img_info& rot); 115 void dump(const char* const s, const msm_rotator_data_info& rot); 153 inline bool startRotator(int fd, msm_rotator_img_info& rot) { argument 155 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ 163 inline bool rotate(int fd, msm_rotator_data_info& rot) { argument 165 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { 360 inline void dump(const char* const s, const msm_rotator_img_info& rot) { argument 361 ALOGE("%s msm_rotator_img_info sessid=%u dstx=%d dsty=%d rot 368 dump(const char* const s, const msm_rotator_data_info& rot) argument [all...] |
H A D | overlayUtils.cpp | 361 const msm_rotator_img_info& rot) { 363 snprintf(str, 256, "%s sessid=%u rot=%d, enable=%d downscale=%d\n", 364 prefix, rot.session_id, rot.rotations, rot.enable, 365 rot.downscale_ratio); 367 getDump(buf, len, "\tsrc", rot.src); 368 getDump(buf, len, "\tdst", rot.dst); 369 getDump(buf, len, "\tsrc_rect", rot.src_rect); 373 const msm_rotator_data_info& rot) { 360 getDump(char *buf, size_t len, const char *prefix, const msm_rotator_img_info& rot) argument 372 getDump(char *buf, size_t len, const char *prefix, const msm_rotator_data_info& rot) argument [all...] |
H A D | overlayRotator.cpp | 105 ALOGE("%s error in closing rot mem", __FUNCTION__); 196 //Return a rot object, creating one if necessary 197 overlay::Rotator *rot = NULL; local 203 rot = mRot[mUseCount++]; 205 return rot;
|
/hardware/qcom/display/msm8994/liboverlay/ |
H A D | mdpWrapper.h | 66 bool startRotator(int fd, msm_rotator_img_info& rot); 69 bool rotate(int fd, msm_rotator_data_info& rot); 114 void dump(const char* const s, const msm_rotator_img_info& rot); 115 void dump(const char* const s, const msm_rotator_data_info& rot); 153 inline bool startRotator(int fd, msm_rotator_img_info& rot) { argument 155 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ 163 inline bool rotate(int fd, msm_rotator_data_info& rot) { argument 165 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { 360 inline void dump(const char* const s, const msm_rotator_img_info& rot) { argument 361 ALOGE("%s msm_rotator_img_info sessid=%u dstx=%d dsty=%d rot 368 dump(const char* const s, const msm_rotator_data_info& rot) argument [all...] |
H A D | overlayUtils.cpp | 383 const msm_rotator_img_info& rot) { 385 snprintf(str, 256, "%s sessid=%u rot=%d, enable=%d downscale=%d\n", 386 prefix, rot.session_id, rot.rotations, rot.enable, 387 rot.downscale_ratio); 389 getDump(buf, len, "\tsrc", rot.src); 390 getDump(buf, len, "\tdst", rot.dst); 391 getDump(buf, len, "\tsrc_rect", rot.src_rect); 395 const msm_rotator_data_info& rot) { 382 getDump(char *buf, size_t len, const char *prefix, const msm_rotator_img_info& rot) argument 394 getDump(char *buf, size_t len, const char *prefix, const msm_rotator_data_info& rot) argument [all...] |
H A D | overlayRotator.cpp | 105 ALOGE("%s error in closing rot mem", __FUNCTION__); 196 //Return a rot object, creating one if necessary 197 overlay::Rotator *rot = NULL; local 203 rot = mRot[mUseCount++]; 205 return rot;
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
H A D | hal_outputs.c | 426 long rot[9], quat_geo[4]; local 430 inv_quaternion_to_rotation(quat_geo, rot); 431 r[0][0] = rot[0]*conv; 432 r[0][1] = rot[1]*conv; 433 r[0][2] = rot[2]*conv; 434 r[1][0] = rot[3]*conv; 435 r[1][1] = rot[4]*conv; 436 r[1][2] = rot[5]*conv; 437 r[2][0] = rot[6]*conv; 438 r[2][1] = rot[ 455 long rot[9], quat_6_axis[4]; local 488 long rot[9]; local [all...] |
H A D | ml_math_func.c | 340 * @param[out] rot Rotation matrix in fixed point. One is 2^30. The 346 void inv_quaternion_to_rotation(const long *quat, long *rot) argument 348 rot[0] = 352 rot[1] = 354 rot[2] = 356 rot[3] = 358 rot[4] = 362 rot[5] = 364 rot[6] = 366 rot[ 384 inv_quaternion_to_rotation_vector(const long *quat, long *rot) argument [all...] |
H A D | ml_math_func.h | 80 void inv_quaternion_to_rotation(const long *quat, long *rot); 92 void inv_quaternion_to_rotation_vector(const long *quat, long *rot);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
H A D | hal_outputs.c | 380 long rot[9], quat_geo[4];
local 384 inv_quaternion_to_rotation(quat_geo, rot);
385 r[0][0] = rot[0]*conv;
386 r[0][1] = rot[1]*conv;
387 r[0][2] = rot[2]*conv;
388 r[1][0] = rot[3]*conv;
389 r[1][1] = rot[4]*conv;
390 r[1][2] = rot[5]*conv;
391 r[2][0] = rot[6]*conv;
392 r[2][1] = rot[ 409 long rot[9], quat_6_axis[4]; local 442 long rot[9]; local [all...] |
H A D | ml_math_func.c | 340 * @param[out] rot Rotation matrix in fixed point. One is 2^30. The 346 void inv_quaternion_to_rotation(const long *quat, long *rot) argument 348 rot[0] = 352 rot[1] = 354 rot[2] = 356 rot[3] = 358 rot[4] = 362 rot[5] = 364 rot[6] = 366 rot[ 384 inv_quaternion_to_rotation_vector(const long *quat, long *rot) argument [all...] |
H A D | ml_math_func.h | 80 void inv_quaternion_to_rotation(const long *quat, long *rot); 92 void inv_quaternion_to_rotation_vector(const long *quat, long *rot);
|
/hardware/qcom/display/msm8084/liboverlay/pipes/ |
H A D | overlay3DPipe.h | 53 bool init(RotatorBase* rot); 83 bool init(RotatorBase* rot); 113 bool init(RotatorBase* rot); 143 bool init(RotatorBase* rot); 172 inline bool M3DExtPipe<CHAN>::init(RotatorBase* rot) { argument 174 if(!mM3d.init(rot)) { 241 inline bool M3DPrimaryPipe<CHAN>::init(RotatorBase* rot) { argument 243 if(!mM3d.init(rot)) { 296 inline bool S3DExtPipe<CHAN>::init(RotatorBase* rot) { argument 298 if(!mS3d.init(rot)) { 360 init(RotatorBase* rot) argument [all...] |
/hardware/qcom/display/msm8960/liboverlay/pipes/ |
H A D | overlay3DPipe.h | 53 bool init(RotatorBase* rot); 83 bool init(RotatorBase* rot); 113 bool init(RotatorBase* rot); 143 bool init(RotatorBase* rot); 172 inline bool M3DExtPipe<CHAN>::init(RotatorBase* rot) { argument 174 if(!mM3d.init(rot)) { 241 inline bool M3DPrimaryPipe<CHAN>::init(RotatorBase* rot) { argument 243 if(!mM3d.init(rot)) { 296 inline bool S3DExtPipe<CHAN>::init(RotatorBase* rot) { argument 298 if(!mS3d.init(rot)) { 360 init(RotatorBase* rot) argument [all...] |
/hardware/qcom/display/msm8960/libhwcomposer/ |
H A D | hwc_utils.cpp | 819 //No 90 component and no rot-downscale then flips done by MDP 820 //If we use rot then it might as well do flips 839 static inline int configRotator(Rotator *rot, const Whf& whf, argument 843 rot->setSource(whf, origWhf); 844 rot->setFlags(mdpFlags); 845 rot->setTransform(orient); 846 rot->setDownscale(downscale); 847 if(!rot->commit()) return -1; 935 const eIsFg& isFg, const eDest& dest, Rotator **rot) { 981 if(isYuvBuffer(hnd) && //if 90 component or downscale, use rot 933 configureLowRes(hwc_context_t *ctx, hwc_layer_1_t *layer, const int& dpy, eMdpFlags& mdpFlags, const eZorder& z, const eIsFg& isFg, const eDest& dest, Rotator **rot) argument 1012 configureHighRes(hwc_context_t *ctx, hwc_layer_1_t *layer, const int& dpy, eMdpFlags& mdpFlagsL, const eZorder& z, const eIsFg& isFg, const eDest& lDest, const eDest& rDest, Rotator **rot) argument 1128 add(hwc_layer_1_t* layer, Rotator *rot) argument [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_mdpcomp.cpp | 241 mdpToLayer[i].rot = NULL; 1498 info.rot = NULL; 1571 &PipeLayerPair.rot); 1591 info.rot = NULL; 1624 lDest, rDest, &PipeLayerPair.rot); 1675 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; local 1680 if(rot) { 1681 rot->queueBuffer(fd, offset); 1682 fd = rot 1727 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; local 1935 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; local 1970 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; local 2094 Rotator **rot = &PipeLayerPair.rot; local [all...] |