Home
last modified time | relevance | path

Searched refs:rot (Results 1 – 25 of 56) sorted by relevance

123

/hardware/qcom/display/msm8960/liboverlay/
DmdpWrapper.h58 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) { in startRotator() argument
129 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ in startRotator()
137 inline bool rotate(int fd, msm_rotator_data_info& rot) { in rotate() argument
138 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { in rotate()
245 inline void dump(const char* const s, const msm_rotator_img_info& rot) { in dump() argument
247 s, rot.session_id, rot.dst_x, rot.dst_y, in dump()
[all …]
DoverlayUtils.cpp382 const msm_rotator_img_info& rot) { in getDump() argument
385 prefix, rot.session_id, rot.rotations, rot.enable, in getDump()
386 rot.downscale_ratio); in getDump()
388 getDump(buf, len, "\tsrc", rot.src); in getDump()
389 getDump(buf, len, "\tdst", rot.dst); in getDump()
390 getDump(buf, len, "\tsrc_rect", rot.src_rect); in getDump()
394 const msm_rotator_data_info& rot) { in getDump() argument
398 prefix, rot.session_id, rot.version_key); in getDump()
400 getDump(buf, len, "\tsrc", rot.src); in getDump()
401 getDump(buf, len, "\tdst", rot.dst); in getDump()
[all …]
DoverlayRotator.cpp142 overlay::Rotator *rot = NULL; in getNext() local
148 rot = mRot[mUseCount++]; in getNext()
150 return rot; in getNext()
/hardware/qcom/display/msm8226/liboverlay/
DmdpWrapper.h63 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) { in startRotator() argument
153 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ in startRotator()
161 inline bool rotate(int fd, msm_rotator_data_info& rot) { in rotate() argument
163 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { in rotate()
336 inline void dump(const char* const s, const msm_rotator_img_info& rot) { in dump() argument
338 s, rot.session_id, rot.dst_x, rot.dst_y, in dump()
[all …]
DoverlayUtils.cpp390 const msm_rotator_img_info& rot) { in getDump() argument
393 prefix, rot.session_id, rot.rotations, rot.enable, in getDump()
394 rot.downscale_ratio); in getDump()
396 getDump(buf, len, "\tsrc", rot.src); in getDump()
397 getDump(buf, len, "\tdst", rot.dst); in getDump()
398 getDump(buf, len, "\tsrc_rect", rot.src_rect); in getDump()
402 const msm_rotator_data_info& rot) { in getDump() argument
406 prefix, rot.session_id); in getDump()
408 getDump(buf, len, "\tsrc", rot.src); in getDump()
409 getDump(buf, len, "\tdst", rot.dst); in getDump()
DoverlayRotator.cpp147 overlay::Rotator *rot = NULL; in getNext() local
153 rot = mRot[mUseCount++]; in getNext()
155 return rot; in getNext()
/hardware/qcom/display/msm8084/liboverlay/
DmdpWrapper.h60 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) { in startRotator() argument
152 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ in startRotator()
160 inline bool rotate(int fd, msm_rotator_data_info& rot) { in rotate() argument
161 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { in rotate()
341 inline void dump(const char* const s, const msm_rotator_img_info& rot) { in dump() argument
343 s, rot.session_id, rot.dst_x, rot.dst_y, in dump()
[all …]
DoverlayUtils.cpp459 const msm_rotator_img_info& rot) { in getDump() argument
462 prefix, rot.session_id, rot.rotations, rot.enable, in getDump()
463 rot.downscale_ratio); in getDump()
465 getDump(buf, len, "\tsrc", rot.src); in getDump()
466 getDump(buf, len, "\tdst", rot.dst); in getDump()
467 getDump(buf, len, "\tsrc_rect", rot.src_rect); in getDump()
471 const msm_rotator_data_info& rot) { in getDump() argument
475 prefix, rot.session_id); in getDump()
477 getDump(buf, len, "\tsrc", rot.src); in getDump()
478 getDump(buf, len, "\tdst", rot.dst); in getDump()
DoverlayRotator.cpp146 overlay::Rotator *rot = NULL; in getNext() local
152 rot = mRot[mUseCount++]; in getNext()
154 return rot; in getNext()
/hardware/qcom/display/msm8994/liboverlay/
DmdpWrapper.h66 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) { in startRotator() argument
155 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){ in startRotator()
163 inline bool rotate(int fd, msm_rotator_data_info& rot) { in rotate() argument
165 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) { in rotate()
360 inline void dump(const char* const s, const msm_rotator_img_info& rot) { in dump() argument
362 s, rot.session_id, rot.dst_x, rot.dst_y, in dump()
[all …]
DoverlayUtils.cpp383 const msm_rotator_img_info& rot) { in getDump() argument
386 prefix, rot.session_id, rot.rotations, rot.enable, in getDump()
387 rot.downscale_ratio); in getDump()
389 getDump(buf, len, "\tsrc", rot.src); in getDump()
390 getDump(buf, len, "\tdst", rot.dst); in getDump()
391 getDump(buf, len, "\tsrc_rect", rot.src_rect); in getDump()
395 const msm_rotator_data_info& rot) { in getDump() argument
399 prefix, rot.session_id); in getDump()
401 getDump(buf, len, "\tsrc", rot.src); in getDump()
402 getDump(buf, len, "\tdst", rot.dst); in getDump()
DoverlayRotator.cpp197 overlay::Rotator *rot = NULL; in getNext() local
203 rot = mRot[mUseCount++]; in getNext()
205 return rot; in getNext()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Dhal_outputs.c380 long rot[9], quat_geo[4]; in inv_get_rotation_geomagnetic() local
384 inv_quaternion_to_rotation(quat_geo, rot); in inv_get_rotation_geomagnetic()
385 r[0][0] = rot[0]*conv; in inv_get_rotation_geomagnetic()
386 r[0][1] = rot[1]*conv; in inv_get_rotation_geomagnetic()
387 r[0][2] = rot[2]*conv; in inv_get_rotation_geomagnetic()
388 r[1][0] = rot[3]*conv; in inv_get_rotation_geomagnetic()
389 r[1][1] = rot[4]*conv; in inv_get_rotation_geomagnetic()
390 r[1][2] = rot[5]*conv; in inv_get_rotation_geomagnetic()
391 r[2][0] = rot[6]*conv; in inv_get_rotation_geomagnetic()
392 r[2][1] = rot[7]*conv; in inv_get_rotation_geomagnetic()
[all …]
Dml_math_func.c346 void inv_quaternion_to_rotation(const long *quat, long *rot) in inv_quaternion_to_rotation() argument
348 rot[0] = in inv_quaternion_to_rotation()
352 rot[1] = in inv_quaternion_to_rotation()
354 rot[2] = in inv_quaternion_to_rotation()
356 rot[3] = in inv_quaternion_to_rotation()
358 rot[4] = in inv_quaternion_to_rotation()
362 rot[5] = in inv_quaternion_to_rotation()
364 rot[6] = in inv_quaternion_to_rotation()
366 rot[7] = in inv_quaternion_to_rotation()
368 rot[8] = in inv_quaternion_to_rotation()
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Dhal_outputs.c426 long rot[9], quat_geo[4]; in inv_get_rotation_geomagnetic() local
430 inv_quaternion_to_rotation(quat_geo, rot); in inv_get_rotation_geomagnetic()
431 r[0][0] = rot[0]*conv; in inv_get_rotation_geomagnetic()
432 r[0][1] = rot[1]*conv; in inv_get_rotation_geomagnetic()
433 r[0][2] = rot[2]*conv; in inv_get_rotation_geomagnetic()
434 r[1][0] = rot[3]*conv; in inv_get_rotation_geomagnetic()
435 r[1][1] = rot[4]*conv; in inv_get_rotation_geomagnetic()
436 r[1][2] = rot[5]*conv; in inv_get_rotation_geomagnetic()
437 r[2][0] = rot[6]*conv; in inv_get_rotation_geomagnetic()
438 r[2][1] = rot[7]*conv; in inv_get_rotation_geomagnetic()
[all …]
Dml_math_func.c346 void inv_quaternion_to_rotation(const long *quat, long *rot) in inv_quaternion_to_rotation() argument
348 rot[0] = in inv_quaternion_to_rotation()
352 rot[1] = in inv_quaternion_to_rotation()
354 rot[2] = in inv_quaternion_to_rotation()
356 rot[3] = in inv_quaternion_to_rotation()
358 rot[4] = in inv_quaternion_to_rotation()
362 rot[5] = in inv_quaternion_to_rotation()
364 rot[6] = in inv_quaternion_to_rotation()
366 rot[7] = in inv_quaternion_to_rotation()
368 rot[8] = in inv_quaternion_to_rotation()
[all …]
/hardware/qcom/msm8998/json-c/
Dlinkhash.c112 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) macro
160 a -= c; a ^= rot(c, 4); c += b; \
161 b -= a; b ^= rot(a, 6); a += c; \
162 c -= b; c ^= rot(b, 8); b += a; \
163 a -= c; a ^= rot(c,16); c += b; \
164 b -= a; b ^= rot(a,19); a += c; \
165 c -= b; c ^= rot(b, 4); b += a; \
195 c ^= b; c -= rot(b,14); \
196 a ^= c; a -= rot(c,11); \
197 b ^= a; b -= rot(a,25); \
[all …]
/hardware/qcom/display/msm8084/liboverlay/pipes/
Doverlay3DPipe.h53 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) { in init() argument
174 if(!mM3d.init(rot)) { in init()
241 inline bool M3DPrimaryPipe<CHAN>::init(RotatorBase* rot) { in init() argument
243 if(!mM3d.init(rot)) { in init()
296 inline bool S3DExtPipe<CHAN>::init(RotatorBase* rot) { in init() argument
298 if(!mS3d.init(rot)) { in init()
[all …]
/hardware/qcom/display/msm8960/liboverlay/pipes/
Doverlay3DPipe.h53 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) { in init() argument
174 if(!mM3d.init(rot)) { in init()
241 inline bool M3DPrimaryPipe<CHAN>::init(RotatorBase* rot) { in init() argument
243 if(!mM3d.init(rot)) { in init()
296 inline bool S3DExtPipe<CHAN>::init(RotatorBase* rot) { in init() argument
298 if(!mS3d.init(rot)) { in init()
[all …]
/hardware/qcom/display/msm8084/libhwcomposer/
Dhwc_mdpcomp.cpp241 mdpToLayer[i].rot = NULL; in reset()
1498 info.rot = NULL; in allocSplitVGPipesfor4k2k()
1571 &PipeLayerPair.rot); in configure()
1591 info.rot = NULL; in allocLayerPipes()
1624 lDest, rDest, &PipeLayerPair.rot); in configure4k2kYuv()
1675 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw() local
1680 if(rot) { in draw()
1681 rot->queueBuffer(fd, offset); in draw()
1682 fd = rot->getDstMemId(); in draw()
1683 offset = rot->getDstOffset(); in draw()
[all …]
/hardware/qcom/display/msm8960/libhwcomposer/
Dhwc_utils.cpp839 static inline int configRotator(Rotator *rot, const Whf& whf, in configRotator() argument
843 rot->setSource(whf, origWhf); in configRotator()
844 rot->setFlags(mdpFlags); in configRotator()
845 rot->setTransform(orient); in configRotator()
846 rot->setDownscale(downscale); in configRotator()
847 if(!rot->commit()) return -1; in configRotator()
935 const eIsFg& isFg, const eDest& dest, Rotator **rot) { in configureLowRes() argument
983 *rot = ctx->mRotMgr->getNext(); in configureLowRes()
984 if(*rot == NULL) return -1; in configureLowRes()
988 if(configRotator(*rot, whf, origWhf, mdpFlags, orient, downscale) < 0) in configureLowRes()
[all …]
Dhwc_mdpcomp.cpp214 mdpToLayer[i].rot = NULL; in reset()
824 &PipeLayerPair.rot); in configure()
847 info.rot = NULL; in allocLayerPipes()
871 info.rot = NULL; in allocLayerPipes()
941 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw() local
942 if(rot) { in draw()
943 if(!rot->queueBuffer(fd, offset)) in draw()
945 fd = rot->getDstMemId(); in draw()
946 offset = rot->getDstOffset(); in draw()
1021 info.rot = NULL; in allocLayerPipes()
[all …]
/hardware/qcom/display/msm8226/libhwcomposer/
Dhwc_mdpcomp.cpp258 mdpToLayer[i].rot = NULL; in reset()
1707 info.rot = NULL; in allocSplitVGPipesfor4k2k()
1793 &PipeLayerPair.rot); in configure()
1813 info.rot = NULL; in allocLayerPipes()
1847 lDest, rDest, &PipeLayerPair.rot); in configure4k2kYuv()
1888 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw() local
1893 if(rot) { in draw()
1894 rot->queueBuffer(fd, offset); in draw()
1895 fd = rot->getDstMemId(); in draw()
1896 offset = rot->getDstOffset(); in draw()
[all …]
Dhwc_utils.cpp1517 int configRotator(Rotator *rot, Whf& whf, in configRotator() argument
1527 rot->setSource(whf); in configRotator()
1533 rot->setCrop(rotCrop); in configRotator()
1536 rot->setFlags(mdpFlags); in configRotator()
1537 rot->setTransform(orient); in configRotator()
1538 rot->setDownscale(downscale); in configRotator()
1539 if(!rot->commit()) return -1; in configRotator()
1607 hwc_rect_t& crop, Rotator *rot) { in updateSource() argument
1615 whf = rot->getDstWhf(); in updateSource()
1616 transformedCrop = rot->getDstDimensions(); in updateSource()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
Dhwc_mdpcomp.cpp324 mdpToLayer[i].rot = NULL; in reset()
2108 info.rot = NULL; in allocSplitVGPipesfor4k2k()
2193 &PipeLayerPair.rot); in configure()
2213 info.rot = NULL; in allocLayerPipes()
2246 lDest, rDest, &PipeLayerPair.rot); in configure4k2kYuv()
2287 Rotator *rot = mCurrentFrame.mdpToLayer[mdpIndex].rot; in draw() local
2292 if(rot) { in draw()
2293 rot->queueBuffer(fd, offset); in draw()
2294 fd = rot->getDstMemId(); in draw()
2295 offset = rot->getDstOffset(); in draw()
[all …]

123