/hardware/qcom/display/msm8226/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); 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); 148 inline bool startRotator(int fd, msm_rotator_img_info& rot) { argument 149 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ 157 inline bool rotate(int fd, msm_rotator_data_info& rot) { argument 158 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { 329 inline void dump(const char* const s, const msm_rotator_img_info& rot) { argument 330 ALOGE("%s msm_rotator_img_info sessid=%u dstx=%d dsty=%d rot 337 dump(const char* const s, const msm_rotator_data_info& rot) argument [all...] |
H A D | overlayUtils.cpp | 464 const msm_rotator_img_info& rot) { 466 snprintf(str, 256, "%s sessid=%u rot=%d, enable=%d downscale=%d\n", 467 prefix, rot.session_id, rot.rotations, rot.enable, 468 rot.downscale_ratio); 470 getDump(buf, len, "\tsrc", rot.src); 471 getDump(buf, len, "\tdst", rot.dst); 472 getDump(buf, len, "\tsrc_rect", rot.src_rect); 476 const msm_rotator_data_info& rot) { 463 getDump(char *buf, size_t len, const char *prefix, const msm_rotator_img_info& rot) argument 475 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/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/msm8974/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); 109 void dump(const char* const s, const msm_rotator_img_info& rot); 110 void dump(const char* const s, const msm_rotator_data_info& rot); 148 inline bool startRotator(int fd, msm_rotator_img_info& rot) { argument 150 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ 158 inline bool rotate(int fd, msm_rotator_data_info& rot) { argument 160 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { 333 inline void dump(const char* const s, const msm_rotator_img_info& rot) { argument 334 ALOGE("%s msm_rotator_img_info sessid=%u dstx=%d dsty=%d rot 341 dump(const char* const s, const msm_rotator_data_info& rot) argument [all...] |
H A D | overlayUtils.cpp | 449 const msm_rotator_img_info& rot) { 451 snprintf(str, 256, "%s sessid=%u rot=%d, enable=%d downscale=%d\n", 452 prefix, rot.session_id, rot.rotations, rot.enable, 453 rot.downscale_ratio); 455 getDump(buf, len, "\tsrc", rot.src); 456 getDump(buf, len, "\tdst", rot.dst); 457 getDump(buf, len, "\tsrc_rect", rot.src_rect); 461 const msm_rotator_data_info& rot) { 448 getDump(char *buf, size_t len, const char *prefix, const msm_rotator_img_info& rot) argument 460 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/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...] |
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
H A D | hal_outputs.c | 257 long rot[9];
local 260 inv_quaternion_to_rotation(hal_out.nav_quat, rot);
261 r[0][0] = rot[0]*conv;
262 r[0][1] = rot[1]*conv;
263 r[0][2] = rot[2]*conv;
264 r[1][0] = rot[3]*conv;
265 r[1][1] = rot[4]*conv;
266 r[1][2] = rot[5]*conv;
267 r[2][0] = rot[6]*conv;
268 r[2][1] = rot[ [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/60xx/mlsdk/mllite/ |
H A D | mlMathFunc.c | 228 * @param[out] rot Rotation matrix in fixed point. One is 2^30. The 234 void inv_quaternion_to_rotation(const long *quat, long *rot) argument 236 rot[0] = 239 rot[1] = inv_q29_mult(quat[1], quat[2]) - inv_q29_mult(quat[3], quat[0]); 240 rot[2] = inv_q29_mult(quat[1], quat[3]) + inv_q29_mult(quat[2], quat[0]); 241 rot[3] = inv_q29_mult(quat[1], quat[2]) + inv_q29_mult(quat[3], quat[0]); 242 rot[4] = 245 rot[5] = inv_q29_mult(quat[2], quat[3]) - inv_q29_mult(quat[1], quat[0]); 246 rot[6] = inv_q29_mult(quat[1], quat[3]) - inv_q29_mult(quat[2], quat[0]); 247 rot[ [all...] |
/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/msm8226/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/msm8974/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...] |