Searched refs:rot (Results 1 - 25 of 67) sorted by relevance

123

/hardware/bsp/intel/peripheral/libupm/examples/python/
H A Ditg3200.py31 rot = gyro.getRawValues() # Read raw sensor data variable
33 print "Raw: %6d %6d %6d" % (rot[0], rot[1], rot[2])
/hardware/bsp/intel/peripheral/libupm/examples/c++/
H A Ditg3200.cxx32 int16_t *rot; local
40 rot = gyro->getRawValues(); // Read raw sensor data
42 fprintf(stdout, "Raw: %6d %6d %6d\n", rot[0], rot[1], rot[2]);
/hardware/bsp/intel/peripheral/libupm/examples/java/
H A DItg3200Sample.java39 int[] rot;
47 rot = gyro.getRawValues();
50 System.out.println("Raw Values: X: " + rot[0] + " Y: " + rot[1] + " Z: " + rot[2]);
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
H A Ditg3200.js33 var rot; variable
40 rot = gyro.getRawValues(); // Read raw sensor data
42 var rots = (rot.getitem(0) + " ");
43 rots += (rot.getitem(1) + " ");
44 rots += rot.getitem(2);
/hardware/qcom/display/msm8960/liboverlay/
H A 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) { 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 DoverlayUtils.cpp382 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 DoverlayRotator.cpp71 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 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) { 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 DoverlayRotator.cpp68 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 DoverlayUtils.cpp459 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 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) { 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 DoverlayUtils.cpp390 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 DoverlayRotator.cpp69 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 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) { 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 DoverlayUtils.cpp361 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 DoverlayRotator.cpp105 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 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) { 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 DoverlayUtils.cpp383 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 DoverlayRotator.cpp105 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 Dhal_outputs.c426 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 Dml_math_func.c340 * @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/65xx/libsensors_iio/software/core/mllite/
H A Dhal_outputs.c380 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 Dml_math_func.c340 * @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/qcom/display/msm8084/liboverlay/pipes/
H A 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) { 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 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) { 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...]

Completed in 743 milliseconds

123