HomeSort by relevance Sort by last modified time
    Searched refs:rot (Results 1 - 25 of 240) sorted by null

1 2 3 4 5 6 7 8 910

  /external/regex-re2/util/
hash.cc 43 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) macro
66 Some k values for my "a-=c; a^=rot(c,k); c+=b;" arrangement that
91 a -= c; a ^= rot(c, 4); c += b; \
92 b -= a; b ^= rot(a, 6); a += c; \
93 c -= b; c ^= rot(b, 8); b += a; \
94 a -= c; a ^= rot(c,16); c += b; \
95 b -= a; b ^= rot(a,19); a += c; \
96 c -= b; c ^= rot(b, 4); b += a; \
126 c ^= b; c -= rot(b,14); \
127 a ^= c; a -= rot(c,11);
    [all...]
  /packages/apps/LegacyCamera/jni/feature_mos/src/mosaic/
EdgePointerUtil.h 27 inline EdgePointer rot(EdgePointer a) function
Delaunay.h 113 #define oprev(a) rot(onext(rot(a)))
114 #define lnext(a) rot(onext(rotinv(a)))
116 #define rnext(a) rotinv(onext(rot(a)))
124 #define right(a) orig(rot(a))
  /hardware/qcom/display/msm8226/liboverlay/
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) {
153 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){
161 inline bool rotate(int fd, msm_rotator_data_info& rot) {
163 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) {
336 inline void dump(const char* const s, const msm_rotator_img_info& rot) {
337 ALOGE("%s msm_rotator_img_info sessid=%u dstx=%d dsty=%d rot=%d, ena=%d scale=%d"
    [all...]
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) {
    [all...]
  /hardware/qcom/display/msm8960/liboverlay/
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) {
129 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){
137 inline bool rotate(int fd, msm_rotator_data_info& rot) {
138 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) {
245 inline void dump(const char* const s, const msm_rotator_img_info& rot) {
246 ALOGE("%s msm_rotator_img_info sessid=%u dstx=%d dsty=%d rot=%d, ena=%d scale=%d"
    [all...]
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) {
    [all...]
  /hardware/qcom/display/msm8084/liboverlay/
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) {
152 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){
160 inline bool rotate(int fd, msm_rotator_data_info& rot) {
161 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) {
341 inline void dump(const char* const s, const msm_rotator_img_info& rot) {
342 ALOGE("%s msm_rotator_img_info sessid=%u dstx=%d dsty=%d rot=%d, ena=%d scale=%d"
    [all...]
  /hardware/qcom/display/msm8909/liboverlay/
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) {
155 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){
163 inline bool rotate(int fd, msm_rotator_data_info& rot) {
165 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) {
360 inline void dump(const char* const s, const msm_rotator_img_info& rot) {
361 ALOGE("%s msm_rotator_img_info sessid=%u dstx=%d dsty=%d rot=%d, ena=%d scale=%d"
    [all...]
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) {
    [all...]
  /hardware/qcom/display/msm8994/liboverlay/
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) {
155 if (ioctl(fd, MSM_ROTATOR_IOCTL_START, &rot) < 0){
163 inline bool rotate(int fd, msm_rotator_data_info& rot) {
165 if (ioctl(fd, MSM_ROTATOR_IOCTL_ROTATE, &rot) < 0) {
360 inline void dump(const char* const s, const msm_rotator_img_info& rot) {
361 ALOGE("%s msm_rotator_img_info sessid=%u dstx=%d dsty=%d rot=%d, ena=%d scale=%d"
    [all...]
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) {
    [all...]
  /frameworks/base/rs/java/android/renderscript/
Matrix2f.java 101 * @param rot rotation angle
103 public void loadRotate(float rot) {
105 rot *= (float)(java.lang.Math.PI / 180.0f);
106 c = (float)java.lang.Math.cos(rot);
107 s = (float)java.lang.Math.sin(rot);
161 * @param rot angle of rotation
163 public void rotate(float rot) {
165 tmp.loadRotate(rot);
Matrix3f.java 108 * @param rot angle of rotation
113 public void loadRotate(float rot, float x, float y, float z) {
115 rot *= (float)(java.lang.Math.PI / 180.0f);
116 c = (float)java.lang.Math.cos(rot);
117 s = (float)java.lang.Math.sin(rot);
147 * @param rot rotation angle
149 public void loadRotate(float rot) {
152 rot *= (float)(java.lang.Math.PI / 180.0f);
153 c = (float)java.lang.Math.cos(rot);
154 s = (float)java.lang.Math.sin(rot);
    [all...]
  /frameworks/rs/support/java/src/android/support/v8/renderscript/
Matrix2f.java 104 * @param rot rotation angle
106 public void loadRotate(float rot) {
108 rot *= (float)(java.lang.Math.PI / 180.0f);
109 c = (float)java.lang.Math.cos(rot);
110 s = (float)java.lang.Math.sin(rot);
164 * @param rot angle of rotation
166 public void rotate(float rot) {
168 tmp.loadRotate(rot);
Matrix3f.java 111 * @param rot angle of rotation
116 public void loadRotate(float rot, float x, float y, float z) {
118 rot *= (float)(java.lang.Math.PI / 180.0f);
119 c = (float)java.lang.Math.cos(rot);
120 s = (float)java.lang.Math.sin(rot);
150 * @param rot rotation angle
152 public void loadRotate(float rot) {
155 rot *= (float)(java.lang.Math.PI / 180.0f);
156 c = (float)java.lang.Math.cos(rot);
157 s = (float)java.lang.Math.sin(rot);
    [all...]
  /external/autotest/client/site_tests/graphics_SanAngeles/src/
matrixop.c 84 Matrix4x4 rot; local
105 rot[0*4 + 0] = xx + (1.f - xx) * c;
106 rot[1*4 + 0] = xy * one_c - zs;
107 rot[2*4 + 0] = xz * one_c + ys;
108 rot[3*4 + 0] = 0.f;
110 rot[0*4 + 1] = xy * one_c + zs;
111 rot[1*4 + 1] = yy + (1.f - yy) * c;
112 rot[2*4 + 1] = yz * one_c - xs;
113 rot[3*4 + 1] = 0.f;
115 rot[0*4 + 2] = xz * one_c - ys
    [all...]
  /external/toybox/toys/lsb/
md5sum.c 174 unsigned *rot[5], *temp; local
179 rot[i] = TT.state + i;
186 work = *rot[2] ^ *rot[3];
187 if (!i) work = (work & *rot[1]) ^ *rot[3];
189 if (i==2) work = ((*rot[1]|*rot[2])&*rot[3])|(*rot[1]&*rot[2])
    [all...]
  /hardware/invensense/6515/libsensors_iio/software/core/mllite/
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[7]*conv
455 long rot[9], quat_6_axis[4]; local
488 long rot[9]; local
    [all...]
  /hardware/invensense/65xx/libsensors_iio/software/core/mllite/
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[7]*conv;
409 long rot[9], quat_6_axis[4]; local
442 long rot[9]; local
    [all...]
  /external/eigen/unsupported/Eigen/src/EulerAngles/
EulerAngles.h 181 /** Constructs and initialize Euler angles from a rotation \p rot.
183 * \note All angles will be in the range [-PI, PI], unless \p rot is an EulerAngles.
184 * If rot is an EulerAngles, expected EulerAngles range is __undefined__.
188 EulerAngles(const RotationBase<Derived, 3>& rot) { *this = rot; }
190 /** Constructs and initialize Euler angles from a rotation \p rot,
196 * \param rot The 3x3 rotation matrix to convert
203 const RotationBase<Derived, 3>& rot,
208 System::CalcEulerAngles(*this, rot.toRotationMatrix(), positiveRangeAlpha, positiveRangeBeta, positiveRangeGamma);
275 /** Constructs and initialize Euler angles from a rotation \p rot,
    [all...]
  /frameworks/rs/
rsMatrix4x4.h 42 void loadRotate(float rot, float x, float y, float z);
64 void rotate(float rot, float x, float y, float z) {
66 tmp.loadRotate(rot, x, y, z);
  /external/eigen/test/
geo_hyperplane.cpp 57 MatrixType rot = MatrixType::Random(dim,dim).householderQr().householderQ(); local
64 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot).absDistance(rot * p1), Scalar(1) );
66 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot,Isometry).absDistance(rot * p1), Scalar(1) );
68 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*scaling).absDistance((rot*scaling) * p1), Scalar(1) );
71 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*scaling*translation)
72 .absDistance((rot*scaling*translation) * p1), Scalar(1) );
75 VERIFY_IS_MUCH_SMALLER_THAN( pl2.transform(rot*translation,Isometry
    [all...]
  /frameworks/rs/cpu_ref/
rsCpuRuntimeMath.cpp 55 static void SC_MatrixLoadRotate(Matrix4x4 *m, float rot, float x, float y, float z) {
56 m->loadRotate(rot, x, y, z);
64 static void SC_MatrixRotate(Matrix4x4 *m, float rot, float x, float y, float z) {
65 m->rotate(rot, x, y, z);
154 float rot, float x, float y, float z) {
155 SC_MatrixLoadRotate((Matrix4x4 *) m, rot, x, y, z);
165 void __attribute__((overloadable)) rsMatrixRotate(rs_matrix4x4 *m, float rot,
167 SC_MatrixRotate((Matrix4x4 *) m, rot, x, y, z);
  /external/libnl/lib/
hash.c 55 #define rot(x,k) (((x)<<(k)) | ((x)>>(32-(k)))) macro
78 Some k values for my "a-=c; a^=rot(c,k); c+=b;" arrangement that
103 a -= c; a ^= rot(c, 4); c += b; \
104 b -= a; b ^= rot(a, 6); a += c; \
105 c -= b; c ^= rot(b, 8); b += a; \
106 a -= c; a ^= rot(c,16); c += b; \
107 b -= a; b ^= rot(a,19); a += c; \
108 c -= b; c ^= rot(b, 4); b += a; \
138 c ^= b; c -= rot(b,14); \
139 a ^= c; a -= rot(c,11);
    [all...]

Completed in 795 milliseconds

1 2 3 4 5 6 7 8 910